cybersource_rest_client 0.0.37 → 0.0.38

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/lib/AuthenticationSDK/authentication/http/GetSignatureParameter.rb +13 -6
  3. data/lib/AuthenticationSDK/authentication/http/HttpSignatureHeader.rb +13 -5
  4. data/lib/AuthenticationSDK/authentication/jwt/JwtToken.rb +26 -11
  5. data/lib/AuthenticationSDK/authentication/oauth/OAuthToken.rb +11 -5
  6. data/lib/AuthenticationSDK/authentication/payloadDigest/digest.rb +2 -2
  7. data/lib/AuthenticationSDK/core/Authorization.rb +28 -20
  8. data/lib/AuthenticationSDK/core/MerchantConfig.rb +72 -78
  9. data/lib/AuthenticationSDK/logging/log_configuration.rb +71 -0
  10. data/lib/AuthenticationSDK/logging/log_factory.rb +65 -0
  11. data/lib/AuthenticationSDK/logging/sensitive_logging.rb +101 -0
  12. data/lib/AuthenticationSDK/util/Cache.rb +1 -1
  13. data/lib/AuthenticationSDK/util/Constants.rb +25 -17
  14. data/lib/AuthenticationSDK/util/ExceptionHandler.rb +26 -0
  15. data/lib/AuthenticationSDK/util/PropertiesUtil.rb +2 -2
  16. data/lib/cybersource_rest_client/api/asymmetric_key_management_api.rb +46 -46
  17. data/lib/cybersource_rest_client/api/capture_api.rb +16 -16
  18. data/lib/cybersource_rest_client/api/chargeback_details_api.rb +16 -16
  19. data/lib/cybersource_rest_client/api/chargeback_summaries_api.rb +16 -16
  20. data/lib/cybersource_rest_client/api/conversion_details_api.rb +16 -16
  21. data/lib/cybersource_rest_client/api/credit_api.rb +16 -16
  22. data/lib/cybersource_rest_client/api/customer_api.rb +61 -61
  23. data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +76 -76
  24. data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +76 -76
  25. data/lib/cybersource_rest_client/api/decision_manager_api.rb +46 -46
  26. data/lib/cybersource_rest_client/api/download_dtd_api.rb +16 -16
  27. data/lib/cybersource_rest_client/api/download_xsd_api.rb +16 -16
  28. data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +91 -91
  29. data/lib/cybersource_rest_client/api/interchange_clearing_level_details_api.rb +16 -16
  30. data/lib/cybersource_rest_client/api/invoice_settings_api.rb +31 -31
  31. data/lib/cybersource_rest_client/api/invoices_api.rb +91 -91
  32. data/lib/cybersource_rest_client/api/key_generation_api.rb +16 -16
  33. data/lib/cybersource_rest_client/api/net_fundings_api.rb +16 -16
  34. data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +16 -16
  35. data/lib/cybersource_rest_client/api/payer_authentication_api.rb +46 -46
  36. data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +16 -16
  37. data/lib/cybersource_rest_client/api/payment_instrument_api.rb +61 -61
  38. data/lib/cybersource_rest_client/api/payments_api.rb +31 -31
  39. data/lib/cybersource_rest_client/api/payouts_api.rb +16 -16
  40. data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +16 -16
  41. data/lib/cybersource_rest_client/api/refund_api.rb +31 -31
  42. data/lib/cybersource_rest_client/api/report_definitions_api.rb +31 -31
  43. data/lib/cybersource_rest_client/api/report_downloads_api.rb +16 -16
  44. data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +76 -76
  45. data/lib/cybersource_rest_client/api/reports_api.rb +46 -46
  46. data/lib/cybersource_rest_client/api/retrieval_details_api.rb +16 -16
  47. data/lib/cybersource_rest_client/api/retrieval_summaries_api.rb +16 -16
  48. data/lib/cybersource_rest_client/api/reversal_api.rb +31 -31
  49. data/lib/cybersource_rest_client/api/search_transactions_api.rb +31 -31
  50. data/lib/cybersource_rest_client/api/secure_file_share_api.rb +31 -31
  51. data/lib/cybersource_rest_client/api/symmetric_key_management_api.rb +46 -46
  52. data/lib/cybersource_rest_client/api/taxes_api.rb +31 -31
  53. data/lib/cybersource_rest_client/api/tokenization_api.rb +16 -16
  54. data/lib/cybersource_rest_client/api/transaction_batches_api.rb +46 -46
  55. data/lib/cybersource_rest_client/api/transaction_details_api.rb +16 -16
  56. data/lib/cybersource_rest_client/api/user_management_api.rb +16 -16
  57. data/lib/cybersource_rest_client/api/user_management_search_api.rb +16 -16
  58. data/lib/cybersource_rest_client/api/verification_api.rb +31 -31
  59. data/lib/cybersource_rest_client/api/void_api.rb +76 -76
  60. data/lib/cybersource_rest_client/api_client.rb +7 -8
  61. data/lib/cybersource_rest_client/models/create_adhoc_report_request.rb +2 -5
  62. data/lib/cybersource_rest_client/models/create_payment_request.rb +19 -1
  63. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details.rb +20 -4
  64. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +36 -4
  65. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +33 -1
  66. data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +17 -1
  67. data/lib/cybersource_rest_client/models/ptsv2payments_device_information.rb +17 -1
  68. data/lib/cybersource_rest_client/models/ptsv2payments_invoice_details.rb +191 -0
  69. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +49 -1
  70. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +17 -1
  71. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +20 -4
  72. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +33 -1
  73. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +13 -4
  74. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +14 -4
  75. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_e_wallet.rb +190 -0
  76. data/lib/cybersource_rest_client/models/ptsv2payments_processor_information.rb +191 -0
  77. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +14 -5
  78. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_bank.rb +215 -0
  79. data/lib/cybersource_rest_client/models/reportingv3reports_report_filters.rb +218 -0
  80. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +17 -1
  81. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +17 -1
  82. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +17 -1
  83. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_installment_information.rb +14 -4
  84. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +13 -4
  85. data/lib/cybersource_rest_client/utilities/flex/token_verification.rb +4 -4
  86. data/lib/cybersource_rest_client.rb +9 -2
  87. metadata +11 -4
  88. data/lib/AuthenticationSDK/core/Logger.rb +0 -26
  89. 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
