Class: Vk::API::Orders::Methods::GetById
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Orders::Methods::GetById
- Defined in:
- lib/vk/api/orders/methods/get_by_id.rb
Overview
Returns information about orders by their IDs.
Arguments collapse
-
#order_id ⇒ Integer
Order ID.
-
#order_ids ⇒ Array
Order IDs (when information about several orders is requested).
-
#test_mode ⇒ Boolean
If this parameter is set to 1, this method returns a list of test mode orders.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Orders::Methods::GetById
|
# File 'lib/vk/api/orders/methods/get_by_id.rb', line 15
|
Instance Method Details
#order_id ⇒ Integer
Returns order ID.
25 |
# File 'lib/vk/api/orders/methods/get_by_id.rb', line 25 attribute :order_id, API::Types::Coercible::Int.optional.default(nil) |