POAlternativePaymentMethodCustomTabLauncher
Launcher that starts POCustomTabAuthorizationActivity to handle APM and provide the result. If Custom Chrome Tabs is not available on the device it will fallback to the POWebViewAuthorizationActivity.
Functions
Link copied to clipboard
Launches the activity. Use when launcher created with function create(from, callback).
fun launch(request: POAlternativePaymentMethodRequest, callback: (ProcessOutResult<POAlternativePaymentMethodResponse>) -> Unit)
fun launch(request: POAlternativePaymentMethodRequest, returnUrl: String, callback: (ProcessOutResult<POAlternativePaymentMethodResponse>) -> Unit)
Launches the activity.