- @api_client.set_configuration(config)
21
+ @api_client.set_configuration(config)
22
22
  end
23
23
  # Create a New Invoice
24
24
  # Create a new invoice.
@@ -36,14 +36,14 @@ module CyberSource
36
36
  # @param [Hash] opts the optional parameters
37
37
  # @return [Array<(InvoicingV2InvoicesPost201Response, Fixnum, Hash)>] InvoicingV2InvoicesPost201Response data, response status code and response headers
38
38
  def create_invoice_with_http_info(create_invoice_request, opts = {})
39
-
40
- if @api_client.config.debugging
41
- begin
42
- raise
43
- @api_client.config.logger.debug 'Calling API: InvoicesApi.create_invoice ...'
44
- rescue
45
- puts 'Cannot write to log'
46
- end
39
+
40
+ if @api_client.config.debugging
41
+ begin
42
+ raise
43
+ @api_client.config.logger.debug 'Calling API: InvoicesApi.create_invoice ...'
44
+ rescue
45
+ puts 'Cannot write to log'
46
+ end
47
47
  end
48
48
  # verify the required parameter 'create_invoice_request' is set
49
49
  if @api_client.config.client_side_validation && create_invoice_request.nil?
@@ -76,13 +76,13 @@ module CyberSource
76
76
  :auth_names => auth_names,
77
77
  :return_type => 'InvoicingV2InvoicesPost201Response')
78
78
  if @api_client.config.debugging
