Class ButtonCustomization
java.lang.Object
com.netcetera.threeds.sdk.api.ui.logic.Customization
com.netcetera.threeds.sdk.api.ui.logic.ButtonCustomization
- All Implemented Interfaces:
Serializable
Provides methods to pass ButtonCustomization parameters to the 3DS SDK.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProvides value for the background color.intProvides the value for corner radius.Deprecated.This is no longer supported since EMVCo Specification 2.3.1.voidsetBackgroundColor(String backgroundColor) Sets the background color of the button.voidsetCornerRadius(int cornerRadius) Sets the radius of the button corners.voidsetDarkBackgroundColor(String hexColorCode) Deprecated.This is no longer supported since EMVCo Specification 2.3.1.Methods inherited from class com.netcetera.threeds.sdk.api.ui.logic.Customization
getDarkTextColor, getTextColor, getTextFontName, getTextFontSize, setDarkTextColor, setTextColor, setTextFontName, setTextFontSize
-
Constructor Details
-
ButtonCustomization
public ButtonCustomization()
-
-
Method Details
-
getCornerRadius
public int getCornerRadius()Provides the value for corner radius.- Returns:
- int corner radius value
-
setCornerRadius
Sets the radius of the button corners.- Parameters:
cornerRadius- int value.- Throws:
InvalidInputException- if invalid input is provided.
-
getBackgroundColor
Provides value for the background color.- Returns:
String
-
setBackgroundColor
Sets the background color of the button.- Parameters:
backgroundColor- hex value of the color in the format: #333333- Throws:
InvalidInputException- is thrown when invalid input is provided.
-
setDarkBackgroundColor
Deprecated.This is no longer supported since EMVCo Specification 2.3.1. UsesetBackgroundColor(String)withUiCustomization.UiCustomizationType.DARKinstead.Sets the dark background color of the button.- Parameters:
hexColorCode- hex value of the color in the format: #333333- Throws:
InvalidInputException- is thrown when invalid input is provided.
-
getDarkBackgroundColor
Deprecated.This is no longer supported since EMVCo Specification 2.3.1. UsegetBackgroundColor()withUiCustomization.UiCustomizationType.DARKinstead.Provides value for the dark background color.- Returns:
String
-