Class TdApi.ShippingOption

java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.ShippingOption
Enclosing class:
TdApi

public static class TdApi.ShippingOption extends TdApi.Object
One shipping option.
  • 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:
  • 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