NewGaoKaoApi/PaymentSDK/AliPay/Domain/Signer.cs

49 lines
1.3 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>
/// Signer Data Structure.
/// </summary>
[Serializable]
public class Signer : AopObject
{
/// <summary>
/// 邮箱
/// </summary>
[XmlElement("email")]
public string Email { get; set; }
/// <summary>
/// 证件号
/// </summary>
[XmlElement("id_number")]
public string IdNumber { get; set; }
/// <summary>
/// 证件类型,详见个人证件类型说明http://open.esign.cn/docs/xy/%E6%8E%A5%E5%8F%A3%E6%96%87%E6%A1%A3/%E9%99%84%E5%BD%95/%E4%B8%AA%E4%BA%BA%E8%AF%81%E4%BB%B6%E7%B1%BB%E5%9E%8B.html默认CRED_PSN_CH_IDCARD (证件号不为空,则必填)
/// </summary>
[XmlElement("id_type")]
public string IdType { get; set; }
/// <summary>
/// 手机号
/// </summary>
[XmlElement("mobile")]
public string Mobile { get; set; }
/// <summary>
/// 姓名
/// </summary>
[XmlElement("name")]
public string Name { get; set; }
/// <summary>
/// 支付宝userId
/// </summary>
[XmlElement("user_id")]
public string UserId { get; set; }
}
}