java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PaymentReceipt
- Enclosing class:
- TdApi
Contains information about a successful payment.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intTitle of the saved credentials chosen by the buyer.intPoint in time (Unix timestamp) when the payment was made.Product description.Information about the invoice.Order information; may be null.longUser identifier of the payment provider bot.Product photo; may be null.longUser identifier of the seller bot.Chosen shipping option; may be null.longThe amount of tip chosen by the buyer in the smallest units of the currency.Product title. -
Constructor Summary
ConstructorsConstructorDescriptionContains information about a successful payment.PaymentReceipt(DataInput input) Contains information about a successful payment.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. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
title
Product title. -
description
Product description. -
photo
Product photo; may be null. -
date
public int datePoint in time (Unix timestamp) when the payment was made. -
sellerBotUserId
public long sellerBotUserIdUser identifier of the seller bot. -
paymentProviderUserId
public long paymentProviderUserIdUser identifier of the payment provider bot. -
invoice
Information about the invoice. -
orderInfo
Order information; may be null. -
shippingOption
Chosen shipping option; may be null. -
credentialsTitle
Title of the saved credentials chosen by the buyer. -
tipAmount
public long tipAmountThe amount of tip chosen by the buyer in the smallest units of the currency. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
PaymentReceipt
public PaymentReceipt()Contains information about a successful payment. -
PaymentReceipt
public 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.- Parameters:
title- String Product title.description- FormattedText Product description.photo- Photo Product photo; may be null.date- int Point in time (Unix timestamp) when the payment was made.sellerBotUserId- long User identifier of the seller bot.paymentProviderUserId- long User identifier of the payment provider bot.invoice- Invoice Information about the invoice.orderInfo- OrderInfo Order information; may be null.shippingOption- ShippingOption Chosen shipping option; may be null.credentialsTitle- String Title of the saved credentials chosen by the buyer.tipAmount- long The amount of tip chosen by the buyer in the smallest units of the currency.
-
PaymentReceipt
Contains information about a successful payment.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-