public static class TdApi.ShippingOption extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
id
Shipping option identifier.
|
TdApi.LabeledPricePart[] |
priceParts
A list of objects used to calculate the total shipping costs.
|
java.lang.String |
title
Option title.
|
Constructor and Description |
---|
ShippingOption()
One shipping option.
|
ShippingOption(java.lang.String id,
java.lang.String title,
TdApi.LabeledPricePart[] priceParts)
One shipping option.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String id
public java.lang.String title
public TdApi.LabeledPricePart[] priceParts
public static final int CONSTRUCTOR
public ShippingOption()
public ShippingOption(java.lang.String id, java.lang.String title, TdApi.LabeledPricePart[] priceParts)
id
- Shipping option identifier.title
- Option title.priceParts
- A list of objects used to calculate the total shipping costs.public int getConstructor()
getConstructor
in class TdApi.Object