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

#idString

Shipping option identifier.

Returns:

  • (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

#titleString

Option title.

Returns:

  • (String)

    the current value of title



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

def title
  @title
end