diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Models/_Partner/PlatformSolution/EcommerceRecharge/ApplyPlatformSolutionEcommerceRechargeRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Models/_Partner/PlatformSolution/EcommerceRecharge/ApplyPlatformSolutionEcommerceRechargeRequest.cs index 23287a8e..66f1d3f5 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Models/_Partner/PlatformSolution/EcommerceRecharge/ApplyPlatformSolutionEcommerceRechargeRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Models/_Partner/PlatformSolution/EcommerceRecharge/ApplyPlatformSolutionEcommerceRechargeRequest.cs @@ -1,3 +1,5 @@ +using System.Collections.Generic; + namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models { /// @@ -53,5 +55,19 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models [Newtonsoft.Json.JsonProperty("notify_url")] [System.Text.Json.Serialization.JsonPropertyName("notify_url")] public string? NotifyUrl { get; set; } + + /// + /// 获取或设置可用充值渠道列表。 + /// + [Newtonsoft.Json.JsonProperty("available_recharge_channels")] + [System.Text.Json.Serialization.JsonPropertyName("available_recharge_channels")] + public IList? AvailableRechargeChannelList { get; set; } + + /// + /// 获取或设置充值备注。 + /// + [Newtonsoft.Json.JsonProperty("remark")] + [System.Text.Json.Serialization.JsonPropertyName("remark")] + public string? Remark { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Models/_Partner/PlatformSolution/EcommerceRecharge/GetPlatformSolutionEcommerceBankTransferRechargeByOutRechargeNumberResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Models/_Partner/PlatformSolution/EcommerceRecharge/GetPlatformSolutionEcommerceBankTransferRechargeByOutRechargeNumberResponse.cs index 49c00edb..c94bc401 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Models/_Partner/PlatformSolution/EcommerceRecharge/GetPlatformSolutionEcommerceBankTransferRechargeByOutRechargeNumberResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Models/_Partner/PlatformSolution/EcommerceRecharge/GetPlatformSolutionEcommerceBankTransferRechargeByOutRechargeNumberResponse.cs @@ -107,5 +107,12 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models [System.Text.Json.Serialization.JsonPropertyName("close_time")] [System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.Common.Rfc3339DateTimeOffsetConverter))] public DateTimeOffset? CloseTime { get; set; } + + /// + /// 获取或设置可用充值渠道列表。 + /// + [Newtonsoft.Json.JsonProperty("available_recharge_channels")] + [System.Text.Json.Serialization.JsonPropertyName("available_recharge_channels")] + public string[]? AvailableRechargeChannelList { get; set; } } } diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/_/_Partner/PlatformSolution/EcommerceRecharge/ApplyPlatformSolutionEcommerceRechargeRequest.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/_/_Partner/PlatformSolution/EcommerceRecharge/ApplyPlatformSolutionEcommerceRechargeRequest.json index 93aaeece..a2ab6b2c 100644 --- a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/_/_Partner/PlatformSolution/EcommerceRecharge/ApplyPlatformSolutionEcommerceRechargeRequest.json +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/_/_Partner/PlatformSolution/EcommerceRecharge/ApplyPlatformSolutionEcommerceRechargeRequest.json @@ -7,5 +7,7 @@ "amount": 500000, "currency": "CNY" }, - "notify_url": "https://www.weixin.qq.com/wxpay/pay.php" + "notify_url": "https://www.weixin.qq.com/wxpay/pay.php", + "available_recharge_channels": [ "BANK_TRANSFER" ], + "remark": "充值备注" } diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/_/_Partner/PlatformSolution/EcommerceRecharge/GetPlatformSolutionEcommerceBankTransferRechargeByOutRechargeNumberResponse.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/_/_Partner/PlatformSolution/EcommerceRecharge/GetPlatformSolutionEcommerceBankTransferRechargeByOutRechargeNumberResponse.json index 81de300b..b262b3ae 100644 --- a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/_/_Partner/PlatformSolution/EcommerceRecharge/GetPlatformSolutionEcommerceBankTransferRechargeByOutRechargeNumberResponse.json +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/_/_Partner/PlatformSolution/EcommerceRecharge/GetPlatformSolutionEcommerceBankTransferRechargeByOutRechargeNumberResponse.json @@ -19,5 +19,6 @@ "recharge_scene": "ECOMMERCE_BANK_TRANSFER", "recharge_state": "SUCCESS", "recharge_state_desc": "超过时间限制,系统自动关闭充值单", - "success_time": "2015-05-20T13:29:35+08:00" + "success_time": "2015-05-20T13:29:35+08:00", + "available_recharge_channels": [ "BANK_TRANSFER" ] }