NewGaoKaoApi/PaymentSDK/AliPay/Domain/RoyaltyEntity.cs

37 lines
1.3 KiB
C#
Raw 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>
/// RoyaltyEntity Data Structure.
/// </summary>
[Serializable]
public class RoyaltyEntity : AopObject
{
/// <summary>
/// 分账方帐号。当分账方类型是userId时本参数为用户的支付宝账号对应的支付宝唯一用户号以2088开头的纯16位数字当分账方类型是loginName时本参数为用户的支付宝登录号。
/// </summary>
[XmlElement("account")]
public string Account { get; set; }
/// <summary>
/// 分账关系描述
/// </summary>
[XmlElement("memo")]
public string Memo { get; set; }
/// <summary>
/// 分账方全称,新增分账关系时作为请求参数必填,解绑分账关系时作为请求参数可不填,分账关系查询时不作为返回结果返回
/// </summary>
[XmlElement("name")]
public string Name { get; set; }
/// <summary>
/// 分账方类型。userId表示是支付宝账号对应的支付宝唯一用户号loginName表示是支付宝登录号在分账关系查询接口中不返回此值。
/// </summary>
[XmlElement("type")]
public string Type { get; set; }
}
}