79
- begin
80
- raise
81
- @api_client.config.logger.debug "API called: InvoicesApi#create_invoice\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
- rescue
83
- puts 'Cannot write to log'
84
- end
85
- end
79
+ begin
80
+ raise
81
+ @api_client.config.logger.debug "API called: InvoicesApi#create_invoice\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
+ rescue
83
+ puts 'Cannot write to log'
84
+ end
85
+ end
86
86
  return data, status_code, headers
87
87
  end
88
88
  # Get a List of Invoices
@@ -105,14 +105,14 @@ module CyberSource
105
105
  # @option opts [String] :status The status of the invoice. Possible values: - DRAFT - CREATED - SENT - PARTIAL - PAID - CANCELED
106
106
  # @return [Array<(InvoicingV2InvoicesAllGet200Response, Fixnum, Hash)>] InvoicingV2InvoicesAllGet200Response data, response status code and response headers
107
107
  def get_all_invoices_with_http_info(offset, limit, opts = {})
108
-
109
- if @api_client.config.debugging
110
- begin
111
- raise
112
- @api_client.config.logger.debug 'Calling API: InvoicesApi.get_all_invoices ...'
113
- rescue
114
- puts 'Cannot write to log'
115
- end
108
+
109
+ if @api_client.config.debugging
110
+ begin
111
+ raise
112
+ @api_client.config.logger.debug 'Calling API: InvoicesApi.get_all_invoices ...'
113
+ rescue
114
+ puts 'Cannot write to log'
115
+ end
116
116
  end
117
117
  # verify the required parameter 'offset' is set
118
118
  if @api_client.config.client_side_validation && offset.nil?
@@ -152,13 +152,13 @@ module CyberSource
152
152
  :auth_names => auth_names,
153
153
  :return_type => 'InvoicingV2InvoicesAllGet200Response')
154
154
  if @api_client.config.debugging
155
- begin
156
- raise
157
- @api_client.config.logger.debug "API called: InvoicesApi#get_all_invoices\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
158
- rescue
159
- puts 'Cannot write to log'
160
- end
161
- end
155
+ begin
156
+ raise
157
+ @api_client.config.logger.debug "API called: InvoicesApi#get_all_invoices\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
158
+ rescue
159
+ puts 'Cannot write to log'
160
+ end
161
+ end
162
162
  return data, status_code, headers
163
163
  end
164
164
  # Get Invoice Details
@@ -177,14 +177,14 @@ module CyberSource
177
177
  # @param [Hash] opts the optional parameters
178
178
  # @return [Array<(InvoicingV2InvoicesGet200Response, Fixnum, Hash)>] InvoicingV2InvoicesGet200Response data, response status code and response headers
179
179
  def get_invoice_with_http_info(id, opts = {})
180
-
181
- if @api_client.config.debugging
182
- begin
183
- raise
184
- @api_client.config.logger.debug 'Calling API: InvoicesApi.get_invoice ...'
185
- rescue
186
- puts 'Cannot write to log'
187
- end
180
+
181
+ if @api_client.config.debugging
182
+ begin
183
+ raise
184
+ @api_client.config.logger.debug 'Calling API: InvoicesApi.get_invoice ...'
185
+ rescue
186
+ puts 'Cannot write to log'
187
+ end
188
188
  end
189
189
  # verify the required parameter 'id' is set
190
190
  if @api_client.config.client_side_validation && id.nil?
@@ -217,13 +217,13 @@ module CyberSource
217
217
  :auth_names => auth_names,
218
218
  :return_type => 'InvoicingV2InvoicesGet200Response')
219
219
  if @api_client.config.debugging
220
- begin
221
- raise
222
- @api_client.config.logger.debug "API called: InvoicesApi#get_invoice\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
223
- rescue
224
- puts 'Cannot write to log'
225
- end
226
- end
220
+ begin
221
+ raise
222
+ @api_client.config.logger.debug "API called: InvoicesApi#get_invoice\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
223
+ rescue
224
+ puts 'Cannot write to log'
225
+ end
226
+ end
227
227
  return data, status_code, headers
