# Uses of Class
it.tdlight.jni.TdApi.OrderInfo

## Uses of TdApi.OrderInfo in it.tdlight.jni

Fields in it.tdlight.jni declared as TdApi.OrderInfo
Modifier and Type
Field
Description
`TdApi.OrderInfo`
TdApi.MessagePaymentSuccessfulBot.`orderInfo`
Information about the order; may be null.
`TdApi.OrderInfo`
TdApi.PaymentReceipt.`orderInfo`
Order information; may be null.
`TdApi.OrderInfo`
TdApi.UpdateNewPreCheckoutQuery.`orderInfo`
Information about the order; may be null.
`TdApi.OrderInfo`
TdApi.ValidateOrderInfo.`orderInfo`
The order information, provided by the user; pass null if empty.
`TdApi.OrderInfo`
TdApi.PaymentForm.`savedOrderInfo`
Saved server-side order information; may be null.
Constructors in it.tdlight.jni with parameters of type TdApi.OrderInfo
Modifier
Constructor
Description
``
`MessagePaymentSuccessfulBot(String currency, long totalAmount, boolean isRecurring, boolean isFirstRecurring, byte[] invoicePayload, String shippingOptionId, TdApi.OrderInfo orderInfo, String telegramPaymentChargeId, String providerPaymentChargeId)`
A payment has been completed; for bots only.
``
`PaymentForm(long id, TdApi.Invoice invoice, long sellerBotUserId, long paymentProviderUserId, TdApi.PaymentProvider paymentProvider, TdApi.PaymentOption[] additionalPaymentOptions, TdApi.OrderInfo savedOrderInfo, TdApi.SavedCredentials[] savedCredentials, boolean canSaveCredentials, boolean needPassword, String productTitle, TdApi.FormattedText productDescription, TdApi.Photo productPhoto)`
Contains information about an invoice payment form.
``
`PaymentReceipt(String title, TdApi.FormattedText description, TdApi.Photo photo, int date, long sellerBotUserId, long paymentProviderUserId, TdApi.Invoice invoice, TdApi.OrderInfo orderInfo, TdApi.ShippingOption shippingOption, String credentialsTitle, long tipAmount)`
Contains information about a successful payment.
``
`UpdateNewPreCheckoutQuery(long id, long senderUserId, String currency, long totalAmount, byte[] invoicePayload, String shippingOptionId, TdApi.OrderInfo orderInfo)`
A new incoming pre-checkout query; for bots only.
``
`ValidateOrderInfo(TdApi.InputInvoice inputInvoice, TdApi.OrderInfo orderInfo, boolean allowSave)`
Validates the order information provided by a user and returns the available shipping options for a flexible invoice.