Appearance

data class Appearance : Parcelable

Constructors

Link copied to clipboard
constructor()
constructor(colorsLight: PaymentSheet.Colors = Colors.defaultLight, colorsDark: PaymentSheet.Colors = Colors.defaultDark, shapes: PaymentSheet.Shapes = Shapes.default, typography: PaymentSheet.Typography = Typography.default, primaryButton: PaymentSheet.PrimaryButton = PrimaryButton())
constructor(colorsLight: PaymentSheet.Colors = Colors.defaultLight, colorsDark: PaymentSheet.Colors = Colors.defaultDark, shapes: PaymentSheet.Shapes = Shapes.default, typography: PaymentSheet.Typography = Typography.default, primaryButton: PaymentSheet.PrimaryButton = PrimaryButton(), embeddedAppearance: PaymentSheet.Appearance.Embedded = Embedded.default, formInsetValues: PaymentSheet.Insets = Insets.defaultFormInsetValues)

Types

Link copied to clipboard
class Builder
Link copied to clipboard

Properties

Link copied to clipboard

Describes the colors used while the system is in dark mode.

Link copied to clipboard

Describes the colors used while the system is in light mode.

Link copied to clipboard

Describes the appearance of the primary button (e.g., the "Pay" button).

Link copied to clipboard

Describes the appearance of shapes.

Link copied to clipboard

Describes the typography used for text.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)