cybersource_rest_client 0.0.77 → 0.0.78

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.
Files changed (156) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cybersource_rest_client/api/bank_account_validation_api.rb +97 -0
  3. data/lib/cybersource_rest_client/api/batches_api.rb +9 -9
  4. data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +3 -3
  5. data/lib/cybersource_rest_client/api/device_de_association_api.rb +3 -3
  6. data/lib/cybersource_rest_client/api/device_search_api.rb +6 -6
  7. data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +6 -6
  8. data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +3 -3
  9. data/lib/cybersource_rest_client/api/merchant_defined_fields_api.rb +350 -0
  10. data/lib/cybersource_rest_client/api/tokenized_card_api.rb +85 -0
  11. data/lib/cybersource_rest_client/models/account_validations_request.rb +219 -0
  12. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_client_reference_information.rb +190 -0
  13. data/lib/cybersource_rest_client/models/{inline_response_200_9__links.rb → bavsv1accountvalidations_payment_information.rb} +194 -200
  14. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_bank.rb +220 -0
  15. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_bank_account.rb +205 -0
  16. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_processing_information.rb +195 -0
  17. data/lib/cybersource_rest_client/models/capture_payment_request.rb +332 -322
  18. data/lib/cybersource_rest_client/models/card_processing_config_common_acquirers.rb +315 -0
  19. data/lib/cybersource_rest_client/models/card_processing_config_common_processors.rb +732 -719
  20. data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater.rb +199 -199
  21. data/lib/cybersource_rest_client/models/commerce_solutions_products_bin_lookup.rb +199 -199
  22. data/lib/cybersource_rest_client/models/commerce_solutions_products_token_management.rb +199 -199
  23. data/lib/cybersource_rest_client/models/create_credit_request.rb +352 -342
  24. data/lib/cybersource_rest_client/models/create_invoice_request.rb +251 -239
  25. data/lib/cybersource_rest_client/models/inline_response_200_10.rb +251 -290
  26. data/lib/cybersource_rest_client/models/{inline_response_200_9__embedded.rb → inline_response_200_10__embedded.rb} +191 -191
  27. data/lib/cybersource_rest_client/models/{inline_response_200_9__embedded__links.rb → inline_response_200_10__embedded__links.rb} +191 -191
  28. data/lib/cybersource_rest_client/models/{inline_response_200_9__embedded__links_reports.rb → inline_response_200_10__embedded__links_reports.rb} +190 -190
  29. data/lib/cybersource_rest_client/models/{inline_response_200_9__embedded_batches.rb → inline_response_200_10__embedded_batches.rb} +295 -295
  30. data/lib/cybersource_rest_client/models/{inline_response_200_9__embedded_totals.rb → inline_response_200_10__embedded_totals.rb} +229 -229
  31. data/lib/cybersource_rest_client/models/inline_response_200_10__links.rb +200 -201
  32. data/lib/cybersource_rest_client/models/inline_response_200_11.rb +290 -292
  33. data/lib/cybersource_rest_client/models/inline_response_200_11__links.rb +201 -0
  34. data/lib/cybersource_rest_client/models/{inline_response_200_10__links_report.rb → inline_response_200_11__links_report.rb} +189 -189
  35. data/lib/cybersource_rest_client/models/{inline_response_200_10_billing.rb → inline_response_200_11_billing.rb} +219 -219
  36. data/lib/cybersource_rest_client/models/inline_response_200_12.rb +292 -0
  37. data/lib/cybersource_rest_client/models/{inline_response_200_11_records.rb → inline_response_200_12_records.rb} +209 -209
  38. data/lib/cybersource_rest_client/models/{inline_response_200_11_response_record.rb → inline_response_200_12_response_record.rb} +307 -307
  39. data/lib/cybersource_rest_client/models/{inline_response_200_11_response_record_additional_updates.rb → inline_response_200_12_response_record_additional_updates.rb} +242 -242
  40. data/lib/cybersource_rest_client/models/{inline_response_200_11_source_record.rb → inline_response_200_12_source_record.rb} +295 -295
  41. data/lib/cybersource_rest_client/models/inline_response_200_13.rb +221 -0
  42. data/lib/cybersource_rest_client/models/inline_response_200_2.rb +299 -253
  43. data/lib/cybersource_rest_client/models/inline_response_200_3.rb +253 -213
  44. data/lib/cybersource_rest_client/models/{inline_response_200_2_integration_information.rb → inline_response_200_3_integration_information.rb} +204 -204
  45. data/lib/cybersource_rest_client/models/{inline_response_200_2_integration_information_tenant_configurations.rb → inline_response_200_3_integration_information_tenant_configurations.rb} +263 -263
  46. data/lib/cybersource_rest_client/models/inline_response_200_4.rb +213 -314
  47. data/lib/cybersource_rest_client/models/inline_response_200_5.rb +314 -325
  48. data/lib/cybersource_rest_client/models/inline_response_200_6.rb +325 -247
  49. data/lib/cybersource_rest_client/models/inline_response_200_7.rb +247 -202
  50. data/lib/cybersource_rest_client/models/{inline_response_200_6_devices.rb → inline_response_200_7_devices.rb} +357 -357
  51. data/lib/cybersource_rest_client/models/inline_response_200_8.rb +202 -247
  52. data/lib/cybersource_rest_client/models/inline_response_200_9.rb +247 -251
  53. data/lib/cybersource_rest_client/models/{inline_response_200_8_devices.rb → inline_response_200_9_devices.rb} +371 -371
  54. data/lib/cybersource_rest_client/models/{inline_response_200_8_payment_processor_to_terminal_map.rb → inline_response_200_9_payment_processor_to_terminal_map.rb} +200 -200
  55. data/lib/cybersource_rest_client/models/inline_response_201_2_payout_information_pull_funds.rb +213 -213
  56. data/lib/cybersource_rest_client/models/inline_response_201_2_payout_information_push_funds.rb +417 -417
  57. data/lib/cybersource_rest_client/models/inline_response_400_9.rb +235 -0
  58. data/lib/cybersource_rest_client/models/inline_response_400_9_details.rb +201 -0
  59. data/lib/cybersource_rest_client/models/inline_response_403_3.rb +223 -0
  60. data/lib/cybersource_rest_client/models/inline_response_404_1.rb +236 -235
  61. data/lib/cybersource_rest_client/models/inline_response_404_1_details.rb +201 -0
  62. data/lib/cybersource_rest_client/models/inline_response_404_2.rb +235 -211
  63. data/lib/cybersource_rest_client/models/inline_response_404_3.rb +211 -223
  64. data/lib/cybersource_rest_client/models/{inline_response_404_2_details.rb → inline_response_404_3_details.rb} +199 -199
  65. data/lib/cybersource_rest_client/models/inline_response_404_4.rb +223 -0
  66. data/lib/cybersource_rest_client/models/inline_response_404_5.rb +223 -0
  67. data/lib/cybersource_rest_client/models/inline_response_422_2.rb +223 -0
  68. data/lib/cybersource_rest_client/models/inline_response_502_1.rb +223 -0
  69. data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response.rb +210 -200
  70. data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_merchant_information.rb +215 -0
  71. data/lib/cybersource_rest_client/models/{payments_products_payouts_configuration_information_configurations_processor_account.rb → invoicing_v2_invoice_settings_get200_response_merchant_information_address_details.rb} +263 -236
  72. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response.rb +292 -280
  73. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response.rb +280 -268
  74. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_merchant_defined_field_values_with_definition.rb +309 -0
  75. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_put200_response.rb +280 -268
  76. data/lib/cybersource_rest_client/models/invoicingv2invoices_merchant_defined_field_values.rb +199 -0
  77. data/lib/cybersource_rest_client/models/merchant_defined_field_core.rb +315 -0
  78. data/lib/cybersource_rest_client/models/merchant_defined_field_definition_request.rb +315 -0
  79. data/lib/cybersource_rest_client/models/mit_reversal_request.rb +239 -229
  80. data/lib/cybersource_rest_client/models/payments_products_alternative_payment_methods_configuration_payment_methods.rb +258 -248
  81. data/lib/cybersource_rest_client/models/payments_products_alternative_payment_methods_subscription_information.rb +189 -202
  82. data/lib/cybersource_rest_client/models/payments_products_currency_conversion.rb +199 -199
  83. data/lib/cybersource_rest_client/models/payments_products_differential_fee_subscription_information_features.rb +189 -189
  84. data/lib/cybersource_rest_client/models/payments_products_payer_authentication.rb +199 -199
  85. data/lib/cybersource_rest_client/models/{payments_products_differential_fee_subscription_information_features_surcharge.rb → payments_products_payer_authentication_subscription_information.rb} +202 -189
  86. data/lib/cybersource_rest_client/models/payments_products_payouts.rb +199 -199
  87. data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations.rb +201 -203
  88. data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_common.rb +215 -0
  89. data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_common_aggregator.rb +257 -0
  90. data/lib/cybersource_rest_client/models/payments_products_secure_acceptance.rb +199 -199
  91. data/lib/cybersource_rest_client/models/payments_products_service_fee.rb +199 -199
  92. data/lib/cybersource_rest_client/models/payments_products_tax.rb +189 -189
  93. data/lib/cybersource_rest_client/models/payments_products_virtual_terminal.rb +199 -199
  94. data/lib/cybersource_rest_client/models/post_issuer_life_cycle_simulation_request.rb +211 -0
  95. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +322 -312
  96. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_invoice_details.rb +190 -190
  97. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processor_information.rb +273 -263
  98. data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_payment_information_e_wallet.rb +241 -241
  99. data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_processor_information.rb +233 -233
  100. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_issuer_information.rb +213 -213
  101. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_amount_details.rb +196 -196
  102. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_processor_information.rb +289 -289
  103. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_2_processor_information.rb +264 -264
  104. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_invoice_details.rb +207 -207
  105. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +841 -831
  106. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +323 -313
  107. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +330 -320
  108. data/lib/cybersource_rest_client/models/ptsv2intents_payment_information_tokenized_payment_method.rb +241 -241
  109. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +685 -668
  110. data/lib/cybersource_rest_client/models/ptsv2payments_processor_information.rb +227 -217
  111. data/lib/cybersource_rest_client/models/ptsv2payments_processor_information_reversal.rb +206 -196
  112. data/lib/cybersource_rest_client/models/ptsv2payments_processor_information_reversal_network.rb +196 -0
  113. data/lib/cybersource_rest_client/models/ptsv2paymentsid_processing_information.rb +199 -189
  114. data/lib/cybersource_rest_client/models/ptsv2reversals_processor_information.rb +189 -0
  115. data/lib/cybersource_rest_client/models/refund_capture_request.rb +312 -302
  116. data/lib/cybersource_rest_client/models/refund_payment_request.rb +312 -302
  117. data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_get200_response_report_definitions.rb +253 -253
  118. data/lib/cybersource_rest_client/models/risk_products_decision_manager.rb +199 -199
  119. data/lib/cybersource_rest_client/models/risk_products_fraud_management_essentials.rb +199 -199
  120. data/lib/cybersource_rest_client/models/risk_products_portfolio_risk_controls.rb +199 -199
  121. data/lib/cybersource_rest_client/models/tms_bin_lookup_payment_account_information_features.rb +485 -430
  122. data/lib/cybersource_rest_client/models/tms_issuerlifecycleeventsimulations_metadata_card_art_combined_asset.rb +190 -0
  123. data/lib/cybersource_rest_client/models/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_card.rb +230 -0
  124. data/lib/cybersource_rest_client/models/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata.rb +189 -0
  125. data/lib/cybersource_rest_client/models/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art.rb +189 -0
  126. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +308 -291
  127. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information.rb +332 -322
  128. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +465 -404
  129. data/lib/cybersource_rest_client/models/underwriting_configuration.rb +280 -0
  130. data/lib/cybersource_rest_client/models/underwriting_configuration_billing_information.rb +189 -0
  131. data/lib/cybersource_rest_client/models/underwriting_configuration_billing_information_bank_account_information.rb +285 -0
  132. data/lib/cybersource_rest_client/models/underwriting_configuration_business_details_product_services_subscription.rb +213 -0
  133. data/lib/cybersource_rest_client/models/underwriting_configuration_client_reference_information.rb +231 -0
  134. data/lib/cybersource_rest_client/models/underwriting_configuration_deposit_information.rb +285 -0
  135. data/lib/cybersource_rest_client/models/underwriting_configuration_device_information.rb +212 -0
  136. data/lib/cybersource_rest_client/models/underwriting_configuration_file_attachment_information.rb +190 -0
  137. data/lib/cybersource_rest_client/models/underwriting_configuration_merchant_application.rb +256 -0
  138. data/lib/cybersource_rest_client/models/underwriting_configuration_merchant_application_products.rb +251 -0
  139. data/lib/cybersource_rest_client/models/underwriting_configuration_organization_information.rb +258 -0
  140. data/lib/cybersource_rest_client/models/underwriting_configuration_organization_information_business_information.rb +677 -0
  141. data/lib/cybersource_rest_client/models/underwriting_configuration_organization_information_business_information_address.rb +397 -0
  142. data/lib/cybersource_rest_client/models/underwriting_configuration_organization_information_business_information_address_1.rb +388 -0
  143. data/lib/cybersource_rest_client/models/underwriting_configuration_organization_information_business_information_address_2.rb +352 -0
  144. data/lib/cybersource_rest_client/models/underwriting_configuration_organization_information_business_information_business_contact.rb +309 -0
  145. data/lib/cybersource_rest_client/models/underwriting_configuration_organization_information_business_information_business_details.rb +555 -0
  146. data/lib/cybersource_rest_client/models/underwriting_configuration_organization_information_business_information_director_information.rb +380 -0
  147. data/lib/cybersource_rest_client/models/underwriting_configuration_organization_information_business_information_owner_information.rb +611 -0
  148. data/lib/cybersource_rest_client/models/underwriting_configuration_organization_information_business_information_trading_address.rb +352 -0
  149. data/lib/cybersource_rest_client/models/underwriting_configuration_sale_representative_information.rb +335 -0
  150. data/lib/cybersource_rest_client/models/update_invoice_request.rb +241 -229
  151. data/lib/cybersource_rest_client/models/upv1capturecontexts_capture_mandate.rb +296 -297
  152. data/lib/cybersource_rest_client/models/upv1capturecontexts_capture_mandate_cpf.rb +190 -0
  153. data/lib/cybersource_rest_client.rb +75 -22
  154. metadata +78 -25
  155. data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_pullfunds.rb +0 -310
  156. data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_pushfunds.rb +0 -335
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6a4660ce3a2439827b4430b708a803b17fe917e318e7aed05da06f06fc6b12d1
4
- data.tar.gz: a9bd3db3a6435bb1f41762888ebbeb183570abff85a7244963f2c924ed74c6c5
3
+ metadata.gz: 82dee352ed5a32561e79d0e0e6ea538329968122bc97e241a1c1eb8f75ced45f
4
+ data.tar.gz: ba8a224b7f76d826343f08e68411fbc5a45184cb9e6307f364c98f4bbe374890
5
5
  SHA512:
6
- metadata.gz: 79954c4037b3c493be01acfa324711fa40e3f434d953db784e3cea2f5dd79be0f04d1af185b99c16dc9f6dc2cfd3524ee9c714c1cd441f450eba503b327fa427
7
- data.tar.gz: b6a82130c16579b41c618a5180c96c8aa1969058ef5bc0615c8fde44f2e24efaf9965bd8e75e650675ad1ddc469cd54ba429ad75a27f9c469986d160739e1cc8
6
+ metadata.gz: 05b276d366172c0f751e1872215790c1474e372efbcb240fa5b38111076b154b19bef18b3401a02610a7a0f56763e39f6a68763c21c32087bcdc0c1ddf22dfcd
7
+ data.tar.gz: 8123ecbf7043ad4a0e9eaa521d8e4decf6a23dbdfbece3292ac90b9337c64889fc810811a1bbbf8106997f726d0604b908c5836897cd28e76621b3d8eca38be8
@@ -0,0 +1,97 @@
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.4.38
10
+ =end
11
+
12
+ require 'uri'
13
+ require 'AuthenticationSDK/util/MLEUtility'
14
+ module CyberSource
15
+ class BankAccountValidationApi
16
+ attr_accessor :api_client
17
+
18
+ def initialize(api_client = ApiClient.default, config)
19
+ @api_client = api_client
20
+ @api_client.set_configuration(config)
21
+ end
22
+ # Visa Bank Account Validation Service
23
+ # The Visa Bank Account Validation Service is a new standalone product designed to validate customer's routing and bank account number combination for ACH transactions. Merchant's can use this standalone product to validate their customer's account prior to processing an ACH transaction against the customer's account to comply with Nacha's account validation mandate for Web-debit transactions.
24
+ #
25
+ # @param account_validations_request
26
+ # @param [Hash] opts the optional parameters
27
+ # @return [InlineResponse20013]
28
+ #
29
+ # DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested ("Beta Product") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a "Beta Evaluation"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer's participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period ("Beta Product Form"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer's use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided "AS IS" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.
30
+ def bank_account_validation_request(account_validations_request, opts = {})
31
+ data, status_code, headers = bank_account_validation_request_with_http_info(account_validations_request, opts)
32
+ return data, status_code, headers
33
+ end
34
+
35
+ # Visa Bank Account Validation Service
36
+ # The Visa Bank Account Validation Service is a new standalone product designed to validate customer's routing and bank account number combination for ACH transactions. Merchant's can use this standalone product to validate their customer's account prior to processing an ACH transaction against the customer's account to comply with Nacha's account validation mandate for Web-debit transactions.
37
+ # @param account_validations_request
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [Array<(InlineResponse20013, Fixnum, Hash)>] InlineResponse20013 data, response status code and response headers
40
+ def bank_account_validation_request_with_http_info(account_validations_request, opts = {})
41
+
42
+ if @api_client.config.debugging
43
+ begin
44
+ raise
45
+ @api_client.config.logger.debug 'Calling API: BankAccountValidationApi.bank_account_validation_request ...'
46
+ rescue
47
+ puts 'Cannot write to log'
48
+ end
49
+ end
50
+ # verify the required parameter 'account_validations_request' is set
51
+ if @api_client.config.client_side_validation && account_validations_request.nil?
52
+ fail ArgumentError, "Missing the required parameter 'account_validations_request' when calling BankAccountValidationApi.bank_account_validation_request"
53
+ end
54
+ # resource path
55
+ local_var_path = 'bavs/v1/account-validations'
56
+
57
+ # query parameters
58
+ query_params = {}
59
+
60
+ # header parameters
61
+ header_params = {}
62
+ # HTTP header 'Accept' (if needed)
63
+ header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
64
+ # HTTP header 'Content-Type'
65
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
66
+
67
+ # form parameters
68
+ form_params = {}
69
+
70
+ # http body (model)
71
+ post_body = @api_client.object_to_http_body(account_validations_request)
72
+ sdk_tracker = SdkTracker.new
73
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'AccountValidationsRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
74
+ inbound_mle_status = "mandatory"
75
+ if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["bank_account_validation_request","bank_account_validation_request_with_http_info"])
76
+ post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
77
+ end
78
+ auth_names = []
79
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
80
+ :header_params => header_params,
81
+ :query_params => query_params,
82
+ :form_params => form_params,
83
+ :body => post_body,
84
+ :auth_names => auth_names,
85
+ :return_type => 'InlineResponse20013')
86
+ if @api_client.config.debugging
87
+ begin
88
+ raise
89
+ @api_client.config.logger.debug "API called: BankAccountValidationApi#bank_account_validation_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
90
+ rescue
91
+ puts 'Cannot write to log'
92
+ end
93
+ end
94
+ return data, status_code, headers
95
+ end
96
+ end
97
+ end
@@ -24,7 +24,7 @@ module CyberSource
24
24
  #