228
228
  end
229
229
  # Cancel an Invoice
@@ -242,14 +242,14 @@ module CyberSource
242
242
  # @param [Hash] opts the optional parameters
243
243
  # @return [Array<(InvoicingV2InvoicesPost201Response, Fixnum, Hash)>] InvoicingV2InvoicesPost201Response data, response status code and response headers
244
244
  def perform_cancel_action_with_http_info(id, opts = {})
245
-
246
- if @api_client.config.debugging
247
- begin
248
- raise
249
- @api_client.config.logger.debug 'Calling API: InvoicesApi.perform_cancel_action ...'
250
- rescue
251
- puts 'Cannot write to log'
252
- end
245
+
246
+ if @api_client.config.debugging
247
+ begin
248
+ raise
249
+ @api_client.config.logger.debug 'Calling API: InvoicesApi.perform_cancel_action ...'
250
+ rescue
251
+ puts 'Cannot write to log'
252
+ end
253
253
  end
254
254
  # verify the required parameter 'id' is set
255
255
  if @api_client.config.client_side_validation && id.nil?
@@ -282,13 +282,13 @@ module CyberSource
282
282
  :auth_names => auth_names,
283
283
  :return_type => 'InvoicingV2InvoicesPost201Response')
284
284
  if @api_client.config.debugging
285
- begin
286
- raise
287
- @api_client.config.logger.debug "API called: InvoicesApi#perform_cancel_action\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
288
- rescue
289
- puts 'Cannot write to log'
290
- end
291
- end
285
+ begin
286
+ raise
287
+ @api_client.config.logger.debug "API called: InvoicesApi#perform_cancel_action\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
288
+ rescue
289
+ puts 'Cannot write to log'
290
+ end
291
+ end
292
292
  return data, status_code, headers
293
293
  end
294
294
  # Send an Invoice
@@ -307,14 +307,14 @@ module CyberSource
307
307
  # @param [Hash] opts the optional parameters
308
308
  # @return [Array<(InvoicingV2InvoicesPost201Response, Fixnum, Hash)>] InvoicingV2InvoicesPost201Response data, response status code and response headers
309
309
  def perform_send_action_with_http_info(id, opts = {})
310
-
311
- if @api_client.config.debugging
312
- begin
313
- raise
314
- @api_client.config.logger.debug 'Calling API: InvoicesApi.perform_send_action ...'
315
- rescue
316
- puts 'Cannot write to log'
317
- end
310
+
311
+ if @api_client.config.debugging
312
+ begin
313
+ raise
314
+ @api_client.config.logger.debug 'Calling API: InvoicesApi.perform_send_action ...'
315
+ rescue
316
+ puts 'Cannot write to log'
317
+ end
318
318
  end
319
319
  # verify the required parameter 'id' is set
320
320
  if @api_client.config.client_side_validation && id.nil?
@@ -347,13 +347,13 @@ module CyberSource
347
347
  :auth_names => auth_names,
348
348
  :return_type => 'InvoicingV2InvoicesPost201Response')
349
349
  if @api_client.config.debugging
350
- begin
351
- raise
352
- @api_client.config.logger.debug "API called: InvoicesApi#perform_send_action\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
353
- rescue
354
- puts 'Cannot write to log'
355
- end
356
- end
350
+ begin
351
+ raise
352
+ @api_client.config.logger.debug "API called: InvoicesApi#perform_send_action\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
353
+ rescue
354
+ puts 'Cannot write to log'
355
+ end
356
+ end
357
357
  return data, status_code, headers
358
358
  end
359
359
  # Update an Invoice
@@ -374,14 +374,14 @@ module CyberSource
374
374
  # @param [Hash] opts the optional parameters
375
375
  # @return [Array<(InvoicingV2InvoicesPost201Response, Fixnum, Hash)>] InvoicingV2InvoicesPost201Response data, response status code and response headers
