LinkController

@Singleton
class LinkController

A controller to perform various Link operations.

Types

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

Builder for creating a LinkController instance.

Link copied to clipboard

Configuration for LinkController.

Link copied to clipboard

Callback for receiving results from Presenter.confirmSetupIntent.

Link copied to clipboard
sealed interface ConfirmSetupIntentResult

Result of confirming a SetupIntent after payment method creation.

Link copied to clipboard

Preview information for a Link payment method.

Link copied to clipboard

The type of payment method to present for selection.

Link copied to clipboard
fun interface PresentCallback

Callback for receiving results from Presenter.present.

Link copied to clipboard
class Presenter

A presenter for the Link controller that handles UI operations requiring Activity context.

Link copied to clipboard
sealed interface PresentResult

Properties

Link copied to clipboard

A preview of the currently selected Link payment method, or null if none is selected.

Functions

Link copied to clipboard
suspend fun configure(configuration: LinkController.Configuration): Result<Unit>

Configure the controller with a Configuration.

Link copied to clipboard