cybersource_rest_client 0.0.40 → 0.0.41
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/AuthenticationSDK/logging/sensitive_logging.rb +7 -4
- data/lib/cybersource_rest_client/api/asymmetric_key_management_api.rb +223 -219
- data/lib/cybersource_rest_client/api/chargeback_details_api.rb +116 -112
- data/lib/cybersource_rest_client/api/chargeback_summaries_api.rb +116 -112
- data/lib/cybersource_rest_client/api/conversion_details_api.rb +5 -1
- data/lib/cybersource_rest_client/api/customer_api.rb +368 -360
- data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +530 -518
- data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +530 -518
- data/lib/cybersource_rest_client/api/download_dtd_api.rb +92 -88
- data/lib/cybersource_rest_client/api/download_xsd_api.rb +92 -88
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +15 -3
- data/lib/cybersource_rest_client/api/interchange_clearing_level_details_api.rb +116 -112
- data/lib/cybersource_rest_client/api/invoice_settings_api.rb +152 -148
- data/lib/cybersource_rest_client/api/invoices_api.rb +447 -431
- data/lib/cybersource_rest_client/api/net_fundings_api.rb +5 -1
- data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +5 -1
- data/lib/cybersource_rest_client/api/payer_authentication_api.rb +219 -219
- data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +133 -129
- data/lib/cybersource_rest_client/api/payment_instrument_api.rb +10 -2
- data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +5 -1
- data/lib/cybersource_rest_client/api/report_definitions_api.rb +10 -2
- data/lib/cybersource_rest_client/api/report_downloads_api.rb +5 -1
- data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +15 -3
- data/lib/cybersource_rest_client/api/reports_api.rb +10 -2
- data/lib/cybersource_rest_client/api/retrieval_details_api.rb +116 -112
- data/lib/cybersource_rest_client/api/retrieval_summaries_api.rb +116 -112
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +5 -1
- data/lib/cybersource_rest_client/api/secure_file_share_api.rb +206 -198
- data/lib/cybersource_rest_client/api/symmetric_key_management_api.rb +5 -1
- data/lib/cybersource_rest_client/api/taxes_api.rb +160 -160
- data/lib/cybersource_rest_client/api/tokenization_api.rb +89 -89
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +15 -3
- data/lib/cybersource_rest_client/api/transaction_details_api.rb +5 -1
- data/lib/cybersource_rest_client/api/user_management_api.rb +5 -1
- data/lib/cybersource_rest_client/api/user_management_search_api.rb +89 -89
- data/lib/cybersource_rest_client/api/verification_api.rb +154 -154
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information_card.rb +20 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_merchant_advice.rb +20 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +20 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information.rb +11 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +20 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +20 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +21 -7
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +17 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_processor_information.rb +13 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_processor_information_authorization_options.rb +190 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb +0 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidvoids_order_information.rb +183 -0
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information.rb +14 -4
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +13 -4
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information_funding_options.rb +183 -0
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information_funding_options_initiator.rb +190 -0
- data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information.rb +52 -4
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/void_capture_request.rb +13 -4
- data/lib/cybersource_rest_client/models/void_credit_request.rb +13 -4
- data/lib/cybersource_rest_client/models/void_payment_request.rb +13 -4
- data/lib/cybersource_rest_client/models/void_refund_request.rb +13 -4
- data/lib/cybersource_rest_client.rb +4 -0
- metadata +7 -3
@@ -1,198 +1,206 @@
|
|
1
|
-
=begin
|
2
|
-
#CyberSource Merged Spec
|
3
|
-
|
4
|
-
#All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
5
|
-
|
6
|
-
OpenAPI spec version: 0.0.1
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.2.3
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'uri'
|
14
|
-
|
15
|
-
module CyberSource
|
16
|
-
class SecureFileShareApi
|
17
|
-
attr_accessor :api_client
|
18
|
-
|
19
|
-
def initialize(api_client = ApiClient.default, config)
|
20
|
-
@api_client = api_client
|
21
|
-
@api_client.set_configuration(config)
|
22
|
-
end
|
23
|
-
# Download a File with File Identifier
|
24
|
-
# Download a file for the given file identifier
|
25
|
-
# @param file_id Unique identifier for each file
|
26
|
-
# @param [Hash] opts the optional parameters
|
27
|
-
# @option opts [String] :organization_id Valid Cybersource Organization Id
|
28
|
-
# @return [nil]
|
29
|
-
def get_file(file_id, opts = {})
|
30
|
-
data, status_code, headers = get_file_with_http_info(file_id, opts)
|
31
|
-
return data, status_code, headers
|
32
|
-
end
|
33
|
-
|
34
|
-
# Download a File with File Identifier
|
35
|
-
# Download a file for the given file identifier
|
36
|
-
# @param file_id Unique identifier for each file
|
37
|
-
# @param [Hash] opts the optional parameters
|
38
|
-
# @option opts [String] :organization_id Valid Cybersource Organization Id
|
39
|
-
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
40
|
-
def get_file_with_http_info(file_id, opts = {})
|
41
|
-
|
42
|
-
if @api_client.config.debugging
|
43
|
-
begin
|
44
|
-
raise
|
45
|
-
@api_client.config.logger.debug 'Calling API: SecureFileShareApi.get_file ...'
|
46
|
-
rescue
|
47
|
-
puts 'Cannot write to log'
|
48
|
-
end
|
49
|
-
end
|
50
|
-
# verify the required parameter 'file_id' is set
|
51
|
-
if @api_client.config.client_side_validation && file_id.nil?
|
52
|
-
fail ArgumentError, "Missing the required parameter 'file_id' when calling SecureFileShareApi.get_file"
|
53
|
-
end
|
54
|
-
if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length > 32
|
55
|
-
fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling SecureFileShareApi.get_file, the character length must be smaller than or equal to 32.'
|
56
|
-
end
|
57
|
-
|
58
|
-
if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length < 1
|
59
|
-
fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling SecureFileShareApi.get_file, the character length must be great than or equal to 1.'
|
60
|
-
end
|
61
|
-
|
62
|
-
#if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'] !~ Regexp.new(/[a-zA-Z0-9-_]+/)
|
63
|
-
#fail ArgumentError, "invalid value for 'opts[:\"organization_id\"]' when calling SecureFileShareApi.get_file, must conform to the pattern /[a-zA-Z0-9-_]+/."
|
64
|
-
#end
|
65
|
-
|
66
|
-
# resource path
|
67
|
-
local_var_path = 'sfs/v1/files/{fileId}'.sub('{' + 'fileId' + '}', file_id.to_s)
|
68
|
-
|
69
|
-
# query parameters
|
70
|
-
query_params = {}
|
71
|
-
query_params[:'organizationId'] = opts[:'organization_id'] if !opts[:'organization_id'].nil?
|
72
|
-
|
73
|
-
# header parameters
|
74
|
-
header_params = {}
|
75
|
-
# HTTP header 'Accept' (if needed)
|
76
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/xml', 'text/csv', 'application/pdf'])
|
77
|
-
# HTTP header 'Content-Type'
|
78
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
|
79
|
-
|
80
|
-
# form parameters
|
81
|
-
form_params = {}
|
82
|
-
|
83
|
-
# http body (model)
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
:
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
#
|
107
|
-
#
|
108
|
-
# @
|
109
|
-
# @
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
#
|
120
|
-
#
|
121
|
-
# @
|
122
|
-
# @
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
end
|
137
|
-
# verify the required parameter '
|
138
|
-
if @api_client.config.client_side_validation &&
|
139
|
-
fail ArgumentError, "Missing the required parameter '
|
140
|
-
end
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length
|
146
|
-
fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling SecureFileShareApi.get_file_detail, the character length must be
|
147
|
-
end
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
#if @api_client.config.client_side_validation && !opts[:'
|
154
|
-
#fail ArgumentError, "invalid value for 'opts[:\"
|
155
|
-
#end
|
156
|
-
|
157
|
-
#
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
query_params
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
#
|
172
|
-
header_params
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
1
|
+
=begin
|
2
|
+
#CyberSource Merged Spec
|
3
|
+
|
4
|
+
#All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'uri'
|
14
|
+
|
15
|
+
module CyberSource
|
16
|
+
class SecureFileShareApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default, config)
|
20
|
+
@api_client = api_client
|
21
|
+
@api_client.set_configuration(config)
|
22
|
+
end
|
23
|
+
# Download a File with File Identifier
|
24
|
+
# Download a file for the given file identifier
|
25
|
+
# @param file_id Unique identifier for each file
|
26
|
+
# @param [Hash] opts the optional parameters
|
27
|
+
# @option opts [String] :organization_id Valid Cybersource Organization Id
|
28
|
+
# @return [nil]
|
29
|
+
def get_file(file_id, opts = {})
|
30
|
+
data, status_code, headers = get_file_with_http_info(file_id, opts)
|
31
|
+
return data, status_code, headers
|
32
|
+
end
|
33
|
+
|
34
|
+
# Download a File with File Identifier
|
35
|
+
# Download a file for the given file identifier
|
36
|
+
# @param file_id Unique identifier for each file
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @option opts [String] :organization_id Valid Cybersource Organization Id
|
39
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
40
|
+
def get_file_with_http_info(file_id, opts = {})
|
41
|
+
|
42
|
+
if @api_client.config.debugging
|
43
|
+
begin
|
44
|
+
raise
|
45
|
+
@api_client.config.logger.debug 'Calling API: SecureFileShareApi.get_file ...'
|
46
|
+
rescue
|
47
|
+
puts 'Cannot write to log'
|
48
|
+
end
|
49
|
+
end
|
50
|
+
# verify the required parameter 'file_id' is set
|
51
|
+
if @api_client.config.client_side_validation && file_id.nil?
|
52
|
+
fail ArgumentError, "Missing the required parameter 'file_id' when calling SecureFileShareApi.get_file"
|
53
|
+
end
|
54
|
+
if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length > 32
|
55
|
+
fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling SecureFileShareApi.get_file, the character length must be smaller than or equal to 32.'
|
56
|
+
end
|
57
|
+
|
58
|
+
if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length < 1
|
59
|
+
fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling SecureFileShareApi.get_file, the character length must be great than or equal to 1.'
|
60
|
+
end
|
61
|
+
|
62
|
+
#if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'] !~ Regexp.new(/[a-zA-Z0-9-_]+/)
|
63
|
+
#fail ArgumentError, "invalid value for 'opts[:\"organization_id\"]' when calling SecureFileShareApi.get_file, must conform to the pattern /[a-zA-Z0-9-_]+/."
|
64
|
+
#end
|
65
|
+
|
66
|
+
# resource path
|
67
|
+
local_var_path = 'sfs/v1/files/{fileId}'.sub('{' + 'fileId' + '}', file_id.to_s)
|
68
|
+
|
69
|
+
# query parameters
|
70
|
+
query_params = {}
|
71
|
+
query_params[:'organizationId'] = opts[:'organization_id'] if !opts[:'organization_id'].nil?
|
72
|
+
|
73
|
+
# header parameters
|
74
|
+
header_params = {}
|
75
|
+
# HTTP header 'Accept' (if needed)
|
76
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/xml', 'text/csv', 'application/pdf'])
|
77
|
+
# HTTP header 'Content-Type'
|
78
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
|
79
|
+
|
80
|
+
# form parameters
|
81
|
+
form_params = {}
|
82
|
+
|
83
|
+
# http body (model)
|
84
|
+
if 'GET' == 'POST'
|
85
|
+
post_body = '{}'
|
86
|
+
else
|
87
|
+
post_body = nil
|
88
|
+
end
|
89
|
+
auth_names = []
|
90
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
91
|
+
:header_params => header_params,
|
92
|
+
:query_params => query_params,
|
93
|
+
:form_params => form_params,
|
94
|
+
:body => post_body,
|
95
|
+
:auth_names => auth_names)
|
96
|
+
if @api_client.config.debugging
|
97
|
+
begin
|
98
|
+
raise
|
99
|
+
@api_client.config.logger.debug "API called: SecureFileShareApi#get_file\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
100
|
+
rescue
|
101
|
+
puts 'Cannot write to log'
|
102
|
+
end
|
103
|
+
end
|
104
|
+
return data, status_code, headers
|
105
|
+
end
|
106
|
+
# Get List of Files
|
107
|
+
# Get list of files and it's information of them available inside the report directory
|
108
|
+
# @param start_date Valid start date in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd
|
109
|
+
# @param end_date Valid end date in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd
|
110
|
+
# @param [Hash] opts the optional parameters
|
111
|
+
# @option opts [String] :organization_id Valid Cybersource Organization Id
|
112
|
+
# @option opts [String] :name **Tailored to searches for specific files with in given Date range** example : MyTransactionDetailreport.xml
|
113
|
+
# @return [V1FileDetailsGet200Response]
|
114
|
+
def get_file_detail(start_date, end_date, opts = {})
|
115
|
+
data, status_code, headers = get_file_detail_with_http_info(start_date, end_date, opts)
|
116
|
+
return data, status_code, headers
|
117
|
+
end
|
118
|
+
|
119
|
+
# Get List of Files
|
120
|
+
# Get list of files and it's information of them available inside the report directory
|
121
|
+
# @param start_date Valid start date in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd
|
122
|
+
# @param end_date Valid end date in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd
|
123
|
+
# @param [Hash] opts the optional parameters
|
124
|
+
# @option opts [String] :organization_id Valid Cybersource Organization Id
|
125
|
+
# @option opts [String] :name **Tailored to searches for specific files with in given Date range** example : MyTransactionDetailreport.xml
|
126
|
+
# @return [Array<(V1FileDetailsGet200Response, Fixnum, Hash)>] V1FileDetailsGet200Response data, response status code and response headers
|
127
|
+
def get_file_detail_with_http_info(start_date, end_date, opts = {})
|
128
|
+
|
129
|
+
if @api_client.config.debugging
|
130
|
+
begin
|
131
|
+
raise
|
132
|
+
@api_client.config.logger.debug 'Calling API: SecureFileShareApi.get_file_detail ...'
|
133
|
+
rescue
|
134
|
+
puts 'Cannot write to log'
|
135
|
+
end
|
136
|
+
end
|
137
|
+
# verify the required parameter 'start_date' is set
|
138
|
+
if @api_client.config.client_side_validation && start_date.nil?
|
139
|
+
fail ArgumentError, "Missing the required parameter 'start_date' when calling SecureFileShareApi.get_file_detail"
|
140
|
+
end
|
141
|
+
# verify the required parameter 'end_date' is set
|
142
|
+
if @api_client.config.client_side_validation && end_date.nil?
|
143
|
+
fail ArgumentError, "Missing the required parameter 'end_date' when calling SecureFileShareApi.get_file_detail"
|
144
|
+
end
|
145
|
+
if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length > 32
|
146
|
+
fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling SecureFileShareApi.get_file_detail, the character length must be smaller than or equal to 32.'
|
147
|
+
end
|
148
|
+
|
149
|
+
if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length < 1
|
150
|
+
fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling SecureFileShareApi.get_file_detail, the character length must be great than or equal to 1.'
|
151
|
+
end
|
152
|
+
|
153
|
+
#if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'] !~ Regexp.new(/[a-zA-Z0-9-_]+/)
|
154
|
+
#fail ArgumentError, "invalid value for 'opts[:\"organization_id\"]' when calling SecureFileShareApi.get_file_detail, must conform to the pattern /[a-zA-Z0-9-_]+/."
|
155
|
+
#end
|
156
|
+
|
157
|
+
#if @api_client.config.client_side_validation && !opts[:'name'].nil? && opts[:'name'] !~ Regexp.new(/[a-zA-Z0-9-_\\.]+/)
|
158
|
+
#fail ArgumentError, "invalid value for 'opts[:\"name\"]' when calling SecureFileShareApi.get_file_detail, must conform to the pattern /[a-zA-Z0-9-_\\.]+/."
|
159
|
+
#end
|
160
|
+
|
161
|
+
# resource path
|
162
|
+
local_var_path = 'sfs/v1/file-details'
|
163
|
+
|
164
|
+
# query parameters
|
165
|
+
query_params = {}
|
166
|
+
query_params[:'startDate'] = start_date
|
167
|
+
query_params[:'endDate'] = end_date
|
168
|
+
query_params[:'organizationId'] = opts[:'organization_id'] if !opts[:'organization_id'].nil?
|
169
|
+
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
170
|
+
|
171
|
+
# header parameters
|
172
|
+
header_params = {}
|
173
|
+
# HTTP header 'Accept' (if needed)
|
174
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json'])
|
175
|
+
# HTTP header 'Content-Type'
|
176
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
|
177
|
+
|
178
|
+
# form parameters
|
179
|
+
form_params = {}
|
180
|
+
|
181
|
+
# http body (model)
|
182
|
+
if 'GET' == 'POST'
|
183
|
+
post_body = '{}'
|
184
|
+
else
|
185
|
+
post_body = nil
|
186
|
+
end
|
187
|
+
auth_names = []
|
188
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
189
|
+
:header_params => header_params,
|
190
|
+
:query_params => query_params,
|
191
|
+
:form_params => form_params,
|
192
|
+
:body => post_body,
|
193
|
+
:auth_names => auth_names,
|
194
|
+
:return_type => 'V1FileDetailsGet200Response')
|
195
|
+
if @api_client.config.debugging
|
196
|
+
begin
|
197
|
+
raise
|
198
|
+
@api_client.config.logger.debug "API called: SecureFileShareApi#get_file_detail\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
199
|
+
rescue
|
200
|
+
puts 'Cannot write to log'
|
201
|
+
end
|
202
|
+
end
|
203
|
+
return data, status_code, headers
|
204
|
+
end
|
205
|
+
end
|
206
|
+
end
|
@@ -268,7 +268,11 @@ module CyberSource
|
|
268
268
|
form_params = {}
|
269
269
|
|
270
270
|
# http body (model)
|
271
|
-
|
271
|
+
if 'GET' == 'POST'
|
272
|
+
post_body = '{}'
|
273
|
+
else
|
274
|
+
post_body = nil
|
275
|
+
end
|
272
276
|
auth_names = []
|
273
277
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
274
278
|
:header_params => header_params,
|