mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-12-29 01:44:42 +08:00
feat(tenpayv3): 随官方更新平台收付通商家充值相关接口模型
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -53,5 +55,19 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
|||||||
[Newtonsoft.Json.JsonProperty("notify_url")]
|
[Newtonsoft.Json.JsonProperty("notify_url")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("notify_url")]
|
[System.Text.Json.Serialization.JsonPropertyName("notify_url")]
|
||||||
public string? NotifyUrl { get; set; }
|
public string? NotifyUrl { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置可用充值渠道列表。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("available_recharge_channels")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("available_recharge_channels")]
|
||||||
|
public IList<string>? AvailableRechargeChannelList { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置充值备注。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("remark")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("remark")]
|
||||||
|
public string? Remark { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -107,5 +107,12 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
|||||||
[System.Text.Json.Serialization.JsonPropertyName("close_time")]
|
[System.Text.Json.Serialization.JsonPropertyName("close_time")]
|
||||||
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.Common.Rfc3339DateTimeOffsetConverter))]
|
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.Common.Rfc3339DateTimeOffsetConverter))]
|
||||||
public DateTimeOffset? CloseTime { get; set; }
|
public DateTimeOffset? CloseTime { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置可用充值渠道列表。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("available_recharge_channels")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("available_recharge_channels")]
|
||||||
|
public string[]? AvailableRechargeChannelList { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,5 +7,7 @@
|
|||||||
"amount": 500000,
|
"amount": 500000,
|
||||||
"currency": "CNY"
|
"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": "充值备注"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,5 +19,6 @@
|
|||||||
"recharge_scene": "ECOMMERCE_BANK_TRANSFER",
|
"recharge_scene": "ECOMMERCE_BANK_TRANSFER",
|
||||||
"recharge_state": "SUCCESS",
|
"recharge_state": "SUCCESS",
|
||||||
"recharge_state_desc": "超过时间限制,系统自动关闭充值单",
|
"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" ]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user