Class ShippingOption
Object
ShippingOption
- All Implemented Interfaces:
Serializable
,BotApiObject
,Validable
- Version:
- 1.0 This object represents one shipping option.
- Author:
- Ruben Bermudez
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates that mandatory fields are filled and optional objects
-
Constructor Details
-
ShippingOption
public ShippingOption()
-
-
Method Details
-
validate
Description copied from interface:Validable
Validates that mandatory fields are filled and optional objects- Specified by:
validate
in interfaceValidable
- Throws:
TelegramApiValidationException
- If any mandatory field is empty
-