Package com.adyen.threeds2.customization
Class ToolbarCustomization
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class ToolbarCustomization extends Customization
This class provides methods for the App to pass toolbar customization parameters to the 3DS SDK.
Created by Ran Haveshush on 24/08/2018.
-
-
Constructor Summary
Constructors Constructor Description ToolbarCustomization()
-
Method Summary
Modifier and Type Method Description String
getBackgroundColor()
void
setBackgroundColor(String hexColorCode)
Sets the background color of the toolbar. String
getHeaderText()
void
setHeaderText(String headerText)
Sets the header text of the toolbar. String
getButtonText()
void
setButtonText(String buttonText)
Sets the button text of the toolbar. -
Methods inherited from class com.adyen.threeds2.customization.Customization
getTextColor, getTextFontName, getTextFontSize, parseHexColorCode, parseTypeface, setTextColor, setTextFontName, setTextFontSize
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getBackgroundColor
String getBackgroundColor()
- Returns:
The background color code of the toolbar.
-
setBackgroundColor
void setBackgroundColor(String hexColorCode)
Sets the background color of the toolbar.
- Parameters:
hexColorCode
- The colour code in Hex format.
-
getHeaderText
String getHeaderText()
- Returns:
The toolbar header text.
-
setHeaderText
void setHeaderText(String headerText)
Sets the header text of the toolbar.
- Parameters:
headerText
- The header text for the toolbar.
-
getButtonText
String getButtonText()
- Returns:
The button text of the toolbar.
-
setButtonText
void setButtonText(String buttonText)
Sets the button text of the toolbar.
- Parameters:
buttonText
- The button text for the toolbar.
-
-
-
-