Interface ThreeDS2Service

  • All Implemented Interfaces:

    
    public interface ThreeDS2Service
    
                        

    The ThreeDS2Service interface is the main 3DS SDK interface. It shall provide methods to process transactions.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract ThreeDS2Service initialize(ThreeDS2ServiceConfiguration threeDS2ServiceConfiguration)
      abstract Transaction createTransaction() The createTransaction method creates an instance of Transaction through which the 3DS Requester App gets the data that is required to perform the transaction.
      abstract List<Warning> getWarnings() The getWarnings method check for warnings of any potential security risks to the device
      abstract Unit cleanup() This method clear and close contexts and resources which ThreeDS2Service holds.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • createTransaction

         abstract Transaction createTransaction()

        The createTransaction method creates an instance of Transaction through which the 3DS Requester App gets the data that is required to perform the transaction. The 3DS Requester App calls the createTransaction method for each transaction that is to be processed. When the createTransaction method is called:<ul>

        <li>The 3DS SDK uses a secure random function to generate a Transaction ID in UUID format. This ID is used to uniquely identify each transaction. <li>The 3DS SDK generates a fresh ephemeral key pair. This key pair is used to establish a secure session between the 3DS SDK and the ACS subsequently during the transaction.</ul>
        Returns:

        This method returns an instance of the Transaction interface.

      • getWarnings

         abstract List<Warning> getWarnings()

        The getWarnings method check for warnings of any potential security risks to the device

        Returns:

        a collection of any warnings gathered by the 3DS SDK. Refer Warning

      • cleanup

         abstract Unit cleanup()

        This method clear and close contexts and resources which ThreeDS2Service holds. So, same created instance can be reused