mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-12-29 01:44:42 +08:00
feat(tenpayv3): 随官方更新商户被管控能力及原因查询相关接口模型
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -17,12 +19,26 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
|||||||
public string? LimitationReasonType { get; set; }
|
public string? LimitationReasonType { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置商户被管控原因描述。
|
/// 获取或设置商户被管控原因。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("limitation_reason")]
|
[Newtonsoft.Json.JsonProperty("limitation_reason")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("limitation_reason")]
|
[System.Text.Json.Serialization.JsonPropertyName("limitation_reason")]
|
||||||
public string? LimitationReason { get; set; }
|
public string? LimitationReason { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置商户被管控原因描述。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("limitation_reason_describe")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("limitation_reason_describe")]
|
||||||
|
public string? LimitationReasonDescription { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置商户被该原因管控的单据号。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("limitation_case_id")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("limitation_case_id")]
|
||||||
|
public string? LimitationCaseId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置商户被该原因管控的解脱路径。
|
/// 获取或设置商户被该原因管控的解脱路径。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -30,6 +46,13 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
|||||||
[System.Text.Json.Serialization.JsonPropertyName("recover_way")]
|
[System.Text.Json.Serialization.JsonPropertyName("recover_way")]
|
||||||
public string? RecoverWay { get; set; }
|
public string? RecoverWay { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置商户被该原因管控的解脱路径参数字符串。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("recover_way_param")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("recover_way_param")]
|
||||||
|
public string? RecoverWayParametersString { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置商户被该原因管控的解脱帮助链接。
|
/// 获取或设置商户被该原因管控的解脱帮助链接。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -50,6 +73,31 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
|||||||
[Newtonsoft.Json.JsonProperty("other_relate_limitations")]
|
[Newtonsoft.Json.JsonProperty("other_relate_limitations")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("other_relate_limitations")]
|
[System.Text.Json.Serialization.JsonPropertyName("other_relate_limitations")]
|
||||||
public string? OtherRelateLimitation { get; set; }
|
public string? OtherRelateLimitation { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置处置方式。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("limitation_action_type")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("limitation_action_type")]
|
||||||
|
public string? LimitationActionType { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置预计管控开始时间。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("limitation_start_date")]
|
||||||
|
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.Common.Rfc3339DateTimeOffsetConverter))]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("limitation_start_date")]
|
||||||
|
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.Common.Rfc3339DateTimeOffsetConverter))]
|
||||||
|
public DateTimeOffset? LimitationStartDate { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置商户被该原因管控的时间。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("limitation_date")]
|
||||||
|
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.Common.Rfc3339DateTimeOffsetConverter))]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("limitation_date")]
|
||||||
|
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.Common.Rfc3339DateTimeOffsetConverter))]
|
||||||
|
public DateTimeOffset? LimitationDate { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
{
|
|
||||||
"mchid": "123000110",
|
|
||||||
"limited_functions": [
|
|
||||||
"NO_TRANSACTION_AND_RECHARGE"
|
|
||||||
],
|
|
||||||
"recovery_specifications": [
|
|
||||||
{
|
|
||||||
"limitation_reason": "经营证照异常",
|
|
||||||
"recover_way": "修改主体资料",
|
|
||||||
"recover_help_url": "https://kf.qq.com",
|
|
||||||
"limitation_reason_type": "LICENSE_ABNORMAL",
|
|
||||||
"relate_limitations": [
|
|
||||||
"NO_TRANSACTION_AND_RECHARGE"
|
|
||||||
],
|
|
||||||
"other_relate_limitations": "关闭相册扫码支付,关闭长按识别支付"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"other_limited_functions": "关闭相册扫码支付,关闭长按识别支付"
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
{
|
||||||
|
"mchid": "123000110",
|
||||||
|
"limited_functions": [
|
||||||
|
"NO_TRANSACTION_AND_RECHARGEN"
|
||||||
|
],
|
||||||
|
"other_limited_functions": "关闭相册扫码支付,关闭长按识别支付",
|
||||||
|
"recovery_specifications": [
|
||||||
|
{
|
||||||
|
"limitation_case_id": "A20250819155047774441874",
|
||||||
|
"limitation_reason_type": "LICENSE_ABNORMAL",
|
||||||
|
"limitation_reason": "入驻后180天无账户动账",
|
||||||
|
"limitation_reason_describe": "当前商户号入驻后长时间无账户动账,请重新确认开户意愿并核实身份",
|
||||||
|
"relate_limitations": [
|
||||||
|
"NO_TRANSACTION_AND_RECHARGE"
|
||||||
|
],
|
||||||
|
"other_relate_limitations": "关闭相册扫码支付,关闭长按识别支付",
|
||||||
|
"recover_way": "MODIFY_SUBJECT_INFORMATION",
|
||||||
|
"recover_way_param": "100200300112233",
|
||||||
|
"recover_help_url": "https://kf.qq.com",
|
||||||
|
"limitation_action_type": "LIMIT_ACTION_TYPE_IMMEDIATE_CONTROL",
|
||||||
|
"limitation_start_date": "2025-06-08T10:34:56+08:00",
|
||||||
|
"limitation_date": "2025-06-08T10:34:56+08:00"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user