NewGaoKaoApi/PaymentSDK/AliPay/Domain/Participant.cs

49 lines
2.0 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>
/// Participant Data Structure.
/// </summary>
[Serializable]
public class Participant : AopObject
{
/// <summary>
/// 如果identity_type为BANKCARD_NO需传递该参数涉及属性如下 inst_name 银行卡卡开户银行 inst_province 银行所在省份 inst_city 银行所在市 inst_branch_name 收款银行所属支行 bank_code 银行卡支行联行号 account_type 银行卡账户类型 1:对公 2对私
/// </summary>
[XmlElement("bankcard_ext_info")]
public BankcardExtInfo BankcardExtInfo { get; set; }
/// <summary>
/// 描述参与方信息的扩展属性,使用前请与支付宝工程师确认
/// </summary>
[XmlElement("ext_info")]
public string ExtInfo { get; set; }
/// <summary>
/// 参与方的唯一标识
/// </summary>
[XmlElement("identity")]
public string Identity { get; set; }
/// <summary>
/// 参与方的标识类型,目前支持如下类型: 1、ALIPAY_USER_ID 支付宝的会员ID 2、ALIPAY_LOGON_ID支付宝登录号支持邮箱和手机号格式
/// </summary>
[XmlElement("identity_type")]
public string IdentityType { get; set; }
/// <summary>
/// 商户端的用户信息描述,目前可指定如下属性: merchant_user_id商户端的用户唯一ID merchant_user_name商户端的用户名 merchant_user_nickname商户端的用户昵称 merchant_user_mobile商户端的手机号
/// </summary>
[XmlElement("merchant_user_info")]
public string MerchantUserInfo { get; set; }
/// <summary>
/// 参与方真实姓名如果非空将校验收款支付宝账号姓名一致性。当identity_type=ALIPAY_LOGON_ID时本字段必填。
/// </summary>
[XmlElement("name")]
public string Name { get; set; }
}
}