- Enclosing class:
- TdApi
Sends a filled-out payment form to
the bot for final verification.
Returns
PaymentResult
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The credentials chosen by user for payment.The invoice.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
ConstructorDescriptionSends a filled-out payment form to the bot for final verification.SendPaymentForm
(TdApi.InputInvoice inputInvoice, 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) Sends a filled-out payment form to the bot for final verification. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
inputInvoice
The invoice. -
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. ReturnsPaymentResult
-
SendPaymentForm
public SendPaymentForm(TdApi.InputInvoice inputInvoice, long paymentFormId, String orderInfoId, String shippingOptionId, TdApi.InputCredentials credentials, long tipAmount) Sends a filled-out payment form to the bot for final verification. ReturnsPaymentResult
- Parameters:
inputInvoice
- InputInvoice The invoice.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
Sends a filled-out payment form to the bot for final verification. ReturnsPaymentResult
- 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()
-