376
376
  def update_invoice_with_http_info(id, update_invoice_request, opts = {})
377
-
378
- if @api_client.config.debugging
379
- begin
380
- raise
381
- @api_client.config.logger.debug 'Calling API: InvoicesApi.update_invoice ...'
382
- rescue
383
- puts 'Cannot write to log'
384
- end
377
+
378
+ if @api_client.config.debugging
379
+ begin
380
+ raise
381
+ @api_client.config.logger.debug 'Calling API: InvoicesApi.update_invoice ...'
382
+ rescue
383
+ puts 'Cannot write to log'
384
+ end
385
385
  end
386
386
  # verify the required parameter 'id' is set
387
387
  if @api_client.config.client_side_validation && id.nil?
@@ -418,13 +418,13 @@ module CyberSource
418
418
  :auth_names => auth_names,
419
419
  :return_type => 'InvoicingV2InvoicesPost201Response')
420
420
  if @api_client.config.debugging
421
- begin
422
- raise
423
- @api_client.config.logger.debug "API called: InvoicesApi#update_invoice\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
424
- rescue
425
- puts 'Cannot write to log'
426
- end
427
- end
421
+ begin
422
+ raise
423
+ @api_client.config.logger.debug "API called: InvoicesApi#update_invoice\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
424
+ rescue
425
+ puts 'Cannot write to log'
426
+ end
427
+ end
428
428
  return data, status_code, headers
429
429
  end
430
430
  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
- @api_client.set_configuration(config)
21
+ @api_client.set_configuration(config)
22
22
  end
23
23
  # Generate Key
24
24
  # Generate a one-time use public key and key ID to encrypt the card number in the follow-on Tokenize Card request. The key used to encrypt the card number on the cardholder’s device or browser is valid for 15 minutes and must be used to verify the signature in the response message. CyberSource recommends creating a new key for each order. Generating a key is an authenticated request initiated from your servers, prior to requesting to tokenize the card data from your customer’s device or browser.
@@ -38,14 +38,14 @@ module CyberSource
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @return [Array<(FlexV1KeysPost200Response, Fixnum, Hash)>] FlexV1KeysPost200Response data, response status code and response headers
40
40
  def generate_public_key_with_http_info(format, generate_public_key_request, opts = {})
41
-
42
- if @api_client.config.debugging
43
- begin
44
- raise
45
- @api_client.config.logger.debug 'Calling API: KeyGenerationApi.generate_public_key ...'
46
- rescue
47
- puts 'Cannot write to log'
48
- end
41
+
42
+ if @api_client.config.debugging
43
+ begin
44
+ raise
45
+ @api_client.config.logger.debug 'Calling API: KeyGenerationApi.generate_public_key ...'
46
+ rescue
47
+ puts 'Cannot write to log'
48
+ end
49
49
  end
50
50
  # verify the required parameter 'format' is set
51
51
  if @api_client.config.client_side_validation && format.nil?
@@ -83,13 +83,13 @@ module CyberSource
83
83
  :auth_names => auth_names,
84
84
  :return_type => 'FlexV1KeysPost200Response')
85
85
  if @api_client.config.debugging
86
- begin
87
- raise
88
- @api_client.config.logger.debug "API called: KeyGenerationApi#generate_public_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
89
- rescue
90
- puts 'Cannot write to log'
91
- end
92
- end
86
+ begin
87
+ raise
88
+ @api_client.config.logger.debug "API called: KeyGenerationApi#generate_public_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
89
+ rescue
90
+ puts 'Cannot write to log'
91
+ end
92
+ end
93
93
  return data, status_code, headers
94
94
  end
95
95
  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
- @api_client.set_configuration(config)
21
+ @api_client.set_configuration(config)
22
22
  end
23
23
  # Get Netfunding Information for an Account or a Merchant
24
24
  # Get Netfunding information for an account or a merchant.
@@ -42,14 +42,14 @@ module CyberSource
42
42
  # @option opts [String] :group_name Valid CyberSource Group Name.
