Appearance

data class Appearance(val colorsLight: PaymentSheet.Colors = Colors.defaultLight, val colorsDark: PaymentSheet.Colors = Colors.defaultDark, val shapes: PaymentSheet.Shapes = Shapes.default, val typography: PaymentSheet.Typography = Typography.default, val primaryButton: PaymentSheet.PrimaryButton = PrimaryButton(), embeddedAppearance: PaymentSheet.Appearance.Embedded = Embedded.default) : 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)

Types

Link copied to clipboard
class Builder

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)