Class: TD::Types::ShippingOption
- Defined in:
- lib/tdlib/types/shipping_option.rb
Overview
One shipping option.
Instance Attribute Summary collapse
-
#id ⇒ TD::Types::String
Shipping option identifier.
-
#price_parts ⇒ Array<TD::Types::LabeledPricePart>
A list of objects used to calculate the total shipping costs.
-
#title ⇒ TD::Types::String
Option title.
Method Summary
Methods inherited from Base
Instance Attribute Details
#id ⇒ TD::Types::String
Shipping option identifier.
8 9 10 |
# File 'lib/tdlib/types/shipping_option.rb', line 8 def id @id end |
#price_parts ⇒ Array<TD::Types::LabeledPricePart>
A list of objects used to calculate the total shipping costs.
8 9 10 |
# File 'lib/tdlib/types/shipping_option.rb', line 8 def price_parts @price_parts end |
#title ⇒ TD::Types::String
Option title.
8 9 10 |
# File 'lib/tdlib/types/shipping_option.rb', line 8 def title @title end |