cybersource_rest_client 0.0.36 → 0.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/AuthenticationSDK/authentication/http/GetSignatureParameter.rb +13 -6
- data/lib/AuthenticationSDK/authentication/http/HttpSignatureHeader.rb +13 -5
- data/lib/AuthenticationSDK/authentication/jwt/JwtToken.rb +26 -11
- data/lib/AuthenticationSDK/authentication/oauth/OAuthToken.rb +11 -5
- data/lib/AuthenticationSDK/authentication/payloadDigest/digest.rb +2 -2
- data/lib/AuthenticationSDK/core/Authorization.rb +28 -20
- data/lib/AuthenticationSDK/core/MerchantConfig.rb +72 -78
- data/lib/AuthenticationSDK/logging/log_configuration.rb +71 -0
- data/lib/AuthenticationSDK/logging/log_factory.rb +65 -0
- data/lib/AuthenticationSDK/logging/sensitive_logging.rb +101 -0
- data/lib/AuthenticationSDK/util/Cache.rb +1 -1
- data/lib/AuthenticationSDK/util/Constants.rb +25 -17
- data/lib/AuthenticationSDK/util/ExceptionHandler.rb +26 -0
- data/lib/AuthenticationSDK/util/PropertiesUtil.rb +2 -2
- data/lib/cybersource_rest_client/api/asymmetric_key_management_api.rb +46 -46
- data/lib/cybersource_rest_client/api/capture_api.rb +16 -16
- data/lib/cybersource_rest_client/api/chargeback_details_api.rb +16 -16
- data/lib/cybersource_rest_client/api/chargeback_summaries_api.rb +16 -16
- data/lib/cybersource_rest_client/api/conversion_details_api.rb +16 -16
- data/lib/cybersource_rest_client/api/credit_api.rb +16 -16
- data/lib/cybersource_rest_client/api/customer_api.rb +61 -61
- data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +76 -76
- data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +76 -76
- data/lib/cybersource_rest_client/api/decision_manager_api.rb +46 -46
- data/lib/cybersource_rest_client/api/download_dtd_api.rb +16 -16
- data/lib/cybersource_rest_client/api/download_xsd_api.rb +16 -16
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +91 -91
- data/lib/cybersource_rest_client/api/interchange_clearing_level_details_api.rb +16 -16
- data/lib/cybersource_rest_client/api/invoice_settings_api.rb +31 -31
- data/lib/cybersource_rest_client/api/invoices_api.rb +97 -97
- data/lib/cybersource_rest_client/api/key_generation_api.rb +16 -16
- data/lib/cybersource_rest_client/api/net_fundings_api.rb +16 -16
- data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +16 -16
- data/lib/cybersource_rest_client/api/payer_authentication_api.rb +46 -46
- data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +16 -16
- data/lib/cybersource_rest_client/api/payment_instrument_api.rb +61 -61
- data/lib/cybersource_rest_client/api/payments_api.rb +33 -33
- data/lib/cybersource_rest_client/api/payouts_api.rb +16 -16
- data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +16 -16
- data/lib/cybersource_rest_client/api/refund_api.rb +31 -31
- data/lib/cybersource_rest_client/api/report_definitions_api.rb +31 -31
- data/lib/cybersource_rest_client/api/report_downloads_api.rb +16 -16
- data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +76 -76
- data/lib/cybersource_rest_client/api/reports_api.rb +46 -46
- data/lib/cybersource_rest_client/api/retrieval_details_api.rb +16 -16
- data/lib/cybersource_rest_client/api/retrieval_summaries_api.rb +16 -16
- data/lib/cybersource_rest_client/api/reversal_api.rb +31 -31
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +31 -31
- data/lib/cybersource_rest_client/api/secure_file_share_api.rb +31 -31
- data/lib/cybersource_rest_client/api/symmetric_key_management_api.rb +46 -46
- data/lib/cybersource_rest_client/api/taxes_api.rb +31 -31
- data/lib/cybersource_rest_client/api/tokenization_api.rb +16 -16
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +46 -46
- data/lib/cybersource_rest_client/api/transaction_details_api.rb +16 -16
- data/lib/cybersource_rest_client/api/user_management_api.rb +16 -16
- data/lib/cybersource_rest_client/api/user_management_search_api.rb +16 -16
- data/lib/cybersource_rest_client/api/verification_api.rb +31 -31
- data/lib/cybersource_rest_client/api/void_api.rb +76 -76
- data/lib/cybersource_rest_client/api_client.rb +7 -8
- data/lib/cybersource_rest_client/models/create_adhoc_report_request.rb +2 -5
- data/lib/cybersource_rest_client/models/create_payment_request.rb +19 -1
- data/lib/cybersource_rest_client/models/create_search_request.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details.rb +20 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +10 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_buyer_information.rb +243 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +10 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information_issuer_information.rb +206 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information_strong_authentication.rb +183 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +52 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +17 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +33 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +15 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +17 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information_strong_authentication.rb +17 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_device_information.rb +17 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +24 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_invoice_details.rb +191 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +65 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +17 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +20 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +33 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +13 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +14 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_e_wallet.rb +190 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_processor_information.rb +191 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +17 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +14 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_bank.rb +215 -0
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +36 -4
- data/lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb +17 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information.rb +17 -1
- data/lib/cybersource_rest_client/models/reportingv3reports_report_filters.rb +218 -0
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +17 -1
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +17 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +17 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +10 -11
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information.rb +10 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information_partner.rb +190 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_installment_information.rb +14 -4
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +13 -4
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information.rb +32 -5
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_customer.rb +206 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_instrument_identifier.rb +190 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +36 -4
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_token_information.rb +210 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information.rb +13 -4
- data/lib/cybersource_rest_client/utilities/flex/token_verification.rb +4 -4
- data/lib/cybersource_rest_client.rb +17 -3
- metadata +18 -4
- data/lib/AuthenticationSDK/core/Logger.rb +0 -26
- data/lib/AuthenticationSDK/util/ApiException.rb +0 -19
|
@@ -18,7 +18,7 @@ module CyberSource
|
|
|
18
18
|
|
|
19
19
|
def initialize(api_client = ApiClient.default, config)
|
|
20
20
|
@api_client = api_client
|
|
21
|
-
|
|
21
|
+
@api_client.set_configuration(config)
|
|
22
22
|
end
|
|
23
23
|
# Delete an Instrument Identifier
|
|
24
24
|
# @param instrument_identifier_token_id The TokenId of a Instrument Identifier.
|
|
@@ -36,14 +36,14 @@ module CyberSource
|
|
|
36
36
|
# @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
|
|
37
37
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
38
38
|
def delete_instrument_identifier_with_http_info(instrument_identifier_token_id, opts = {})
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
39
|
+
|
|
40
|
+
if @api_client.config.debugging
|
|
41
|
+
begin
|
|
42
|
+
raise
|
|
43
|
+
@api_client.config.logger.debug 'Calling API: InstrumentIdentifierApi.delete_instrument_identifier ...'
|
|
44
|
+
rescue
|
|
45
|
+
puts 'Cannot write to log'
|
|
46
|
+
end
|
|
47
47
|
end
|
|
48
48
|
# verify the required parameter 'instrument_identifier_token_id' is set
|
|
49
49
|
if @api_client.config.client_side_validation && instrument_identifier_token_id.nil?
|
|
@@ -92,13 +92,13 @@ module CyberSource
|
|
|
92
92
|
:body => post_body,
|
|
93
93
|
:auth_names => auth_names)
|
|
94
94
|
if @api_client.config.debugging
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
95
|
+
begin
|
|
96
|
+
raise
|
|
97
|
+
@api_client.config.logger.debug "API called: InstrumentIdentifierApi#delete_instrument_identifier\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
98
|
+
rescue
|
|
99
|
+
puts 'Cannot write to log'
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
102
|
return data, status_code, headers
|
|
103
103
|
end
|
|
104
104
|
# Retrieve an Instrument Identifier
|
|
@@ -117,14 +117,14 @@ module CyberSource
|
|
|
117
117
|
# @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
|
|
118
118
|
# @return [Array<(Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifier, Fixnum, Hash)>] Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifier data, response status code and response headers
|
|
119
119
|
def get_instrument_identifier_with_http_info(instrument_identifier_token_id, opts = {})
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
120
|
+
|
|
121
|
+
if @api_client.config.debugging
|
|
122
|
+
begin
|
|
123
|
+
raise
|
|
124
|
+
@api_client.config.logger.debug 'Calling API: InstrumentIdentifierApi.get_instrument_identifier ...'
|
|
125
|
+
rescue
|
|
126
|
+
puts 'Cannot write to log'
|
|
127
|
+
end
|
|
128
128
|
end
|
|
129
129
|
# verify the required parameter 'instrument_identifier_token_id' is set
|
|
130
130
|
if @api_client.config.client_side_validation && instrument_identifier_token_id.nil?
|
|
@@ -174,13 +174,13 @@ module CyberSource
|
|
|
174
174
|
:auth_names => auth_names,
|
|
175
175
|
:return_type => 'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifier')
|
|
176
176
|
if @api_client.config.debugging
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
177
|
+
begin
|
|
178
|
+
raise
|
|
179
|
+
@api_client.config.logger.debug "API called: InstrumentIdentifierApi#get_instrument_identifier\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
180
|
+
rescue
|
|
181
|
+
puts 'Cannot write to log'
|
|
182
|
+
end
|
|
183
|
+
end
|
|
184
184
|
return data, status_code, headers
|
|
185
185
|
end
|
|
186
186
|
# List Payment Instruments for an Instrument Identifier
|
|
@@ -203,14 +203,14 @@ module CyberSource
|
|
|
203
203
|
# @option opts [Integer] :limit The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100.
|
|
204
204
|
# @return [Array<(PaymentInstrumentList, Fixnum, Hash)>] PaymentInstrumentList data, response status code and response headers
|
|
205
205
|
def get_instrument_identifier_payment_instruments_list_with_http_info(instrument_identifier_token_id, opts = {})
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
206
|
+
|
|
207
|
+
if @api_client.config.debugging
|
|
208
|
+
begin
|
|
209
|
+
raise
|
|
210
|
+
@api_client.config.logger.debug 'Calling API: InstrumentIdentifierApi.get_instrument_identifier_payment_instruments_list ...'
|
|
211
|
+
rescue
|
|
212
|
+
puts 'Cannot write to log'
|
|
213
|
+
end
|
|
214
214
|
end
|
|
215
215
|
# verify the required parameter 'instrument_identifier_token_id' is set
|
|
216
216
|
if @api_client.config.client_side_validation && instrument_identifier_token_id.nil?
|
|
@@ -274,13 +274,13 @@ module CyberSource
|
|
|
274
274
|
:auth_names => auth_names,
|
|
275
275
|
:return_type => 'PaymentInstrumentList')
|
|
276
276
|
if @api_client.config.debugging
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
277
|
+
begin
|
|
278
|
+
raise
|
|
279
|
+
@api_client.config.logger.debug "API called: InstrumentIdentifierApi#get_instrument_identifier_payment_instruments_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
280
|
+
rescue
|
|
281
|
+
puts 'Cannot write to log'
|
|
282
|
+
end
|
|
283
|
+
end
|
|
284
284
|
return data, status_code, headers
|
|
285
285
|
end
|
|
286
286
|
# Update an Instrument Identifier
|
|
@@ -303,14 +303,14 @@ module CyberSource
|
|
|
303
303
|
# @option opts [String] :if_match Contains an ETag value from a GET request to make the request conditional.
|
|
304
304
|
# @return [Array<(Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifier, Fixnum, Hash)>] Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifier data, response status code and response headers
|
|
305
305
|
def patch_instrument_identifier_with_http_info(instrument_identifier_token_id, patch_instrument_identifier_request, opts = {})
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
306
|
+
|
|
307
|
+
if @api_client.config.debugging
|
|
308
|
+
begin
|
|
309
|
+
raise
|
|
310
|
+
@api_client.config.logger.debug 'Calling API: InstrumentIdentifierApi.patch_instrument_identifier ...'
|
|
311
|
+
rescue
|
|
312
|
+
puts 'Cannot write to log'
|
|
313
|
+
end
|
|
314
314
|
end
|
|
315
315
|
# verify the required parameter 'instrument_identifier_token_id' is set
|
|
316
316
|
if @api_client.config.client_side_validation && instrument_identifier_token_id.nil?
|
|
@@ -373,13 +373,13 @@ module CyberSource
|
|
|
373
373
|
:auth_names => auth_names,
|
|
374
374
|
:return_type => 'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifier')
|
|
375
375
|
if @api_client.config.debugging
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
376
|
+
begin
|
|
377
|
+
raise
|
|
378
|
+
@api_client.config.logger.debug "API called: InstrumentIdentifierApi#patch_instrument_identifier\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
379
|
+
rescue
|
|
380
|
+
puts 'Cannot write to log'
|
|
381
|
+
end
|
|
382
|
+
end
|
|
383
383
|
return data, status_code, headers
|
|
384
384
|
end
|
|
385
385
|
# Create an Instrument Identifier
|
|
@@ -398,14 +398,14 @@ module CyberSource
|
|
|
398
398
|
# @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
|
|
399
399
|
# @return [Array<(Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifier, Fixnum, Hash)>] Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifier data, response status code and response headers
|
|
400
400
|
def post_instrument_identifier_with_http_info(post_instrument_identifier_request, opts = {})
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
401
|
+
|
|
402
|
+
if @api_client.config.debugging
|
|
403
|
+
begin
|
|
404
|
+
raise
|
|
405
|
+
@api_client.config.logger.debug 'Calling API: InstrumentIdentifierApi.post_instrument_identifier ...'
|
|
406
|
+
rescue
|
|
407
|
+
puts 'Cannot write to log'
|
|
408
|
+
end
|
|
409
409
|
end
|
|
410
410
|
# verify the required parameter 'post_instrument_identifier_request' is set
|
|
411
411
|
if @api_client.config.client_side_validation && post_instrument_identifier_request.nil?
|
|
@@ -447,13 +447,13 @@ module CyberSource
|
|
|
447
447
|
:auth_names => auth_names,
|
|
448
448
|
:return_type => 'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifier')
|
|
449
449
|
if @api_client.config.debugging
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
450
|
+
begin
|
|
451
|
+
raise
|
|
452
|
+
@api_client.config.logger.debug "API called: InstrumentIdentifierApi#post_instrument_identifier\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
453
|
+
rescue
|
|
454
|
+
puts 'Cannot write to log'
|
|
455
|
+
end
|
|
456
|
+
end
|
|
457
457
|
return data, status_code, headers
|
|
458
458
|
end
|
|
459
459
|
# Enroll an Instrument Identifier for Network Tokenization
|
|
@@ -474,14 +474,14 @@ module CyberSource
|
|
|
474
474
|
# @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
|
|
475
475
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
476
476
|
def post_instrument_identifier_enrollment_with_http_info(instrument_identifier_token_id, post_instrument_identifier_enrollment_request, opts = {})
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
477
|
+
|
|
478
|
+
if @api_client.config.debugging
|
|
479
|
+
begin
|
|
480
|
+
raise
|
|
481
|
+
@api_client.config.logger.debug 'Calling API: InstrumentIdentifierApi.post_instrument_identifier_enrollment ...'
|
|
482
|
+
rescue
|
|
483
|
+
puts 'Cannot write to log'
|
|
484
|
+
end
|
|
485
485
|
end
|
|
486
486
|
# verify the required parameter 'instrument_identifier_token_id' is set
|
|
487
487
|
if @api_client.config.client_side_validation && instrument_identifier_token_id.nil?
|
|
@@ -534,13 +534,13 @@ module CyberSource
|
|
|
534
534
|
:body => post_body,
|
|
535
535
|
:auth_names => auth_names)
|
|
536
536
|
if @api_client.config.debugging
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
537
|
+
begin
|
|
538
|
+
raise
|
|
539
|
+
@api_client.config.logger.debug "API called: InstrumentIdentifierApi#post_instrument_identifier_enrollment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
540
|
+
rescue
|
|
541
|
+
puts 'Cannot write to log'
|
|
542
|
+
end
|
|
543
|
+
end
|
|
544
544
|
return data, status_code, headers
|
|
545
545
|
end
|
|
546
546
|
end
|
|
@@ -18,7 +18,7 @@ module CyberSource
|
|
|
18
18
|
|
|
19
19
|
def initialize(api_client = ApiClient.default, config)
|
|
20
20
|
@api_client = api_client
|
|
21
|
-
|
|
21
|
+
@api_client.set_configuration(config)
|
|
22
22
|
end
|
|
23
23
|
# Interchange Clearing Level data for an account or a merchant
|
|
24
24
|
# Interchange Clearing Level data for an account or a merchant
|
|
@@ -40,14 +40,14 @@ module CyberSource
|
|
|
40
40
|
# @option opts [String] :organization_id Valid Organization Id
|
|
41
41
|
# @return [Array<(ReportingV3InterchangeClearingLevelDetailsGet200Response, Fixnum, Hash)>] ReportingV3InterchangeClearingLevelDetailsGet200Response data, response status code and response headers
|
|
42
42
|
def get_interchange_clearing_level_details_with_http_info(start_time, end_time, opts = {})
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
43
|
+
|
|
44
|
+
if @api_client.config.debugging
|
|
45
|
+
begin
|
|
46
|
+
raise
|
|
47
|
+
@api_client.config.logger.debug 'Calling API: InterchangeClearingLevelDetailsApi.get_interchange_clearing_level_details ...'
|
|
48
|
+
rescue
|
|
49
|
+
puts 'Cannot write to log'
|
|
50
|
+
end
|
|
51
51
|
end
|
|
52
52
|
# verify the required parameter 'start_time' is set
|
|
53
53
|
if @api_client.config.client_side_validation && start_time.nil?
|
|
@@ -99,13 +99,13 @@ module CyberSource
|
|
|
99
99
|
:auth_names => auth_names,
|
|
100
100
|
:return_type => 'ReportingV3InterchangeClearingLevelDetailsGet200Response')
|
|
101
101
|
if @api_client.config.debugging
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
102
|
+
begin
|
|
103
|
+
raise
|
|
104
|
+
@api_client.config.logger.debug "API called: InterchangeClearingLevelDetailsApi#get_interchange_clearing_level_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
105
|
+
rescue
|
|
106
|
+
puts 'Cannot write to log'
|
|
107
|
+
end
|
|
108
|
+
end
|
|
109
109
|
return data, status_code, headers
|
|
110
110
|
end
|
|
111
111
|
end
|
|
@@ -18,7 +18,7 @@ module CyberSource
|
|
|
18
18
|
|
|
19
19
|
def initialize(api_client = ApiClient.default, config)
|
|
20
20
|
@api_client = api_client
|
|
21
|
-
|
|
21
|
+
@api_client.set_configuration(config)
|
|
22
22
|
end
|
|
23
23
|
# Get Invoice Settings
|
|
24
24
|
# Get the invoice settings for the invoice payment page.
|
|
@@ -34,14 +34,14 @@ module CyberSource
|
|
|
34
34
|
# @param [Hash] opts the optional parameters
|
|
35
35
|
# @return [Array<(InvoicingV2InvoiceSettingsGet200Response, Fixnum, Hash)>] InvoicingV2InvoiceSettingsGet200Response data, response status code and response headers
|
|
36
36
|
def get_invoice_settings_with_http_info(opts = {})
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
37
|
+
|
|
38
|
+
if @api_client.config.debugging
|
|
39
|
+
begin
|
|
40
|
+
raise
|
|
41
|
+
@api_client.config.logger.debug 'Calling API: InvoiceSettingsApi.get_invoice_settings ...'
|
|
42
|
+
rescue
|
|
43
|
+
puts 'Cannot write to log'
|
|
44
|
+
end
|
|
45
45
|
end
|
|
46
46
|
# resource path
|
|
47
47
|
local_var_path = 'invoicing/v2/invoiceSettings'
|
|
@@ -70,13 +70,13 @@ module CyberSource
|
|
|
70
70
|
:auth_names => auth_names,
|
|
71
71
|
:return_type => 'InvoicingV2InvoiceSettingsGet200Response')
|
|
72
72
|
if @api_client.config.debugging
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
73
|
+
begin
|
|
74
|
+
raise
|
|
75
|
+
@api_client.config.logger.debug "API called: InvoiceSettingsApi#get_invoice_settings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
76
|
+
rescue
|
|
77
|
+
puts 'Cannot write to log'
|
|
78
|
+
end
|
|
79
|
+
end
|
|
80
80
|
return data, status_code, headers
|
|
81
81
|
end
|
|
82
82
|
# Update Invoice Settings
|
|
@@ -95,14 +95,14 @@ module CyberSource
|
|
|
95
95
|
# @param [Hash] opts the optional parameters
|
|
96
96
|
# @return [Array<(InvoicingV2InvoiceSettingsGet200Response, Fixnum, Hash)>] InvoicingV2InvoiceSettingsGet200Response data, response status code and response headers
|
|
97
97
|
def update_invoice_settings_with_http_info(invoice_settings_request, opts = {})
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
98
|
+
|
|
99
|
+
if @api_client.config.debugging
|
|
100
|
+
begin
|
|
101
|
+
raise
|
|
102
|
+
@api_client.config.logger.debug 'Calling API: InvoiceSettingsApi.update_invoice_settings ...'
|
|
103
|
+
rescue
|
|
104
|
+
puts 'Cannot write to log'
|
|
105
|
+
end
|
|
106
106
|
end
|
|
107
107
|
# verify the required parameter 'invoice_settings_request' is set
|
|
108
108
|
if @api_client.config.client_side_validation && invoice_settings_request.nil?
|
|
@@ -135,13 +135,13 @@ module CyberSource
|
|
|
135
135
|
:auth_names => auth_names,
|
|
136
136
|
:return_type => 'InvoicingV2InvoiceSettingsGet200Response')
|
|
137
137
|
if @api_client.config.debugging
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
138
|
+
begin
|
|
139
|
+
raise
|
|
140
|
+
@api_client.config.logger.debug "API called: InvoiceSettingsApi#update_invoice_settings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
141
|
+
rescue
|
|
142
|
+
puts 'Cannot write to log'
|
|
143
|
+
end
|
|
144
|
+
end
|
|
145
145
|
return data, status_code, headers
|
|
146
146
|
end
|
|
147
147
|
end
|