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
d4892c4ad2
commit
a48c79c996
@ -33,6 +33,23 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
|||||||
[System.Text.Json.Serialization.JsonPropertyName("amount")]
|
[System.Text.Json.Serialization.JsonPropertyName("amount")]
|
||||||
public int Amount { get; set; }
|
public int Amount { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class ComplaintMedia
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置媒体文件业务类型。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("media_type")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("media_type")]
|
||||||
|
public string MediaType { get; set; } = default!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置媒体文件 URL 列表。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("media_url")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("media_url")]
|
||||||
|
public string[] MediaUrl { get; set; } = default!;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -91,7 +108,21 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("complaint_order_info")]
|
[Newtonsoft.Json.JsonProperty("complaint_order_info")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("complaint_order_info")]
|
[System.Text.Json.Serialization.JsonPropertyName("complaint_order_info")]
|
||||||
public Types.ComplaintOrder[]? ComplaintOrderList { get; set; }
|
public Types.ComplaintOrder[] ComplaintOrderList { get; set; } = default!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置投诉资料列表。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("complaint_media_list")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("complaint_media_list")]
|
||||||
|
public Types.ComplaintMedia[] ComplaintMediaList { get; set; } = default!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置问题描述。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("problem_description")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("problem_description")]
|
||||||
|
public string ProblemDescription { get; set; } = default!;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置投诉单是否已全额退款。
|
/// 获取或设置投诉单是否已全额退款。
|
||||||
|
@ -12,6 +12,13 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
|||||||
{
|
{
|
||||||
public class NegotiationHistory
|
public class NegotiationHistory
|
||||||
{
|
{
|
||||||
|
public static class Types
|
||||||
|
{
|
||||||
|
public class ComplaintMedia : GetMerchantServiceComplaintByComplaintIdResponse.Types.ComplaintMedia
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置操作流水号。
|
/// 获取或设置操作流水号。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -55,6 +62,13 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
|||||||
[Newtonsoft.Json.JsonProperty("image_list")]
|
[Newtonsoft.Json.JsonProperty("image_list")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("image_list")]
|
[System.Text.Json.Serialization.JsonPropertyName("image_list")]
|
||||||
public string[]? ImageUrlList { get; set; }
|
public string[]? ImageUrlList { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置投诉资料列表。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("complaint_media_list")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("complaint_media_list")]
|
||||||
|
public Types.ComplaintMedia[]? ComplaintMediaList { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,28 +14,12 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
|||||||
{
|
{
|
||||||
public static class Types
|
public static class Types
|
||||||
{
|
{
|
||||||
public class ComplaintOrder
|
public class ComplaintOrder : GetMerchantServiceComplaintByComplaintIdResponse.Types.ComplaintOrder
|
||||||
{
|
{
|
||||||
/// <summary>
|
}
|
||||||
/// 获取或设置微信订单号。
|
|
||||||
/// </summary>
|
|
||||||
[Newtonsoft.Json.JsonProperty("transaction_id")]
|
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("transaction_id")]
|
|
||||||
public string TransactionId { get; set; } = default!;
|
|
||||||
|
|
||||||
/// <summary>
|
public class ComplaintMedia : GetMerchantServiceComplaintByComplaintIdResponse.Types.ComplaintMedia
|
||||||
/// 获取或设置商户订单号。
|
{
|
||||||
/// </summary>
|
|
||||||
[Newtonsoft.Json.JsonProperty("out_trade_no")]
|
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("out_trade_no")]
|
|
||||||
public string OutTradeNumber { get; set; } = default!;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 获取或设置订单金额(单位:分)。
|
|
||||||
/// </summary>
|
|
||||||
[Newtonsoft.Json.JsonProperty("amount")]
|
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("amount")]
|
|
||||||
public int Amount { get; set; }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -88,7 +72,21 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("complaint_order_info")]
|
[Newtonsoft.Json.JsonProperty("complaint_order_info")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("complaint_order_info")]
|
[System.Text.Json.Serialization.JsonPropertyName("complaint_order_info")]
|
||||||
public Types.ComplaintOrder[]? ComplaintOrderList { get; set; }
|
public Types.ComplaintOrder[] ComplaintOrderList { get; set; } = default!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置投诉资料列表。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("complaint_media_list")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("complaint_media_list")]
|
||||||
|
public Types.ComplaintMedia[] ComplaintMediaList { get; set; } = default!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置问题描述。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("problem_description")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("problem_description")]
|
||||||
|
public string ProblemDescription { get; set; } = default!;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置投诉单是否已全额退款。
|
/// 获取或设置投诉单是否已全额退款。
|
||||||
|
Loading…
Reference in New Issue
Block a user