WeChatPayGetTradeBillRequest.cs 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. using Essensoft.Paylinks.WeChatPay.Core;
  2. using Essensoft.Paylinks.WeChatPay.Payments.Response;
  3. namespace Essensoft.Paylinks.WeChatPay.Payments.Request;
  4. /// <summary>
  5. /// 申请交易账单
  6. /// </summary>
  7. /// <para>
  8. /// https://pay.weixin.qq.com/docs/merchant/apis/jsapi-payment/get-trade-bill.html
  9. /// 申请交易账单
  10. /// 更新时间:2023.08.23
  11. /// <br/>
  12. /// <a href="https://pay.weixin.qq.com/docs/merchant/apis/in-app-payment/get-trade-bill.html
  13. /// 申请交易账单
  14. /// 更新时间:2023.08.23
  15. /// <br/>
  16. /// <a href="https://pay.weixin.qq.com/docs/merchant/apis/h5-payment/get-trade-bill.html
  17. /// 申请交易账单
  18. /// 更新时间:2023.08.23
  19. /// <br/>
  20. /// <a href="https://pay.weixin.qq.com/docs/merchant/apis/native-payment/get-trade-bill.html
  21. /// 申请交易账单
  22. /// 更新时间:2023.08.23
  23. /// <br/>
  24. /// <a href="https://pay.weixin.qq.com/docs/merchant/apis/mini-program-payment/get-trade-bill.html
  25. /// 申请交易账单
  26. /// 更新时间:2023.08.23
  27. /// <br/>
  28. /// <a href="https://pay.weixin.qq.com/docs/merchant/apis/combine-payment/bill-download/get-trade-bill.html
  29. /// 申请交易账单
  30. /// 更新时间:2023.08.23
  31. /// <br/>
  32. /// <a href="https://pay.weixin.qq.com/docs/merchant/apis/bill-download/trade-bill/get-trade-bill.html
  33. /// 申请交易账单
  34. /// 更新时间:2023.08.16
  35. /// </para>
  36. public class WeChatPayGetTradeBillRequest : IWeChatPayRequest<WeChatPayGetTradeBillResponse>
  37. {
  38. #region IWeChatPayRequest Members
  39. public WeChatPayRequestMethod GetRequestMethod() => WeChatPayRequestMethod.Get;
  40. public string GetRequestUrl() => "/v3/bill/tradebill";
  41. private bool _needVerify = true;
  42. public bool GetNeedVerify() => _needVerify;
  43. public void SetNeedVerify(bool value) => _needVerify = value;
  44. private object? _queryModel;
  45. public void SetQueryModel(object queryModel) => _queryModel = queryModel;
  46. public object? GetQueryModel() => _queryModel;
  47. private object? _bodyModel;
  48. public void SetBodyModel(object bodyModel) => _bodyModel = bodyModel;
  49. public object? GetBodyModel() => _bodyModel;
  50. #endregion
  51. }