public class LabeledPrice extends Object implements InputBotApiObject, Validable
| Constructor and Description |
|---|
LabeledPrice()
Builds an empty LabeledPrice
|
LabeledPrice(String label,
Integer amount)
Builds a LabeledPrice with mandatory parameters
|
public String getLabel()
public void setLabel(String label)
public Integer getAmount()
public void setAmount(Integer amount)
public void validate()
throws TelegramApiValidationException
Validablevalidate in interface ValidableTelegramApiValidationException - If any mandatory field is emptyCopyright © 2019. All rights reserved.