Class 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
      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.
    • Field Detail

      • id

        public java.lang.String id
        Shipping option identifier.
      • title

        public java.lang.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 Detail

      • ShippingOption

        public ShippingOption()
        Default constructor.
      • ShippingOption

        public ShippingOption​(java.lang.String id,
                              java.lang.String title,
                              TdApi.LabeledPricePart[] priceParts)
        Constructor for initialization of all fields.
        Parameters:
        id - Shipping option identifier.
        title - Option title.
        priceParts - A list of objects used to calculate the total shipping costs.