mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-20 10:38:10 +08:00
74 lines
2.9 KiB
C#
74 lines
2.9 KiB
C#
![]() |
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// <para>表示 [POST] /channels/ec/cooperation/order/get 接口的响应。</para>
|
||
|
/// </summary>
|
||
|
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
|
||
|
{
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 获取或设置商品列表。
|
||
|
/// </summary>
|
||
|
[Newtonsoft.Json.JsonProperty("product_infos")]
|
||
|
[System.Text.Json.Serialization.JsonPropertyName("product_infos")]
|
||
|
public Types.Product[] ProductList { get; set; } = default!;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 获取或设置金额信息。
|
||
|
/// </summary>
|
||
|
[Newtonsoft.Json.JsonProperty("price_info")]
|
||
|
[System.Text.Json.Serialization.JsonPropertyName("price_info")]
|
||
|
public Types.Amount Amount { get; set; } = default!;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 获取或设置订单详细信息。
|
||
|
/// </summary>
|
||
|
[Newtonsoft.Json.JsonProperty("order_detail")]
|
||
|
[System.Text.Json.Serialization.JsonPropertyName("order_detail")]
|
||
|
public Types.OrderDetail OrderDetail { get; set; } = default!;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 获取或设置下单用户 OpenId。
|
||
|
/// </summary>
|
||
|
[Newtonsoft.Json.JsonProperty("openid")]
|
||
|
[System.Text.Json.Serialization.JsonPropertyName("openid")]
|
||
|
public string OpenId { get; set; } = default!;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 获取或设置下单用户 UnionId。
|
||
|
/// </summary>
|
||
|
[Newtonsoft.Json.JsonProperty("unionid")]
|
||
|
[System.Text.Json.Serialization.JsonPropertyName("unionid")]
|
||
|
public string? UnionId { get; set; }
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 获取或设置订单信息。
|
||
|
/// </summary>
|
||
|
[Newtonsoft.Json.JsonProperty("order")]
|
||
|
[System.Text.Json.Serialization.JsonPropertyName("order")]
|
||
|
public Types.Order Order { get; set; } = default!;
|
||
|
}
|
||
|
}
|