public static class TdApi.LabeledPricePart extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
long |
amount
Currency amount in the smallest units of the currency.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
label
Label for this portion of the product price.
|
Constructor and Description |
---|
LabeledPricePart()
Portion of the price of a product (e.g., "delivery cost", "tax amount").
|
LabeledPricePart(java.lang.String label,
long amount)
Portion of the price of a product (e.g., "delivery cost", "tax amount").
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String label
public long amount
public static final int CONSTRUCTOR
public LabeledPricePart()
public LabeledPricePart(java.lang.String label, long amount)
label
- Label for this portion of the product price.amount
- Currency amount in the smallest units of the currency.public int getConstructor()
getConstructor
in class TdApi.Object