Class ThreeDSecureData


  • public class ThreeDSecureData
    extends Object
    ThreeDSecureData
    • Constructor Detail

      • ThreeDSecureData

        public ThreeDSecureData()
    • Method Detail

      • getAuthenticationResponse

        public ThreeDSecureData.AuthenticationResponseEnum getAuthenticationResponse()
        In 3D Secure 1, the authentication response if the shopper was redirected. In 3D Secure 2, this is the `transStatus` from the challenge result. If the transaction was frictionless, omit this parameter.
        Returns:
        authenticationResponse
      • getCavv

        public byte[] getCavv()
        The cardholder authentication value (base64 encoded, 20 bytes in a decoded form).
        Returns:
        cavv
      • setCavv

        public void setCavv​(byte[] cavv)
      • getCavvAlgorithm

        public String getCavvAlgorithm()
        The CAVV algorithm used. Include this only for 3D Secure 1.
        Returns:
        cavvAlgorithm
      • setCavvAlgorithm

        public void setCavvAlgorithm​(String cavvAlgorithm)
      • getChallengeCancel

        public ThreeDSecureData.ChallengeCancelEnum getChallengeCancel()
        Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata).
        Returns:
        challengeCancel
      • getDirectoryResponse

        public ThreeDSecureData.DirectoryResponseEnum getDirectoryResponse()
        In 3D Secure 1, this is the enrollment response from the 3D directory server. In 3D Secure 2, this is the `transStatus` from the `ARes`.
        Returns:
        directoryResponse
      • getDsTransID

        public String getDsTransID()
        Supported for 3D Secure 2. The unique transaction identifier assigned by the Directory Server (DS) to identify a single transaction.
        Returns:
        dsTransID
      • setDsTransID

        public void setDsTransID​(String dsTransID)
      • getEci

        public String getEci()
        The electronic commerce indicator.
        Returns:
        eci
      • setEci

        public void setEci​(String eci)
      • getRiskScore

        public String getRiskScore()
        Risk score calculated by Directory Server (DS). Required for Cartes Bancaires integrations.
        Returns:
        riskScore
      • setRiskScore

        public void setRiskScore​(String riskScore)
      • getThreeDSVersion

        public String getThreeDSVersion()
        The version of the 3D Secure protocol.
        Returns:
        threeDSVersion
      • setThreeDSVersion

        public void setThreeDSVersion​(String threeDSVersion)
      • tokenAuthenticationVerificationValue

        public ThreeDSecureData tokenAuthenticationVerificationValue​(byte[] tokenAuthenticationVerificationValue)
      • getTokenAuthenticationVerificationValue

        public byte[] getTokenAuthenticationVerificationValue()
        Network token authentication verification value (TAVV). The network token cryptogram.
        Returns:
        tokenAuthenticationVerificationValue
      • setTokenAuthenticationVerificationValue

        public void setTokenAuthenticationVerificationValue​(byte[] tokenAuthenticationVerificationValue)
      • getTransStatusReason

        public String getTransStatusReason()
        Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values).
        Returns:
        transStatusReason
      • setTransStatusReason

        public void setTransStatusReason​(String transStatusReason)
      • getXid

        public byte[] getXid()
        Supported for 3D Secure 1. The transaction identifier (Base64-encoded, 20 bytes in a decoded form).
        Returns:
        xid
      • setXid

        public void setXid​(byte[] xid)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object