Builder

class Builder(application: Application, savedStateHandle: SavedStateHandle)

Builds CheckoutElementsController instances.

Parameters

application

The application context.

savedStateHandle

The SavedStateHandle used to persist and restore controller state across process death.

Constructors

Link copied to clipboard
constructor(application: Application, savedStateHandle: SavedStateHandle)

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

Sets the ResultCallback invoked when a payment flow finishes or confirmation cannot start.

Link copied to clipboard

Sets how payment-option row selections are handled.