Builder
class Builder : ObjectBuilder<PaymentAuthConfig.Stripe3ds2ToolbarCustomization>
Content copied to clipboard
Constructors
Functions
Link copied to clipboard
open override fun build(): PaymentAuthConfig.Stripe3ds2ToolbarCustomization
Content copied to clipboard
Build the toolbar customization
Link copied to clipboard
fun setBackgroundColor(hexColor: String): PaymentAuthConfig.Stripe3ds2ToolbarCustomization.Builder
Content copied to clipboard
Set the toolbar's background color
Link copied to clipboard
fun setButtonText(buttonText: String): PaymentAuthConfig.Stripe3ds2ToolbarCustomization.Builder
Content copied to clipboard
Set the toolbar's cancel button text
Link copied to clipboard
fun setHeaderText(headerText: String): PaymentAuthConfig.Stripe3ds2ToolbarCustomization.Builder
Content copied to clipboard
Set the toolbar's title
Link copied to clipboard
fun setStatusBarColor(hexColor: String): PaymentAuthConfig.Stripe3ds2ToolbarCustomization.Builder
Content copied to clipboard
Set the status bar color, if not provided a darkened version of the background color will be used.
Link copied to clipboard
fun setTextColor(hexColor: String): PaymentAuthConfig.Stripe3ds2ToolbarCustomization.Builder
Content copied to clipboard
Set the color of the title text
Link copied to clipboard
fun setTextFontName(fontName: String): PaymentAuthConfig.Stripe3ds2ToolbarCustomization.Builder
Content copied to clipboard
Set the font for the title text
Link copied to clipboard
fun setTextFontSize(fontSize: Int): PaymentAuthConfig.Stripe3ds2ToolbarCustomization.Builder
Content copied to clipboard
Set the title text's font size