Class TdApi.PaymentFormTheme

  • Enclosing class:
    TdApi

    public static class TdApi.PaymentFormTheme
    extends TdApi.Object
    Theme colors for a payment form.
    • Field Detail

      • backgroundColor

        public int backgroundColor
        A color of the payment form background in the RGB24 format.
      • textColor

        public int textColor
        A color of text in the RGB24 format.
      • hintColor

        public int hintColor
        A color of hints in the RGB24 format.
      • linkColor

        public int linkColor
        A color of links in the RGB24 format.
      • buttonColor

        public int buttonColor
        A color of the buttons in the RGB24 format.
      • buttonTextColor

        public int buttonTextColor
        A color of text on the buttons in the RGB24 format.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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 - A color of the payment form background in the RGB24 format.
        textColor - A color of text in the RGB24 format.
        hintColor - A color of hints in the RGB24 format.
        linkColor - A color of links in the RGB24 format.
        buttonColor - A color of the buttons in the RGB24 format.
        buttonTextColor - A color of text on the buttons in the RGB24 format.