Class ChallengeParameters

  • All Implemented Interfaces:

    
    public final class ChallengeParameters
    
                        

    This class holds the parameters that are required to conduct the challenge process.

    Note: It is mandatory to set values for these parameters.

    Created by Ran Haveshush on 24/08/2018.

    • Constructor Detail

      • ChallengeParameters

        ChallengeParameters()
    • Method Detail

      • getEmbeddedRequestorAppURL

        @Deprecated(message = "Replace by your Android App Link associated with ChallengeActivity.")@NonNull() static String getEmbeddedRequestorAppURL(Context context)

        Returns the ThreeDSRequestorAppURL handled by the 3DS2 SDK for automatic continuation of OOB flow.

        Parameters:
        context - A context to get the app package name.
        Returns:

        The ThreeDSRequestorAppURL expected to be passed in the ChallengeParameters.

      • set3DSServerTransactionID

         void set3DSServerTransactionID(String threeDSServerTransactionID)

        Sets the 3DS Server Transaction ID. This ID is a transaction identifier assigned by the 3DS Server to uniquely identify a single transaction.

        Parameters:
        threeDSServerTransactionID - The transaction identifier assigned by the 3DS Server to uniquely identify a single transaction.
      • setAcsTransactionID

         void setAcsTransactionID(String acsTransactionID)

        Sets the ACS Server Transaction ID.

        Parameters:
        acsTransactionID - The transaction ID assigned by the ACS to uniquely identify a single transaction.
      • setAcsRefNumber

         void setAcsRefNumber(String acsRefNumber)

        Sets the ACS Reference Number.

        Parameters:
        acsRefNumber - The ACS identifier assigned by EMVCo.
      • setAcsSignedContent

         void setAcsSignedContent(String acsSignedContent)

        Sets the ACS signed content. This content includes the ACS URL, ACS ephemeral public key, and SDK ephemeral public key.

        Parameters:
        acsSignedContent - The ACS signed content.
      • setThreeDSRequestorAppURL

         void setThreeDSRequestorAppURL(String threeDSRequestorAppURL)

        Sets the 3DS Requestor App URL. It is strongly recommended to set url in Android App Link (https) format.

        Parameters:
        threeDSRequestorAppURL - The 3DS Requestor App URL.