43
43
  # @return [Array<(ReportingV3NetFundingsGet200Response, Fixnum, Hash)>] ReportingV3NetFundingsGet200Response data, response status code and response headers
44
44
  def get_net_funding_details_with_http_info(start_time, end_time, opts = {})
45
-
46
- if @api_client.config.debugging
47
- begin
48
- raise
49
- @api_client.config.logger.debug 'Calling API: NetFundingsApi.get_net_funding_details ...'
50
- rescue
51
- puts 'Cannot write to log'
52
- end
45
+
46
+ if @api_client.config.debugging
47
+ begin
48
+ raise
49
+ @api_client.config.logger.debug 'Calling API: NetFundingsApi.get_net_funding_details ...'
50
+ rescue
51
+ puts 'Cannot write to log'
52
+ end
53
53
  end
54
54
  # verify the required parameter 'start_time' is set
55
55
  if @api_client.config.client_side_validation && start_time.nil?
@@ -102,13 +102,13 @@ module CyberSource
102
102
  :auth_names => auth_names,
103
103
  :return_type => 'ReportingV3NetFundingsGet200Response')
104
104
  if @api_client.config.debugging
105
- begin
106
- raise
107
- @api_client.config.logger.debug "API called: NetFundingsApi#get_net_funding_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
108
- rescue
109
- puts 'Cannot write to log'
110
- end
111
- end
105
+ begin
106
+ raise
107
+ @api_client.config.logger.debug "API called: NetFundingsApi#get_net_funding_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
108
+ rescue
109
+ puts 'Cannot write to log'
110
+ end
111
+ end
112
112
  return data, status_code, headers
113
113
  end
114
114
  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
- @api_client.set_configuration(config)
21
+ @api_client.set_configuration(config)
22
22
  end
23
23
  # Get Notification of Changes
24
24
  # Download the Notification of Change report. This report shows eCheck-related fields updated as a result of a response to an eCheck settlement transaction.
@@ -38,14 +38,14 @@ module CyberSource
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @return [Array<(ReportingV3NotificationofChangesGet200Response, Fixnum, Hash)>] ReportingV3NotificationofChangesGet200Response data, response status code and response headers
40
40
  def get_notification_of_change_report_with_http_info(start_time, end_time, opts = {})
41
-
42
- if @api_client.config.debugging
43
- begin
44
- raise
45
- @api_client.config.logger.debug 'Calling API: NotificationOfChangesApi.get_notification_of_change_report ...'
46
- rescue
47
- puts 'Cannot write to log'
48
- end
41
+
42
+ if @api_client.config.debugging
43
+ begin
44
+ raise
45
+ @api_client.config.logger.debug 'Calling API: NotificationOfChangesApi.get_notification_of_change_report ...'
46
+ rescue
47
+ puts 'Cannot write to log'
48
+ end
49
49
  end
50
50
  # verify the required parameter 'start_time' is set
51
51
  if @api_client.config.client_side_validation && start_time.nil?
@@ -84,13 +84,13 @@ module CyberSource
84
84
  :auth_names => auth_names,
85
85
  :return_type => 'ReportingV3NotificationofChangesGet200Response')
86
86
  if @api_client.config.debugging
87
- begin
88
- raise
89
- @api_client.config.logger.debug "API called: NotificationOfChangesApi#get_notification_of_change_report\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
90
- rescue
91
- puts 'Cannot write to log'
92
- end
93
- end
87
+ begin
88
+ raise
89
+ @api_client.config.logger.debug "API called: NotificationOfChangesApi#get_notification_of_change_report\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
90
+ rescue
91
+ puts 'Cannot write to log'
92
+ end
93
+ end
94
94
  return data, status_code, headers
95
95
  end
96
96
  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
- @api_client.set_configuration(config)
21
+ @api_client.set_configuration(config)
22
22
  end
23
23
  # Check Payer Auth Enrollment
