SwitchCustomization

data class SwitchCustomization(@ColorRes var textColor: Int? = null, @FontRes var textFont: Int? = null, @ColorRes var thumbColor: Int? = null) : LabelCustomization

Use this class to set the visual style of the ‘allow list’ switch that may appear on a 3DS2 challenge screen. Users can choose to add a merchant to their card issuer’s allow list to ensure they are trusted for future transactions.

Parameters

textColor

Text colour resource reference.

textFont

Text font resource reference.

thumbColor

Switch thumb colour resource reference.

Constructors

Link copied to clipboard
constructor(@ColorRes textColor: Int? = null, @FontRes textFont: Int? = null, @ColorRes thumbColor: Int? = null)

Properties

Link copied to clipboard
open override var textColor: Int?
Link copied to clipboard
open override var textFont: Int?
Link copied to clipboard