25
25
  # @param batch_id Unique identification number assigned to the submitted request.
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [InlineResponse20011]
27
+ # @return [InlineResponse20012]
28
28
  #
29
29
  def get_batch_report(batch_id, opts = {})
30
30
  data, status_code, headers = get_batch_report_with_http_info(batch_id, opts)
@@ -35,7 +35,7 @@ module CyberSource
35
35
  # **Get Batch Report**&lt;br&gt;This resource accepts a batch id and returns: - The batch status. - The total number of accepted, rejected, updated records. - The total number of card association responses. - The billable quantities of: - New Account Numbers (NAN) - New Expiry Dates (NED) - Account Closures (ACL) - Contact Card Holders (CCH) - Source record information including token ids, masked card number, expiration dates &amp; card type. - Response record information including response code, reason, token ids, masked card number, expiration dates &amp; card type.
36
36
  # @param batch_id Unique identification number assigned to the submitted request.
37
37
  # @param [Hash] opts the optional parameters
38
- # @return [Array<(InlineResponse20011, Fixnum, Hash)>] InlineResponse20011 data, response status code and response headers
38
+ # @return [Array<(InlineResponse20012, Fixnum, Hash)>] InlineResponse20012 data, response status code and response headers
39
39
  def get_batch_report_with_http_info(batch_id, opts = {})
