TransferResponse.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. using Newtonsoft.Json;
  3. using PaySharp.Core.Request;
  4. namespace PaySharp.Alipay.Response
  5. {
  6. public class TransferResponse : BaseResponse
  7. {
  8. /// <summary>
  9. /// 支付宝转账单据号,成功一定返回,失败可能不返回也可能返回。
  10. /// </summary>
  11. [JsonProperty("order_id")]
  12. public string TradeNo { get; set; }
  13. /// <summary>
  14. /// 商户转账唯一订单号。发起转账来源方定义的转账单据ID,用于将转账回执通知给来源方。
  15. /// 不同来源方给出的ID可以重复,同一个来源方必须保证其ID的唯一性。
  16. /// 只支持半角英文、数字,及“-”、“_”。
  17. /// </summary>
  18. [JsonProperty("out_biz_no")]
  19. public string OutTradeNo { get; set; }
  20. /// <summary>
  21. /// 支付时间:格式为yyyy-MM-dd HH:mm:ss,仅转账成功返回。
  22. /// </summary>
  23. public DateTime? PayDate { get; set; }
  24. internal override void Execute<TModel, TResponse>(Merchant merchant, Request<TModel, TResponse> request)
  25. {
  26. }
  27. }
  28. }