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

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

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

Fields in it.tdlight.jni declared as TdApi.Invoice
Modifier and Type | Field | Description
--- | --- | ---
`TdApi.Invoice` | TdApi.InputMessageInvoice.`invoice` | Invoice.
`TdApi.Invoice` | TdApi.PaymentForm.`invoice` | Full information of the invoice.
`TdApi.Invoice` | TdApi.PaymentReceipt.`invoice` | Contains information about the invoice.

Constructors in it.tdlight.jni with parameters of type TdApi.Invoice
Constructor | Description
--- | ---
`InputMessageInvoice​(TdApi.Invoice invoice, String title, String description, String photoUrl, int photoSize, int photoWidth, int photoHeight, byte[] payload, String providerToken, String providerData, String startParameter)` | A message with an invoice; can be used only by bots.
`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.