NewGaoKaoApi/PaymentSDK/AliPay/Domain/PaymentCredential.cs

37 lines
1.2 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>
/// PaymentCredential Data Structure.
/// </summary>
[Serializable]
public class PaymentCredential : AopObject
{
/// <summary>
/// 码过期时间。{UTC timestamp when the payment credential is no longer valid for payment. W3Cs definition of the ISO 8601 date and time format: yyyy-MM-dd'T'HH:mm:ss.SSSZ}
/// </summary>
[XmlElement("expiration_timestamp")]
public string ExpirationTimestamp { get; set; }
/// <summary>
/// 码的id。{Identifier for this credential}
/// </summary>
[XmlElement("identifier")]
public string Identifier { get; set; }
/// <summary>
/// 码类型。{To enable QR code and barcode functionality}
/// </summary>
[XmlElement("payment_credential_type")]
public string PaymentCredentialType { get; set; }
/// <summary>
/// 码值加密结果。{The encrypted credential value}
/// </summary>
[XmlElement("value")]
public EncryptedPaymentCredential Value { get; set; }
}
}