mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-15 23:13:32 +08:00
59 lines
2.0 KiB
C#
59 lines
2.0 KiB
C#
namespace SKIT.FlurlHttpClient.Wechat.TenpayV2.Models
|
|
{
|
|
/// <summary>
|
|
/// <para>表示 [POST] /tools/authcodetoopenid 接口的响应。</para>
|
|
/// </summary>
|
|
public class ToolsAuthCodeToOpenIdResponse : WechatTenpaySignableResponse
|
|
{
|
|
/// <summary>
|
|
/// <inheritdoc/>
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("mch_id")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("mch_id")]
|
|
#pragma warning disable CS8618
|
|
#pragma warning disable CS8765
|
|
public override string MerchantId { get; set; }
|
|
#pragma warning restore CS8765
|
|
#pragma warning restore CS8618
|
|
|
|
/// <summary>
|
|
/// <inheritdoc/>
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("appid")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("appid")]
|
|
#pragma warning disable CS8618
|
|
#pragma warning disable CS8765
|
|
public override string AppId { get; set; }
|
|
#pragma warning restore CS8765
|
|
#pragma warning restore CS8618
|
|
|
|
/// <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; }
|
|
}
|
|
}
|