Class: TD::Types::ShippingOption

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/shipping_option.rb

Overview

One shipping option.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#idTD::Types::String

Shipping option identifier.

Returns:

  • (TD::Types::String)

    the current value of id



8
9
10
# File 'lib/tdlib/types/shipping_option.rb', line 8

def id
  @id
end

#price_partsArray<TD::Types::LabeledPricePart>

A list of objects used to calculate the total shipping costs.

Returns:



8
9
10
# File 'lib/tdlib/types/shipping_option.rb', line 8

def price_parts
  @price_parts
end

#titleTD::Types::String

Option title.

Returns:

  • (TD::Types::String)

    the current value of title



8
9
10
# File 'lib/tdlib/types/shipping_option.rb', line 8

def title
  @title
end