ThreeDS2Service
public protocol ThreeDS2Service
Creates Transactions and validates environment
-
Creates an instance of Transaction through which the 3DS Requestor App gets the data that is required to perform the transaction.
Declaration
Swift
func createTransaction() -> TransactionReturn Value
return an instance of high level
Transactiontype -
Method to check for warnings of any potential security warnings or of rejected configuration requests. Use when initializing the SDK, or any time afterwards.
Note
this method blocks the calling thread. It is recommended to call this on a background thread and not the main thread.Declaration
Swift
func getWarnings() -> Set<Warning>Return Value
a collection of any warnings gathered by the 3DS SDK.
-
Frees up resources that are used by the 3DS Requestor App until it is closed. It shall be called only once during a single 3DS Requestor App session.
Declaration
Swift
func cleanUp()