Package it.tdlight.jni
Class TdApi.PaymentFormTheme
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PaymentFormTheme
- Enclosing class:
- TdApi
public static class TdApi.PaymentFormTheme extends TdApi.Object
Theme colors for a payment form.
-
Field Summary
Fields Modifier and Type Field Description int
backgroundColor
A color of the payment form background in the RGB24 format.int
buttonColor
A color of thebuttons in the RGB24 format.int
buttonTextColor
A color of text on the buttons in the RGB24 format.static int
CONSTRUCTOR
int
hintColor
A color of hints in the RGB24 format.int
linkColor
A color of links in the RGB24 format.int
textColor
A color of text in the RGB24 format. -
Constructor Summary
Constructors Constructor Description PaymentFormTheme()
Theme colors for a payment form.PaymentFormTheme(int backgroundColor, int textColor, int hintColor, int linkColor, int buttonColor, int buttonTextColor)
Theme colors for a payment form.PaymentFormTheme(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
backgroundColor
public int backgroundColorA color of the payment form background in the RGB24 format. -
textColor
public int textColorA color of text in the RGB24 format. -
hintColor
public int hintColorA color of hints in the RGB24 format. -
linkColor
public int linkColorA color of links in the RGB24 format. -
buttonColor
public int buttonColorA color of thebuttons in the RGB24 format. -
buttonTextColor
public int buttonTextColorA color of text on the buttons in the RGB24 format. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
PaymentFormTheme
public PaymentFormTheme()Theme colors for a payment form. -
PaymentFormTheme
public PaymentFormTheme(int backgroundColor, int textColor, int hintColor, int linkColor, int buttonColor, int buttonTextColor)Theme colors for a payment form.- Parameters:
backgroundColor
- int A color of the payment form background in the RGB24 format.textColor
- int A color of text in the RGB24 format.hintColor
- int A color of hints in the RGB24 format.linkColor
- int A color of links in the RGB24 format.buttonColor
- int A color of thebuttons in the RGB24 format.buttonTextColor
- int A color of text on the buttons in the RGB24 format.
-
PaymentFormTheme
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-