namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /channels/ec/cooperation/order/get 接口的响应。 /// public class ChannelsECCooperationOrderGetResponse : WechatApiResponse { public static class Types { public class Order { public static class Types { public class OrderDetail { public static class Types { public class Product : ChannelsECOrderGetResponse.Types.Order.Types.OrderDetail.Types.Product { } public class Amount : ChannelsECOrderGetResponse.Types.Order.Types.OrderDetail.Types.Amount { } } /// /// 获取或设置商品列表。 /// [Newtonsoft.Json.JsonProperty("product_infos")] [System.Text.Json.Serialization.JsonPropertyName("product_infos")] public Types.Product[] ProductList { get; set; } = default!; /// /// 获取或设置金额信息。 /// [Newtonsoft.Json.JsonProperty("price_info")] [System.Text.Json.Serialization.JsonPropertyName("price_info")] public Types.Amount Amount { get; set; } = default!; } } /// /// 获取或设置订单详细信息。 /// [Newtonsoft.Json.JsonProperty("order_detail")] [System.Text.Json.Serialization.JsonPropertyName("order_detail")] public Types.OrderDetail OrderDetail { get; set; } = default!; /// /// 获取或设置下单用户 OpenId。 /// [Newtonsoft.Json.JsonProperty("openid")] [System.Text.Json.Serialization.JsonPropertyName("openid")] public string OpenId { get; set; } = default!; /// /// 获取或设置下单用户 UnionId。 /// [Newtonsoft.Json.JsonProperty("unionid")] [System.Text.Json.Serialization.JsonPropertyName("unionid")] public string? UnionId { get; set; } } } /// /// 获取或设置订单信息。 /// [Newtonsoft.Json.JsonProperty("order")] [System.Text.Json.Serialization.JsonPropertyName("order")] public Types.Order Order { get; set; } = default!; } }