- Enclosing class:
- TdApi
Sends a filled-out payment form to the bot for final verification.
Returns PaymentResult
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.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
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods 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 CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SendPaymentForm
public SendPaymentForm()Sends a filled-out payment form to the bot for final verification.Returns
PaymentResult
-
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.Returns
PaymentResult
- Parameters:
inputInvoice
- The invoice.paymentFormId
- Payment 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
- Chosen by the user amount of tip in the smallest units of the currency.Returns
PaymentResult
-
SendPaymentForm
Sends a filled-out payment form to the bot for final verification.Returns
PaymentResult
- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-