Package com.adyen.threeds2.customization
Class ButtonCustomization
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class ButtonCustomization extends Customization
This class provides methods for the App to pass button customization parameters to the 3DS SDK.
Created by Ran Haveshush on 24/08/2018.
-
-
Constructor Summary
Constructors Constructor Description ButtonCustomization()
-
Method Summary
Modifier and Type Method Description String
getBackgroundColor()
void
setBackgroundColor(String hexColorCode)
Sets the background color of the button. int
getCornerRadius()
void
setCornerRadius(int cornerRadius)
Sets the radius of the button corners. -
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 button.
-
setBackgroundColor
void setBackgroundColor(String hexColorCode)
Sets the background color of the button.
- Parameters:
hexColorCode
- The color code in Hex format.
-
getCornerRadius
int getCornerRadius()
- Returns:
The radius of the button corners.
-
setCornerRadius
void setCornerRadius(int cornerRadius)
Sets the radius of the button corners.
- Parameters:
cornerRadius
- The radius for the button corners.
-
-
-
-