Browse Source

QueryAmount 改为 AmountResponse

Roc 5 years ago
parent
commit
15eb77d293

+ 1 - 1
src/Essensoft.AspNetCore.Payment.WeChatPay/Domain/QueryAmount.cs → src/Essensoft.AspNetCore.Payment.WeChatPay/Domain/AmountResponse.cs

@@ -5,7 +5,7 @@ namespace Essensoft.AspNetCore.Payment.WeChatPay.Domain
     /// <summary>
     /// 订单金额信息
     /// </summary>    
-    public class QueryAmount : WeChatPayObject
+    public class AmountResponse : WeChatPayObject
     {
         /// <summary>
         /// 订单金额

+ 1 - 1
src/Essensoft.AspNetCore.Payment.WeChatPay/Notify/WeChatPayPartnerTransactionsNotify.cs

@@ -135,7 +135,7 @@ namespace Essensoft.AspNetCore.Payment.WeChatPay.Notify
         /// 订单金额信息
         /// </summary>
         [JsonPropertyName("amount")]
-        public QueryAmount Amount { get; set; }
+        public AmountResponse Amount { get; set; }
 
         /// <summary>
         /// 场景信息

+ 1 - 1
src/Essensoft.AspNetCore.Payment.WeChatPay/Notify/WeChatPayTransactionsNotify.cs

@@ -119,7 +119,7 @@ namespace Essensoft.AspNetCore.Payment.WeChatPay.Notify
         /// 订单金额信息
         /// </summary>
         [JsonPropertyName("amount")]
-        public QueryAmount Amount { get; set; }
+        public AmountResponse Amount { get; set; }
 
         /// <summary>
         /// 场景信息

+ 1 - 1
src/Essensoft.AspNetCore.Payment.WeChatPay/Response/WeChatPayPartnerTransactionsIdResponse.cs

@@ -133,7 +133,7 @@ namespace Essensoft.AspNetCore.Payment.WeChatPay.Response
         /// 订单金额信息
         /// </summary>
         [JsonPropertyName("amount")]
-        public QueryAmount Amount { get; set; }
+        public AmountResponse Amount { get; set; }
 
         /// <summary>
         /// 场景信息

+ 1 - 1
src/Essensoft.AspNetCore.Payment.WeChatPay/Response/WeChatPayPartnerTransactionsOutTradeNoResponse.cs

@@ -133,7 +133,7 @@ namespace Essensoft.AspNetCore.Payment.WeChatPay.Response
         /// 订单金额信息
         /// </summary>
         [JsonPropertyName("amount")]
-        public QueryAmount Amount { get; set; }
+        public AmountResponse Amount { get; set; }
 
         /// <summary>
         /// 场景信息

+ 1 - 1
src/Essensoft.AspNetCore.Payment.WeChatPay/Response/WeChatPayTransactionsIdResponse.cs

@@ -117,7 +117,7 @@ namespace Essensoft.AspNetCore.Payment.WeChatPay.Response
         /// 订单金额信息
         /// </summary>
         [JsonPropertyName("amount")]
-        public QueryAmount Amount { get; set; }
+        public AmountResponse Amount { get; set; }
 
         /// <summary>
         /// 场景信息

+ 1 - 1
src/Essensoft.AspNetCore.Payment.WeChatPay/Response/WeChatPayTransactionsOutTradeNoResponse.cs

@@ -117,7 +117,7 @@ namespace Essensoft.AspNetCore.Payment.WeChatPay.Response
         /// 订单金额信息
         /// </summary>
         [JsonPropertyName("amount")]
-        public QueryAmount Amount { get; set; }
+        public AmountResponse Amount { get; set; }
 
         /// <summary>
         /// 场景信息