using System.Collections.Generic; namespace SKIT.FlurlHttpClient.Wechat.TenpayV2.Models { /// /// 表示 [POST] /secapi/mch/addInstitutionsub 接口的请求。 /// public class AddSubMerchantInstitutionRequest : WechatTenpaySignableRequest { internal static class Converters { internal class RequestPropertyStorePhotoMediaIdListNewtonsoftJsonConverter : Newtonsoft.Json.Converters.TextualObjectInJsonFormatConverterBase> { } internal class RequestPropertyStorePhotoMediaIdListSystemTextJsonConverter : System.Text.Json.Converters.TextualObjectInJsonFormatConverterBase> { } } /// /// /// [Newtonsoft.Json.JsonProperty("mch_id")] [System.Text.Json.Serialization.JsonPropertyName("mch_id")] public override string? MerchantId { get; set; } /// /// /// [Newtonsoft.Json.JsonProperty("app_id")] [System.Text.Json.Serialization.JsonPropertyName("app_id")] public override string? AppId { get; set; } /// /// 获取或设置渠道编号。 /// [Newtonsoft.Json.JsonProperty("channel_id")] [System.Text.Json.Serialization.JsonPropertyName("channel_id")] public string? ChannelId { get; set; } /// /// 获取或设置子商户全称。 /// [Newtonsoft.Json.JsonProperty("merchant_name")] [System.Text.Json.Serialization.JsonPropertyName("merchant_name")] public string MerchantName { get; set; } = string.Empty; /// /// 获取或设置子商户简称。 /// [Newtonsoft.Json.JsonProperty("merchant_shortname")] [System.Text.Json.Serialization.JsonPropertyName("merchant_shortname")] public string MerchantShortName { get; set; } = string.Empty; /// /// 获取或设置子商户备注信息。 /// [Newtonsoft.Json.JsonProperty("merchant_remark")] [System.Text.Json.Serialization.JsonPropertyName("merchant_remark")] public string MerchantRemark { get; set; } = string.Empty; /// /// 获取或设置商户类型。 /// [Newtonsoft.Json.JsonProperty("merchant_type")] [System.Text.Json.Serialization.JsonPropertyName("merchant_type")] public string MerchantType { get; set; } = string.Empty; /// /// 获取或设置业务类目编码。 /// [Newtonsoft.Json.JsonProperty("business_category")] [System.Text.Json.Serialization.JsonPropertyName("business_category")] public int BusinessCategoryCode { get; set; } /// /// 获取或设置商户类别编码。 /// [Newtonsoft.Json.JsonProperty("mcc")] [System.Text.Json.Serialization.JsonPropertyName("mcc")] public string MerchantCategoryCode { get; set; } = string.Empty; /// /// 获取或设置注册国家或地区代码。 /// [Newtonsoft.Json.JsonProperty("merchant_country_code")] [System.Text.Json.Serialization.JsonPropertyName("merchant_country_code")] public string CountryCode { get; set; } = string.Empty; /// /// 获取或设置公司注册文件编号。 /// [Newtonsoft.Json.JsonProperty("registration_certificate_number")] [System.Text.Json.Serialization.JsonPropertyName("registration_certificate_number")] public string RegistrationCertificateNumber { get; set; } = string.Empty; /// /// 获取或设置公司注册文件过期时间字符串(格式:yyyy-MM-dd / PERMANENT)。 /// [Newtonsoft.Json.JsonProperty("registration_certificate_date")] [System.Text.Json.Serialization.JsonPropertyName("registration_certificate_date")] public string RegistrationCertificateDateString { get; set; } = string.Empty; /// /// 获取或设置公司注册文件照片 MediaId。 /// [Newtonsoft.Json.JsonProperty("registration_certificate_copy")] [System.Text.Json.Serialization.JsonPropertyName("registration_certificate_copy")] public string? RegistrationCertificatePictureMediaId { get; set; } /// /// 获取或设置业务类型。 /// [Newtonsoft.Json.JsonProperty("business_type")] [System.Text.Json.Serialization.JsonPropertyName("business_type")] public string BusinessType { get; set; } = string.Empty; /// /// 获取或设置 App 下载链接。 /// [Newtonsoft.Json.JsonProperty("app_download")] [System.Text.Json.Serialization.JsonPropertyName("app_download")] public string? AppDownloadUrl { get; set; } /// /// 获取或设置业务网站地址。 /// [Newtonsoft.Json.JsonProperty("business_website")] [System.Text.Json.Serialization.JsonPropertyName("business_website")] public string? WebsiteUrl { get; set; } /// /// 获取或设置公众号 AppId。 /// [Newtonsoft.Json.JsonProperty("office_account")] [System.Text.Json.Serialization.JsonPropertyName("office_account")] public string? OfficeAccountAppId { get; set; } /// /// 获取或设置小程序 AppId。 /// [Newtonsoft.Json.JsonProperty("mini_program")] [System.Text.Json.Serialization.JsonPropertyName("mini_program")] public string? MiniProgramAppId { get; set; } /// /// 获取或设置门店地址。 /// [Newtonsoft.Json.JsonProperty("store_address")] [System.Text.Json.Serialization.JsonPropertyName("store_address")] public string? StoreAddress { get; set; } /// /// 获取或设置门店照片 MediaId 列表。 /// [Newtonsoft.Json.JsonProperty("store_photos")] [Newtonsoft.Json.JsonConverter(typeof(Converters.RequestPropertyStorePhotoMediaIdListNewtonsoftJsonConverter))] [System.Text.Json.Serialization.JsonPropertyName("store_photos")] [System.Text.Json.Serialization.JsonConverter(typeof(Converters.RequestPropertyStorePhotoMediaIdListSystemTextJsonConverter))] public IList? StorePhotoMediaIdList { get; set; } /// /// 获取或设置董事姓名。 /// [Newtonsoft.Json.JsonProperty("director_name")] [System.Text.Json.Serialization.JsonPropertyName("director_name")] public string? DirectorName { get; set; } /// /// 获取或设置董事证件号码。 /// [Newtonsoft.Json.JsonProperty("director_id_number")] [System.Text.Json.Serialization.JsonPropertyName("director_id_number")] public string? DirectorIdNumber { get; set; } /// /// 获取或设置负责人姓名。 /// [Newtonsoft.Json.JsonProperty("principal_name")] [System.Text.Json.Serialization.JsonPropertyName("principal_name")] public string? PrincipalName { get; set; } /// /// 获取或设置负责人证件号。 /// [Newtonsoft.Json.JsonProperty("principal_id_number")] [System.Text.Json.Serialization.JsonPropertyName("principal_id_number")] public string? PrincipalIdNumber { get; set; } /// /// 获取或设置公司电话。 /// [Newtonsoft.Json.JsonProperty("office_phone")] [System.Text.Json.Serialization.JsonPropertyName("office_phone")] public string? OfficePhoneNumber { get; set; } /// /// 获取或设置联系人姓名。 /// [Newtonsoft.Json.JsonProperty("contact_name")] [System.Text.Json.Serialization.JsonPropertyName("contact_name")] public string? ContactName { get; set; } /// /// 获取或设置联系人电话号码。 /// [Newtonsoft.Json.JsonProperty("contact_phone")] [System.Text.Json.Serialization.JsonPropertyName("contact_phone")] public string? ContactPhotoNumber { get; set; } /// /// 获取或设置联系人邮箱。 /// [Newtonsoft.Json.JsonProperty("contact_email")] [System.Text.Json.Serialization.JsonPropertyName("contact_email")] public string? ContactEmail { get; set; } /// /// 获取或设置子商户结算银行账户 。 /// [Newtonsoft.Json.JsonProperty("settlement_bank_number")] [System.Text.Json.Serialization.JsonPropertyName("settlement_bank_number")] public string? SettlementBankNumber { get; set; } } }