mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-21 02:58:06 +08:00
feat(tenpayv3): 随官方更新查询消费者投诉单列表、查询消费者投诉单详情相关接口模型
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
{
|
||||
@@ -50,6 +50,30 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("media_url")]
|
||||
public string[] MediaUrl { get; set; } = default!;
|
||||
}
|
||||
|
||||
public class ServiceOrder
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置微信支付服务订单号。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("order_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("order_id")]
|
||||
public string? OrderId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商户服务订单号。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("out_order_no")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("out_order_no")]
|
||||
public string? OutOrderNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置支付分服务单状态。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("state")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("state")]
|
||||
public string? State { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -59,13 +83,6 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("complaint_id")]
|
||||
public string ComplaintId { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置被诉商户号。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("complainted_mchid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("complainted_mchid")]
|
||||
public string ComplaintedMerchantId { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置投诉详情。
|
||||
/// </summary>
|
||||
@@ -89,6 +106,13 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Converters.RFC3339DateTimeOffsetConverter))]
|
||||
public DateTimeOffset ComplaintTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置被诉商户号。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("complainted_mchid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("complainted_mchid")]
|
||||
public string? ComplaintedMerchantId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置投诉人联系方式(需使用商户私钥解密)。
|
||||
/// </summary>
|
||||
@@ -166,5 +190,12 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
[Newtonsoft.Json.JsonProperty("user_tag_list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("user_tag_list")]
|
||||
public string[]? UserTagList { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置关联服务单列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("service_order_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("service_order_info")]
|
||||
public Types.ServiceOrder[]? ServiceOrderList { get; set; }
|
||||
}
|
||||
}
|
||||
|
@@ -53,6 +53,13 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("complaint_state")]
|
||||
public string ComplaintState { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置被诉商户号。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("complainted_mchid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("complainted_mchid")]
|
||||
public string? ComplaintedMerchantId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置投诉人联系方式(需使用商户私钥解密)。
|
||||
/// </summary>
|
||||
@@ -68,13 +75,6 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("payer_openid")]
|
||||
public string? PayerOpenId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置投诉单关联订单列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("complaint_order_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("complaint_order_info")]
|
||||
public Types.ComplaintOrder[] ComplaintOrderList { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置投诉资料列表。
|
||||
/// </summary>
|
||||
@@ -82,6 +82,13 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("complaint_media_list")]
|
||||
public Types.ComplaintMedia[] ComplaintMediaList { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置投诉单关联订单列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("complaint_order_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("complaint_order_info")]
|
||||
public Types.ComplaintOrder[] ComplaintOrderList { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置问题类型。
|
||||
/// </summary>
|
||||
@@ -131,6 +138,10 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("user_tag_list")]
|
||||
public string[]? UserTagList { get; set; }
|
||||
}
|
||||
|
||||
public class ServiceOrder : GetMerchantServiceComplaintByComplaintIdResponse.Types.ServiceOrder
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -140,6 +151,13 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("data")]
|
||||
public Types.Complaint[] ComplaintList { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置关联服务单列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("service_order_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("service_order_info")]
|
||||
public Types.ServiceOrder[]? ServiceOrderList { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置分页大小。
|
||||
/// </summary>
|
||||
|
Reference in New Issue
Block a user