NavigationBarCustomization

data class NavigationBarCustomization(@ColorRes var backgroundColor: Int? = null, @DimenRes var panelElevation: Int? = null, val headingStyleCustomization: TextCustomization = TextCustomization(), val buttonStyleCustomization: TextCustomization = TextCustomization())

Use this class to provide objects that specify user interface customizations for the navigation bar that appears at the top of the challenge screen for 3DS1 and 3DS2, and includes the screen title and the Cancel button.

Parameters

backgroundColor

Background colour resource reference

panelElevation

Elevation resource reference

headingStyleCustomization

Customisation heading text. Unless set otherwise, the default heading text is “Secure checkout” (or the translated equivalent).

buttonStyleCustomization

Customised text for the Cancel button. Unless set otherwise, the default heading text is “Cancel” (or the translated equivalent).

Constructors

Link copied to clipboard
constructor(@ColorRes backgroundColor: Int? = null, @DimenRes panelElevation: Int? = null, headingStyleCustomization: TextCustomization = TextCustomization(), buttonStyleCustomization: TextCustomization = TextCustomization())

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun button(block: TextCustomization.() -> Unit)

DSL Method for Navigation Button setup

Link copied to clipboard
fun heading(block: TextCustomization.() -> Unit)

DSL Method for Navigation Heading setup