treezor_client 1.5.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +7 -7
- data/README.md +5 -5
- data/docs/BalanceApi.md +2 -2
- data/docs/BankaccountApi.md +8 -8
- data/docs/BeneficiariesApi.md +12 -12
- data/docs/Body.md +12 -3
- data/docs/Body1.md +3 -4
- data/docs/Body10.md +4 -5
- data/docs/Body2.md +2 -11
- data/docs/Body3.md +1 -1
- data/docs/Body4.md +5 -2
- data/docs/Body5.md +5 -4
- data/docs/Body6.md +3 -6
- data/docs/Body7.md +4 -4
- data/docs/Body8.md +5 -4
- data/docs/Body9.md +4 -4
- data/docs/BusinessApi.md +2 -2
- data/docs/CardApi.md +35 -35
- data/docs/CardDigitalizationsApi.md +8 -8
- data/docs/CardReserveApi.md +12 -12
- data/docs/CardtransactionApi.md +4 -4
- data/docs/CountryRestrictionGroupsApi.md +14 -14
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse20010Cardtransactions.md +3 -3
- data/docs/InlineResponse20011.md +1 -1
- data/docs/InlineResponse20013.md +1 -1
- data/docs/InlineResponse20014.md +1 -1
- data/docs/InlineResponse20015.md +1 -1
- data/docs/InlineResponse20016.md +1 -1
- data/docs/InlineResponse20018.md +1 -1
- data/docs/InlineResponse20019.md +1 -1
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse20020.md +1 -1
- data/docs/InlineResponse20021.md +1 -1
- data/docs/InlineResponse20027.md +1 -1
- data/docs/InlineResponse20028.md +1 -1
- data/docs/InlineResponse2003.md +1 -1
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse2004Businessinformations.md +26 -0
- data/docs/InlineResponse2004Users.md +12 -0
- data/docs/InlineResponse2005.md +1 -1
- data/docs/InlineResponse2006.md +1 -1
- data/docs/InlineResponse2006Cardimages.md +10 -0
- data/docs/InlineResponse2007.md +1 -1
- data/docs/InlineResponse2008.md +3 -1
- data/docs/InlineResponse2009.md +1 -3
- data/docs/InlineResponse2009Cardtransactions.md +58 -0
- data/docs/IssuerInitiatedDigitizationData.md +15 -0
- data/docs/IssuerInitiatedDigitizationDataApi.md +24 -24
- data/docs/MandateApi.md +15 -13
- data/docs/MccRestrictionGroupsApi.md +14 -14
- data/docs/MerchantIdRestrictionGroupsApi.md +14 -14
- data/docs/PayinrefundApi.md +8 -8
- data/docs/PayoutApi.md +8 -8
- data/docs/PayoutRefundsApi.md +2 -2
- data/docs/TaxResidenceApi.md +10 -10
- data/docs/VirtualibansApi.md +8 -8
- data/docs/WalletApi.md +12 -12
- data/lib/treezor_client/api/balance_api.rb +3 -3
- data/lib/treezor_client/api/bankaccount_api.rb +12 -12
- data/lib/treezor_client/api/beneficiaries_api.rb +16 -16
- data/lib/treezor_client/api/business_api.rb +3 -3
- data/lib/treezor_client/api/card_api.rb +53 -53
- data/lib/treezor_client/api/card_digitalizations_api.rb +12 -12
- data/lib/treezor_client/api/card_reserve_api.rb +13 -13
- data/lib/treezor_client/api/cardtransaction_api.rb +6 -6
- data/lib/treezor_client/api/country_restriction_groups_api.rb +19 -19
- data/lib/treezor_client/api/issuer_initiated_digitization_data_api.rb +26 -26
- data/lib/treezor_client/api/mandate_api.rb +21 -18
- data/lib/treezor_client/api/mcc_restriction_groups_api.rb +19 -19
- data/lib/treezor_client/api/merchant_id_restriction_groups_api.rb +19 -19
- data/lib/treezor_client/api/payinrefund_api.rb +12 -12
- data/lib/treezor_client/api/payout_api.rb +12 -12
- data/lib/treezor_client/api/payout_refunds_api.rb +3 -3
- data/lib/treezor_client/api/tax_residence_api.rb +15 -15
- data/lib/treezor_client/api/virtualibans_api.rb +12 -12
- data/lib/treezor_client/api/wallet_api.rb +17 -17
- data/lib/treezor_client/models/body.rb +127 -62
- data/lib/treezor_client/models/body_1.rb +3 -23
- data/lib/treezor_client/models/body_10.rb +15 -27
- data/lib/treezor_client/models/body_2.rb +25 -113
- data/lib/treezor_client/models/body_3.rb +1 -1
- data/lib/treezor_client/models/body_4.rb +89 -21
- data/lib/treezor_client/models/body_5.rb +27 -25
- data/lib/treezor_client/models/body_6.rb +39 -66
- data/lib/treezor_client/models/body_7.rb +15 -15
- data/lib/treezor_client/models/body_8.rb +27 -15
- data/lib/treezor_client/models/body_9.rb +15 -15
- data/lib/treezor_client/models/inline_response_200.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_1.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_10_cardtransactions.rb +3 -3
- data/lib/treezor_client/models/inline_response_200_11.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_13.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_14.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_15.rb +1 -1
- data/lib/treezor_client/models/inline_response_200_16.rb +1 -1
- data/lib/treezor_client/models/inline_response_200_18.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_19.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_2.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_20.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_21.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_27.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_28.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_3.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_4.rb +1 -1
- data/lib/treezor_client/models/inline_response_200_4_businessinformations.rb +447 -0
- data/lib/treezor_client/models/inline_response_200_4_users.rb +258 -0
- data/lib/treezor_client/models/inline_response_200_5.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_6.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_6_cardimages.rb +219 -0
- data/lib/treezor_client/models/inline_response_200_7.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_8.rb +28 -9
- data/lib/treezor_client/models/inline_response_200_9.rb +9 -28
- data/lib/treezor_client/models/inline_response_200_9_cardtransactions.rb +637 -0
- data/lib/treezor_client/models/issuer_initiated_digitization_data.rb +253 -0
- data/lib/treezor_client/version.rb +1 -1
- data/lib/treezor_client.rb +5 -5
- data/original_treezor_api_spec.yaml +13154 -0
- data/pkg/treezor_client-1.5.0.gem +0 -0
- data/spec/models/inline_response_200_4_businessinformations_spec.rb +169 -0
- data/spec/models/inline_response_200_4_users_spec.rb +69 -0
- data/spec/models/inline_response_200_6_cardimages_spec.rb +53 -0
- data/spec/models/inline_response_200_9_cardtransactions_spec.rb +341 -0
- data/spec/models/issuer_initiated_digitization_data_spec.rb +83 -0
- data/treezor_api_spec.yaml +2582 -2570
- metadata +25 -4
@@ -24,7 +24,7 @@ module TreezorClient
|
|
24
24
|
# @param id MCC restriction Group internal id.
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @option opts [Array<String>] :fields List of the object's properties you want to pick up.
|
27
|
-
# @return [
|
27
|
+
# @return [InlineResponse20015]
|
28
28
|
def delete_mcc_restriction_groups(id, opts = {})
|
29
29
|
data, _status_code, _headers = delete_mcc_restriction_groups_with_http_info(id, opts)
|
30
30
|
data
|
@@ -35,7 +35,7 @@ module TreezorClient
|
|
35
35
|
# @param id MCC restriction Group internal id.
|
36
36
|
# @param [Hash] opts the optional parameters
|
37
37
|
# @option opts [Array<String>] :fields List of the object's properties you want to pick up.
|
38
|
-
# @return [Array<(
|
38
|
+
# @return [Array<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
|
39
39
|
def delete_mcc_restriction_groups_with_http_info(id, opts = {})
|
40
40
|
if @api_client.config.debugging
|
41
41
|
@api_client.config.logger.debug 'Calling API: MccRestrictionGroupsApi.delete_mcc_restriction_groups ...'
|
@@ -70,7 +70,7 @@ module TreezorClient
|
|
70
70
|
:form_params => form_params,
|
71
71
|
:body => post_body,
|
72
72
|
:auth_names => auth_names,
|
73
|
-
:return_type => '
|
73
|
+
:return_type => 'InlineResponse20015')
|
74
74
|
if @api_client.config.debugging
|
75
75
|
@api_client.config.logger.debug "API called: MccRestrictionGroupsApi#delete_mcc_restriction_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
76
76
|
end
|
@@ -89,7 +89,7 @@ module TreezorClient
|
|
89
89
|
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
90
90
|
# @option opts [String] :sort_by The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists).
|
91
91
|
# @option opts [String] :sort_order The order you want to sort the list. * **DESC** for a descending sort * **ASC** for a ascending sort. Default value : DESC. More info [here](https://agent.treezor.com/lists).
|
92
|
-
# @return [
|
92
|
+
# @return [InlineResponse20015]
|
93
93
|
def get_mcc_restriction_groups(opts = {})
|
94
94
|
data, _status_code, _headers = get_mcc_restriction_groups_with_http_info(opts)
|
95
95
|
data
|
@@ -108,7 +108,7 @@ module TreezorClient
|
|
108
108
|
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
109
109
|
# @option opts [String] :sort_by The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists).
|
110
110
|
# @option opts [String] :sort_order The order you want to sort the list. * **DESC** for a descending sort * **ASC** for a ascending sort. Default value : DESC. More info [here](https://agent.treezor.com/lists).
|
111
|
-
# @return [Array<(
|
111
|
+
# @return [Array<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
|
112
112
|
def get_mcc_restriction_groups_with_http_info(opts = {})
|
113
113
|
if @api_client.config.debugging
|
114
114
|
@api_client.config.logger.debug 'Calling API: MccRestrictionGroupsApi.get_mcc_restriction_groups ...'
|
@@ -148,7 +148,7 @@ module TreezorClient
|
|
148
148
|
:form_params => form_params,
|
149
149
|
:body => post_body,
|
150
150
|
:auth_names => auth_names,
|
151
|
-
:return_type => '
|
151
|
+
:return_type => 'InlineResponse20015')
|
152
152
|
if @api_client.config.debugging
|
153
153
|
@api_client.config.logger.debug "API called: MccRestrictionGroupsApi#get_mcc_restriction_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
154
154
|
end
|
@@ -159,7 +159,7 @@ module TreezorClient
|
|
159
159
|
# @param id MCC restriction Group internal id.
|
160
160
|
# @param [Hash] opts the optional parameters
|
161
161
|
# @option opts [Array<String>] :fields List of the object's properties you want to pick up.
|
162
|
-
# @return [
|
162
|
+
# @return [InlineResponse20015]
|
163
163
|
def get_mcc_restriction_groups_id(id, opts = {})
|
164
164
|
data, _status_code, _headers = get_mcc_restriction_groups_id_with_http_info(id, opts)
|
165
165
|
data
|
@@ -170,7 +170,7 @@ module TreezorClient
|
|
170
170
|
# @param id MCC restriction Group internal id.
|
171
171
|
# @param [Hash] opts the optional parameters
|
172
172
|
# @option opts [Array<String>] :fields List of the object's properties you want to pick up.
|
173
|
-
# @return [Array<(
|
173
|
+
# @return [Array<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
|
174
174
|
def get_mcc_restriction_groups_id_with_http_info(id, opts = {})
|
175
175
|
if @api_client.config.debugging
|
176
176
|
@api_client.config.logger.debug 'Calling API: MccRestrictionGroupsApi.get_mcc_restriction_groups_id ...'
|
@@ -205,7 +205,7 @@ module TreezorClient
|
|
205
205
|
:form_params => form_params,
|
206
206
|
:body => post_body,
|
207
207
|
:auth_names => auth_names,
|
208
|
-
:return_type => '
|
208
|
+
:return_type => 'InlineResponse20015')
|
209
209
|
if @api_client.config.debugging
|
210
210
|
@api_client.config.logger.debug "API called: MccRestrictionGroupsApi#get_mcc_restriction_groups_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
211
211
|
end
|
@@ -219,8 +219,8 @@ module TreezorClient
|
|
219
219
|
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
220
220
|
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
221
221
|
# @option opts [Array<String>] :fields List of the object's properties you want to pick up.
|
222
|
-
# @option opts [
|
223
|
-
# @return [
|
222
|
+
# @option opts [Body7] :body
|
223
|
+
# @return [InlineResponse20015]
|
224
224
|
def post_mcc_restriction_group(opts = {})
|
225
225
|
data, _status_code, _headers = post_mcc_restriction_group_with_http_info(opts)
|
226
226
|
data
|
@@ -234,8 +234,8 @@ module TreezorClient
|
|
234
234
|
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
235
235
|
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
236
236
|
# @option opts [Array<String>] :fields List of the object's properties you want to pick up.
|
237
|
-
# @option opts [
|
238
|
-
# @return [Array<(
|
237
|
+
# @option opts [Body7] :body
|
238
|
+
# @return [Array<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
|
239
239
|
def post_mcc_restriction_group_with_http_info(opts = {})
|
240
240
|
if @api_client.config.debugging
|
241
241
|
@api_client.config.logger.debug 'Calling API: MccRestrictionGroupsApi.post_mcc_restriction_group ...'
|
@@ -270,7 +270,7 @@ module TreezorClient
|
|
270
270
|
:form_params => form_params,
|
271
271
|
:body => post_body,
|
272
272
|
:auth_names => auth_names,
|
273
|
-
:return_type => '
|
273
|
+
:return_type => 'InlineResponse20015')
|
274
274
|
if @api_client.config.debugging
|
275
275
|
@api_client.config.logger.debug "API called: MccRestrictionGroupsApi#post_mcc_restriction_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
276
276
|
end
|
@@ -284,8 +284,8 @@ module TreezorClient
|
|
284
284
|
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
285
285
|
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
286
286
|
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
287
|
-
# @option opts [
|
288
|
-
# @return [
|
287
|
+
# @option opts [Body8] :body
|
288
|
+
# @return [InlineResponse20015]
|
289
289
|
def put_mcc_restriction_groups(id, opts = {})
|
290
290
|
data, _status_code, _headers = put_mcc_restriction_groups_with_http_info(id, opts)
|
291
291
|
data
|
@@ -299,8 +299,8 @@ module TreezorClient
|
|
299
299
|
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
300
300
|
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
301
301
|
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
302
|
-
# @option opts [
|
303
|
-
# @return [Array<(
|
302
|
+
# @option opts [Body8] :body
|
303
|
+
# @return [Array<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
|
304
304
|
def put_mcc_restriction_groups_with_http_info(id, opts = {})
|
305
305
|
if @api_client.config.debugging
|
306
306
|
@api_client.config.logger.debug 'Calling API: MccRestrictionGroupsApi.put_mcc_restriction_groups ...'
|
@@ -338,7 +338,7 @@ module TreezorClient
|
|
338
338
|
:form_params => form_params,
|
339
339
|
:body => post_body,
|
340
340
|
:auth_names => auth_names,
|
341
|
-
:return_type => '
|
341
|
+
:return_type => 'InlineResponse20015')
|
342
342
|
if @api_client.config.debugging
|
343
343
|
@api_client.config.logger.debug "API called: MccRestrictionGroupsApi#put_mcc_restriction_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
344
344
|
end
|
@@ -24,7 +24,7 @@ module TreezorClient
|
|
24
24
|
# @param id Merchant ID restriction Group internal id.
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @option opts [Array<String>] :fields List of the object's properties you want to pick up.
|
27
|
-
# @return [
|
27
|
+
# @return [InlineResponse20016]
|
28
28
|
def delete_merchant_id_restriction_groups(id, opts = {})
|
29
29
|
data, _status_code, _headers = delete_merchant_id_restriction_groups_with_http_info(id, opts)
|
30
30
|
data
|
@@ -35,7 +35,7 @@ module TreezorClient
|
|
35
35
|
# @param id Merchant ID restriction Group internal id.
|
36
36
|
# @param [Hash] opts the optional parameters
|
37
37
|
# @option opts [Array<String>] :fields List of the object's properties you want to pick up.
|
38
|
-
# @return [Array<(
|
38
|
+
# @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
|
39
39
|
def delete_merchant_id_restriction_groups_with_http_info(id, opts = {})
|
40
40
|
if @api_client.config.debugging
|
41
41
|
@api_client.config.logger.debug 'Calling API: MerchantIdRestrictionGroupsApi.delete_merchant_id_restriction_groups ...'
|
@@ -70,7 +70,7 @@ module TreezorClient
|
|
70
70
|
:form_params => form_params,
|
71
71
|
:body => post_body,
|
72
72
|
:auth_names => auth_names,
|
73
|
-
:return_type => '
|
73
|
+
:return_type => 'InlineResponse20016')
|
74
74
|
if @api_client.config.debugging
|
75
75
|
@api_client.config.logger.debug "API called: MerchantIdRestrictionGroupsApi#delete_merchant_id_restriction_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
76
76
|
end
|
@@ -89,7 +89,7 @@ module TreezorClient
|
|
89
89
|
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
90
90
|
# @option opts [String] :sort_by The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists).
|
91
91
|
# @option opts [String] :sort_order The order you want to sort the list. * **DESC** for a descending sort * **ASC** for a ascending sort. Default value : DESC. More info [here](https://agent.treezor.com/lists).
|
92
|
-
# @return [
|
92
|
+
# @return [InlineResponse20016]
|
93
93
|
def get_merchant_id_restriction_group(opts = {})
|
94
94
|
data, _status_code, _headers = get_merchant_id_restriction_group_with_http_info(opts)
|
95
95
|
data
|
@@ -108,7 +108,7 @@ module TreezorClient
|
|
108
108
|
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
109
109
|
# @option opts [String] :sort_by The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists).
|
110
110
|
# @option opts [String] :sort_order The order you want to sort the list. * **DESC** for a descending sort * **ASC** for a ascending sort. Default value : DESC. More info [here](https://agent.treezor.com/lists).
|
111
|
-
# @return [Array<(
|
111
|
+
# @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
|
112
112
|
def get_merchant_id_restriction_group_with_http_info(opts = {})
|
113
113
|
if @api_client.config.debugging
|
114
114
|
@api_client.config.logger.debug 'Calling API: MerchantIdRestrictionGroupsApi.get_merchant_id_restriction_group ...'
|
@@ -148,7 +148,7 @@ module TreezorClient
|
|
148
148
|
:form_params => form_params,
|
149
149
|
:body => post_body,
|
150
150
|
:auth_names => auth_names,
|
151
|
-
:return_type => '
|
151
|
+
:return_type => 'InlineResponse20016')
|
152
152
|
if @api_client.config.debugging
|
153
153
|
@api_client.config.logger.debug "API called: MerchantIdRestrictionGroupsApi#get_merchant_id_restriction_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
154
154
|
end
|
@@ -159,7 +159,7 @@ module TreezorClient
|
|
159
159
|
# @param id Merchant ID restriction Group internal id.
|
160
160
|
# @param [Hash] opts the optional parameters
|
161
161
|
# @option opts [Array<String>] :fields List of the object's properties you want to pick up.
|
162
|
-
# @return [
|
162
|
+
# @return [InlineResponse20016]
|
163
163
|
def get_merchant_id_restriction_groups_id(id, opts = {})
|
164
164
|
data, _status_code, _headers = get_merchant_id_restriction_groups_id_with_http_info(id, opts)
|
165
165
|
data
|
@@ -170,7 +170,7 @@ module TreezorClient
|
|
170
170
|
# @param id Merchant ID restriction Group internal id.
|
171
171
|
# @param [Hash] opts the optional parameters
|
172
172
|
# @option opts [Array<String>] :fields List of the object's properties you want to pick up.
|
173
|
-
# @return [Array<(
|
173
|
+
# @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
|
174
174
|
def get_merchant_id_restriction_groups_id_with_http_info(id, opts = {})
|
175
175
|
if @api_client.config.debugging
|
176
176
|
@api_client.config.logger.debug 'Calling API: MerchantIdRestrictionGroupsApi.get_merchant_id_restriction_groups_id ...'
|
@@ -205,7 +205,7 @@ module TreezorClient
|
|
205
205
|
:form_params => form_params,
|
206
206
|
:body => post_body,
|
207
207
|
:auth_names => auth_names,
|
208
|
-
:return_type => '
|
208
|
+
:return_type => 'InlineResponse20016')
|
209
209
|
if @api_client.config.debugging
|
210
210
|
@api_client.config.logger.debug "API called: MerchantIdRestrictionGroupsApi#get_merchant_id_restriction_groups_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
211
211
|
end
|
@@ -218,8 +218,8 @@ module TreezorClient
|
|
218
218
|
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
219
219
|
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
220
220
|
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
221
|
-
# @option opts [
|
222
|
-
# @return [
|
221
|
+
# @option opts [Body9] :body
|
222
|
+
# @return [InlineResponse20016]
|
223
223
|
def post_merchant_id_restriction_group(opts = {})
|
224
224
|
data, _status_code, _headers = post_merchant_id_restriction_group_with_http_info(opts)
|
225
225
|
data
|
@@ -232,8 +232,8 @@ module TreezorClient
|
|
232
232
|
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
233
233
|
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
234
234
|
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
235
|
-
# @option opts [
|
236
|
-
# @return [Array<(
|
235
|
+
# @option opts [Body9] :body
|
236
|
+
# @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
|
237
237
|
def post_merchant_id_restriction_group_with_http_info(opts = {})
|
238
238
|
if @api_client.config.debugging
|
239
239
|
@api_client.config.logger.debug 'Calling API: MerchantIdRestrictionGroupsApi.post_merchant_id_restriction_group ...'
|
@@ -267,7 +267,7 @@ module TreezorClient
|
|
267
267
|
:form_params => form_params,
|
268
268
|
:body => post_body,
|
269
269
|
:auth_names => auth_names,
|
270
|
-
:return_type => '
|
270
|
+
:return_type => 'InlineResponse20016')
|
271
271
|
if @api_client.config.debugging
|
272
272
|
@api_client.config.logger.debug "API called: MerchantIdRestrictionGroupsApi#post_merchant_id_restriction_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
273
273
|
end
|
@@ -281,8 +281,8 @@ module TreezorClient
|
|
281
281
|
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
282
282
|
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
283
283
|
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
284
|
-
# @option opts [
|
285
|
-
# @return [
|
284
|
+
# @option opts [Body10] :body
|
285
|
+
# @return [InlineResponse20016]
|
286
286
|
def put_merchant_id_restriction_groups(id, opts = {})
|
287
287
|
data, _status_code, _headers = put_merchant_id_restriction_groups_with_http_info(id, opts)
|
288
288
|
data
|
@@ -296,8 +296,8 @@ module TreezorClient
|
|
296
296
|
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
297
297
|
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
298
298
|
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
299
|
-
# @option opts [
|
300
|
-
# @return [Array<(
|
299
|
+
# @option opts [Body10] :body
|
300
|
+
# @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
|
301
301
|
def put_merchant_id_restriction_groups_with_http_info(id, opts = {})
|
302
302
|
if @api_client.config.debugging
|
303
303
|
@api_client.config.logger.debug 'Calling API: MerchantIdRestrictionGroupsApi.put_merchant_id_restriction_groups ...'
|
@@ -335,7 +335,7 @@ module TreezorClient
|
|
335
335
|
:form_params => form_params,
|
336
336
|
:body => post_body,
|
337
337
|
:auth_names => auth_names,
|
338
|
-
:return_type => '
|
338
|
+
:return_type => 'InlineResponse20016')
|
339
339
|
if @api_client.config.debugging
|
340
340
|
@api_client.config.logger.debug "API called: MerchantIdRestrictionGroupsApi#put_merchant_id_restriction_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
341
341
|
end
|
@@ -23,7 +23,7 @@ module TreezorClient
|
|
23
23
|
# Change payin refund's status to CANCELED. A validated payin refund can't be cancelled.
|
24
24
|
# @param id Payinrefund's internal id.
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @return [
|
26
|
+
# @return [InlineResponse20018]
|
27
27
|
def delete_payinrefund(id, opts = {})
|
28
28
|
data, _status_code, _headers = delete_payinrefund_with_http_info(id, opts)
|
29
29
|
data
|
@@ -33,7 +33,7 @@ module TreezorClient
|
|
33
33
|
# Change payin refund's status to CANCELED. A validated payin refund can't be cancelled.
|
34
34
|
# @param id Payinrefund's internal id.
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @return [Array<(
|
36
|
+
# @return [Array<(InlineResponse20018, Fixnum, Hash)>] InlineResponse20018 data, response status code and response headers
|
37
37
|
def delete_payinrefund_with_http_info(id, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
39
|
@api_client.config.logger.debug 'Calling API: PayinrefundApi.delete_payinrefund ...'
|
@@ -67,7 +67,7 @@ module TreezorClient
|
|
67
67
|
:form_params => form_params,
|
68
68
|
:body => post_body,
|
69
69
|
:auth_names => auth_names,
|
70
|
-
:return_type => '
|
70
|
+
:return_type => 'InlineResponse20018')
|
71
71
|
if @api_client.config.debugging
|
72
72
|
@api_client.config.logger.debug "API called: PayinrefundApi#delete_payinrefund\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
73
73
|
end
|
@@ -77,7 +77,7 @@ module TreezorClient
|
|
77
77
|
# Get a payin refund from the system.
|
78
78
|
# @param id Payinrefund's internal id.
|
79
79
|
# @param [Hash] opts the optional parameters
|
80
|
-
# @return [
|
80
|
+
# @return [InlineResponse20018]
|
81
81
|
def get_payinrefund(id, opts = {})
|
82
82
|
data, _status_code, _headers = get_payinrefund_with_http_info(id, opts)
|
83
83
|
data
|
@@ -87,7 +87,7 @@ module TreezorClient
|
|
87
87
|
# Get a payin refund from the system.
|
88
88
|
# @param id Payinrefund's internal id.
|
89
89
|
# @param [Hash] opts the optional parameters
|
90
|
-
# @return [Array<(
|
90
|
+
# @return [Array<(InlineResponse20018, Fixnum, Hash)>] InlineResponse20018 data, response status code and response headers
|
91
91
|
def get_payinrefund_with_http_info(id, opts = {})
|
92
92
|
if @api_client.config.debugging
|
93
93
|
@api_client.config.logger.debug 'Calling API: PayinrefundApi.get_payinrefund ...'
|
@@ -121,7 +121,7 @@ module TreezorClient
|
|
121
121
|
:form_params => form_params,
|
122
122
|
:body => post_body,
|
123
123
|
:auth_names => auth_names,
|
124
|
-
:return_type => '
|
124
|
+
:return_type => 'InlineResponse20018')
|
125
125
|
if @api_client.config.debugging
|
126
126
|
@api_client.config.logger.debug "API called: PayinrefundApi#get_payinrefund\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
127
127
|
end
|
@@ -151,7 +151,7 @@ module TreezorClient
|
|
151
151
|
# @option opts [DateTime] :created_date_to The creation date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
152
152
|
# @option opts [DateTime] :updated_date_from The modification date from which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
153
153
|
# @option opts [DateTime] :updated_date_to The modification date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
154
|
-
# @return [
|
154
|
+
# @return [InlineResponse20018]
|
155
155
|
def get_payinrefunds(opts = {})
|
156
156
|
data, _status_code, _headers = get_payinrefunds_with_http_info(opts)
|
157
157
|
data
|
@@ -181,7 +181,7 @@ module TreezorClient
|
|
181
181
|
# @option opts [DateTime] :created_date_to The creation date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
182
182
|
# @option opts [DateTime] :updated_date_from The modification date from which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
183
183
|
# @option opts [DateTime] :updated_date_to The modification date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
184
|
-
# @return [Array<(
|
184
|
+
# @return [Array<(InlineResponse20018, Fixnum, Hash)>] InlineResponse20018 data, response status code and response headers
|
185
185
|
def get_payinrefunds_with_http_info(opts = {})
|
186
186
|
if @api_client.config.debugging
|
187
187
|
@api_client.config.logger.debug 'Calling API: PayinrefundApi.get_payinrefunds ...'
|
@@ -232,7 +232,7 @@ module TreezorClient
|
|
232
232
|
:form_params => form_params,
|
233
233
|
:body => post_body,
|
234
234
|
:auth_names => auth_names,
|
235
|
-
:return_type => '
|
235
|
+
:return_type => 'InlineResponse20018')
|
236
236
|
if @api_client.config.debugging
|
237
237
|
@api_client.config.logger.debug "API called: PayinrefundApi#get_payinrefunds\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
238
238
|
end
|
@@ -250,7 +250,7 @@ module TreezorClient
|
|
250
250
|
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
251
251
|
# @option opts [String] :payinrefund_tag Custom data.
|
252
252
|
# @option opts [String] :comment End user, client or issuer comment.
|
253
|
-
# @return [
|
253
|
+
# @return [InlineResponse20018]
|
254
254
|
def post_payinrefunds(payin_id, amount, currency, opts = {})
|
255
255
|
data, _status_code, _headers = post_payinrefunds_with_http_info(payin_id, amount, currency, opts)
|
256
256
|
data
|
@@ -268,7 +268,7 @@ module TreezorClient
|
|
268
268
|
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
269
269
|
# @option opts [String] :payinrefund_tag Custom data.
|
270
270
|
# @option opts [String] :comment End user, client or issuer comment.
|
271
|
-
# @return [Array<(
|
271
|
+
# @return [Array<(InlineResponse20018, Fixnum, Hash)>] InlineResponse20018 data, response status code and response headers
|
272
272
|
def post_payinrefunds_with_http_info(payin_id, amount, currency, opts = {})
|
273
273
|
if @api_client.config.debugging
|
274
274
|
@api_client.config.logger.debug 'Calling API: PayinrefundApi.post_payinrefunds ...'
|
@@ -319,7 +319,7 @@ module TreezorClient
|
|
319
319
|
:form_params => form_params,
|
320
320
|
:body => post_body,
|
321
321
|
:auth_names => auth_names,
|
322
|
-
:return_type => '
|
322
|
+
:return_type => 'InlineResponse20018')
|
323
323
|
if @api_client.config.debugging
|
324
324
|
@api_client.config.logger.debug "API called: PayinrefundApi#post_payinrefunds\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
325
325
|
end
|
@@ -23,7 +23,7 @@ module TreezorClient
|
|
23
23
|
# Change pay out status to CANCELED. A VALIDATED pay out can't be canceled.
|
24
24
|
# @param id Payouts internal id.
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @return [
|
26
|
+
# @return [InlineResponse20019]
|
27
27
|
def delete_payout(id, opts = {})
|
28
28
|
data, _status_code, _headers = delete_payout_with_http_info(id, opts)
|
29
29
|
data
|
@@ -33,7 +33,7 @@ module TreezorClient
|
|
33
33
|
# Change pay out status to CANCELED. A VALIDATED pay out can't be canceled.
|
34
34
|
# @param id Payouts internal id.
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @return [Array<(
|
36
|
+
# @return [Array<(InlineResponse20019, Fixnum, Hash)>] InlineResponse20019 data, response status code and response headers
|
37
37
|
def delete_payout_with_http_info(id, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
39
|
@api_client.config.logger.debug 'Calling API: PayoutApi.delete_payout ...'
|
@@ -67,7 +67,7 @@ module TreezorClient
|
|
67
67
|
:form_params => form_params,
|
68
68
|
:body => post_body,
|
69
69
|
:auth_names => auth_names,
|
70
|
-
:return_type => '
|
70
|
+
:return_type => 'InlineResponse20019')
|
71
71
|
if @api_client.config.debugging
|
72
72
|
@api_client.config.logger.debug "API called: PayoutApi#delete_payout\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
73
73
|
end
|
@@ -77,7 +77,7 @@ module TreezorClient
|
|
77
77
|
# Get a pay out from the system.
|
78
78
|
# @param id Payouts internal id.
|
79
79
|
# @param [Hash] opts the optional parameters
|
80
|
-
# @return [
|
80
|
+
# @return [InlineResponse20019]
|
81
81
|
def get_payout(id, opts = {})
|
82
82
|
data, _status_code, _headers = get_payout_with_http_info(id, opts)
|
83
83
|
data
|
@@ -87,7 +87,7 @@ module TreezorClient
|
|
87
87
|
# Get a pay out from the system.
|
88
88
|
# @param id Payouts internal id.
|
89
89
|
# @param [Hash] opts the optional parameters
|
90
|
-
# @return [Array<(
|
90
|
+
# @return [Array<(InlineResponse20019, Fixnum, Hash)>] InlineResponse20019 data, response status code and response headers
|
91
91
|
def get_payout_with_http_info(id, opts = {})
|
92
92
|
if @api_client.config.debugging
|
93
93
|
@api_client.config.logger.debug 'Calling API: PayoutApi.get_payout ...'
|
@@ -121,7 +121,7 @@ module TreezorClient
|
|
121
121
|
:form_params => form_params,
|
122
122
|
:body => post_body,
|
123
123
|
:auth_names => auth_names,
|
124
|
-
:return_type => '
|
124
|
+
:return_type => 'InlineResponse20019')
|
125
125
|
if @api_client.config.debugging
|
126
126
|
@api_client.config.logger.debug "API called: PayoutApi#get_payout\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
127
127
|
end
|
@@ -158,7 +158,7 @@ module TreezorClient
|
|
158
158
|
# @option opts [DateTime] :created_date_to The creation date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
159
159
|
# @option opts [DateTime] :updated_date_from The modification date from which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
160
160
|
# @option opts [DateTime] :updated_date_to The modification date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
161
|
-
# @return [
|
161
|
+
# @return [InlineResponse20019]
|
162
162
|
def get_payouts(opts = {})
|
163
163
|
data, _status_code, _headers = get_payouts_with_http_info(opts)
|
164
164
|
data
|
@@ -195,7 +195,7 @@ module TreezorClient
|
|
195
195
|
# @option opts [DateTime] :created_date_to The creation date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
196
196
|
# @option opts [DateTime] :updated_date_from The modification date from which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
197
197
|
# @option opts [DateTime] :updated_date_to The modification date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
198
|
-
# @return [Array<(
|
198
|
+
# @return [Array<(InlineResponse20019, Fixnum, Hash)>] InlineResponse20019 data, response status code and response headers
|
199
199
|
def get_payouts_with_http_info(opts = {})
|
200
200
|
if @api_client.config.debugging
|
201
201
|
@api_client.config.logger.debug 'Calling API: PayoutApi.get_payouts ...'
|
@@ -253,7 +253,7 @@ module TreezorClient
|
|
253
253
|
:form_params => form_params,
|
254
254
|
:body => post_body,
|
255
255
|
:auth_names => auth_names,
|
256
|
-
:return_type => '
|
256
|
+
:return_type => 'InlineResponse20019')
|
257
257
|
if @api_client.config.debugging
|
258
258
|
@api_client.config.logger.debug "API called: PayoutApi#get_payouts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
259
259
|
end
|
@@ -274,7 +274,7 @@ module TreezorClient
|
|
274
274
|
# @option opts [Integer] :beneficiary_id Pay out beneficiary's id. Mandatory id bankaccountId is not provided. If bankaccountId and beneficiaryId are both provided, the beneficiaryId will be used.
|
275
275
|
# @option opts [String] :label Pay out label that will be displayed in the receiver's account (140 chars max).
|
276
276
|
# @option opts [String] :supporting_file_link Support file link
|
277
|
-
# @return [
|
277
|
+
# @return [InlineResponse20019]
|
278
278
|
def post_payout(wallet_id, amount, currency, opts = {})
|
279
279
|
data, _status_code, _headers = post_payout_with_http_info(wallet_id, amount, currency, opts)
|
280
280
|
data
|
@@ -295,7 +295,7 @@ module TreezorClient
|
|
295
295
|
# @option opts [Integer] :beneficiary_id Pay out beneficiary's id. Mandatory id bankaccountId is not provided. If bankaccountId and beneficiaryId are both provided, the beneficiaryId will be used.
|
296
296
|
# @option opts [String] :label Pay out label that will be displayed in the receiver's account (140 chars max).
|
297
297
|
# @option opts [String] :supporting_file_link Support file link
|
298
|
-
# @return [Array<(
|
298
|
+
# @return [Array<(InlineResponse20019, Fixnum, Hash)>] InlineResponse20019 data, response status code and response headers
|
299
299
|
def post_payout_with_http_info(wallet_id, amount, currency, opts = {})
|
300
300
|
if @api_client.config.debugging
|
301
301
|
@api_client.config.logger.debug 'Calling API: PayoutApi.post_payout ...'
|
@@ -349,7 +349,7 @@ module TreezorClient
|
|
349
349
|
:form_params => form_params,
|
350
350
|
:body => post_body,
|
351
351
|
:auth_names => auth_names,
|
352
|
-
:return_type => '
|
352
|
+
:return_type => 'InlineResponse20019')
|
353
353
|
if @api_client.config.debugging
|
354
354
|
@api_client.config.logger.debug "API called: PayoutApi#post_payout\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
355
355
|
end
|
@@ -32,7 +32,7 @@ module TreezorClient
|
|
32
32
|
# @option opts [String] :information_status PayoutRefund Information Status
|
33
33
|
# @option opts [Integer] :payout_id Payout Id
|
34
34
|
# @option opts [Integer] :page_number The page number
|
35
|
-
# @return [
|
35
|
+
# @return [InlineResponse20020]
|
36
36
|
def get_payout_refunds(opts = {})
|
37
37
|
data, _status_code, _headers = get_payout_refunds_with_http_info(opts)
|
38
38
|
data
|
@@ -51,7 +51,7 @@ module TreezorClient
|
|
51
51
|
# @option opts [String] :information_status PayoutRefund Information Status
|
52
52
|
# @option opts [Integer] :payout_id Payout Id
|
53
53
|
# @option opts [Integer] :page_number The page number
|
54
|
-
# @return [Array<(
|
54
|
+
# @return [Array<(InlineResponse20020, Fixnum, Hash)>] InlineResponse20020 data, response status code and response headers
|
55
55
|
def get_payout_refunds_with_http_info(opts = {})
|
56
56
|
if @api_client.config.debugging
|
57
57
|
@api_client.config.logger.debug 'Calling API: PayoutRefundsApi.get_payout_refunds ...'
|
@@ -91,7 +91,7 @@ module TreezorClient
|
|
91
91
|
:form_params => form_params,
|
92
92
|
:body => post_body,
|
93
93
|
:auth_names => auth_names,
|
94
|
-
:return_type => '
|
94
|
+
:return_type => 'InlineResponse20020')
|
95
95
|
if @api_client.config.debugging
|
96
96
|
@api_client.config.logger.debug "API called: PayoutRefundsApi#get_payout_refunds\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
97
97
|
end
|