Class LabeledPrice
java.lang.Object
org.telegram.telegrambots.meta.api.objects.payments.LabeledPrice
- All Implemented Interfaces:
Serializable,BotApiObject,Validable
- Version:
- 1.0 This object represents a portion of goods price.
- Author:
- Ruben Bermudez
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate()Validates that mandatory fields are filled and optional objects
-
Constructor Details
-
LabeledPrice
public LabeledPrice()
-
-
Method Details
-
validate
Description copied from interface:ValidableValidates that mandatory fields are filled and optional objects- Specified by:
validatein interfaceValidable- Throws:
TelegramApiValidationException- If any mandatory field is empty
-