You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/patch_ruby/api/orders_api.rb
+30-35Lines changed: 30 additions & 35 deletions
Original file line number
Diff line number
Diff line change
@@ -27,10 +27,9 @@ class OrdersApi
27
27
definitialize(api_client=ApiClient.default)
28
28
@api_client=api_client
29
29
end
30
-
31
30
# Cancel an order
32
-
# Cancelling an order removes the associated offset allocation from an order. You will not be charged for cancelled orders. Only orders in the `draft` state can be cancelled.
33
-
# @param id [String]
31
+
# Cancelling an order removes the associated offset allocation from an order. You will not be charged for cancelled orders. Only orders in the `draft` state can be cancelled.
32
+
# @param id [String]
34
33
# @param [Hash] opts the optional parameters
35
34
# @return [OrderResponse]
36
35
defcancel_order(id,opts={})
@@ -39,8 +38,8 @@ def cancel_order(id, opts = {})
39
38
end
40
39
41
40
# Cancel an order
42
-
# Cancelling an order removes the associated offset allocation from an order. You will not be charged for cancelled orders. Only orders in the `draft` state can be cancelled.
43
-
# @param id [String]
41
+
# Cancelling an order removes the associated offset allocation from an order. You will not be charged for cancelled orders. Only orders in the `draft` state can be cancelled.
42
+
# @param id [String]
44
43
# @param [Hash] opts the optional parameters
45
44
# @return [Array<(OrderResponse, Integer, Hash)>] OrderResponse data, response status code and response headers
# Retrieves a given order and its allocation offsets or negative emissions. You can only retrieve orders associated with the organization you are querying for.
224
-
# @param id [String]
219
+
# Retrieves a given order and its allocation offsets or negative emissions. You can only retrieve orders associated with the organization you are querying for.
# Retrieves a given order and its allocation offsets or negative emissions. You can only retrieve orders associated with the organization you are querying for.
234
-
# @param id [String]
229
+
# Retrieves a given order and its allocation offsets or negative emissions. You can only retrieve orders associated with the organization you are querying for.
230
+
# @param id [String]
235
231
# @param [Hash] opts the optional parameters
236
232
# @return [Array<(OrderResponse, Integer, Hash)>] OrderResponse data, response status code and response headers
# Retrieves a list of orders and its allocation offsets or negative emissions. You can only retrieve orders associated with the organization you are querying for.
281
+
# Retrieves a list of orders and its allocation offsets or negative emissions. You can only retrieve orders associated with the organization you are querying for.
# Retrieves a list of orders and its allocation offsets or negative emissions. You can only retrieve orders associated with the organization you are querying for.
291
+
# Retrieves a list of orders and its allocation offsets or negative emissions. You can only retrieve orders associated with the organization you are querying for.
297
292
# @param [Hash] opts the optional parameters
298
-
# @option opts [Integer] :page
293
+
# @option opts [Integer] :page
299
294
# @return [Array<(OrderListResponse, Integer, Hash)>] OrderListResponse data, response status code and response headers
0 commit comments