create

fun create(from: Fragment, delegate: PONativeAlternativePaymentDelegate, callback: (ProcessOutActivityResult<POUnit>) -> Unit): <Error class: unknown class>

Creates the launcher from Fragment. Note: Required to call in onCreate() to register for activity result.


fun create(from: ComponentActivity, delegate: PONativeAlternativePaymentDelegate, callback: (ProcessOutActivityResult<POUnit>) -> Unit): <Error class: unknown class>

Creates the launcher from Activity. Note: Required to call in onCreate() to register for activity result.


fun create(from: Fragment, delegate: PONativeAlternativePaymentDelegate, callback: (ProcessOutActivityResult<POUnit>) -> Unit): <Error class: unknown class>

Deprecated

Use alternative function.

Creates the launcher from Fragment. Note: Required to call in onCreate() to register for activity result.

Parameters

delegate

Deprecated: not used.


fun create(from: Fragment, callback: (ProcessOutActivityResult<POUnit>) -> Unit): <Error class: unknown class>

Deprecated

Use alternative function.

Creates the launcher from Fragment. Note: Required to call in onCreate() to register for activity result.


fun create(from: ComponentActivity, delegate: PONativeAlternativePaymentDelegate, callback: (ProcessOutActivityResult<POUnit>) -> Unit): <Error class: unknown class>

Deprecated

Use alternative function.

Creates the launcher from Activity. Note: Required to call in onCreate() to register for activity result.

Parameters

delegate

Deprecated: not used.


fun create(from: ComponentActivity, callback: (ProcessOutActivityResult<POUnit>) -> Unit): <Error class: unknown class>

Deprecated

Use alternative function.

Creates the launcher from Activity. Note: Required to call in onCreate() to register for activity result.