cybersource_rest_client 0.0.36 → 0.0.39

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) 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 +97 -97
  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 +33 -33
  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/create_search_request.rb +1 -1
  64. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details.rb +20 -4
  65. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +10 -1
  66. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_buyer_information.rb +243 -0
  67. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +10 -1
  68. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information_issuer_information.rb +206 -0
  69. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information_strong_authentication.rb +183 -0
  70. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +52 -4
  71. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +17 -1
  72. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +33 -1
  73. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +15 -5
  74. data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +17 -1
  75. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information_strong_authentication.rb +17 -1
  76. data/lib/cybersource_rest_client/models/ptsv2payments_device_information.rb +17 -1
  77. data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +24 -4
  78. data/lib/cybersource_rest_client/models/ptsv2payments_invoice_details.rb +191 -0
  79. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +65 -1
  80. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +1 -1
  81. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +17 -1
  82. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +20 -4
  83. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +33 -1
  84. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +13 -4
  85. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +14 -4
  86. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_e_wallet.rb +190 -0
  87. data/lib/cybersource_rest_client/models/ptsv2payments_processor_information.rb +191 -0
  88. data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +17 -1
  89. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +14 -5
  90. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_bank.rb +215 -0
  91. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +36 -4
  92. data/lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb +17 -1
  93. data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information.rb +17 -1
  94. data/lib/cybersource_rest_client/models/reportingv3reports_report_filters.rb +218 -0
  95. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +17 -1
  96. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +17 -1
  97. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +17 -1
  98. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +10 -11
  99. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information.rb +10 -1
  100. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information_partner.rb +190 -0
  101. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_installment_information.rb +14 -4
  102. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +13 -4
  103. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information.rb +32 -5
  104. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_customer.rb +206 -0
  105. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_instrument_identifier.rb +190 -0
  106. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +36 -4
  107. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_token_information.rb +210 -0
  108. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb +1 -1
  109. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information.rb +13 -4
  110. data/lib/cybersource_rest_client/utilities/flex/token_verification.rb +4 -4
  111. data/lib/cybersource_rest_client.rb +17 -3
  112. metadata +18 -4
  113. data/lib/AuthenticationSDK/core/Logger.rb +0 -26
  114. 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
  # Delete a Customer Shipping Address
24
24
  # @param customer_token_id The TokenId of a customer.
@@ -38,14 +38,14 @@ module CyberSource
38
38
  # @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
39
39
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
40
40
  def delete_customer_shipping_address_with_http_info(customer_token_id, shipping_address_token_id, opts = {})
41
-
42
- if @api_client.config.debugging
43
- begin
44
- raise
45
- @api_client.config.logger.debug 'Calling API: CustomerShippingAddressApi.delete_customer_shipping_address ...'
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: CustomerShippingAddressApi.delete_customer_shipping_address ...'
46
+ rescue
47
+ puts 'Cannot write to log'
48
+ end
49
49
  end
50
50
  # verify the required parameter 'customer_token_id' is set
51
51
  if @api_client.config.client_side_validation && customer_token_id.nil?
@@ -106,13 +106,13 @@ module CyberSource
106
106
  :body => post_body,
107
107
  :auth_names => auth_names)
108
108
  if @api_client.config.debugging
109
- begin
110
- raise
111
- @api_client.config.logger.debug "API called: CustomerShippingAddressApi#delete_customer_shipping_address\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
112
- rescue
113
- puts 'Cannot write to log'
114
- end
115
- end
109
+ begin
110
+ raise
111
+ @api_client.config.logger.debug "API called: CustomerShippingAddressApi#delete_customer_shipping_address\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
112
+ rescue
113
+ puts 'Cannot write to log'
114
+ end
115
+ end
116
116
  return data, status_code, headers
117
117
  end
118
118
  # Retrieve a Customer Shipping Address
@@ -133,14 +133,14 @@ module CyberSource
133
133
  # @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