40
40
 
41
41
  if @api_client.config.debugging
@@ -87,7 +87,7 @@ module CyberSource
87
87
  :form_params => form_params,
88
88
  :body => post_body,
89
89
  :auth_names => auth_names,
90
- :return_type => 'InlineResponse20011')
90
+ :return_type => 'InlineResponse20012')
91
91
  if @api_client.config.debugging
92
92
  begin
93
93
  raise
@@ -103,7 +103,7 @@ module CyberSource
103
103
  #
104
104
  # @param batch_id Unique identification number assigned to the submitted request.
105
105
  # @param [Hash] opts the optional parameters
106
- # @return [InlineResponse20010]
106
+ # @return [InlineResponse20011]
107
107
  #
108
108
  def get_batch_status(batch_id, opts = {})
109
109
  data, status_code, headers = get_batch_status_with_http_info(batch_id, opts)
@@ -114,7 +114,7 @@ module CyberSource
114
114
  # **Get Batch Status**&lt;br&gt;This resource accepts a batch id and returns: - The batch status. - The total number of accepted, rejected, updated records. - The total number of card association responses. - The billable quantities of: - New Account Numbers (NAN) - New Expiry Dates (NED) - Account Closures (ACL) - Contact Card Holders (CCH)
115
115
  # @param batch_id Unique identification number assigned to the submitted request.
