feat(tenpayv3): 随官方更新退款相关接口模型

This commit is contained in:
Fu Diwei
2022-09-06 17:35:15 +08:00
parent 644b4cb64d
commit fbaa702272
2 changed files with 16 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
using System.Collections.Generic;
using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
{
@@ -59,6 +59,13 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
[Newtonsoft.Json.JsonProperty("from")]
[System.Text.Json.Serialization.JsonPropertyName("from")]
public IList<Types.From>? FromList { get; set; }
/// <summary>
/// 获取或设置手续费退款金额(单位:分)。
/// </summary>
[Newtonsoft.Json.JsonProperty("refund_fee")]
[System.Text.Json.Serialization.JsonPropertyName("refund_fee")]
public int? RefundFee { get; set; }
}
public class GoodsDetail

View File

@@ -1,4 +1,4 @@
using System;
using System;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
{
@@ -94,6 +94,13 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
[Newtonsoft.Json.JsonProperty("from")]
[System.Text.Json.Serialization.JsonPropertyName("from")]
public Types.From[]? FromList { get; set; }
/// <summary>
/// 获取或设置手续费退款金额(单位:分)。
/// </summary>
[Newtonsoft.Json.JsonProperty("refund_fee")]
[System.Text.Json.Serialization.JsonPropertyName("refund_fee")]
public int? RefundFee { get; set; }
}
public class Promotion