Sha256: 528bd173e618a94a13b7f9f6457e6aa2af5f44d8967349cc0d26bd4eeb5bbf59

Contents?: true

Size: 396 Bytes

Versions: 3

Compression:

Stored size: 396 Bytes

Contents

module TD::Types
  # Portion of the price of a product (e.g., "delivery cost", "tax amount").
  #
  # @attr label [TD::Types::String] Label for this portion of the product price.
  # @attr amount [Integer] Currency amount in the smallest units of the currency.
  class LabeledPricePart < Base
    attribute :label, TD::Types::String
    attribute :amount, TD::Types::Coercible::Integer
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.4 lib/tdlib/types/labeled_price_part.rb
tdlib-schema-1.7.0.3 lib/tdlib/types/labeled_price_part.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/labeled_price_part.rb