mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-12-29 09:54:44 +08:00
feat(tenpayv3): 随官方更新消费者投诉相关接口模型
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
{
|
||||
@@ -7,6 +7,33 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
/// </summary>
|
||||
public class CreateMerchantServiceComplaintResponseRequest : WechatTenpayRequest
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class MiniProgramJumpInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置小程序 AppId。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("appid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("appid")]
|
||||
public string AppId { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置小程序页面路径。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("path")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("path")]
|
||||
public string PagePath { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置小程序页面名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("text")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("text")]
|
||||
public string Text { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置投诉单号。
|
||||
/// </summary>
|
||||
@@ -48,5 +75,12 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
[Newtonsoft.Json.JsonProperty("jump_url_text")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("jump_url_text")]
|
||||
public string? JumpUrlText { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置小程序跳转信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("mini_program_jump_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("mini_program_jump_info")]
|
||||
public Types.MiniProgramJumpInfo? MiniProgramJumpInfo { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -127,6 +127,13 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
[Newtonsoft.Json.JsonProperty("return_address_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("return_address_info")]
|
||||
public Types.ReturnAddress? ReturnAddress { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否归还同一柜机。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("is_returned_to_same_machine")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("is_returned_to_same_machine")]
|
||||
public bool? IsReturnedToSameMachine { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -276,5 +283,19 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
[Newtonsoft.Json.JsonProperty("additional_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("additional_info")]
|
||||
public Types.AdditionalInfomation? AdditionalInfomation { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否在平台协助中。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("in_platform_service")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("in_platform_service")]
|
||||
public bool? IsInPlatformService { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否需即时服务用户。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("need_immediate_service")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("need_immediate_service")]
|
||||
public bool? IsImmediateServiceRequired { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -71,6 +71,20 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("complaint_media_list")]
|
||||
[System.Text.Json.Serialization.JsonConverter(typeof(Converters.ResponsePropertyNegotiationHistoryItemComplaintMediaListSystemTextJsonConverter))]
|
||||
public Types.ComplaintMedia[]? ComplaintMediaList { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置用户申请平台协助原因。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("user_appy_platform_service_reason")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("user_appy_platform_service_reason")]
|
||||
public string? UserAppyPlatformServiceReason { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置用户申请平台协助原因描述。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("user_appy_platform_service_reason_description")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("user_appy_platform_service_reason_description")]
|
||||
public string? UserAppyPlatformServiceReasonDescription { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -161,6 +161,20 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
[Newtonsoft.Json.JsonProperty("additional_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("additional_info")]
|
||||
public Types.AdditionalInfomation? AdditionalInfomation { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否在平台协助中。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("in_platform_service")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("in_platform_service")]
|
||||
public bool? IsInPlatformService { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否需即时服务用户。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("need_immediate_service")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("need_immediate_service")]
|
||||
public bool? IsImmediateServiceRequired { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class JumpLink
|
||||
public class JumpInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置小程序 AppId。
|
||||
@@ -69,6 +69,6 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("jump_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("jump_info")]
|
||||
public Types.JumpLink JumpLink { get; set; } = new Types.JumpLink();
|
||||
public Types.JumpInfo JumpInfo { get; set; } = new Types.JumpInfo();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class JumpLink : SetMarketingShoppingReceiptJumpInfoRequest.Types.JumpLink
|
||||
public class JumpLink : SetMarketingShoppingReceiptJumpInfoRequest.Types.JumpInfo
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user