|
@@ -26,6 +26,12 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
|
|
|
[JsonPropertyName("buyer_info")]
|
|
[JsonPropertyName("buyer_info")]
|
|
|
public UserInfomation BuyerInfo { get; set; }
|
|
public UserInfomation BuyerInfo { get; set; }
|
|
|
|
|
|
|
|
|
|
+ /// <summary>
|
|
|
|
|
+ /// 优惠金额
|
|
|
|
|
+ /// </summary>
|
|
|
|
|
+ [JsonPropertyName("discount_amount")]
|
|
|
|
|
+ public string DiscountAmount { get; set; }
|
|
|
|
|
+
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
/// 扩展信息,请参见产品文档
|
|
/// 扩展信息,请参见产品文档
|
|
|
/// </summary>
|
|
/// </summary>
|
|
@@ -44,6 +50,30 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
|
|
|
[JsonPropertyName("logistics_info_list")]
|
|
[JsonPropertyName("logistics_info_list")]
|
|
|
public List<OrderLogisticsInformationRequest> LogisticsInfoList { get; set; }
|
|
public List<OrderLogisticsInformationRequest> LogisticsInfoList { get; set; }
|
|
|
|
|
|
|
|
|
|
+ /// <summary>
|
|
|
|
|
+ /// 订单授权码(与订单一一对应,不是请求维度的,服务订单首次同步必传) 利用订单同步前获取的formId作为订单授权码。订单授权码对应的小程序id与买家uid与同步订单的小程序id和买家uid一致 注:当order_type为SERVICE_ORDER时必填
|
|
|
|
|
+ /// </summary>
|
|
|
|
|
+ [JsonPropertyName("order_auth_code")]
|
|
|
|
|
+ public string OrderAuthCode { get; set; }
|
|
|
|
|
+
|
|
|
|
|
+ /// <summary>
|
|
|
|
|
+ /// 订单创建时间 当order_type为SERVICE_ORDER时必传
|
|
|
|
|
+ /// </summary>
|
|
|
|
|
+ [JsonPropertyName("order_create_time")]
|
|
|
|
|
+ public string OrderCreateTime { get; set; }
|
|
|
|
|
+
|
|
|
|
|
+ /// <summary>
|
|
|
|
|
+ /// 订单支付时间 当pay_channel为非ALIPAY时,且订单状态已流转到“支付”或支付后时,需要将支付时间传入
|
|
|
|
|
+ /// </summary>
|
|
|
|
|
+ [JsonPropertyName("order_pay_time")]
|
|
|
|
|
+ public string OrderPayTime { get; set; }
|
|
|
|
|
+
|
|
|
|
|
+ /// <summary>
|
|
|
|
|
+ /// 订单类型,若为空,默认为交易订单,每次请求必传 -SERVICE_ORDER:服务订单 -TRADE_ORDER:交易订单
|
|
|
|
|
+ /// </summary>
|
|
|
|
|
+ [JsonPropertyName("order_type")]
|
|
|
|
|
+ public string OrderType { get; set; }
|
|
|
|
|
+
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
/// 外部订单号 out_biz_no唯一对应一笔订单,相同的订单需传入相同的out_biz_no
|
|
/// 外部订单号 out_biz_no唯一对应一笔订单,相同的订单需传入相同的out_biz_no
|
|
|
/// </summary>
|
|
/// </summary>
|
|
@@ -51,7 +81,7 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
|
|
|
public string OutBizNo { get; set; }
|
|
public string OutBizNo { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
- /// 签约商户userId
|
|
|
|
|
|
|
+ /// 交易对应的签约商户userId 注意:该字段自2020-02-16日起,可以不传入
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
[JsonPropertyName("partner_id")]
|
|
[JsonPropertyName("partner_id")]
|
|
|
public string PartnerId { get; set; }
|
|
public string PartnerId { get; set; }
|
|
@@ -75,15 +105,33 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
|
|
|
public string RecordId { get; set; }
|
|
public string RecordId { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
- /// 卖家userId
|
|
|
|
|
|
|
+ /// 卖家userId 注意:该字段自2020-02-16日起,可以不传入
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
[JsonPropertyName("seller_id")]
|
|
[JsonPropertyName("seller_id")]
|
|
|
public string SellerId { get; set; }
|
|
public string SellerId { get; set; }
|
|
|
|
|
|
|
|
|
|
+ /// <summary>
|
|
|
|
|
+ /// 门店信息
|
|
|
|
|
+ /// </summary>
|
|
|
|
|
+ [JsonPropertyName("shop_info")]
|
|
|
|
|
+ public OrderShopInfo ShopInfo { get; set; }
|
|
|
|
|
+
|
|
|
|
|
+ /// <summary>
|
|
|
|
|
+ /// 凭证信息
|
|
|
|
|
+ /// </summary>
|
|
|
|
|
+ [JsonPropertyName("ticket_info")]
|
|
|
|
|
+ public TicketInfo TicketInfo { get; set; }
|
|
|
|
|
+
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
/// 订单所对应的支付宝交易号
|
|
/// 订单所对应的支付宝交易号
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
[JsonPropertyName("trade_no")]
|
|
[JsonPropertyName("trade_no")]
|
|
|
public string TradeNo { get; set; }
|
|
public string TradeNo { get; set; }
|
|
|
|
|
+
|
|
|
|
|
+ /// <summary>
|
|
|
|
|
+ /// 交易号类型 1. TRADE-交易,为空默认为TRADE 2. TRANSFER-转账 3. ENTRUST-受托
|
|
|
|
|
+ /// </summary>
|
|
|
|
|
+ [JsonPropertyName("trade_type")]
|
|
|
|
|
+ public string TradeType { get; set; }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|