Class: TD::Types::OrderInfo

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

Overview

Order information.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#email_addressTD::Types::String

Email address of the user.

Returns:

  • (TD::Types::String)

    the current value of email_address



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

def email_address
  @email_address
end

#nameTD::Types::String

Name of the user.

Returns:

  • (TD::Types::String)

    the current value of name



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

def name
  @name
end

#phone_numberTD::Types::String

Phone number of the user.

Returns:

  • (TD::Types::String)

    the current value of phone_number



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

def phone_number
  @phone_number
end

#shipping_addressTD::Types::Address?

Shipping address for this order; may be null.

Returns:



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

def shipping_address
  @shipping_address
end