mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-15 23:13:32 +08:00
feat(tenpayv3): 随官方更新连锁品牌门店相关接口模型
This commit is contained in:
parent
b1943ebc85
commit
a9ae60e9e4
@ -18,12 +18,19 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
|||||||
[System.Text.Json.Serialization.JsonPropertyName("store_reference_id")]
|
[System.Text.Json.Serialization.JsonPropertyName("store_reference_id")]
|
||||||
public string? StoreReferenceId { get; set; }
|
public string? StoreReferenceId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置品牌 ID。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("brand_id")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("brand_id")]
|
||||||
|
public int? BrandId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置品牌名称。
|
/// 获取或设置品牌名称。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("brand_name")]
|
[Newtonsoft.Json.JsonProperty("brand_name")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("brand_name")]
|
[System.Text.Json.Serialization.JsonPropertyName("brand_name")]
|
||||||
public string BrandName { get; set; } = string.Empty;
|
public string? BrandName { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置门店名称。
|
/// 获取或设置门店名称。
|
||||||
|
@ -22,6 +22,30 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
|||||||
public class Recipient : CreateMerchantStoreRequest.Types.Recipient
|
public class Recipient : CreateMerchantStoreRequest.Types.Recipient
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class State
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店状态。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("store_state_value")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("store_state_value")]
|
||||||
|
public string StateValue { get; set; } = default!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店状态描述。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("store_state_message")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("store_state_message")]
|
||||||
|
public string? StateMessage { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置地址核实失败原因。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("address_failed_reason")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("address_failed_reason")]
|
||||||
|
public string? AddressFailedReason { get; set; }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -51,5 +75,12 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
|||||||
[Newtonsoft.Json.JsonProperty("store_recipient")]
|
[Newtonsoft.Json.JsonProperty("store_recipient")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("store_recipient")]
|
[System.Text.Json.Serialization.JsonPropertyName("store_recipient")]
|
||||||
public Types.Recipient[] RecipientList { get; set; } = default!;
|
public Types.Recipient[] RecipientList { get; set; } = default!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店状态信息。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("store_state")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("store_state")]
|
||||||
|
public Types.State State { get; set; } = default!;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user