134
134
  # @return [Array<(Tmsv2customersEmbeddedDefaultShippingAddress, Fixnum, Hash)>] Tmsv2customersEmbeddedDefaultShippingAddress data, response status code and response headers
135
135
  def get_customer_shipping_address_with_http_info(customer_token_id, shipping_address_token_id, opts = {})
136
-
137
- if @api_client.config.debugging
138
- begin
139
- raise
140
- @api_client.config.logger.debug 'Calling API: CustomerShippingAddressApi.get_customer_shipping_address ...'
141
- rescue
142
- puts 'Cannot write to log'
143
- end
136
+
137
+ if @api_client.config.debugging
138
+ begin
139
+ raise
140
+ @api_client.config.logger.debug 'Calling API: CustomerShippingAddressApi.get_customer_shipping_address ...'
141
+ rescue
142
+ puts 'Cannot write to log'
143
+ end
144
144
  end
145
145
  # verify the required parameter 'customer_token_id' is set
146
146
  if @api_client.config.client_side_validation && customer_token_id.nil?
@@ -202,13 +202,13 @@ module CyberSource
202
202
  :auth_names => auth_names,
203
203
  :return_type => 'Tmsv2customersEmbeddedDefaultShippingAddress')
204
204
  if @api_client.config.debugging
205
- begin
206
- raise
207
- @api_client.config.logger.debug "API called: CustomerShippingAddressApi#get_customer_shipping_address\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
208
- rescue
209
- puts 'Cannot write to log'
210
- end
211
- end
205
+ begin
206
+ raise
207
+ @api_client.config.logger.debug "API called: CustomerShippingAddressApi#get_customer_shipping_address\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
208
+ rescue
209
+ puts 'Cannot write to log'
210
+ end
211
+ end
212
212
  return data, status_code, headers
213
213
  end
214
214
  # List Shipping Addresses for a Customer
@@ -231,14 +231,14 @@ module CyberSource
231
231
  # @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.
232
232
  # @return [Array<(ShippingAddressListForCustomer, Fixnum, Hash)>] ShippingAddressListForCustomer data, response status code and response headers
233
233
  def get_customer_shipping_addresses_list_with_http_info(customer_token_id, opts = {})
234
-
235
- if @api_client.config.debugging
236
- begin
237
- raise
238
- @api_client.config.logger.debug 'Calling API: CustomerShippingAddressApi.get_customer_shipping_addresses_list ...'
239
- rescue
240
- puts 'Cannot write to log'
241
- end
234
+
235
+ if @api_client.config.debugging
236
+ begin
237
+ raise
238
+ @api_client.config.logger.debug 'Calling API: CustomerShippingAddressApi.get_customer_shipping_addresses_list ...'
239
+ rescue
240
+ puts 'Cannot write to log'
241
+ end
242
242
  end
243
243
  # verify the required parameter 'customer_token_id' is set
244
244
  if @api_client.config.client_side_validation && customer_token_id.nil?
@@ -302,13 +302,13 @@ module CyberSource
302
302
  :auth_names => auth_names,
303
303
  :return_type => 'ShippingAddressListForCustomer')
304
304
  if @api_client.config.debugging
305
- begin
306
- raise
307
- @api_client.config.logger.debug "API called: CustomerShippingAddressApi#get_customer_shipping_addresses_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
308
- rescue
309
- puts 'Cannot write to log'
310
- end
311
- end
305
+ begin
306
+ raise
307
+ @api_client.config.logger.debug "API called: CustomerShippingAddressApi#get_customer_shipping_addresses_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
308
+ rescue
309
+ puts 'Cannot write to log'
310
+ end
311
+ end
312
312
  return data, status_code, headers
313
313
  end
314
314
  # Update a Customer Shipping Address
@@ -333,14 +333,14 @@ module CyberSource
333
333
  # @option opts [String] :if_match Contains an ETag value from a GET request to make the request conditional.
334
334
  # @return [Array<(Tmsv2customersEmbeddedDefaultShippingAddress, Fixnum, Hash)>] Tmsv2customersEmbeddedDefaultShippingAddress data, response status code and response headers