24
24
  # This call verifies that the card is enrolled in a card authentication program.
@@ -36,14 +36,14 @@ module CyberSource
36
36
  # @param [Hash] opts the optional parameters
37
37
  # @return [Array<(RiskV1AuthenticationsPost201Response, Fixnum, Hash)>] RiskV1AuthenticationsPost201Response data, response status code and response headers
38
38
  def check_payer_auth_enrollment_with_http_info(check_payer_auth_enrollment_request, opts = {})
39
-
40
- if @api_client.config.debugging
41
- begin
42
- raise
43
- @api_client.config.logger.debug 'Calling API: PayerAuthenticationApi.check_payer_auth_enrollment ...'
44
- rescue
45
- puts 'Cannot write to log'
46
- end
39
+
40
+ if @api_client.config.debugging
41
+ begin
42
+ raise
43
+ @api_client.config.logger.debug 'Calling API: PayerAuthenticationApi.check_payer_auth_enrollment ...'
44
+ rescue
45
+ puts 'Cannot write to log'
46
+ end
47
47
  end
48
48
  # verify the required parameter 'check_payer_auth_enrollment_request' is set
49
49
  if @api_client.config.client_side_validation && check_payer_auth_enrollment_request.nil?
@@ -76,13 +76,13 @@ module CyberSource
76
76
  :auth_names => auth_names,
77
77
  :return_type => 'RiskV1AuthenticationsPost201Response')
78
78
  if @api_client.config.debugging
79
- begin
80
- raise
81
- @api_client.config.logger.debug "API called: PayerAuthenticationApi#check_payer_auth_enrollment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
- rescue
83
- puts 'Cannot write to log'
84
- end
85
- end
79
+ begin
80
+ raise
81
+ @api_client.config.logger.debug "API called: PayerAuthenticationApi#check_payer_auth_enrollment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
+ rescue
83
+ puts 'Cannot write to log'
84
+ end
85
+ end
86
86
  return data, status_code, headers
87
87
  end
88
88
  # Setup Payer Auth
@@ -101,14 +101,14 @@ module CyberSource
101
101
  # @param [Hash] opts the optional parameters
102
102
  # @return [Array<(RiskV1AuthenticationSetupsPost201Response, Fixnum, Hash)>] RiskV1AuthenticationSetupsPost201Response data, response status code and response headers
103
103
  def payer_auth_setup_with_http_info(payer_auth_setup_request, opts = {})
104
-
105
- if @api_client.config.debugging
106
- begin
107
- raise
108
- @api_client.config.logger.debug 'Calling API: PayerAuthenticationApi.payer_auth_setup ...'
109
- rescue
110
- puts 'Cannot write to log'
111
- end
104
+
105
+ if @api_client.config.debugging
106
+ begin
107
+ raise
108
+ @api_client.config.logger.debug 'Calling API: PayerAuthenticationApi.payer_auth_setup ...'
109
+ rescue
110
+ puts 'Cannot write to log'
111
+ end
112
112
  end
113
113
  # verify the required parameter 'payer_auth_setup_request' is set
114
114
  if @api_client.config.client_side_validation && payer_auth_setup_request.nil?
@@ -141,13 +141,13 @@ module CyberSource
141
141
  :auth_names => auth_names,
142
142
  :return_type => 'RiskV1AuthenticationSetupsPost201Response')
143
143
  if @api_client.config.debugging
144
- begin
145
- raise
146
- @api_client.config.logger.debug "API called: PayerAuthenticationApi#payer_auth_setup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
147
- rescue
148
- puts 'Cannot write to log'
149
- end
150
- end
144
+ begin
145
+ raise
146
+ @api_client.config.logger.debug "API called: PayerAuthenticationApi#payer_auth_setup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
147
+ rescue
148
+ puts 'Cannot write to log'
149
+ end
150
+ end
151
151
  return data, status_code, headers
152
152
  end
153
153
  # Validate Authentication Results
