NewGaoKaoApi/PaymentSDK/AliPay/Domain/AlipayContract.cs

49 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>
/// AlipayContract Data Structure.
/// </summary>
[Serializable]
public class AlipayContract : AopObject
{
/// <summary>
/// 支付宝用户ID
/// </summary>
[XmlElement("alipay_user_id")]
public string AlipayUserId { get; set; }
/// <summary>
/// 订购的应用名称,有效时间。
/// </summary>
[XmlElement("contract_content")]
public string ContractContent { get; set; }
/// <summary>
/// 订购的失效时间
/// </summary>
[XmlElement("end_time")]
public string EndTime { get; set; }
/// <summary>
/// 订购URL。在sign返回false时返回应用的订购地址可以引导用户订购。
/// </summary>
[XmlElement("page_url")]
public string PageUrl { get; set; }
/// <summary>
/// 订购的生效时间
/// </summary>
[XmlElement("start_time")]
public string StartTime { get; set; }
/// <summary>
/// 是否订购的标识。true代表已订购。
/// </summary>
[XmlElement("subscribe")]
public bool Subscribe { get; set; }
}
}