Class: TD::Types::LabeledPricePart
- Defined in:
- lib/tdlib/types/labeled_price_part.rb
Overview
Portion of the price of a product (e.g., “delivery cost”, “tax amount”).
Instance Attribute Summary collapse
-
#amount ⇒ Integer
Currency amount in the smallest units of the currency.
-
#label ⇒ TD::Types::String
Label for this portion of the product price.
Method Summary
Methods inherited from Base
Instance Attribute Details
#amount ⇒ Integer
Currency amount in the smallest units of the currency.
6 7 8 |
# File 'lib/tdlib/types/labeled_price_part.rb', line 6 def amount @amount end |
#label ⇒ TD::Types::String
Label for this portion of the product price.
6 7 8 |
# File 'lib/tdlib/types/labeled_price_part.rb', line 6 def label @label end |