335
335
  def patch_customers_shipping_address_with_http_info(customer_token_id, shipping_address_token_id, patch_customer_shipping_address_request, opts = {})
336
-
337
- if @api_client.config.debugging
338
- begin
339
- raise
340
- @api_client.config.logger.debug 'Calling API: CustomerShippingAddressApi.patch_customers_shipping_address ...'
341
- rescue
342
- puts 'Cannot write to log'
343
- end
336
+
337
+ if @api_client.config.debugging
338
+ begin
339
+ raise
340
+ @api_client.config.logger.debug 'Calling API: CustomerShippingAddressApi.patch_customers_shipping_address ...'
341
+ rescue
342
+ puts 'Cannot write to log'
343
+ end
344
344
  end
345
345
  # verify the required parameter 'customer_token_id' is set
346
346
  if @api_client.config.client_side_validation && customer_token_id.nil?
@@ -415,13 +415,13 @@ module CyberSource
415
415
  :auth_names => auth_names,
416
416
  :return_type => 'Tmsv2customersEmbeddedDefaultShippingAddress')
417
417
  if @api_client.config.debugging
418
- begin
419
- raise
420
- @api_client.config.logger.debug "API called: CustomerShippingAddressApi#patch_customers_shipping_address\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
421
- rescue
422
- puts 'Cannot write to log'
423
- end
424
- end
418
+ begin
419
+ raise
420
+ @api_client.config.logger.debug "API called: CustomerShippingAddressApi#patch_customers_shipping_address\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
421
+ rescue
422
+ puts 'Cannot write to log'
423
+ end
424
+ end
425
425
  return data, status_code, headers
426
426
  end
427
427
  # Create a Customer Shipping Address
@@ -444,14 +444,14 @@ module CyberSource
444
444
  # @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
445
445
  # @return [Array<(Tmsv2customersEmbeddedDefaultShippingAddress, Fixnum, Hash)>] Tmsv2customersEmbeddedDefaultShippingAddress data, response status code and response headers
446
446
  def post_customer_shipping_address_with_http_info(customer_token_id, post_customer_shipping_address_request, opts = {})
447
-
448
- if @api_client.config.debugging
449
- begin
450
- raise
451
- @api_client.config.logger.debug 'Calling API: CustomerShippingAddressApi.post_customer_shipping_address ...'
452
- rescue
453
- puts 'Cannot write to log'
454
- end
447
+
448
+ if @api_client.config.debugging
449
+ begin
450
+ raise
451
+ @api_client.config.logger.debug 'Calling API: CustomerShippingAddressApi.post_customer_shipping_address ...'
452
+ rescue
453
+ puts 'Cannot write to log'
454
+ end
455
455
  end
456
456
  # verify the required parameter 'customer_token_id' is set
457
457
  if @api_client.config.client_side_validation && customer_token_id.nil?
@@ -505,13 +505,13 @@ module CyberSource
505
505
  :auth_names => auth_names,
506
506
  :return_type => 'Tmsv2customersEmbeddedDefaultShippingAddress')
507
507
  if @api_client.config.debugging
508
- begin
509
- raise
510
- @api_client.config.logger.debug "API called: CustomerShippingAddressApi#post_customer_shipping_address\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
511
- rescue
512
- puts 'Cannot write to log'
513
- end
514
- end
508
+ begin
509
+ raise
510
+ @api_client.config.logger.debug "API called: CustomerShippingAddressApi#post_customer_shipping_address\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
511
+ rescue
512
+ puts 'Cannot write to log'
513
+ end
514
+ end
515
515
  return data, status_code, headers
516
516
  end
517
517
  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
  # List Management
24
24
  # This call adds/deletes/converts the request information in the negative list. Provide the list to be updated as the path parameter. This value can be 'postiive', 'negative' or 'review'.
