/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ namespace TencentCloud.Cpdp.V20190820.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class CreateMerchantRequest : AbstractModel { /// /// 开票平台ID /// [JsonProperty("InvoicePlatformId")] public long? InvoicePlatformId{ get; set; } /// /// 企业名称 /// [JsonProperty("TaxpayerName")] public string TaxpayerName{ get; set; } /// /// 销方纳税人识别号 /// [JsonProperty("TaxpayerNum")] public string TaxpayerNum{ get; set; } /// /// 注册企业法定代表人名称 /// [JsonProperty("LegalPersonName")] public string LegalPersonName{ get; set; } /// /// 联系人 /// [JsonProperty("ContactsName")] public string ContactsName{ get; set; } /// /// 联系人手机号 /// [JsonProperty("Phone")] public string Phone{ get; set; } /// /// 不包含省市名称的地址 /// [JsonProperty("Address")] public string Address{ get; set; } /// /// 地区编码 /// [JsonProperty("RegionCode")] public long? RegionCode{ get; set; } /// /// 市(地区)名称 /// [JsonProperty("CityName")] public string CityName{ get; set; } /// /// 开票人 /// [JsonProperty("Drawer")] public string Drawer{ get; set; } /// /// 税务登记证图片(Base64)字符串,需小于 3M /// [JsonProperty("TaxRegistrationCertificate")] public string TaxRegistrationCertificate{ get; set; } /// /// 联系人邮箱地址 /// [JsonProperty("Email")] public string Email{ get; set; } /// /// 企业电话 /// [JsonProperty("BusinessMobile")] public string BusinessMobile{ get; set; } /// /// 银行名称 /// [JsonProperty("BankName")] public string BankName{ get; set; } /// /// 银行账号 /// [JsonProperty("BankAccount")] public string BankAccount{ get; set; } /// /// 复核人 /// [JsonProperty("Reviewer")] public string Reviewer{ get; set; } /// /// 收款人 /// [JsonProperty("Payee")] public string Payee{ get; set; } /// /// 注册邀请码 /// [JsonProperty("RegisterCode")] public string RegisterCode{ get; set; } /// /// 不填默认为1,有效状态 /// 0:表示无效; /// 1:表示有效; /// 2:表示禁止开蓝票; /// 3:表示禁止冲红。 /// [JsonProperty("State")] public string State{ get; set; } /// /// 接收推送的消息地址 /// [JsonProperty("CallbackUrl")] public string CallbackUrl{ get; set; } /// /// 接入环境。沙箱环境填 sandbox。 /// [JsonProperty("Profile")] public string Profile{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "InvoicePlatformId", this.InvoicePlatformId); this.SetParamSimple(map, prefix + "TaxpayerName", this.TaxpayerName); this.SetParamSimple(map, prefix + "TaxpayerNum", this.TaxpayerNum); this.SetParamSimple(map, prefix + "LegalPersonName", this.LegalPersonName); this.SetParamSimple(map, prefix + "ContactsName", this.ContactsName); this.SetParamSimple(map, prefix + "Phone", this.Phone); this.SetParamSimple(map, prefix + "Address", this.Address); this.SetParamSimple(map, prefix + "RegionCode", this.RegionCode); this.SetParamSimple(map, prefix + "CityName", this.CityName); this.SetParamSimple(map, prefix + "Drawer", this.Drawer); this.SetParamSimple(map, prefix + "TaxRegistrationCertificate", this.TaxRegistrationCertificate); this.SetParamSimple(map, prefix + "Email", this.Email); this.SetParamSimple(map, prefix + "BusinessMobile", this.BusinessMobile); this.SetParamSimple(map, prefix + "BankName", this.BankName); this.SetParamSimple(map, prefix + "BankAccount", this.BankAccount); this.SetParamSimple(map, prefix + "Reviewer", this.Reviewer); this.SetParamSimple(map, prefix + "Payee", this.Payee); this.SetParamSimple(map, prefix + "RegisterCode", this.RegisterCode); this.SetParamSimple(map, prefix + "State", this.State); this.SetParamSimple(map, prefix + "CallbackUrl", this.CallbackUrl); this.SetParamSimple(map, prefix + "Profile", this.Profile); } } }