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.
- checksums.yaml +4 -4
- data/lib/cybersource_rest_client/api/bank_account_validation_api.rb +97 -0
- data/lib/cybersource_rest_client/api/batches_api.rb +9 -9
- data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +3 -3
- data/lib/cybersource_rest_client/api/device_de_association_api.rb +3 -3
- data/lib/cybersource_rest_client/api/device_search_api.rb +6 -6
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +6 -6
- data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +3 -3
- data/lib/cybersource_rest_client/api/merchant_defined_fields_api.rb +350 -0
- data/lib/cybersource_rest_client/api/tokenized_card_api.rb +85 -0
- data/lib/cybersource_rest_client/models/account_validations_request.rb +219 -0
- data/lib/cybersource_rest_client/models/bavsv1accountvalidations_client_reference_information.rb +190 -0
- data/lib/cybersource_rest_client/models/{inline_response_200_9__links.rb → bavsv1accountvalidations_payment_information.rb} +194 -200
- data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_bank.rb +220 -0
- data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_bank_account.rb +205 -0
- data/lib/cybersource_rest_client/models/bavsv1accountvalidations_processing_information.rb +195 -0
- data/lib/cybersource_rest_client/models/capture_payment_request.rb +332 -322
- data/lib/cybersource_rest_client/models/card_processing_config_common_acquirers.rb +315 -0
- data/lib/cybersource_rest_client/models/card_processing_config_common_processors.rb +732 -719
- data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater.rb +199 -199
- data/lib/cybersource_rest_client/models/commerce_solutions_products_bin_lookup.rb +199 -199
- data/lib/cybersource_rest_client/models/commerce_solutions_products_token_management.rb +199 -199
- data/lib/cybersource_rest_client/models/create_credit_request.rb +352 -342
- data/lib/cybersource_rest_client/models/create_invoice_request.rb +251 -239
- data/lib/cybersource_rest_client/models/inline_response_200_10.rb +251 -290
- data/lib/cybersource_rest_client/models/{inline_response_200_9__embedded.rb → inline_response_200_10__embedded.rb} +191 -191
- data/lib/cybersource_rest_client/models/{inline_response_200_9__embedded__links.rb → inline_response_200_10__embedded__links.rb} +191 -191
- data/lib/cybersource_rest_client/models/{inline_response_200_9__embedded__links_reports.rb → inline_response_200_10__embedded__links_reports.rb} +190 -190
- data/lib/cybersource_rest_client/models/{inline_response_200_9__embedded_batches.rb → inline_response_200_10__embedded_batches.rb} +295 -295
- data/lib/cybersource_rest_client/models/{inline_response_200_9__embedded_totals.rb → inline_response_200_10__embedded_totals.rb} +229 -229
- data/lib/cybersource_rest_client/models/inline_response_200_10__links.rb +200 -201
- data/lib/cybersource_rest_client/models/inline_response_200_11.rb +290 -292
- data/lib/cybersource_rest_client/models/inline_response_200_11__links.rb +201 -0
- data/lib/cybersource_rest_client/models/{inline_response_200_10__links_report.rb → inline_response_200_11__links_report.rb} +189 -189
- data/lib/cybersource_rest_client/models/{inline_response_200_10_billing.rb → inline_response_200_11_billing.rb} +219 -219
- data/lib/cybersource_rest_client/models/inline_response_200_12.rb +292 -0
- data/lib/cybersource_rest_client/models/{inline_response_200_11_records.rb → inline_response_200_12_records.rb} +209 -209
- data/lib/cybersource_rest_client/models/{inline_response_200_11_response_record.rb → inline_response_200_12_response_record.rb} +307 -307
- 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
- data/lib/cybersource_rest_client/models/{inline_response_200_11_source_record.rb → inline_response_200_12_source_record.rb} +295 -295
- data/lib/cybersource_rest_client/models/inline_response_200_13.rb +221 -0
- data/lib/cybersource_rest_client/models/inline_response_200_2.rb +299 -253
- data/lib/cybersource_rest_client/models/inline_response_200_3.rb +253 -213
- data/lib/cybersource_rest_client/models/{inline_response_200_2_integration_information.rb → inline_response_200_3_integration_information.rb} +204 -204
- 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
- data/lib/cybersource_rest_client/models/inline_response_200_4.rb +213 -314
- data/lib/cybersource_rest_client/models/inline_response_200_5.rb +314 -325
- data/lib/cybersource_rest_client/models/inline_response_200_6.rb +325 -247
- data/lib/cybersource_rest_client/models/inline_response_200_7.rb +247 -202
- data/lib/cybersource_rest_client/models/{inline_response_200_6_devices.rb → inline_response_200_7_devices.rb} +357 -357
- data/lib/cybersource_rest_client/models/inline_response_200_8.rb +202 -247
- data/lib/cybersource_rest_client/models/inline_response_200_9.rb +247 -251
- data/lib/cybersource_rest_client/models/{inline_response_200_8_devices.rb → inline_response_200_9_devices.rb} +371 -371
- 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
- data/lib/cybersource_rest_client/models/inline_response_201_2_payout_information_pull_funds.rb +213 -213
- data/lib/cybersource_rest_client/models/inline_response_201_2_payout_information_push_funds.rb +417 -417
- data/lib/cybersource_rest_client/models/inline_response_400_9.rb +235 -0
- data/lib/cybersource_rest_client/models/inline_response_400_9_details.rb +201 -0
- data/lib/cybersource_rest_client/models/inline_response_403_3.rb +223 -0
- data/lib/cybersource_rest_client/models/inline_response_404_1.rb +236 -235
- data/lib/cybersource_rest_client/models/inline_response_404_1_details.rb +201 -0
- data/lib/cybersource_rest_client/models/inline_response_404_2.rb +235 -211
- data/lib/cybersource_rest_client/models/inline_response_404_3.rb +211 -223
- data/lib/cybersource_rest_client/models/{inline_response_404_2_details.rb → inline_response_404_3_details.rb} +199 -199
- data/lib/cybersource_rest_client/models/inline_response_404_4.rb +223 -0
- data/lib/cybersource_rest_client/models/inline_response_404_5.rb +223 -0
- data/lib/cybersource_rest_client/models/inline_response_422_2.rb +223 -0
- data/lib/cybersource_rest_client/models/inline_response_502_1.rb +223 -0
- data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response.rb +210 -200
- data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_merchant_information.rb +215 -0
- 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
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response.rb +292 -280
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response.rb +280 -268
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_merchant_defined_field_values_with_definition.rb +309 -0
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_put200_response.rb +280 -268
- data/lib/cybersource_rest_client/models/invoicingv2invoices_merchant_defined_field_values.rb +199 -0
- data/lib/cybersource_rest_client/models/merchant_defined_field_core.rb +315 -0
- data/lib/cybersource_rest_client/models/merchant_defined_field_definition_request.rb +315 -0
- data/lib/cybersource_rest_client/models/mit_reversal_request.rb +239 -229
- data/lib/cybersource_rest_client/models/payments_products_alternative_payment_methods_configuration_payment_methods.rb +258 -248
- data/lib/cybersource_rest_client/models/payments_products_alternative_payment_methods_subscription_information.rb +189 -202
- data/lib/cybersource_rest_client/models/payments_products_currency_conversion.rb +199 -199
- data/lib/cybersource_rest_client/models/payments_products_differential_fee_subscription_information_features.rb +189 -189
- data/lib/cybersource_rest_client/models/payments_products_payer_authentication.rb +199 -199
- data/lib/cybersource_rest_client/models/{payments_products_differential_fee_subscription_information_features_surcharge.rb → payments_products_payer_authentication_subscription_information.rb} +202 -189
- data/lib/cybersource_rest_client/models/payments_products_payouts.rb +199 -199
- data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations.rb +201 -203
- data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_common.rb +215 -0
- data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_common_aggregator.rb +257 -0
- data/lib/cybersource_rest_client/models/payments_products_secure_acceptance.rb +199 -199
- data/lib/cybersource_rest_client/models/payments_products_service_fee.rb +199 -199
- data/lib/cybersource_rest_client/models/payments_products_tax.rb +189 -189
- data/lib/cybersource_rest_client/models/payments_products_virtual_terminal.rb +199 -199
- data/lib/cybersource_rest_client/models/post_issuer_life_cycle_simulation_request.rb +211 -0
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +322 -312
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_invoice_details.rb +190 -190
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processor_information.rb +273 -263
- data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_payment_information_e_wallet.rb +241 -241
- data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_processor_information.rb +233 -233
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_issuer_information.rb +213 -213
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_amount_details.rb +196 -196
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_processor_information.rb +289 -289
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_2_processor_information.rb +264 -264
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_invoice_details.rb +207 -207
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +841 -831
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +323 -313
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +330 -320
- data/lib/cybersource_rest_client/models/ptsv2intents_payment_information_tokenized_payment_method.rb +241 -241
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +685 -668
- data/lib/cybersource_rest_client/models/ptsv2payments_processor_information.rb +227 -217
- data/lib/cybersource_rest_client/models/ptsv2payments_processor_information_reversal.rb +206 -196
- data/lib/cybersource_rest_client/models/ptsv2payments_processor_information_reversal_network.rb +196 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_processing_information.rb +199 -189
- data/lib/cybersource_rest_client/models/ptsv2reversals_processor_information.rb +189 -0
- data/lib/cybersource_rest_client/models/refund_capture_request.rb +312 -302
- data/lib/cybersource_rest_client/models/refund_payment_request.rb +312 -302
- data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_get200_response_report_definitions.rb +253 -253
- data/lib/cybersource_rest_client/models/risk_products_decision_manager.rb +199 -199
- data/lib/cybersource_rest_client/models/risk_products_fraud_management_essentials.rb +199 -199
- data/lib/cybersource_rest_client/models/risk_products_portfolio_risk_controls.rb +199 -199
- data/lib/cybersource_rest_client/models/tms_bin_lookup_payment_account_information_features.rb +485 -430
- data/lib/cybersource_rest_client/models/tms_issuerlifecycleeventsimulations_metadata_card_art_combined_asset.rb +190 -0
- data/lib/cybersource_rest_client/models/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_card.rb +230 -0
- data/lib/cybersource_rest_client/models/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata.rb +189 -0
- data/lib/cybersource_rest_client/models/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art.rb +189 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +308 -291
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information.rb +332 -322
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +465 -404
- data/lib/cybersource_rest_client/models/underwriting_configuration.rb +280 -0
- data/lib/cybersource_rest_client/models/underwriting_configuration_billing_information.rb +189 -0
- data/lib/cybersource_rest_client/models/underwriting_configuration_billing_information_bank_account_information.rb +285 -0
- data/lib/cybersource_rest_client/models/underwriting_configuration_business_details_product_services_subscription.rb +213 -0
- data/lib/cybersource_rest_client/models/underwriting_configuration_client_reference_information.rb +231 -0
- data/lib/cybersource_rest_client/models/underwriting_configuration_deposit_information.rb +285 -0
- data/lib/cybersource_rest_client/models/underwriting_configuration_device_information.rb +212 -0
- data/lib/cybersource_rest_client/models/underwriting_configuration_file_attachment_information.rb +190 -0
- data/lib/cybersource_rest_client/models/underwriting_configuration_merchant_application.rb +256 -0
- data/lib/cybersource_rest_client/models/underwriting_configuration_merchant_application_products.rb +251 -0
- data/lib/cybersource_rest_client/models/underwriting_configuration_organization_information.rb +258 -0
- data/lib/cybersource_rest_client/models/underwriting_configuration_organization_information_business_information.rb +677 -0
- data/lib/cybersource_rest_client/models/underwriting_configuration_organization_information_business_information_address.rb +397 -0
- data/lib/cybersource_rest_client/models/underwriting_configuration_organization_information_business_information_address_1.rb +388 -0
- data/lib/cybersource_rest_client/models/underwriting_configuration_organization_information_business_information_address_2.rb +352 -0
- data/lib/cybersource_rest_client/models/underwriting_configuration_organization_information_business_information_business_contact.rb +309 -0
- data/lib/cybersource_rest_client/models/underwriting_configuration_organization_information_business_information_business_details.rb +555 -0
- data/lib/cybersource_rest_client/models/underwriting_configuration_organization_information_business_information_director_information.rb +380 -0
- data/lib/cybersource_rest_client/models/underwriting_configuration_organization_information_business_information_owner_information.rb +611 -0
- data/lib/cybersource_rest_client/models/underwriting_configuration_organization_information_business_information_trading_address.rb +352 -0
- data/lib/cybersource_rest_client/models/underwriting_configuration_sale_representative_information.rb +335 -0
- data/lib/cybersource_rest_client/models/update_invoice_request.rb +241 -229
- data/lib/cybersource_rest_client/models/upv1capturecontexts_capture_mandate.rb +296 -297
- data/lib/cybersource_rest_client/models/upv1capturecontexts_capture_mandate_cpf.rb +190 -0
- data/lib/cybersource_rest_client.rb +75 -22
- metadata +78 -25
- data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_pullfunds.rb +0 -310
- 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82dee352ed5a32561e79d0e0e6ea538329968122bc97e241a1c1eb8f75ced45f
|
4
|
+
data.tar.gz: ba8a224b7f76d826343f08e68411fbc5a45184cb9e6307f364c98f4bbe374890
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 [
|
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**<br>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 & card type. - Response record information including response code, reason, token ids, masked card number, expiration dates & 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<(
|
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 => '
|
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 [
|
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**<br>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<(
|
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 => '
|
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 [
|
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<(
|
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 => '
|
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<
|
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<
|
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<
|
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<
|
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'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<
|
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<
|
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 [
|
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<(
|
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 => '
|
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 [
|
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<(
|
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 => '
|
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<
|
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<
|
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<
|
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 [
|
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<(
|
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 => '
|
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 [
|
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<(
|
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 => '
|
86
|
+
:return_type => 'InlineResponse2003')
|
87
87
|
if @api_client.config.debugging
|
88
88
|
begin
|
89
89
|
raise
|