@@ -38,14 +38,14 @@ module CyberSource
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @return [Array<(RiskV1UpdatePost201Response, Fixnum, Hash)>] RiskV1UpdatePost201Response data, response status code and response headers
40
40
  def add_negative_with_http_info(type, add_negative_list_request, opts = {})
41
-
42
- if @api_client.config.debugging
43
- begin
44
- raise
45
- @api_client.config.logger.debug 'Calling API: DecisionManagerApi.add_negative ...'
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: DecisionManagerApi.add_negative ...'
46
+ rescue
47
+ puts 'Cannot write to log'
48
+ end
49
49
  end
50
50
  # verify the required parameter 'type' is set
51
51
  if @api_client.config.client_side_validation && type.nil?
@@ -82,13 +82,13 @@ module CyberSource
82
82
  :auth_names => auth_names,
83
83
  :return_type => 'RiskV1UpdatePost201Response')
84
84
  if @api_client.config.debugging
85
- begin
86
- raise
87
- @api_client.config.logger.debug "API called: DecisionManagerApi#add_negative\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
88
- rescue
89
- puts 'Cannot write to log'
90
- end
91
- end
85
+ begin
86
+ raise
87
+ @api_client.config.logger.debug "API called: DecisionManagerApi#add_negative\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
88
+ rescue
89
+ puts 'Cannot write to log'
90
+ end
91
+ end
92
92
  return data, status_code, headers
93
93
  end
94
94
  # Create Decision Manager
@@ -107,14 +107,14 @@ module CyberSource
107
107
  # @param [Hash] opts the optional parameters
108
108
  # @return [Array<(RiskV1DecisionsPost201Response, Fixnum, Hash)>] RiskV1DecisionsPost201Response data, response status code and response headers
109
109
  def create_bundled_decision_manager_case_with_http_info(create_bundled_decision_manager_case_request, opts = {})
110
-
111
- if @api_client.config.debugging
112
- begin
113
- raise
114
- @api_client.config.logger.debug 'Calling API: DecisionManagerApi.create_bundled_decision_manager_case ...'
115
- rescue
116
- puts 'Cannot write to log'
117
- end
110
+
111
+ if @api_client.config.debugging
112
+ begin
113
+ raise
114
+ @api_client.config.logger.debug 'Calling API: DecisionManagerApi.create_bundled_decision_manager_case ...'
115
+ rescue
116
+ puts 'Cannot write to log'
117
+ end
118
118
  end
119
119
  # verify the required parameter 'create_bundled_decision_manager_case_request' is set
120
120
  if @api_client.config.client_side_validation && create_bundled_decision_manager_case_request.nil?
@@ -147,13 +147,13 @@ module CyberSource
147
147
  :auth_names => auth_names,
148
148
  :return_type => 'RiskV1DecisionsPost201Response')
149
149
  if @api_client.config.debugging
150
- begin
151
- raise
152
- @api_client.config.logger.debug "API called: DecisionManagerApi#create_bundled_decision_manager_case\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
153
- rescue
154
- puts 'Cannot write to log'
155
- end
156
- end
150
+ begin
151
+ raise
152
+ @api_client.config.logger.debug "API called: DecisionManagerApi#create_bundled_decision_manager_case\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
153
+ rescue
154
+ puts 'Cannot write to log'
155
+ end
156
+ end
157
157
  return data, status_code, headers
158
158
  end
159
159
  # Fraud Marking
@@ -174,14 +174,14 @@ module CyberSource
174
174
  # @param [Hash] opts the optional parameters
175
175
  # @return [Array<(RiskV1UpdatePost201Response, Fixnum, Hash)>] RiskV1UpdatePost201Response data, response status code and response headers
176
176
  def fraud_update_with_http_info(id, fraud_marking_action_request, opts = {})
177
-
178
- if @api_client.config.debugging
179
- begin
180
- raise
181
- @api_client.config.logger.debug 'Calling API: DecisionManagerApi.fraud_update ...'
182
- rescue
183
- puts 'Cannot write to log'
184
- end
177
+
178
+ if @api_client.config.debugging
179
+ begin
180
+ raise
181
+ @api_client.config.logger.debug 'Calling API: DecisionManagerApi.fraud_update ...'
182
+ rescue
183
+ puts 'Cannot write to log'
184
+ end
185
185
  end
