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_addressString

Email address of the user.

Returns:

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

#nameString

Name of the user.

Returns:

  • (String)

    the current value of name



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

def name
  @name
end

#phone_numberString

Phone number of the user.

Returns:

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