Class ThreeDS2Result


  • public class ThreeDS2Result
    extends Object
    ThreeDS2Result
    • Constructor Detail

      • ThreeDS2Result

        public ThreeDS2Result()
    • Method Detail

      • getAuthenticationValue

        public String getAuthenticationValue()
        The `authenticationValue` value as defined in the 3D Secure 2 specification.
        Returns:
        authenticationValue
      • setAuthenticationValue

        public void setAuthenticationValue​(String authenticationValue)
        The `authenticationValue` value as defined in the 3D Secure 2 specification.
        Parameters:
        authenticationValue -
      • getCavvAlgorithm

        public String getCavvAlgorithm()
        The algorithm used by the ACS to calculate the authentication value, only for Cartes Bancaires integrations.
        Returns:
        cavvAlgorithm
      • setCavvAlgorithm

        public void setCavvAlgorithm​(String cavvAlgorithm)
        The algorithm used by the ACS to calculate the authentication value, only for Cartes Bancaires integrations.
        Parameters:
        cavvAlgorithm -
      • getChallengeCancel

        public ThreeDS2Result.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
      • setChallengeCancel

        public void setChallengeCancel​(ThreeDS2Result.ChallengeCancelEnum challengeCancel)
        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).
        Parameters:
        challengeCancel -
      • getDsTransID

        public String getDsTransID()
        The `dsTransID` value as defined in the 3D Secure 2 specification.
        Returns:
        dsTransID
      • setDsTransID

        public void setDsTransID​(String dsTransID)
        The `dsTransID` value as defined in the 3D Secure 2 specification.
        Parameters:
        dsTransID -
      • getEci

        public String getEci()
        The `eci` value as defined in the 3D Secure 2 specification.
        Returns:
        eci
      • setEci

        public void setEci​(String eci)
        The `eci` value as defined in the 3D Secure 2 specification.
        Parameters:
        eci -
      • getExemptionIndicator

        public ThreeDS2Result.ExemptionIndicatorEnum getExemptionIndicator()
        Indicates the exemption type that was applied by the issuer to the authentication, if exemption applied. Allowed values: * `lowValue` * `secureCorporate` * `trustedBeneficiary` * `transactionRiskAnalysis`
        Returns:
        exemptionIndicator
      • setExemptionIndicator

        public void setExemptionIndicator​(ThreeDS2Result.ExemptionIndicatorEnum exemptionIndicator)
        Indicates the exemption type that was applied by the issuer to the authentication, if exemption applied. Allowed values: * `lowValue` * `secureCorporate` * `trustedBeneficiary` * `transactionRiskAnalysis`
        Parameters:
        exemptionIndicator -
      • getMessageVersion

        public String getMessageVersion()
        The `messageVersion` value as defined in the 3D Secure 2 specification.
        Returns:
        messageVersion
      • setMessageVersion

        public void setMessageVersion​(String messageVersion)
        The `messageVersion` value as defined in the 3D Secure 2 specification.
        Parameters:
        messageVersion -
      • getRiskScore

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

        public void setRiskScore​(String riskScore)
        Risk score calculated by Cartes Bancaires Directory Server (DS).
        Parameters:
        riskScore -
      • getThreeDSRequestorChallengeInd

        public ThreeDS2Result.ThreeDSRequestorChallengeIndEnum getThreeDSRequestorChallengeInd()
        Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only
        Returns:
        threeDSRequestorChallengeInd
      • setThreeDSRequestorChallengeInd

        public void setThreeDSRequestorChallengeInd​(ThreeDS2Result.ThreeDSRequestorChallengeIndEnum threeDSRequestorChallengeInd)
        Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only
        Parameters:
        threeDSRequestorChallengeInd -
      • threeDSServerTransID

        public ThreeDS2Result threeDSServerTransID​(String threeDSServerTransID)
      • getThreeDSServerTransID

        public String getThreeDSServerTransID()
        The `threeDSServerTransID` value as defined in the 3D Secure 2 specification.
        Returns:
        threeDSServerTransID
      • setThreeDSServerTransID

        public void setThreeDSServerTransID​(String threeDSServerTransID)
        The `threeDSServerTransID` value as defined in the 3D Secure 2 specification.
        Parameters:
        threeDSServerTransID -
      • getTimestamp

        public String getTimestamp()
        The `timestamp` value of the 3D Secure 2 authentication.
        Returns:
        timestamp
      • setTimestamp

        public void setTimestamp​(String timestamp)
        The `timestamp` value of the 3D Secure 2 authentication.
        Parameters:
        timestamp -
      • getTransStatus

        public String getTransStatus()
        The `transStatus` value as defined in the 3D Secure 2 specification.
        Returns:
        transStatus
      • setTransStatus

        public void setTransStatus​(String transStatus)
        The `transStatus` value as defined in the 3D Secure 2 specification.
        Parameters:
        transStatus -
      • 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)
        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).
        Parameters:
        transStatusReason -
      • getWhiteListStatus

        public String getWhiteListStatus()
        The `whiteListStatus` value as defined in the 3D Secure 2 specification.
        Returns:
        whiteListStatus
      • setWhiteListStatus

        public void setWhiteListStatus​(String whiteListStatus)
        The `whiteListStatus` value as defined in the 3D Secure 2 specification.
        Parameters:
        whiteListStatus -
      • equals

        public boolean equals​(Object o)
        Return true if this ThreeDS2Result object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static ThreeDS2Result fromJson​(String jsonString)
                                       throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of ThreeDS2Result given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of ThreeDS2Result
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to ThreeDS2Result
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of ThreeDS2Result to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException