Package it.tdlight.jni
Class TdApi.ShippingOption
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.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 int
CONSTRUCTOR
String
id
Shipping option identifier.TdApi.LabeledPricePart[]
priceParts
A list of objects used to calculate the total shipping costs.String
title
Option title. -
Constructor Summary
Constructors Constructor Description ShippingOption()
One shipping option.ShippingOption(DataInput input)
ShippingOption(String id, String title, TdApi.LabeledPricePart[] priceParts)
One shipping option. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
id
Shipping option identifier. -
title
Option title. -
priceParts
A list of objects used to calculate the total shipping costs. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
ShippingOption
public ShippingOption()One shipping option. -
ShippingOption
One shipping option.- Parameters:
id
- String Shipping option identifier.title
- String Option title.priceParts
- LabeledPricePart[] A list of objects used to calculate the total shipping costs.
-
ShippingOption
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-