using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// /// AlipayFundBatchTransferModel Data Structure. /// [Serializable] public class AlipayFundBatchTransferModel : AopObject { /// /// 代发到账户明细列。biz_code=BATCH_TRANS_ACC时,该参数必填。biz_code为其他值时忽略该参数。 /// [XmlArray("acc_detail_list")] [XmlArrayItem("acc_trans_detail")] public List AccDetailList { get; set; } /// /// test /// [XmlElement("batch_no")] public string BatchNo { get; set; } /// /// 付款方账单地址,用于反洗钱,biz_scene=GLOBAL时必填。格式: 两位国家编码,账单地址. 账单地址至少提供到市. 账单地址中只能包含如下字符: a-zA-Z0-9()/-?:.'+, 和空格。 /// [XmlElement("billing_address")] public string BillingAddress { get; set; } /// /// 批量代发业务标识。 批量代发到账户:BATCH_TRANS_ACC 批量代发到银行卡:BATCH_TRANS_BC /// [XmlElement("biz_code")] public string BizCode { get; set; } /// /// 批量代发业务场景。 GLOBAL: 全球代发. 除CNY的多币种代发或人民币跨境代发。 LOCAL:中国境内纯人民币代发。 /// [XmlElement("biz_scene")] public string BizScene { get; set; } /// /// 扩展参数。使用前需要和支付宝先约定key值。 /// [XmlElement("extend_params")] public string ExtendParams { get; set; } /// /// 跨境批量代发场景下,描述批量代发请求,是否针对付汇失败场景下商户所做的重试。 T: 代表重试请求,对应的代发文件明细中alipay_order_no不能为空; F: 代表非重试请求,对应的代发文件明细中alipay_order_no必须为空。 biz_scene=LOCAL时忽略该参数。 /// [XmlElement("pay_retry")] public string PayRetry { get; set; } /// /// 付款方账号,来账场景中填写VA账号。 /// [XmlElement("payer_account")] public string PayerAccount { get; set; } /// /// 付款方账号类型.与payer_account配合使用, 如果payer_account是VA账号, 则填写VA. /// [XmlElement("payer_account_type")] public string PayerAccountType { get; set; } /// /// 商户支付给支付宝的币种。 biz_scene=GLOBAL时必填; biz_scene=LOCAL时忽略该参数。 /// [XmlElement("payment_currency")] public string PaymentCurrency { get; set; } /// /// 批量代发产品签约产品码。 /// [XmlElement("product_code")] public string ProductCode { get; set; } /// /// 对客资金交割时效。 biz_scene=GLOBAL时, 如果未填写以合约为准。 biz_scene=LOCAL时, 忽略该参数。 /// [XmlElement("request_value_time")] public string RequestValueTime { get; set; } /// /// 签约主体,即签约了批量代发产品的支付宝账号。 /// [XmlElement("sign_principal")] public string SignPrincipal { get; set; } /// /// 本次代发明细总数据. 正整数,最小1笔,最大支持1000笔,该字段值会和明细总数做比对校验。 /// [XmlElement("total_count")] public string TotalCount { get; set; } /// /// 总转账金额。 biz_scene=LOCAL时,该参数必传。 biz_scene=GLOBAL时,如果明细列中trans_currency只存在一种币种,且值等于payment_currency时,该参数必传,并且total_trans_amount等于明细列中trans_amount累加总和。其他场景下,忽略该参数。 /// [XmlElement("total_trans_amount")] public string TotalTransAmount { get; set; } /// /// 转账币种三位英文短码, 用于修饰total_trans_amount. biz_scene=LOCAL时,该参数选传, 如果传入必须为CNY。 biz_scene=GLOBAL时,如果明细列中trans_currency只存在一种币种,且值等于payment_currency时,该参数必传,与trans_currency相同。其他场景下,忽略该参数。 /// [XmlElement("total_trans_currency")] public string TotalTransCurrency { get; set; } } }