Method: OrderCloud::OrderApi#decline

Defined in:
lib/order_cloud/api/order_api.rb

#decline(direction, order_id, info, opts = {}) ⇒ Order

Parameters:

  • direction

    Direction of the order. Possible values: Incoming, Outgoing.

  • order_id

    ID of the order.

  • info
  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



293
294
295
296
# File 'lib/order_cloud/api/order_api.rb', line 293

def decline(direction, order_id, info, opts = {})
  data, _status_code, _headers = decline_with_http_info(direction, order_id, info, opts)
  return data
end