116
116
  # @param [Hash] opts the optional parameters
117
- # @return [Array<(InlineResponse20010, Fixnum, Hash)>] InlineResponse20010 data, response status code and response headers
117
+ # @return [Array<(InlineResponse20011, Fixnum, Hash)>] InlineResponse20011 data, response status code and response headers
118
118
  def get_batch_status_with_http_info(batch_id, opts = {})
119
119
 
120
120
  if @api_client.config.debugging
@@ -166,7 +166,7 @@ module CyberSource
166
166
  :form_params => form_params,
167
167
  :body => post_body,
168
168
  :auth_names => auth_names,
169
- :return_type => 'InlineResponse20010')
169
+ :return_type => 'InlineResponse20011')
170
170
  if @api_client.config.debugging
171
171
  begin
172
172
  raise
@@ -185,7 +185,7 @@ module CyberSource
185
185
  # @option opts [Integer] :limit The maximum number that can be returned in the array starting from the offset record in zero-based dataset. (default to 20)
186
186
  # @option opts [String] :from_date ISO-8601 format: yyyyMMddTHHmmssZ
187
187
  # @option opts [String] :to_date ISO-8601 format: yyyyMMddTHHmmssZ
188
- # @return [InlineResponse2009]
188
+ # @return [InlineResponse20010]
189
189
  #
