Class: Vk::API::Orders::Order
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Orders::Order
- Defined in:
- lib/vk/api/orders/order.rb
Overview
Instance Method Summary collapse
-
#amount ⇒ Integer
Amount.
-
#app_order_id ⇒ Integer
App order ID.
-
#cancel_transaction_id ⇒ Integer
Cancel transaction ID.
-
#date ⇒ Integer
Date of creation in Unixtime.
-
#id ⇒ Integer
Order ID.
-
#item ⇒ String
Order item.
-
#receiver_id ⇒ Integer
Receiver ID.
-
#status ⇒ String
Order status.
-
#transaction_id ⇒ Integer
Transaction ID.
-
#user_id ⇒ Integer
User ID.
Instance Method Details
#amount ⇒ Integer
Returns Amount.
23 |
# File 'lib/vk/api/orders/order.rb', line 23 attribute :amount, API::Types::Coercible::Int.optional.default(nil) |
#app_order_id ⇒ Integer
Returns 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_id ⇒ Integer
Returns Cancel transaction ID.
29 |
# File 'lib/vk/api/orders/order.rb', line 29 attribute :cancel_transaction_id, API::Types::Coercible::Int.optional.default(nil) |
#date ⇒ Integer
Returns Date of creation in Unixtime.
25 |
# File 'lib/vk/api/orders/order.rb', line 25 attribute :date, API::Types::Coercible::Int.optional.default(nil) |
#id ⇒ Integer
Returns Order ID.
11 |
# File 'lib/vk/api/orders/order.rb', line 11 attribute :id, API::Types::Coercible::Int.optional.default(nil) |
#item ⇒ String
Returns Order item.
21 |
# File 'lib/vk/api/orders/order.rb', line 21 attribute :item, API::Types::Coercible::String.optional.default(nil) |
#receiver_id ⇒ Integer
Returns Receiver ID.
19 |
# File 'lib/vk/api/orders/order.rb', line 19 attribute :receiver_id, API::Types::Coercible::Int.optional.default(nil) |
#status ⇒ String
Returns Order status.
15 |
# File 'lib/vk/api/orders/order.rb', line 15 attribute :status, API::Types::Coercible::String.optional.default(nil) |