Package com.adyen.threeds2.customization
Class TextBoxCustomization
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class TextBoxCustomization extends Customization
This class provides methods for the App to pass text box EditText customization parameters to the 3DS SDK.
Created by Ran Haveshush on 24/08/2018.
-
-
Constructor Summary
Constructors Constructor Description TextBoxCustomization()
-
Method Summary
Modifier and Type Method Description String
getBorderColor()
void
setBorderColor(String hexColorCode)
Sets the color for the border. int
getBorderWidth()
void
setBorderWidth(int borderWidth)
Sets the width of the border between the selection items. int
getCornerRadius()
void
setCornerRadius(int cornerRadius)
Sets the radius of the text box 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
-
getBorderColor
String getBorderColor()
- Returns:
The hex color code of the border.
-
setBorderColor
void setBorderColor(String hexColorCode)
Sets the color for the border.
- Parameters:
hexColorCode
- The color code in Hex format.
-
getBorderWidth
int getBorderWidth()
- Returns:
The width of the border.
-
setBorderWidth
void setBorderWidth(int borderWidth)
Sets the width of the border between the selection items.
- Parameters:
borderWidth
- The width of the border.
-
getCornerRadius
int getCornerRadius()
- Returns:
The radius of the text box corners.
-
setCornerRadius
void setCornerRadius(int cornerRadius)
Sets the radius of the text box corners.
- Parameters:
cornerRadius
- The radius for the text box corners.
-
-
-
-