Package it.tdlight.jni
Class TdApi.SendPaymentForm
- Enclosing class:
- TdApi
Sends a filled-out payment form to
the bot for final verification.
Returns PaymentResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong
Chat identifier of the Invoice message.static final int
The credentials chosen by user for payment.long
Message identifier.Identifier returned by validateOrderInfo, or an empty string.long
Payment form identifier returned by getPaymentForm.Identifier of a chosen shipping option, if applicable.long
Chosen by the user amount of tip in the smallest units of the currency. -
Constructor Summary
ConstructorsConstructorDescriptionSends a filled-out payment form to the bot for final verification.SendPaymentForm
(long chatId, long messageId, long paymentFormId, String orderInfoId, String shippingOptionId, TdApi.InputCredentials credentials, long tipAmount) Sends a filled-out payment form to the bot for final verification.SendPaymentForm
(DataInput input) -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdChat identifier of the Invoice message. -
messageId
public long messageIdMessage identifier. -
paymentFormId
public long paymentFormIdPayment form identifier returned by getPaymentForm. -
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. -
tipAmount
public long tipAmountChosen by the user amount of tip in the smallest units of the currency. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SendPaymentForm
public SendPaymentForm()Sends a filled-out payment form to the bot for final verification.Returns
PaymentResult
-
SendPaymentForm
public SendPaymentForm(long chatId, long messageId, long paymentFormId, String orderInfoId, String shippingOptionId, TdApi.InputCredentials credentials, long tipAmount) Sends a filled-out payment form to the bot for final verification.Returns
PaymentResult
- Parameters:
chatId
- long Chat identifier of the Invoice message.messageId
- long Message identifier.paymentFormId
- long Payment form identifier returned by getPaymentForm.orderInfoId
- String Identifier returned by validateOrderInfo, or an empty string.shippingOptionId
- String Identifier of a chosen shipping option, if applicable.credentials
- InputCredentials The credentials chosen by user for payment.tipAmount
- long Chosen by the user amount of tip in the smallest units of the currency.
-
SendPaymentForm
- 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()
-