Class: Vk::API::Orders::Order

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/orders/order.rb

Overview

Instance Method Summary collapse

Instance Method Details

#amountInteger

Returns Amount.

Returns:

  • (Integer)

    Amount


23
# File 'lib/vk/api/orders/order.rb', line 23

attribute :amount, API::Types::Coercible::Int.optional.default(nil)

#app_order_idInteger

Returns App order ID.

Returns:

  • (Integer)

    App order ID


13
# File 'lib/vk/api/orders/order.rb', line 13

attribute :app_order_id, API::Types::Coercible::Int.optional.default(nil)

#cancel_transaction_idInteger

Returns Cancel transaction ID.

Returns:

  • (Integer)

    Cancel transaction ID


29
# File 'lib/vk/api/orders/order.rb', line 29

attribute :cancel_transaction_id, API::Types::Coercible::Int.optional.default(nil)

#dateInteger

Returns Date of creation in Unixtime.

Returns:

  • (Integer)

    Date of creation in Unixtime


25
# File 'lib/vk/api/orders/order.rb', line 25

attribute :date, API::Types::Coercible::Int.optional.default(nil)

#idInteger

Returns Order ID.

Returns:

  • (Integer)

    Order ID


11
# File 'lib/vk/api/orders/order.rb', line 11

attribute :id, API::Types::Coercible::Int.optional.default(nil)

#itemString

Returns Order item.

Returns:

  • (String)

    Order item


21
# File 'lib/vk/api/orders/order.rb', line 21

attribute :item, API::Types::Coercible::String.optional.default(nil)

#receiver_idInteger

Returns Receiver ID.

Returns:

  • (Integer)

    Receiver ID


19
# File 'lib/vk/api/orders/order.rb', line 19

attribute :receiver_id, API::Types::Coercible::Int.optional.default(nil)

#statusString

Returns Order status.

Returns:

  • (String)

    Order status


15
# File 'lib/vk/api/orders/order.rb', line 15

attribute :status, API::Types::Coercible::String.optional.default(nil)

#transaction_idInteger

Returns Transaction ID.

Returns:

  • (Integer)

    Transaction ID


27
# File 'lib/vk/api/orders/order.rb', line 27

attribute :transaction_id, API::Types::Coercible::Int.optional.default(nil)

#user_idInteger

Returns User ID.

Returns:

  • (Integer)

    User ID


17
# File 'lib/vk/api/orders/order.rb', line 17

attribute :user_id, API::Types::Coercible::Int.optional.default(nil)