Builder
Builds CheckoutElementsController instances.
Parameters
application
The application context.
savedStateHandle
The SavedStateHandle used to persist and restore controller state across process death.
Functions
Link copied to clipboard
Builds a CheckoutElementsController from the current configuration.
Link copied to clipboard
Sets a unique name identifying this integration, allowing multiple CheckoutElementsController instances to coexist.
Link copied to clipboard
fun resultCallback(resultCallback: CheckoutElementsController.ResultCallback): CheckoutElementsController.Builder
Sets the ResultCallback invoked when a payment flow finishes or confirmation cannot start.
Link copied to clipboard
fun rowSelectionBehavior(rowSelectionBehavior: PaymentElement.RowSelectionBehavior): CheckoutElementsController.Builder
Sets how payment-option row selections are handled.