Sha256: 578635fcb98b09feab4b57a64571f6d939aeb97cbfe81c5438542a392f6c58f9

Contents?: true

Size: 579 Bytes

Versions: 3

Compression:

Stored size: 579 Bytes

Contents

module TD::Types
  # Order information.
  #
  # @attr name [TD::Types::String] Name of the user.
  # @attr phone_number [TD::Types::String] Phone number of the user.
  # @attr email_address [TD::Types::String] Email address of the user.
  # @attr shipping_address [TD::Types::Address, nil] Shipping address for this order; may be null.
  class OrderInfo < Base
    attribute :name, TD::Types::String
    attribute :phone_number, TD::Types::String
    attribute :email_address, TD::Types::String
    attribute :shipping_address, TD::Types::Address.optional.default(nil)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.4 lib/tdlib/types/order_info.rb
tdlib-schema-1.7.0.3 lib/tdlib/types/order_info.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/order_info.rb