public static class TdApi.CollectibleItemInfo extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
long |
amount
The paid amount, in the smallest units of the currency.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
cryptocurrency
Cryptocurrency used to pay for the item.
|
long |
cryptocurrencyAmount
The paid amount, in the smallest units of the cryptocurrency.
|
java.lang.String |
currency
Currency for the paid amount.
|
int |
purchaseDate
Point in time (Unix timestamp) when the item was purchased.
|
java.lang.String |
url
Individual URL for the item on https://fragment.com.
|
| Constructor and Description |
|---|
CollectibleItemInfo()
Contains information about a collectible item and its last purchase.
|
CollectibleItemInfo(int purchaseDate,
java.lang.String currency,
long amount,
java.lang.String cryptocurrency,
long cryptocurrencyAmount,
java.lang.String url)
Contains information about a collectible item and its last purchase.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int purchaseDate
public java.lang.String currency
public long amount
public java.lang.String cryptocurrency
public long cryptocurrencyAmount
public java.lang.String url
public static final int CONSTRUCTOR
public CollectibleItemInfo()
public CollectibleItemInfo(int purchaseDate,
java.lang.String currency,
long amount,
java.lang.String cryptocurrency,
long cryptocurrencyAmount,
java.lang.String url)
purchaseDate - Point in time (Unix timestamp) when the item was purchased.currency - Currency for the paid amount.amount - The paid amount, in the smallest units of the currency.cryptocurrency - Cryptocurrency used to pay for the item.cryptocurrencyAmount - The paid amount, in the smallest units of the cryptocurrency.url - Individual URL for the item on https://fragment.com.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object