ThreeDS2Service

interface ThreeDS2Service

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

Functions

Link copied to clipboard
abstract fun cleanup()

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

Link copied to clipboard

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:

Link copied to clipboard
abstract fun getWarnings(): List<Warning>

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

Link copied to clipboard
abstract fun initialize(threeDS2ServiceConfiguration: ThreeDS2ServiceConfiguration): ThreeDS2Service