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 final int`
  `CONSTRUCTOR`
  Identifier uniquely determining type of the object.
  `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(String id, String title, TdApi.LabeledPricePart[] priceParts)`
  One shipping option.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getConstructor()`
  Returns an identifier uniquely determining type of the object.

  ### Methods inherited from class org.drinkless.tdlib.TdApi.Object

  `toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### 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 Details

  - ### 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 Details

  - ### getConstructor

    public int getConstructor()
    Description copied from class: `TdApi.Object`
    Returns an identifier uniquely determining type of the object.
    Specified by:
      `getConstructor` in class `TdApi.Object`
    Returns:
      this.CONSTRUCTOR