Package org.drinkless.tdlib
Class TdApi.PaymentReceipt
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.PaymentReceipt
-
- Enclosing class:
- TdApi
public static class TdApi.PaymentReceipt extends TdApi.Object
Contains information about a successful payment.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.StringcredentialsTitleTitle of the saved credentials chosen by the buyer.intdatePoint in time (Unix timestamp) when the payment was made.StringdescriptionProduct description.TdApi.InvoiceinvoiceInformation about the invoice.TdApi.OrderInfoorderInfoOrder information; may be null.longpaymentsProviderUserIdUser identifier of the payment provider bot.TdApi.PhotophotoProduct photo; may be null.longsellerBotUserIdUser identifier of the seller bot.TdApi.ShippingOptionshippingOptionChosen shipping option; may be null.longtipAmountThe amount of tip chosen by the buyer in the smallest units of the currency.StringtitleProduct title.
-
Constructor Summary
Constructors Constructor Description PaymentReceipt()Contains information about a successful payment.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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
title
public String title
Product title.
-
description
public String description
Product description.
-
photo
public TdApi.Photo photo
Product photo; may be null.
-
date
public int date
Point in time (Unix timestamp) when the payment was made.
-
sellerBotUserId
public long sellerBotUserId
User identifier of the seller bot.
-
paymentsProviderUserId
public long paymentsProviderUserId
User identifier of the payment provider bot.
-
invoice
public TdApi.Invoice invoice
Information about the invoice.
-
orderInfo
public TdApi.OrderInfo orderInfo
Order information; may be null.
-
shippingOption
public TdApi.ShippingOption shippingOption
Chosen shipping option; may be null.
-
credentialsTitle
public String credentialsTitle
Title of the saved credentials chosen by the buyer.
-
tipAmount
public long tipAmount
The amount of tip chosen by the buyer in the smallest units of the currency.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PaymentReceipt
public PaymentReceipt()
Contains information about a successful payment.
-
PaymentReceipt
public 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.- Parameters:
title- Product title.description- Product description.photo- Product photo; may be null.date- Point in time (Unix timestamp) when the payment was made.sellerBotUserId- User identifier of the seller bot.paymentsProviderUserId- User 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- The amount of tip chosen by the buyer in the smallest units of the currency.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-