PrimaryButton

data class PrimaryButton(val colorsLight: PaymentSheet.PrimaryButtonColors = PrimaryButtonColors.defaultLight, val colorsDark: PaymentSheet.PrimaryButtonColors = PrimaryButtonColors.defaultDark, val shape: PaymentSheet.PrimaryButtonShape = PrimaryButtonShape(), val typography: PaymentSheet.PrimaryButtonTypography = PrimaryButtonTypography()) : Parcelable

Constructors

Link copied to clipboard
constructor(colorsLight: PaymentSheet.PrimaryButtonColors = PrimaryButtonColors.defaultLight, colorsDark: PaymentSheet.PrimaryButtonColors = PrimaryButtonColors.defaultDark, shape: PaymentSheet.PrimaryButtonShape = PrimaryButtonShape(), typography: PaymentSheet.PrimaryButtonTypography = PrimaryButtonTypography())

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 shape of the primary button.

Link copied to clipboard

Describes the typography of the primary button.

Functions

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