namespace SKIT.FlurlHttpClient.Wechat.TenpayV2.Models
{
///
/// 表示 [POST] /secapi/mch/querysubdevconfig 接口的响应。
///
public class GetSubMerchantDevelopConfigResponse : WechatTenpaySignableResponse
{
public static class Types
{
public class AppIdConfigList
{
///
/// 获取或设置 AppId 列表。
///
[Newtonsoft.Json.JsonProperty("appid_config_list")]
[System.Text.Json.Serialization.JsonPropertyName("appid_config_list")]
public AppIdConfigItem[] Items { get; set; } = default!;
}
public class AppIdConfigItem
{
///
/// 获取或设置关联 AppId。
///
[Newtonsoft.Json.JsonProperty("sub_appid")]
[System.Text.Json.Serialization.JsonPropertyName("sub_appid")]
public string SubAppId { get; set; } = default!;
///
/// 获取或设置关注特约商户公众号的 AppId。
///
[Newtonsoft.Json.JsonProperty("subscribe_appid")]
[System.Text.Json.Serialization.JsonPropertyName("subscribe_appid")]
public string? SubscribeAppId { get; set; }
}
public class JsapiPathList
{
///
/// 获取或设置授权目录列表。
///
[Newtonsoft.Json.JsonProperty("jsapi_path_list")]
[System.Text.Json.Serialization.JsonPropertyName("jsapi_path_list")]
public string[] Items { get; set; } = default!;
}
}
///
/// (冗余字段,请忽略)
///
[Newtonsoft.Json.JsonIgnore]
[System.Text.Json.Serialization.JsonIgnore]
public override string? MerchantId { get; set; }
///
/// (冗余字段,请忽略)
///
[Newtonsoft.Json.JsonIgnore]
[System.Text.Json.Serialization.JsonIgnore]
public override string? AppId { get; set; }
///
/// 获取或设置关联 AppId 列表。
///
[Newtonsoft.Json.JsonProperty("appid_config_list")]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.Common.StringifiedObjectInJsonFormatConverter))]
[System.Text.Json.Serialization.JsonPropertyName("appid_config_list")]
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.Common.StringifiedObjectInJsonFormatConverter))]
public Types.AppIdConfigList AppIdConfigList { get; set; } = default!;
///
/// 获取或设置授权目录列表。
///
[Newtonsoft.Json.JsonProperty("jsapi_path_list")]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.Common.StringifiedObjectInJsonFormatConverter))]
[System.Text.Json.Serialization.JsonPropertyName("jsapi_path_list")]
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.Common.StringifiedObjectInJsonFormatConverter))]
public Types.JsapiPathList JsapiPathList { get; set; } = default!;
}
}