Class TdApi.LabeledPricePart

  • Enclosing class:
    TdApi

    public static class TdApi.LabeledPricePart
    extends TdApi.Object
    Portion of the price of a product (e.g., "delivery cost", "tax amount").
    • Field Summary

      Fields 
      Modifier and Type Field Description
      long amount
      Currency amount in minimal quantity of the currency.
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      java.lang.String label
      Label for this portion of the product price.
    • Constructor Summary

      Constructors 
      Constructor Description
      LabeledPricePart()
      Default constructor.
      LabeledPricePart​(java.lang.String label, long amount)
      Constructor for initialization of all fields.
    • Field Detail

      • label

        public java.lang.String label
        Label for this portion of the product price.
      • amount

        public long amount
        Currency amount in minimal quantity of the currency.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • LabeledPricePart

        public LabeledPricePart()
        Default constructor.
      • LabeledPricePart

        public LabeledPricePart​(java.lang.String label,
                                long amount)
        Constructor for initialization of all fields.
        Parameters:
        label - Label for this portion of the product price.
        amount - Currency amount in minimal quantity of the currency.