mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-17 10:41:58 +08:00
feat(tenpayv3): 随官方更新退款接口相关字段
This commit is contained in:
parent
c2effa46b0
commit
b58acee087
@ -12,6 +12,26 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
{
|
||||
public class Amount
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class From
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置出资金额 (单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("amount")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("amount")]
|
||||
public int Amount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置出资账户。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("account")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("account")]
|
||||
public string Account { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置原订单金额(单位:分)。
|
||||
/// </summary>
|
||||
@ -32,6 +52,13 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
[Newtonsoft.Json.JsonProperty("currency")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("currency")]
|
||||
public string Currency { get; set; } = "CNY";
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置退款出资账户及金额列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("from")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("from")]
|
||||
public IList<Types.From>? FromList { get; set; }
|
||||
}
|
||||
|
||||
public class GoodsDetail
|
||||
|
@ -12,6 +12,26 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
{
|
||||
public class Amount
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class From
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置出资金额 (单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("amount")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("amount")]
|
||||
public int Amount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置出资账户。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("account")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("account")]
|
||||
public string Account { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置原订单金额(单位:分)。
|
||||
/// </summary>
|
||||
@ -67,6 +87,13 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
[Newtonsoft.Json.JsonProperty("discount_refund")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("discount_refund")]
|
||||
public int DiscountRefund { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置退款出资账户及金额列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("from")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("from")]
|
||||
public Types.From[]? FromList { get; set; }
|
||||
}
|
||||
|
||||
public class Promotion
|
||||
|
Loading…
Reference in New Issue
Block a user