public static class TdApi.PaymentReceipt extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
credentialsTitle
Title of the saved credentials chosen by the buyer.
|
int |
date
Point in time (Unix timestamp) when the payment was made.
|
java.lang.String |
description
Product description.
|
TdApi.Invoice |
invoice
Information about the invoice.
|
TdApi.OrderInfo |
orderInfo
Order information; may be null.
|
long |
paymentsProviderUserId
User identifier of the payment provider bot.
|
TdApi.Photo |
photo
Product photo; may be null.
|
long |
sellerBotUserId
User identifier of the seller bot.
|
TdApi.ShippingOption |
shippingOption
Chosen shipping option; may be null.
|
long |
tipAmount
The amount of tip chosen by the buyer in the smallest units of the currency.
|
java.lang.String |
title
Product title.
|
Constructor and Description |
---|
PaymentReceipt()
Contains information about a successful payment.
|
PaymentReceipt(java.lang.String title,
java.lang.String description,
TdApi.Photo photo,
int date,
long sellerBotUserId,
long paymentsProviderUserId,
TdApi.Invoice invoice,
TdApi.OrderInfo orderInfo,
TdApi.ShippingOption shippingOption,
java.lang.String credentialsTitle,
long tipAmount)
Contains information about a successful payment.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String title
public java.lang.String description
@Nullable public TdApi.Photo photo
public int date
public long sellerBotUserId
public long paymentsProviderUserId
public TdApi.Invoice invoice
@Nullable public TdApi.OrderInfo orderInfo
@Nullable public TdApi.ShippingOption shippingOption
public java.lang.String credentialsTitle
public long tipAmount
public static final int CONSTRUCTOR
public PaymentReceipt()
public PaymentReceipt(java.lang.String title, java.lang.String description, TdApi.Photo photo, int date, long sellerBotUserId, long paymentsProviderUserId, TdApi.Invoice invoice, TdApi.OrderInfo orderInfo, TdApi.ShippingOption shippingOption, java.lang.String credentialsTitle, long tipAmount)
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.public int getConstructor()
getConstructor
in class TdApi.Object