using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// /// AlipayPayCodecApplepayCredentialsGetModel Data Structure. /// [Serializable] public class AlipayPayCodecApplepayCredentialsGetModel : AopObject { /// /// ECC算法、PKCS#7的签名。{Base 64 encoded signature from Apple authorizing the return of the credentials. PKCS#7 detached ECC signature covering the SHA 256 hash of the concatenation of the UTF-8 values of provisioningBundleIdentifier , lastUsedCredentialIdentifier , numberToFetch and hasZeroQRCodes .} /// [XmlElement("apple_signature")] public string AppleSignature { get; set; } /// /// 加密证书hash值,用于证书验证。 The public key hash of the leaf certificate of the barcodeEncryptionCertChain to indicate the public key that should be used for the encryption of payment credentials. /// [XmlElement("encryption_public_key_hash")] public string EncryptionPublicKeyHash { get; set; } /// /// 风控信息。 Fraud data provided by Apple as outlined in separate Fraud SIA document, if applicable /// [XmlElement("fraud_data")] public CredentialsFraudData FraudData { get; set; } /// /// hasZeroQRCodes,本地已经没有付款码。{This parameter indicates if there are anymore QR codes left on the device or not. True means that there are no more QR codes left on the device.} /// [XmlElement("has_zero_qr_codes")] public bool HasZeroQrCodes { get; set; } /// /// 上一个展示过的码id,-1个可做失效处理。{The identifier of the most recently consumed payment credential} /// [XmlElement("last_used_credential_identifier")] public string LastUsedCredentialIdentifier { get; set; } /// /// 希望下发的码个数。{The desired number of payment credentials to be returned} /// [XmlElement("number_to_fetch")] public long NumberToFetch { get; set; } /// /// 码类型。 {To enable QR code and barcode functionality} /// [XmlElement("payment_credential_type")] public string PaymentCredentialType { get; set; } /// /// SAM pass的bundleId,唯一标识一张卡片。{The identifier on the device for which the payment credentials are destined} /// [XmlElement("provisioning_bundle_identifier")] public string ProvisioningBundleIdentifier { get; set; } } }