186
186
  # verify the required parameter 'id' is set
187
187
  if @api_client.config.client_side_validation && id.nil?
@@ -218,13 +218,13 @@ module CyberSource
218
218
  :auth_names => auth_names,
219
219
  :return_type => 'RiskV1UpdatePost201Response')
220
220
  if @api_client.config.debugging
221
- begin
222
- raise
223
- @api_client.config.logger.debug "API called: DecisionManagerApi#fraud_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
224
- rescue
225
- puts 'Cannot write to log'
226
- end
227
- end
221
+ begin
222
+ raise
223
+ @api_client.config.logger.debug "API called: DecisionManagerApi#fraud_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
224
+ rescue
225
+ puts 'Cannot write to log'
226
+ end
227
+ end
228
228
  return data, status_code, headers
229
229
  end
230
230
  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
  # Download DTD for Report
24
24
  # Used to download DTDs for reports on no-auth.
@@ -36,14 +36,14 @@ module CyberSource
36
36
  # @param [Hash] opts the optional parameters
37
37
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
38
38
  def get_dtdv2_with_http_info(report_definition_name_version, opts = {})
39
-
40
- if @api_client.config.debugging
41
- begin
42
- raise
43
- @api_client.config.logger.debug 'Calling API: DownloadDTDApi.get_dtdv2 ...'
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: DownloadDTDApi.get_dtdv2 ...'
44
+ rescue
45
+ puts 'Cannot write to log'
46
+ end
47
47
  end
48
48
  # verify the required parameter 'report_definition_name_version' is set
49
49
  if @api_client.config.client_side_validation && report_definition_name_version.nil?
@@ -75,13 +75,13 @@ module CyberSource
75
75
  :body => post_body,
76
76
  :auth_names => auth_names)
77
77
  if @api_client.config.debugging
78
- begin
79
- raise
80
- @api_client.config.logger.debug "API called: DownloadDTDApi#get_dtdv2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
81
- rescue
82
- puts 'Cannot write to log'
83
- end
84
- end
78
+ begin
79
+ raise
80
+ @api_client.config.logger.debug "API called: DownloadDTDApi#get_dtdv2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
81
+ rescue
82
+ puts 'Cannot write to log'
83
+ end
84
+ end
85
85
  return data, status_code, headers
86
86
  end
87
87
  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
  # Download XSD for Report
24
24
  # Used to download XSDs for reports on no-auth.
@@ -36,14 +36,14 @@ module CyberSource
36
36
  # @param [Hash] opts the optional parameters
37
37
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
38
38
  def get_xsdv2_with_http_info(report_definition_name_version, opts = {})
39
-
40
- if @api_client.config.debugging
41
- begin
42
- raise
43
- @api_client.config.logger.debug 'Calling API: DownloadXSDApi.get_xsdv2 ...'
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: DownloadXSDApi.get_xsdv2 ...'
44
+ rescue
45
+ puts 'Cannot write to log'
46
+ end
47
47
  end
48
48
  # verify the required parameter 'report_definition_name_version' is set
49
49
  if @api_client.config.client_side_validation && report_definition_name_version.nil?
@@ -75,13 +75,13 @@ module CyberSource
75
75
  :body => post_body,
76
76
  :auth_names => auth_names)
77
77
  if @api_client.config.debugging
78
- begin
79
- raise
80
- @api_client.config.logger.debug "API called: DownloadXSDApi#get_xsdv2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
81
- rescue
82
- puts 'Cannot write to log'
83
- end
84
- end
78
+ begin
79
+ raise
80
+ @api_client.config.logger.debug "API called: DownloadXSDApi#get_xsdv2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
81
+ rescue
82
+ puts 'Cannot write to log'
83
+ end
84
+ end
85
85
  return data, status_code, headers
86
86
  end
87
87
  end