Browse Source

新增 账单-下载账单API

Roc 5 years ago
parent
commit
0ebe4291e4

+ 22 - 0
src/Essensoft.AspNetCore.Payment.WeChatPay/Request/WeChatPayBillDownloadRequest.cs

@@ -0,0 +1,22 @@
+using Essensoft.AspNetCore.Payment.WeChatPay.Response;
+
+namespace Essensoft.AspNetCore.Payment.WeChatPay.Request
+{
+    /// <summary>
+    /// 账单-下载账单API(电商平台、服务商、直连商户)
+    /// 最新更新时间:2019.09.16
+    /// https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/bill/chapter3_3.shtml
+    /// </summary>
+    public class WeChatPayBillDownloadRequest : IWeChatPayV3GetRequest<WeChatPayBillDownloadResponse>
+    {
+        /// <summary>
+        /// 下载地址
+        /// </summary>
+        public string DownloadUrl { get; set; }
+
+        public string GetRequestUrl()
+        {
+            return DownloadUrl;
+        }
+    }
+}

+ 11 - 0
src/Essensoft.AspNetCore.Payment.WeChatPay/Response/WeChatPayBillDownloadResponse.cs

@@ -0,0 +1,11 @@
+namespace Essensoft.AspNetCore.Payment.WeChatPay.Response
+{
+    /// <summary>
+    /// 账单-下载账单API-返回参数(电商平台、服务商、直连商户)
+    /// 最新更新时间:2019.09.16
+    /// https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/bill/chapter3_3.shtml
+    /// </summary>
+    public class WeChatPayBillDownloadResponse : WeChatPayV3Response
+    {
+    }
+}