/// <summary> /// Initializes a new instance of the <see cref="ThreeDSecureData" /> class. /// </summary> /// <param name="Cavv">The cardholder authentication value (base64 encoded, 20 bytes in a decoded form)..</param> /// <param name="AuthenticationResponse">The authentication response if the shopper was redirected..</param> /// <param name="Xid">The transaction identifier (base64 encoded, 20 bytes in a decoded form)..</param> /// <param name="CavvAlgorithm">The CAVV algorithm used..</param> /// <param name="DirectoryResponse">The enrollment response from the 3D directory server..</param> /// <param name="Eci">The electronic commerce indicator..</param> public ThreeDSecureData(byte[] Cavv = default(byte[]), AuthenticationResponseEnum?AuthenticationResponse = default(AuthenticationResponseEnum?), byte[] Xid = default(byte[]), string CavvAlgorithm = default(string), DirectoryResponseEnum?DirectoryResponse = default(DirectoryResponseEnum?), string Eci = default(string)) { this.Cavv = Cavv; this.AuthenticationResponse = AuthenticationResponse; this.Xid = Xid; this.CavvAlgorithm = CavvAlgorithm; this.DirectoryResponse = DirectoryResponse; this.Eci = Eci; }
/// <summary> /// Initializes a new instance of the <see cref="ThreeDSecureData" /> class. /// </summary> /// <param name="authenticationResponse">In 3D Secure 1, the authentication response if the shopper was redirected. In 3D Secure 2, this is the `transStatus` from challenge flow. If the transaction was frictionless, set this value to **Y**..</param> /// <param name="cavv">The cardholder authentication value (base64 encoded, 20 bytes in a decoded form)..</param> /// <param name="cavvAlgorithm">The CAVV algorithm used. Include this only for 3D Secure 1..</param> /// <param name="directoryResponse">In 3D Secure 1, this is the enrollment response from the 3D directory server. In 3D Secure 2, this is the `transStatus` from 3D Secure device fingerprinting result..</param> /// <param name="dsTransID">Supported for 3D Secure 2. The unique transaction identifier assigned by the Directory Server (DS) to identify a single transaction..</param> /// <param name="eci">The electronic commerce indicator..</param> /// <param name="threeDSVersion">The version of the 3D Secure protocol..</param> /// <param name="xid">Supported for 3D Secure 1. The transaction identifier (Base64-encoded, 20 bytes in a decoded form)..</param> public ThreeDSecureData(AuthenticationResponseEnum?authenticationResponse = default(AuthenticationResponseEnum?), byte[] cavv = default(byte[]), string cavvAlgorithm = default(string), DirectoryResponseEnum?directoryResponse = default(DirectoryResponseEnum?), string dsTransID = default(string), string eci = default(string), string threeDSVersion = default(string), byte[] xid = default(byte[])) { this.AuthenticationResponse = authenticationResponse; this.Cavv = cavv; this.CavvAlgorithm = cavvAlgorithm; this.DirectoryResponse = directoryResponse; this.DsTransID = dsTransID; this.Eci = eci; this.ThreeDSVersion = threeDSVersion; this.Xid = xid; }
/// <summary> /// Initializes a new instance of the <see cref="Secure3DAuthenticationResultAllOf" /> class. /// </summary> /// <param name="cavv">The Cardholder Authentication Verification Value (CAVV) is a cryptographic value derived by the issuer during payment authentication that can provide evidence of the results of payment authentication during an online purchase..</param> /// <param name="xid">The transaction identifier (XID) is a unique tracking number set by the merchant..</param> /// <param name="dsTransactionId">The response transaction UUID from the DS (directory server).</param> /// <param name="authenticationResponse">The result of authentication attempt returned by the 3D Secure authentication process (ARes)..</param> /// <param name="transactionStatus">The transaction status as returned by the 3D Secure authentication process. (CRes).</param> /// <param name="messageCategory">Indicates the message category of 3d secure authentication version 2.X. 01 = Payment Authentication 02 = Non-Payment Authentication 80 = Mastercard Data Only .</param> public Secure3DAuthenticationResultAllOf(string cavv = default(string), string xid = default(string), string dsTransactionId = default(string), AuthenticationResponseEnum?authenticationResponse = default(AuthenticationResponseEnum?), TransactionStatusEnum?transactionStatus = default(TransactionStatusEnum?), MessageCategoryEnum?messageCategory = default(MessageCategoryEnum?)) { this.Cavv = cavv; this.Xid = xid; this.DsTransactionId = dsTransactionId; this.AuthenticationResponse = authenticationResponse; this.TransactionStatus = transactionStatus; this.MessageCategory = messageCategory; }
/// <summary> /// Initializes a new instance of the <see cref="Secure3D21AuthenticationResult" /> class. /// </summary> /// <param name="cavv">The Cardholder Authentication Verification Value (CAVV) is a cryptographic value derived by the issuer during payment authentication that can provide evidence of the results of payment authentication during an online purchase..</param> /// <param name="xid">The transaction identifier (XID) is a unique tracking number set by the merchant..</param> /// <param name="transactionId">The response transaction UUID. Only applicable to MasterCard..</param> /// <param name="authenticationResponse">The result of authentication attempt returned by the 3D Secure authentication process (PaRes). (default to AuthenticationResponseEnum.Y).</param> /// <param name="transactionStatus">The transaction status as returned by the 3D Secure authentication process..</param> /// <param name="authenticationType">Specifies the version of 3DS to be used where authentication was managed outside of the gateway. (required).</param> public Secure3D21AuthenticationResult(string cavv = default(string), string xid = default(string), string transactionId = default(string), AuthenticationResponseEnum?authenticationResponse = AuthenticationResponseEnum.Y, TransactionStatusEnum?transactionStatus = null, string authenticationType = default(string)) : base(authenticationType) { this.Cavv = cavv; this.Xid = xid; this.TransactionId = transactionId; this.AuthenticationResponse = authenticationResponse; this.TransactionStatus = transactionStatus; }
/// <summary> /// Initializes a new instance of the <see cref="Secure3D21AuthenticationResultAllOf" /> class. /// </summary> /// <param name="cavv">The Cardholder Authentication Verification Value (CAVV) is a cryptographic value derived by the issuer during payment authentication that can provide evidence of the results of payment authentication during an online purchase..</param> /// <param name="xid">The transaction identifier (XID) is a unique tracking number set by the merchant..</param> /// <param name="transactionId">The response transaction UUID. Only applicable to MasterCard..</param> /// <param name="authenticationResponse">The result of authentication attempt returned by the 3D Secure authentication process (PaRes). (default to AuthenticationResponseEnum.Y).</param> /// <param name="transactionStatus">The transaction status as returned by the 3D Secure authentication process..</param> public Secure3D21AuthenticationResultAllOf(string cavv = default(string), string xid = default(string), string transactionId = default(string), AuthenticationResponseEnum?authenticationResponse = AuthenticationResponseEnum.Y, TransactionStatusEnum?transactionStatus = default(TransactionStatusEnum?)) { this.Cavv = cavv; this.Xid = xid; this.TransactionId = transactionId; this.AuthenticationResponse = authenticationResponse; this.TransactionStatus = transactionStatus; }