Package org.drinkless.tdlib
Class TdApi.ShippingOption
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.ShippingOption
-
- Enclosing class:
- TdApi
public static class TdApi.ShippingOption extends TdApi.Object
One shipping option.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.StringidShipping option identifier.TdApi.LabeledPricePart[]pricePartsA list of objects used to calculate the total shipping costs.StringtitleOption title.
-
Constructor Summary
Constructors Constructor Description ShippingOption()One shipping option.ShippingOption(String id, String title, TdApi.LabeledPricePart[] priceParts)One shipping option.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
id
public String id
Shipping option identifier.
-
title
public String title
Option title.
-
priceParts
public TdApi.LabeledPricePart[] priceParts
A list of objects used to calculate the total shipping costs.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ShippingOption
public ShippingOption()
One shipping option.
-
ShippingOption
public ShippingOption(String id, String title, TdApi.LabeledPricePart[] priceParts)
One shipping option.- Parameters:
id- Shipping option identifier.title- Option title.priceParts- A list of objects used to calculate the total shipping costs.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-