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()
Returns an identifier uniquely determining type of the object.
|
toStringpublic 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()
TdApi.ObjectgetConstructor in class TdApi.Object