Builder

class Builder

Builder used in the creation of the EmbeddedPaymentElement.

Creation can be completed with rememberEmbeddedPaymentElement.

Constructors

Link copied to clipboard
constructor(createIntentCallback: CreateIntentCallback, resultCallback: EmbeddedPaymentElement.ResultCallback)
constructor(preparePaymentMethodHandler: PreparePaymentMethodHandler, resultCallback: EmbeddedPaymentElement.ResultCallback)

Functions

Link copied to clipboard

Called when an analytic event is emitted.

Link copied to clipboard

Called when a user confirms payment for a custom payment method.

Link copied to clipboard

Called when a user confirms payment for an external payment method.

Link copied to clipboard

Set the rowSelectionBehavior. Default: payment method rows are selectable. ImmediateAction: payment method rows are treated as buttons. Provide the custom logic you want to see when rows are clicked