Appearance

Appearance configuration for the Payment Element.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
class Colors

Colors used to render the Payment Element.

Link copied to clipboard
class Embedded

Configures embedded payment method rows, margins, and fonts.

Link copied to clipboard
class Insets(startDp: Float, topDp: Float, endDp: Float, bottomDp: Float)

Insets used to position Payment Element content, in dp.

Link copied to clipboard

Configures the appearance of the primary button.

Link copied to clipboard
class Shapes

Shapes used for inputs, tabs, buttons, and sheets.

Link copied to clipboard

Color modes available for the Payment Element.

Link copied to clipboard

Typography used for Payment Element text.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Sets the appearance of embedded payment method rows.

Link copied to clipboard
Link copied to clipboard

Sets the shape of inputs, tabs, and other components.

Link copied to clipboard

Sets the color mode used by the Payment Element.

Link copied to clipboard