190
190
  def get_batches_list(opts = {})
191
191
  data, status_code, headers = get_batches_list_with_http_info(opts)
@@ -199,7 +199,7 @@ module CyberSource
199
199
  # @option opts [Integer] :limit The maximum number that can be returned in the array starting from the offset record in zero-based dataset.
200
200
  # @option opts [String] :from_date ISO-8601 format: yyyyMMddTHHmmssZ
201
201
  # @option opts [String] :to_date ISO-8601 format: yyyyMMddTHHmmssZ
202
- # @return [Array<(InlineResponse2009, Fixnum, Hash)>] InlineResponse2009 data, response status code and response headers
202
+ # @return [Array<(InlineResponse20010, Fixnum, Hash)>] InlineResponse20010 data, response status code and response headers
203
203
  def get_batches_list_with_http_info(opts = {})
204
204
 
205
205
  if @api_client.config.debugging
@@ -247,7 +247,7 @@ module CyberSource
247
247
  :form_params => form_params,
248
248
  :body => post_body,
249
249
  :auth_names => auth_names,
250
- :return_type => 'InlineResponse2009')
250
+ :return_type => 'InlineResponse20010')
251
251
  if @api_client.config.debugging
252
252
  begin
253
253
  raise
@@ -24,7 +24,7 @@ module CyberSource
24
24
  #
25
25
  # @param organization_id The Organization Identifier.
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [Array<InlineResponse2003>]
27
+ # @return [Array<InlineResponse2004>]
28
28
  #
29
29
  def find_products_to_subscribe(organization_id, opts = {})
30
30
  data, status_code, headers = find_products_to_subscribe_with_http_info(organization_id, opts)
@@ -35,7 +35,7 @@ module CyberSource
35
35
  # Retrieve a list of products and event types that your account is eligible for. These products and events are the ones that you may subscribe to in the next step of creating webhooks.
36
36
  # @param organization_id The Organization Identifier.
37
37
  # @param [Hash] opts the optional parameters
38
- # @return [Array<(Array<InlineResponse2003>, Fixnum, Hash)>] Array<InlineResponse2003> data, response status code and response headers
38
+ # @return [Array<(Array<InlineResponse2004>, Fixnum, Hash)>] Array<InlineResponse2004> data, response status code and response headers
39
39
  def find_products_to_subscribe_with_http_info(organization_id, opts = {})
40
40
 
41
41
  if @api_client.config.debugging
@@ -83,7 +83,7 @@ module CyberSource
83
83
  :form_params => form_params,
84
84
  :body => post_body,
85
85
  :auth_names => auth_names,
86
- :return_type => 'Array<InlineResponse2003>')
86
+ :return_type => 'Array<InlineResponse2004>')
87
87
  if @api_client.config.debugging
88
88
  begin
89
89
  raise
@@ -96,7 +96,7 @@ module CyberSource
96
96
  #
97
97
  # @param device_de_associate_v3_request deviceId that has to be de-associated to the destination organizationId.
98
98
  # @param [Hash] opts the optional parameters
