# Uses of Class it.tdlight.jni.TdApi.OrderInfo (tdlight API 3.3.160 API)
use: package: it.tdlight.jni, class: TdApi, class: OrderInfo

# 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
Constructor | Description
--- | ---
`MessagePaymentSuccessfulBot​(String currency, long totalAmount, 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, String url, long sellerBotUserId, long paymentsProviderUserId, TdApi.PaymentsProviderStripe paymentsProvider, TdApi.OrderInfo savedOrderInfo, TdApi.SavedCredentials savedCredentials, boolean canSaveCredentials, boolean needPassword)` | Contains information about an invoice payment form.
`PaymentReceipt​(String title, String description, TdApi.Photo photo, int date, long sellerBotUserId, long paymentsProviderUserId, 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​(long chatId, long messageId, TdApi.OrderInfo orderInfo, boolean allowSave)` | Validates the order information provided by a user and returns the available shipping options for a flexible invoice.