diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECOrder/Delivery/ChannelsECOrderDeliveryInfoUpdateRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECOrder/Delivery/ChannelsECOrderDeliveryInfoUpdateRequest.cs index 408b8e86..5f81ccca 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECOrder/Delivery/ChannelsECOrderDeliveryInfoUpdateRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECOrder/Delivery/ChannelsECOrderDeliveryInfoUpdateRequest.cs @@ -46,6 +46,57 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models [System.Text.Json.Serialization.JsonPropertyName("product_infos")] public IList ProductList { get; set; } = new List(); } + + public class ChangeInfo + { + public static class Types + { + public class Delivery + { + public static class Types + { + public class Product : ChannelsECOrderDeliverySendRequest.Types.Delivery.Types.Product + { + } + } + + /// + /// 获取或设置快递公司 ID。 + /// + [Newtonsoft.Json.JsonProperty("delivery_id")] + [System.Text.Json.Serialization.JsonPropertyName("delivery_id")] + public string DeliveryId { get; set; } = string.Empty; + + /// + /// 获取或设置快递单号。 + /// + [Newtonsoft.Json.JsonProperty("waybill_id")] + [System.Text.Json.Serialization.JsonPropertyName("waybill_id")] + public string WaybillId { get; set; } = string.Empty; + + /// + /// 获取或设置商品列表。 + /// + [Newtonsoft.Json.JsonProperty("product_infos")] + [System.Text.Json.Serialization.JsonPropertyName("product_infos")] + public IList ProductList { get; set; } = new List(); + } + } + + /// + /// 获取或设置包裹原物流信息。 + /// + [Newtonsoft.Json.JsonProperty("old")] + [System.Text.Json.Serialization.JsonPropertyName("old")] + public Types.Delivery Old { get; set; } = new Types.Delivery(); + + /// + /// 获取或设置包裹新物流信息。 + /// + [Newtonsoft.Json.JsonProperty("new")] + [System.Text.Json.Serialization.JsonPropertyName("new")] + public Types.Delivery New { get; set; } = new Types.Delivery(); + } } /// @@ -56,10 +107,17 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models public string OrderId { get; set; } = string.Empty; /// - /// 获取或设置快递列表。 + /// 获取或设置整单物流信息列表。 /// [Newtonsoft.Json.JsonProperty("delivery_list")] [System.Text.Json.Serialization.JsonPropertyName("delivery_list")] - public IList DeliveryList { get; set; } = new List(); + public IList? DeliveryList { get; set; } + + /// + /// 获取或设置更新包裹物流信息列表。 + /// + [Newtonsoft.Json.JsonProperty("change_infos")] + [System.Text.Json.Serialization.JsonPropertyName("change_infos")] + public IList? ChangeInfoList { get; set; } } }