99
- # @return [Array<InlineResponse2007>]
99
+ # @return [Array<InlineResponse2008>]
100
100
  #
101
101
  def post_de_associate_v3_terminal(device_de_associate_v3_request, opts = {})
102
102
  data, status_code, headers = post_de_associate_v3_terminal_with_http_info(device_de_associate_v3_request, opts)
@@ -107,7 +107,7 @@ module CyberSource
107
107
  # A device will be de-associated from its current organization and moved up in the hierarchy. The device&#39;s new position will be determined by a specified destination, either an account or a portfolio. If no destination is provided, the device will default to the currently logged-in user.
108
108
  # @param device_de_associate_v3_request deviceId that has to be de-associated to the destination organizationId.
109
109
  # @param [Hash] opts the optional parameters
110
- # @return [Array<(Array<InlineResponse2007>, Fixnum, Hash)>] Array<InlineResponse2007> data, response status code and response headers
110
+ # @return [Array<(Array<InlineResponse2008>, Fixnum, Hash)>] Array<InlineResponse2008> data, response status code and response headers
111
111
  def post_de_associate_v3_terminal_with_http_info(device_de_associate_v3_request, opts = {})
112
112
 
113
113
  if @api_client.config.debugging
@@ -153,7 +153,7 @@ module CyberSource
153
153
  :form_params => form_params,
154
154
  :body => post_body,
155
155
  :auth_names => auth_names,
156
- :return_type => 'Array<InlineResponse2007>')
156
+ :return_type => 'Array<InlineResponse2008>')
157
157
  if @api_client.config.debugging
158
158
  begin
159
159
  raise
@@ -24,7 +24,7 @@ module CyberSource
24
24
  #
25
25
  # @param post_device_search_request
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [InlineResponse2006]
27
+ # @return [InlineResponse2007]
28
28
  #
29
29
  def post_search_query(post_device_search_request, opts = {})
30
30
  data, status_code, headers = post_search_query_with_http_info(post_device_search_request, opts)
@@ -35,7 +35,7 @@ module CyberSource
35
35
  # Retrieves list of terminals in paginated format.
36
36
  # @param post_device_search_request
37
37
  # @param [Hash] opts the optional parameters
38
- # @return [Array<(InlineResponse2006, Fixnum, Hash)>] InlineResponse2006 data, response status code and response headers
38
+ # @return [Array<(InlineResponse2007, Fixnum, Hash)>] InlineResponse2007 data, response status code and response headers
39
39
  def post_search_query_with_http_info(post_device_search_request, opts = {})
40
40
 
41
41
  if @api_client.config.debugging
@@ -81,7 +81,7 @@ module CyberSource
81
81
  :form_params => form_params,
82
82
  :body => post_body,
83
83
  :auth_names => auth_names,
84
- :return_type => 'InlineResponse2006')
84
+ :return_type => 'InlineResponse2007')
85
85
  if @api_client.config.debugging
86
86
  begin
87
87
  raise
@@ -97,7 +97,7 @@ module CyberSource
97
97
  #
98
98
  # @param post_device_search_request_v3
99
99
  # @param [Hash] opts the optional parameters
100
- # @return [InlineResponse2008]
100
+ # @return [InlineResponse2009]
101
101
  #
102
102
  def post_search_query_v3(post_device_search_request_v3, opts = {})
103
103
  data, status_code, headers = post_search_query_v3_with_http_info(post_device_search_request_v3, opts)
@@ -108,7 +108,7 @@ module CyberSource
108
108
  # Search for devices matching a given search query. The search query supports serialNumber, readerId, terminalId, status, statusChangeReason or organizationId Matching results are paginated.
109
109
  # @param post_device_search_request_v3
110
110
  # @param [Hash] opts the optional parameters
111
- # @return [Array<(InlineResponse2008, Fixnum, Hash)>] InlineResponse2008 data, response status code and response headers
111
+ # @return [Array<(InlineResponse2009, Fixnum, Hash)>] InlineResponse2009 data, response status code and response headers
112
112
  def post_search_query_v3_with_http_info(post_device_search_request_v3, opts = {})
113
113
 
114
114
  if @api_client.config.debugging
@@ -154,7 +154,7 @@ module CyberSource
154
154
  :form_params => form_params,
155
155
  :body => post_body,
156
156
  :auth_names => auth_names,
157
- :return_type => 'InlineResponse2008')
157
+ :return_type => 'InlineResponse2009')
158
158
  if @api_client.config.debugging
159
159
  begin
160
160
  raise
@@ -175,7 +175,7 @@ module CyberSource
175
175
  # @param [Hash] opts the optional parameters
