Builder
class Builder
Functions
Link copied to clipboard
The background color of the primary button. Note: If 'null', {@link Colors#primary} is used.
Link copied to clipboard
The border color of the primary button.
Link copied to clipboard
Link copied to clipboard
The color of the text and icon in the primary button. Note: This also overrides the onSuccessBackgroundColor to match this value.
Link copied to clipboard
fun onSuccessBackgroundColor(onSuccessBackgroundColor: Color): PaymentSheet.PrimaryButtonColors.Builder
fun onSuccessBackgroundColor(@ColorInt onSuccessBackgroundColor: Int): PaymentSheet.PrimaryButtonColors.Builder
The success color for the primary button text when in a success state. Defaults to onBackground.
Link copied to clipboard
fun successBackgroundColor(@ColorInt successBackgroundColor: Int): PaymentSheet.PrimaryButtonColors.Builder
The background color for the primary button when in a success state. Defaults to base green background color.