Colors
class Colors
Colors used to render the primary button.
Functions
Link copied to clipboard
Sets the primary-button background color.
Link copied to clipboard
Sets the primary-button border color.
Link copied to clipboard
fun onBackground(@ColorInt value: Int): PaymentElement.Configuration.Appearance.PrimaryButton.Colors
Sets the content color used on the primary button.
Link copied to clipboard
fun onSuccessBackgroundColor(value: Color): PaymentElement.Configuration.Appearance.PrimaryButton.Colors
fun onSuccessBackgroundColor(@ColorInt value: Int): PaymentElement.Configuration.Appearance.PrimaryButton.Colors
Sets the content color used on the success background.
Link copied to clipboard
fun successBackgroundColor(value: Color): PaymentElement.Configuration.Appearance.PrimaryButton.Colors
fun successBackgroundColor(@ColorInt value: Int): PaymentElement.Configuration.Appearance.PrimaryButton.Colors
Sets the primary-button success background color.