176
176
  # @option opts [String] :product_id The Product Identifier.
177
177
  # @option opts [String] :event_type The Event Type.
178
- # @return [Array<InlineResponse2004>]
178
+ # @return [Array<InlineResponse2005>]
179
179
  #
180
180
  def get_webhook_subscriptions_by_org(organization_id, opts = {})
181
181
  data, status_code, headers = get_webhook_subscriptions_by_org_with_http_info(organization_id, opts)
@@ -188,7 +188,7 @@ module CyberSource
188
188
  # @param [Hash] opts the optional parameters
189
189
  # @option opts [String] :product_id The Product Identifier.
190
190
  # @option opts [String] :event_type The Event Type.
191
- # @return [Array<(Array<InlineResponse2004>, Fixnum, Hash)>] Array<InlineResponse2004> data, response status code and response headers
191
+ # @return [Array<(Array<InlineResponse2005>, Fixnum, Hash)>] Array<InlineResponse2005> data, response status code and response headers
192
192
  def get_webhook_subscriptions_by_org_with_http_info(organization_id, opts = {})
193
193
 
194
194
  if @api_client.config.debugging
@@ -239,7 +239,7 @@ module CyberSource
239
239
  :form_params => form_params,
240
240
  :body => post_body,
241
241
  :auth_names => auth_names,
242
- :return_type => 'Array<InlineResponse2004>')
242
+ :return_type => 'Array<InlineResponse2005>')
243
243
  if @api_client.config.debugging
244
244
  begin
245
245
  raise
@@ -331,7 +331,7 @@ module CyberSource
331
331
  # @param webhook_id The Webhook Identifier.
332
332
  # @param [Hash] opts the optional parameters
333
333
  # @option opts [UpdateWebhook] :update_webhook The webhook payload or changes to apply.
334
- # @return [InlineResponse2005]
334
+ # @return [InlineResponse2006]
335
335
  #
336
336
  def notification_subscriptions_v2_webhooks_webhook_id_patch(webhook_id, opts = {})
337
337
  data, status_code, headers = notification_subscriptions_v2_webhooks_webhook_id_patch_with_http_info(webhook_id, opts)
@@ -343,7 +343,7 @@ module CyberSource
343
343
  # @param webhook_id The Webhook Identifier.
344
344
  # @param [Hash] opts the optional parameters
345
345
  # @option opts [UpdateWebhook] :update_webhook The webhook payload or changes to apply.
346
- # @return [Array<(InlineResponse2005, Fixnum, Hash)>] InlineResponse2005 data, response status code and response headers
346
+ # @return [Array<(InlineResponse2006, Fixnum, Hash)>] InlineResponse2006 data, response status code and response headers
347
347
  def notification_subscriptions_v2_webhooks_webhook_id_patch_with_http_info(webhook_id, opts = {})
348
348
 
349
349
  if @api_client.config.debugging
@@ -389,7 +389,7 @@ module CyberSource
389
389
  :form_params => form_params,
390
390
  :body => post_body,
391
391
  :auth_names => auth_names,
392
- :return_type => 'InlineResponse2005')
392
+ :return_type => 'InlineResponse2006')
393
393
  if @api_client.config.debugging
394
394
  begin
395
395
  raise
@@ -24,7 +24,7 @@ module CyberSource
24
24
  #
25
25
  # @param registration_id Identifies the boarding registration to be updated
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [InlineResponse2002]
27
+ # @return [InlineResponse2003]
28
28
  #
29
29
  def get_registration(registration_id, opts = {})
30
30
  data, status_code, headers = get_registration_with_http_info(registration_id, opts)
@@ -35,7 +35,7 @@ module CyberSource
35
35
  # This end point will get all information of a boarding registration
36
36
  # @param registration_id Identifies the boarding registration to be updated
37
37
  # @param [Hash] opts the optional parameters
38
- # @return [Array<(InlineResponse2002, Fixnum, Hash)>] InlineResponse2002 data, response status code and response headers
38
+ # @return [Array<(InlineResponse2003, Fixnum, Hash)>] InlineResponse2003 data, response status code and response headers
39
39
  def get_registration_with_http_info(registration_id, opts = {})
40
40
 
41
41
  if @api_client.config.debugging
@@ -83,7 +83,7 @@ module CyberSource
83
83
  :form_params => form_params,
84
84
  :body => post_body,
85
85
  :auth_names => auth_names,
86
- :return_type => 'InlineResponse2002')
86
+ :return_type => 'InlineResponse2003')
87
87
  if @api_client.config.debugging
88
88
  begin
89
89
  raise