using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// /// RoyaltyDetailInfo Data Structure. /// [Serializable] public class RoyaltyDetailInfo : AopObject { /// /// 分账金额,单位为元 /// [XmlElement("amount")] public string Amount { get; set; } /// /// 分账描述 /// [XmlElement("desc")] public string Desc { get; set; } /// /// 分账转入账户id。当分账账户id类型是cardSerialNo时,本参数为用户在支付宝绑定的卡编号;当分账账户id类型是userId时,本参数为用户的支付宝账号对应的支付宝唯一用户号;当分账账户id类型是loginName时,本参数为用户的支付宝登录号; 当 trans_in_account_type 为defaultSettle时,本参数必须为空 /// [XmlElement("trans_in_account_id")] public string TransInAccountId { get; set; } /// /// 分账转入账户id类型。 当trans_in_account_type 为bankCard时,本参数为cardSerialNo,表示分账账户id是银行卡编号; 当trans_in_account_type 为alipayBalance时,本参数为userId或者loginName,其中userId表示分账账户id是支付宝唯一用户号,loginName表示分账账户id是支付宝登录号; 当 trans_in_account_type 为 defaultSettle 时,本参数必须为空 /// [XmlElement("trans_in_account_id_type")] public string TransInAccountIdType { get; set; } /// /// 分账账户类型。 bankCard: 分账账户为银行卡; alipayBalance: 分账账户为支付宝余额户; defaultSettle: 按默认结算规则分账 /// [XmlElement("trans_in_account_type")] public string TransInAccountType { get; set; } /// /// 分账转出主体账 号。 当分账转出主体类型为SecondMerchant,本参数为二级商户的SecondMerchantID 当分账转出类型为Store,本参数为StoreID /// [XmlElement("trans_in_entity_id")] public string TransInEntityId { get; set; } /// /// 分账转入主体类型。 SecondMerchant:分账转入主体为二级商户 Store: 结算门店 /// [XmlElement("trans_in_entity_type")] public string TransInEntityType { get; set; } /// /// 转入方二级商户信息 /// [XmlElement("trans_in_sub_merchant")] public SubMerchant TransInSubMerchant { get; set; } /// /// 分账转出主体账。 当分账转出主体类型为SecondMerchant,本参数为二级商户的SecondMerchantId 当分账转出类型为Store,本参数为StoreID /// [XmlElement("trans_out_entity_id")] public string TransOutEntityId { get; set; } /// /// 分账转出主体类型。 SecondMerchant:结算主体为二级商户 Store: 结算门店 /// [XmlElement("trans_out_entity_type")] public string TransOutEntityType { get; set; } /// /// 转出方二级商户信息 /// [XmlElement("trans_out_sub_merchant")] public SubMerchant TransOutSubMerchant { get; set; } } }