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()) : Parcelable

Constructors

Link copied to clipboard
fun Appearance(    colorsLight: PaymentSheet.Colors = Colors.defaultLight,     colorsDark: PaymentSheet.Colors = Colors.defaultDark,     shapes: PaymentSheet.Shapes = Shapes.default,     typography: PaymentSheet.Typography = Typography.default,     primaryButton: PaymentSheet.PrimaryButton = PrimaryButton())

Types

Link copied to clipboard
class Builder

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
fun getColors(isDark: Boolean): PaymentSheet.Colors
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard
val colorsDark: PaymentSheet.Colors

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

Link copied to clipboard
val colorsLight: PaymentSheet.Colors

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

Link copied to clipboard
val primaryButton: PaymentSheet.PrimaryButton

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

Link copied to clipboard
val shapes: PaymentSheet.Shapes

Describes the appearance of shapes.

Link copied to clipboard
val typography: PaymentSheet.Typography

Describes the typography used for text.