2023-04-04 11:30:57 +08:00
|
|
|
namespace SKIT.FlurlHttpClient.Wechat.TenpayV2.Models
|
2022-01-20 23:20:03 +08:00
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// <para>表示 [POST] /tools/authcodetoopenid 接口的响应。</para>
|
|
|
|
/// </summary>
|
|
|
|
public class ToolsAuthCodeToOpenIdResponse : WechatTenpaySignableResponse
|
|
|
|
{
|
2022-01-25 13:24:49 +08:00
|
|
|
/// <summary>
|
|
|
|
/// <inheritdoc/>
|
|
|
|
/// </summary>
|
|
|
|
[Newtonsoft.Json.JsonProperty("mch_id")]
|
|
|
|
[System.Text.Json.Serialization.JsonPropertyName("mch_id")]
|
2023-04-04 11:30:57 +08:00
|
|
|
#pragma warning disable CS8618
|
|
|
|
#pragma warning disable CS8765
|
|
|
|
public override string MerchantId { get; set; }
|
|
|
|
#pragma warning restore CS8765
|
|
|
|
#pragma warning restore CS8618
|
2022-01-25 13:24:49 +08:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <inheritdoc/>
|
|
|
|
/// </summary>
|
|
|
|
[Newtonsoft.Json.JsonProperty("appid")]
|
|
|
|
[System.Text.Json.Serialization.JsonPropertyName("appid")]
|
2023-04-04 11:30:57 +08:00
|
|
|
#pragma warning disable CS8618
|
|
|
|
#pragma warning disable CS8765
|
|
|
|
public override string AppId { get; set; }
|
|
|
|
#pragma warning restore CS8765
|
|
|
|
#pragma warning restore CS8618
|
2022-01-25 13:24:49 +08:00
|
|
|
|
2022-01-20 23:20:03 +08:00
|
|
|
/// <summary>
|
|
|
|
/// 获取或设置子商户号。
|
|
|
|
/// </summary>
|
|
|
|
[Newtonsoft.Json.JsonProperty("sub_mch_id")]
|
|
|
|
[System.Text.Json.Serialization.JsonPropertyName("sub_mch_id")]
|
|
|
|
public string? SubMerchantId { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取或设置子商户 AppId。
|
|
|
|
/// </summary>
|
|
|
|
[Newtonsoft.Json.JsonProperty("sub_appid")]
|
|
|
|
[System.Text.Json.Serialization.JsonPropertyName("sub_appid")]
|
|
|
|
public string? SubAppId { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取或设置用户唯一标识。
|
|
|
|
/// </summary>
|
|
|
|
[Newtonsoft.Json.JsonProperty("openid")]
|
|
|
|
[System.Text.Json.Serialization.JsonPropertyName("openid")]
|
|
|
|
public string OpenId { get; set; } = default!;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取或设置用户在子商户下的唯一标识。
|
|
|
|
/// </summary>
|
|
|
|
[Newtonsoft.Json.JsonProperty("sub_openid")]
|
|
|
|
[System.Text.Json.Serialization.JsonPropertyName("sub_openid")]
|
|
|
|
public string? SubOpenId { get; set; }
|
|
|
|
}
|
|
|
|
}
|