AlipayTradePayNotifyResponse.cs 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. using Newtonsoft.Json;
  2. namespace Essensoft.AspNetCore.Payment.Alipay.Notify
  3. {
  4. /// <summary>
  5. /// 条码支付异步通知
  6. /// 更新时间:2017/08/24
  7. /// </summary>
  8. public class AlipayTradePayNotifyResponse : AlipayNotifyResponse
  9. {
  10. // 公共参数
  11. /// <summary>
  12. /// 通知时间
  13. /// </summary>
  14. [JsonProperty("notify_time")]
  15. public string NotifyTime { get; set; }
  16. /// <summary>
  17. /// 通知类型
  18. /// </summary>
  19. [JsonProperty("notify_type")]
  20. public string NotifyType { get; set; }
  21. /// <summary>
  22. /// 通知校验ID
  23. /// </summary>
  24. [JsonProperty("notify_id")]
  25. public string NotifyId { get; set; }
  26. /// <summary>
  27. /// 签名类型
  28. /// </summary>
  29. [JsonProperty("sign_type")]
  30. public string SignType { get; set; }
  31. /// <summary>
  32. /// 签名
  33. /// </summary>
  34. [JsonProperty("sign")]
  35. public string Sign { get; set; }
  36. // 业务参数
  37. /// <summary>
  38. /// 支付宝交易号
  39. /// </summary>
  40. [JsonProperty("trade_no")]
  41. public string TradeNo { get; set; }
  42. /// <summary>
  43. /// 开发者的app_id
  44. /// </summary>
  45. [JsonProperty("app_id")]
  46. public string AppId { get; set; }
  47. /// <summary>
  48. /// 商户订单号
  49. /// </summary>
  50. [JsonProperty("out_trade_no")]
  51. public string OutTradeNo { get; set; }
  52. /// <summary>
  53. /// 商户业务号
  54. /// </summary>
  55. [JsonProperty("out_biz_no")]
  56. public string OutBizNo { get; set; }
  57. /// <summary>
  58. /// 买家支付宝用户号
  59. /// </summary>
  60. [JsonProperty("buyer_id")]
  61. public string BuyerId { get; set; }
  62. /// <summary>
  63. /// 买家支付宝账号
  64. /// </summary>
  65. [JsonProperty("buyer_logon_id")]
  66. public string BuyerLogonId { get; set; }
  67. /// <summary>
  68. /// 卖家支付宝用户号
  69. /// </summary>
  70. [JsonProperty("seller_id")]
  71. public string SellerId { get; set; }
  72. /// <summary>
  73. /// 卖家支付宝账号
  74. /// </summary>
  75. [JsonProperty("seller_email")]
  76. public string SellerEmail { get; set; }
  77. /// <summary>
  78. /// 交易状态
  79. /// </summary>
  80. [JsonProperty("trade_status")]
  81. public string TradeStatus { get; set; }
  82. /// <summary>
  83. /// 订单金额
  84. /// </summary>
  85. [JsonProperty("total_amount")]
  86. public string TotalAmount { get; set; }
  87. /// <summary>
  88. /// 实收金额
  89. /// </summary>
  90. [JsonProperty("receipt_amount")]
  91. public string ReceiptAmount { get; set; }
  92. /// <summary>
  93. /// 开票金额
  94. /// </summary>
  95. [JsonProperty("invoice_amount")]
  96. public string InvoiceAmount { get; set; }
  97. /// <summary>
  98. /// 付款金额
  99. /// </summary>
  100. [JsonProperty("buyer_pay_amount")]
  101. public string BuyerPayAmount { get; set; }
  102. /// <summary>
  103. /// 集分宝金额
  104. /// </summary>
  105. [JsonProperty("point_amount")]
  106. public string PointAmount { get; set; }
  107. /// <summary>
  108. /// 总退款金额
  109. /// </summary>
  110. [JsonProperty("refund_fee")]
  111. public string RefundFee { get; set; }
  112. /// <summary>
  113. /// 实际退款金额
  114. /// </summary>
  115. [JsonProperty("send_back_fee")]
  116. public string SendBackFee { get; set; }
  117. /// <summary>
  118. /// 订单标题
  119. /// </summary>
  120. [JsonProperty("subject")]
  121. public string Subject { get; set; }
  122. /// <summary>
  123. /// 商品描述
  124. /// </summary>
  125. [JsonProperty("body")]
  126. public string Body { get; set; }
  127. /// <summary>
  128. /// 交易创建时间
  129. /// </summary>
  130. [JsonProperty("gmt_create")]
  131. public string GmtCreate { get; set; }
  132. /// <summary>
  133. /// 交易付款时间
  134. /// </summary>
  135. [JsonProperty("gmt_payment")]
  136. public string GmtPayment { get; set; }
  137. /// <summary>
  138. /// 交易退款时间
  139. /// </summary>
  140. [JsonProperty("gmt_refund")]
  141. public string GmtRefund { get; set; }
  142. /// <summary>
  143. /// 交易结束时间
  144. /// </summary>
  145. [JsonProperty("gmt_close")]
  146. public string GmtClose { get; set; }
  147. /// <summary>
  148. /// 支付金额信息
  149. /// </summary>
  150. [JsonProperty("fund_bill_list")]
  151. public string FundBillList { get; set; }
  152. }
  153. }