Class TdApi.SendPaymentForm

  • Enclosing class:
    TdApi

    public static class TdApi.SendPaymentForm
    extends TdApi.Function
    Sends a filled-out payment form to the bot for final verification.

    Returns PaymentResult

    • Field Summary

      Fields 
      Modifier and Type Field Description
      long chatId
      Chat identifier of the Invoice message.
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      TdApi.InputCredentials credentials
      The credentials chosen by user for payment.
      long messageId
      Message identifier.
      java.lang.String orderInfoId
      Identifier returned by ValidateOrderInfo, or an empty string.
      java.lang.String shippingOptionId
      Identifier of a chosen shipping option, if applicable.
    • Constructor Summary

      Constructors 
      Constructor Description
      SendPaymentForm()
      Default constructor.
      SendPaymentForm​(long chatId, long messageId, java.lang.String orderInfoId, java.lang.String shippingOptionId, TdApi.InputCredentials credentials)
      Constructor for initialization of all fields.
    • Field Detail

      • chatId

        public long chatId
        Chat identifier of the Invoice message.
      • messageId

        public long messageId
        Message identifier.
      • orderInfoId

        public java.lang.String orderInfoId
        Identifier returned by ValidateOrderInfo, or an empty string.
      • shippingOptionId

        public java.lang.String shippingOptionId
        Identifier of a chosen shipping option, if applicable.
      • CONSTRUCTOR

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

      • SendPaymentForm

        public SendPaymentForm()
        Default constructor.
      • SendPaymentForm

        public SendPaymentForm​(long chatId,
                               long messageId,
                               java.lang.String orderInfoId,
                               java.lang.String shippingOptionId,
                               TdApi.InputCredentials credentials)
        Constructor for initialization of all fields.
        Parameters:
        chatId - Chat identifier of the Invoice message.
        messageId - Message identifier.
        orderInfoId - Identifier returned by ValidateOrderInfo, or an empty string.
        shippingOptionId - Identifier of a chosen shipping option, if applicable.
        credentials - The credentials chosen by user for payment.