Class SwitchCustomization
-
- All Implemented Interfaces:
public final class SwitchCustomization extends 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.
-
-
Constructor Summary
Constructors Constructor Description SwitchCustomization(Integer textColor, Integer textFont, Integer thumbColor)
-
Method Summary
Modifier and Type Method Description IntegergetTextColor()UnitsetTextColor(Integer textColor)IntegergetTextFont()UnitsetTextFont(Integer textFont)final IntegergetThumbColor()final UnitsetThumbColor(Integer thumbColor)-
-
Method Detail
-
getTextColor
Integer getTextColor()
-
setTextColor
Unit setTextColor(Integer textColor)
- Parameters:
textColor- Text colour resource reference.
-
getTextFont
Integer getTextFont()
-
setTextFont
Unit setTextFont(Integer textFont)
- Parameters:
textFont- Text font resource reference.
-
getThumbColor
final Integer getThumbColor()
-
setThumbColor
final Unit setThumbColor(Integer thumbColor)
- Parameters:
thumbColor- Switch thumb colour resource reference.
-
-
-
-