NewGaoKaoApi/PaymentSDK/AliPay/Domain/RoyaltyDetailInfos.cs

73 lines
2.9 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;
namespace Aop.Api.Domain
{
/// <summary>
/// RoyaltyDetailInfos Data Structure.
/// </summary>
[Serializable]
public class RoyaltyDetailInfos : AopObject
{
/// <summary>
/// 分账的金额,单位为元
/// </summary>
[XmlElement("amount")]
public string Amount { get; set; }
/// <summary>
/// 分账的比例值为20代表按20%的比例分账
/// </summary>
[XmlElement("amount_percentage")]
public string AmountPercentage { get; set; }
/// <summary>
/// 分账批次号 分账批次号。 目前需要和转入账号类型为bankIndex配合使用。
/// </summary>
[XmlElement("batch_no")]
public string BatchNo { get; set; }
/// <summary>
/// 分账描述信息
/// </summary>
[XmlElement("desc")]
public string Desc { get; set; }
/// <summary>
/// 商户分账的外部关联号,用于关联到每一笔分账信息,商户需保证其唯一性。 如果为空,该值则默认为“商户网站唯一订单号+分账序列号”
/// </summary>
[XmlElement("out_relation_id")]
public string OutRelationId { get; set; }
/// <summary>
/// 分账序列号,表示分账执行的顺序,必须为正整数
/// </summary>
[XmlElement("serial_no")]
public long SerialNo { get; set; }
/// <summary>
/// 如果转入账号类型为userId本参数为接受分账金额的支付宝账号对应的支付宝唯一用户号。以2088开头的纯16位数字。 &#61548; 如果转入账号类型为bankIndex本参数为28位的银行编号商户和支付宝签约时确定。 如果转入账号类型为storeId本参数为商户的门店ID。
/// </summary>
[XmlElement("trans_in")]
public string TransIn { get; set; }
/// <summary>
/// 接受分账金额的账户类型: &#61548; userId支付宝账号对应的支付宝唯一用户号。 &#61548; bankIndex分账到银行账户的银行编号。目前暂时只支持分账到一个银行编号。 storeId分账到门店对应的银行卡编号。 默认值为userId。
/// </summary>
[XmlElement("trans_in_type")]
public string TransInType { get; set; }
/// <summary>
/// 如果转出账号类型为userId本参数为要分账的支付宝账号对应的支付宝唯一用户号。以2088开头的纯16位数字。
/// </summary>
[XmlElement("trans_out")]
public string TransOut { get; set; }
/// <summary>
/// 要分账的账户类型。 目前只支持userId支付宝账号对应的支付宝唯一用户号。 默认值为userId。
/// </summary>
[XmlElement("trans_out_type")]
public string TransOutType { get; set; }
}
}