ButtonComponent

interface ButtonComponent

A component that requires a button to be clicked so that it can be submitted. This button might be visible during all or part of the payment flow.

Functions

Link copied to clipboard

Indicates whether the component requires user interaction before the payment flow can be triggered. User interaction usually means filling an input, clicking a button, selecting an item from a list, etc.

Link copied to clipboard
abstract fun submit()

Submits the component manually. You can call this function to trigger a payment submission if the component is ready to make the payment.