NewGaoKaoApi/PaymentSDK/AliPay/Domain/AntMerchantExpandIndirectZf...

200 lines
8.3 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// AntMerchantExpandIndirectZftConsultModel Data Structure.
/// </summary>
[Serializable]
public class AntMerchantExpandIndirectZftConsultModel : AopObject
{
/// <summary>
/// 商户别名
/// </summary>
[XmlElement("alias_name")]
public string AliasName { get; set; }
/// <summary>
/// 商户支付宝账号,用作结算账号。与银行卡对象字段二选一必填
/// </summary>
[XmlElement("alipay_logon_id")]
public string AlipayLogonId { get; set; }
/// <summary>
/// 二级商户支付宝账户用于协议确认。目前商业场景除医疗、中小学教育等下必填。本字段要求与商户名称name同名且是实名认证支付宝账户
/// </summary>
[XmlElement("binding_alipay_logon_id")]
public string BindingAlipayLogonId { get; set; }
/// <summary>
/// 商户结算卡信息。本业务当前只允许传入一张结算卡。与支付宝账号字段二选一必填
/// </summary>
[XmlArray("biz_cards")]
[XmlArrayItem("settle_card_info")]
public List<SettleCardInfo> BizCards { get; set; }
/// <summary>
/// 经营地址。地址对象中省、市、区、地址必填,其余选填
/// </summary>
[XmlElement("business_address")]
public AddressInfo BusinessAddress { get; set; }
/// <summary>
/// 营业执照图片url本业务接口中如果是特殊行业必填。其值为使用ant.merchant.expand.indirect.image.upload上传图片得到的一串oss key。
/// </summary>
[XmlElement("cert_image")]
public string CertImage { get; set; }
/// <summary>
/// 证件反面图片。目前只有当商户类型是个人商户,主证件为身份证时才需填写
/// </summary>
[XmlElement("cert_image_back")]
public string CertImageBack { get; set; }
/// <summary>
/// 目前只有个体工商户商户类型要求填入本字段,填写值为个体工商户营业执照上的名称
/// </summary>
[XmlElement("cert_name")]
public string CertName { get; set; }
/// <summary>
/// 商户证件编号(企业或者个体工商户提供营业执照,事业单位提供事证号)
/// </summary>
[XmlElement("cert_no")]
public string CertNo { get; set; }
/// <summary>
/// 商户证件类型取值范围201营业执照2011:营业执照(统一社会信用代码)218事业单位法人证书
/// </summary>
[XmlElement("cert_type")]
public string CertType { get; set; }
/// <summary>
/// 商户联系人信息。在本业务中ContactInfo对象中名称类型、手机号必填其他选填
/// </summary>
[XmlArray("contact_infos")]
[XmlArrayItem("contact_info")]
public List<ContactInfo> ContactInfos { get; set; }
/// <summary>
/// 默认结算规则。在收单时不做特别指定规则时,将使用本对象设置的结算规则进行结算。其详细描述及收单接口传参示例参考功能包文档
/// </summary>
[XmlElement("default_settle_rule")]
public DefaultSettleRule DefaultSettleRule { get; set; }
/// <summary>
/// 商户编号,由机构定义,需要保证在机构下唯一
/// </summary>
[XmlElement("external_id")]
public string ExternalId { get; set; }
/// <summary>
/// 开票资料信息
/// </summary>
[XmlElement("invoice_info")]
public MerchantInvoiceInfo InvoiceInfo { get; set; }
/// <summary>
/// 法人身份证反面url其值为使用ant.merchant.expand.indirect.image.upload上传图片得到的一串oss key。本业务接口中如果是特殊行业必填
/// </summary>
[XmlElement("legal_cert_back_image")]
public string LegalCertBackImage { get; set; }
/// <summary>
/// 法人身份证正面url其值为使用ant.merchant.expand.indirect.image.upload上传图片得到的一串oss key。本业务接口中如果是特殊行业必填
/// </summary>
[XmlElement("legal_cert_front_image")]
public string LegalCertFrontImage { get; set; }
/// <summary>
/// 法人身份证号
/// </summary>
[XmlElement("legal_cert_no")]
public string LegalCertNo { get; set; }
/// <summary>
/// 默认可不填认为legal_cert_no是大陆身份证。类型包括100 大陆身份证105 港澳居民往来内地通行证106 台湾同胞往来大陆通行证108 外国人居留证
/// </summary>
[XmlElement("legal_cert_type")]
public string LegalCertType { get; set; }
/// <summary>
/// 法人名称
/// </summary>
[XmlElement("legal_name")]
public string LegalName { get; set; }
/// <summary>
/// c6c0c7a1-b9d5-4e5d-b9d4-9eed39f00e65.jpg 营业执照授权函。其值为使用ant.merchant.expand.indirect.image.upload上传图片得到的一串oss key。当商户名与结算卡户名不一致时必填
/// </summary>
[XmlElement("license_auth_letter_image")]
public string LicenseAuthLetterImage { get; set; }
/// <summary>
/// 商户类别码mcc参见附件描述中的“类目code” https://gw.alipayobjects.com/os/basement_prod/82cb70f7-abbd-417a-91ba-73c1849f07ea.xlsx 如果要求资质一栏不为空,表明是特殊行业,会有人工审核。注:文档更新可能有滞后性,以实际为准
/// </summary>
[XmlElement("mcc")]
public string Mcc { get; set; }
/// <summary>
/// 商家类型01企业02事业单位03民办非企业组织04社会团体05党政及国家机关06个人商户07个体工商户
/// </summary>
[XmlElement("merchant_type")]
public string MerchantType { get; set; }
/// <summary>
/// 进件的二级商户名称
/// </summary>
[XmlElement("name")]
public string Name { get; set; }
/// <summary>
/// 外部业务号。目前已废弃。新接入场景禁止传入本字段,否则可能会产生无法新进件的情况
/// </summary>
[XmlElement("out_biz_no")]
public string OutBizNo { get; set; }
/// <summary>
/// 门头照其值为使用ant.merchant.expand.indirect.image.upload上传图片得到的一串oss key。如果使用当面付服务则必填
/// </summary>
[XmlArray("out_door_images")]
[XmlArrayItem("string")]
public List<string> OutDoorImages { get; set; }
/// <summary>
/// 商户行业资质,当商户是特殊行业时必填
/// </summary>
[XmlArray("qualifications")]
[XmlArrayItem("industry_qualification_info")]
public List<IndustryQualificationInfo> Qualifications { get; set; }
/// <summary>
/// 商户使用服务可选值有当面付、app支付、wap支付、电脑支付
/// </summary>
[XmlArray("service")]
[XmlArrayItem("string")]
public List<string> Service { get; set; }
/// <summary>
/// 客服电话
/// </summary>
[XmlElement("service_phone")]
public string ServicePhone { get; set; }
/// <summary>
/// 二级商户与服务商的签约时间
/// </summary>
[XmlElement("sign_time_with_isv")]
public string SignTimeWithIsv { get; set; }
/// <summary>
/// 商户站点信息包括网站、app、小程序。商户使用服务包含电脑支付或wap支付时必须填充一个类型为01(网站)的SiteInfo对象site_type/site_url/site_name必填当包含app支付时必须至少填充类型为02(APP)或06(支付宝小程序)中一种类型的SiteInfo对象site_type/site_name必填
/// </summary>
[XmlArray("sites")]
[XmlArrayItem("site_info")]
public List<SiteInfo> Sites { get; set; }
}
}