using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
///
/// 表示 [POST] /merchant/order/getbyid 接口的响应。
///
[Obsolete("相关接口或字段于 2020-10-01 下线。")]
public class MerchantOrderGetByIdResponse : WechatApiResponse
{
public static class Types
{
public class Order
{
public static class Types
{
public class Product
{
///
/// 获取或设置商品 ID。
///
[Newtonsoft.Json.JsonProperty("product_id")]
[System.Text.Json.Serialization.JsonPropertyName("product_id")]
public string ProductId { get; set; } = default!;
///
/// 获取或设置商品名称。
///
[Newtonsoft.Json.JsonProperty("product_name")]
[System.Text.Json.Serialization.JsonPropertyName("product_name")]
public string ProductName { get; set; } = default!;
///
/// 获取或设置商品名称(单位:分)。
///
[Newtonsoft.Json.JsonProperty("product_price")]
[System.Text.Json.Serialization.JsonPropertyName("product_price")]
public int ProductPrice { get; set; }
///
/// 获取或设置商品 SKU 信息。
///
[Newtonsoft.Json.JsonProperty("product_sku")]
[System.Text.Json.Serialization.JsonPropertyName("product_sku")]
public string ProductSKUInformation { get; set; } = default!;
///
/// 获取或设置商品数量。
///
[Newtonsoft.Json.JsonProperty("product_count")]
[System.Text.Json.Serialization.JsonPropertyName("product_count")]
public int ProductCount { get; set; }
///
/// 获取或设置商品图片 URL。
///
[Newtonsoft.Json.JsonProperty("product_img")]
[System.Text.Json.Serialization.JsonPropertyName("product_img")]
public string ProductImageUrl { get; set; } = default!;
}
}
///
/// 获取或设置订单号。
///
[Newtonsoft.Json.JsonProperty("order_id")]
[System.Text.Json.Serialization.JsonPropertyName("order_id")]
public string OrderId { get; set; } = default!;
///
/// 获取或设置订单状态。
///
[Newtonsoft.Json.JsonProperty("order_status")]
[System.Text.Json.Serialization.JsonPropertyName("order_status")]
public int OrderStatus { get; set; }
///
/// 获取或设置订单总金额(单位:分)。
///
[Newtonsoft.Json.JsonProperty("order_total_price")]
[System.Text.Json.Serialization.JsonPropertyName("order_total_price")]
public int OrderTotalFee { get; set; }
///
/// 获取或设置订单创建时间戳。
///
[Newtonsoft.Json.JsonProperty("order_create_time")]
[System.Text.Json.Serialization.JsonPropertyName("order_create_time")]
public int OrderCreateTimestamp { get; set; }
///
/// 获取或设置订单运费(单位:分)。
///
[Newtonsoft.Json.JsonProperty("order_express_price")]
[System.Text.Json.Serialization.JsonPropertyName("order_express_price")]
public int OrderExpressFee { get; set; }
///
/// 获取或设置买家 OpenId。
///
[Newtonsoft.Json.JsonProperty("buyer_openid")]
[System.Text.Json.Serialization.JsonPropertyName("buyer_openid")]
public string? BuyerOpenId { get; set; }
///
/// 获取或设置买家昵称。
///
[Newtonsoft.Json.JsonProperty("buyer_nick")]
[System.Text.Json.Serialization.JsonPropertyName("buyer_nick")]
public string? BuyerNickname { get; set; }
///
/// 获取或设置收货人姓名。
///
[Newtonsoft.Json.JsonProperty("receiver_name")]
[System.Text.Json.Serialization.JsonPropertyName("receiver_name")]
public string? ReceiverName { get; set; }
///
/// 获取或设置收货人省份。
///
[Newtonsoft.Json.JsonProperty("receiver_province")]
[System.Text.Json.Serialization.JsonPropertyName("receiver_province")]
public string? ReceiverProvince { get; set; }
///
/// 获取或设置收货人城市。
///
[Newtonsoft.Json.JsonProperty("receiver_city")]
[System.Text.Json.Serialization.JsonPropertyName("receiver_city")]
public string? ReceiverCity { get; set; }
///
/// 获取或设置收货人区县。
///
[Newtonsoft.Json.JsonProperty("receiver_zone")]
[System.Text.Json.Serialization.JsonPropertyName("receiver_zone")]
public string? ReceiverDistrict { get; set; }
///
/// 获取或设置收货人地址。
///
[Newtonsoft.Json.JsonProperty("receiver_address")]
[System.Text.Json.Serialization.JsonPropertyName("receiver_address")]
public string? ReceiverAddress { get; set; }
///
/// 获取或设置收货人手机号码。
///
[Newtonsoft.Json.JsonProperty("receiver_mobile")]
[System.Text.Json.Serialization.JsonPropertyName("receiver_mobile")]
public string? ReceiverMobileNumber { get; set; }
///
/// 获取或设置收货人固话号码。
///
[Newtonsoft.Json.JsonProperty("receiver_phone")]
[System.Text.Json.Serialization.JsonPropertyName("receiver_phone")]
public string? ReceiverTeleNumber { get; set; }
///
/// 获取或设置商品 ID。
///
[Newtonsoft.Json.JsonProperty("product_id")]
[System.Text.Json.Serialization.JsonPropertyName("product_id")]
public string? ProductId { get; set; }
///
/// 获取或设置商品名称。
///
[Newtonsoft.Json.JsonProperty("product_name")]
[System.Text.Json.Serialization.JsonPropertyName("product_name")]
public string? ProductName { get; set; }
///
/// 获取或设置商品名称(单位:分)。
///
[Newtonsoft.Json.JsonProperty("product_price")]
[System.Text.Json.Serialization.JsonPropertyName("product_price")]
public int? ProductPrice { get; set; }
///
/// 获取或设置商品 SKU 信息。
///
[Newtonsoft.Json.JsonProperty("product_sku")]
[System.Text.Json.Serialization.JsonPropertyName("product_sku")]
public string? ProductSKUInformation { get; set; }
///
/// 获取或设置商品数量。
///
[Newtonsoft.Json.JsonProperty("product_count")]
[System.Text.Json.Serialization.JsonPropertyName("product_count")]
public int? ProductCount { get; set; }
///
/// 获取或设置商品图片 URL。
///
[Newtonsoft.Json.JsonProperty("product_img")]
[System.Text.Json.Serialization.JsonPropertyName("product_img")]
public string? ProductImageUrl { get; set; }
///
/// 获取或设置商品列表。
///
[Newtonsoft.Json.JsonProperty("products")]
[System.Text.Json.Serialization.JsonPropertyName("products")]
public Types.Product[]? ProductList { get; set; }
///
/// 获取或设置物流公司编码。
///
[Newtonsoft.Json.JsonProperty("delivery_company")]
[System.Text.Json.Serialization.JsonPropertyName("delivery_company")]
public string? DeliveryCompany { get; set; }
///
/// 获取或设置运单号。
///
[Newtonsoft.Json.JsonProperty("delivery_id")]
[System.Text.Json.Serialization.JsonPropertyName("delivery_id")]
public string? DeliveryId { get; set; }
///
/// 获取或设置微信支付交易订单号。
///
[Newtonsoft.Json.JsonProperty("trans_id")]
[System.Text.Json.Serialization.JsonPropertyName("trans_id")]
public string? TransactionId { get; set; }
}
}
///
/// 获取或设置订单信息。
///
[Newtonsoft.Json.JsonProperty("order")]
[System.Text.Json.Serialization.JsonPropertyName("order")]
public Types.Order Order { get; set; } = default!;
}
}