POCheckout3DSServiceDelegate

Delegate interface for POCheckout3DSService.

Functions

Link copied to clipboard
abstract fun configuration(parameters: ConfigParameters): ThreeDS2ServiceConfiguration

Implementation should create ThreeDS2ServiceConfiguration using parameters and return it.

Link copied to clipboard

Notifies delegate that service did complete device fingerprinting.

Link copied to clipboard

Notifies delegate that service did end handling 3DS2 challenge with given result.

Link copied to clipboard
abstract fun handle(redirect: PO3DSRedirect, callback: (ProcessOutResult<String>) -> Unit)

Asks delegate to handle 3DS redirect.

Link copied to clipboard
open fun shouldContinue(warnings: Set<Warning>, callback: (Boolean) -> Unit)

Asks delegate whether service should continue with the given warnings. Default implementation ignores warnings and callbacks with true.

Link copied to clipboard

Notifies delegate that service is about to fingerprint device.

Link copied to clipboard
open fun willHandle(challenge: PO3DS2Challenge)

Notifies delegate that implementation is about to handle 3DS2 challenge.