@@ -166,14 +166,14 @@ module CyberSource
166
166
  # @param [Hash] opts the optional parameters
167
167
  # @return [Array<(RiskV1AuthenticationResultsPost201Response, Fixnum, Hash)>] RiskV1AuthenticationResultsPost201Response data, response status code and response headers
168
168
  def validate_authentication_results_with_http_info(validate_request, opts = {})
169
-
170
- if @api_client.config.debugging
171
- begin
172
- raise
173
- @api_client.config.logger.debug 'Calling API: PayerAuthenticationApi.validate_authentication_results ...'
174
- rescue
175
- puts 'Cannot write to log'
176
- end
169
+
170
+ if @api_client.config.debugging
171
+ begin
172
+ raise
173
+ @api_client.config.logger.debug 'Calling API: PayerAuthenticationApi.validate_authentication_results ...'
174
+ rescue
175
+ puts 'Cannot write to log'
176
+ end
177
177
  end
178
178
  # verify the required parameter 'validate_request' is set
179
179
  if @api_client.config.client_side_validation && validate_request.nil?
@@ -206,13 +206,13 @@ module CyberSource
206
206
  :auth_names => auth_names,
207
207
  :return_type => 'RiskV1AuthenticationResultsPost201Response')
208
208
  if @api_client.config.debugging
209
- begin
210
- raise
211
- @api_client.config.logger.debug "API called: PayerAuthenticationApi#validate_authentication_results\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
212
- rescue
213
- puts 'Cannot write to log'
214
- end
215
- end
209
+ begin
210
+ raise
211
+ @api_client.config.logger.debug "API called: PayerAuthenticationApi#validate_authentication_results\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
212
+ rescue
213
+ puts 'Cannot write to log'
214
+ end
215
+ end
216
216
  return data, status_code, headers
217
217
  end
218
218
  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
- @api_client.set_configuration(config)
21
+ @api_client.set_configuration(config)
22
22
  end
23
23
  # Get Payment Batch Summary Data
24
24
  # Scope can be either account/merchant or reseller.
@@ -46,14 +46,14 @@ module CyberSource
46
46
  # @option opts [Integer] :start_day_of_week Optional - Start day of week to breakdown data for weeks in a month
47
47
  # @return [Array<(ReportingV3PaymentBatchSummariesGet200Response, Fixnum, Hash)>] ReportingV3PaymentBatchSummariesGet200Response data, response status code and response headers
48
48
  def get_payment_batch_summary_with_http_info(start_time, end_time, opts = {})
49
-
50
- if @api_client.config.debugging
51
- begin
52
- raise
53
- @api_client.config.logger.debug 'Calling API: PaymentBatchSummariesApi.get_payment_batch_summary ...'
54
- rescue
55
- puts 'Cannot write to log'
56
- end
49
+
50
+ if @api_client.config.debugging
51
+ begin
52
+ raise
53
+ @api_client.config.logger.debug 'Calling API: PaymentBatchSummariesApi.get_payment_batch_summary ...'
54
+ rescue
55
+ puts 'Cannot write to log'
56
+ end
57
57
  end
58
58
  # verify the required parameter 'start_time' is set
59
59
  if @api_client.config.client_side_validation && start_time.nil?
@@ -116,13 +116,13 @@ module CyberSource
116
116
  :auth_names => auth_names,
117
117
  :return_type => 'ReportingV3PaymentBatchSummariesGet200Response')
118
118
  if @api_client.config.debugging
119
- begin
120
- raise
121
- @api_client.config.logger.debug "API called: PaymentBatchSummariesApi#get_payment_batch_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
122
- rescue
123
- puts 'Cannot write to log'
124
- end
125
- end
119
+ begin
120
+ raise
121
+ @api_client.config.logger.debug "API called: PaymentBatchSummariesApi#get_payment_batch_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
122
+ rescue
123
+ puts 'Cannot write to log'
124
+ end
125
+ end
126
126
  return data, status_code, headers
127
127
  end
128
128
  end