hydrogen-integration-api 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/README.md +87 -0
- data/Rakefile +8 -0
- data/git_push.sh +55 -0
- data/integration_api.gemspec +46 -0
- data/lib/integration_api.rb +257 -0
- data/lib/integration_api/api/accounting_api.rb +870 -0
- data/lib/integration_api/api/ach_api.rb +1109 -0
- data/lib/integration_api/api/aggregation_api.rb +616 -0
- data/lib/integration_api/api/async_api.rb +263 -0
- data/lib/integration_api/api/baas_api.rb +518 -0
- data/lib/integration_api/api/brokerage_api.rb +1091 -0
- data/lib/integration_api/api/card_api.rb +1651 -0
- data/lib/integration_api/api/iav_api.rb +186 -0
- data/lib/integration_api/api/kms_api.rb +301 -0
- data/lib/integration_api/api/kyc_api.rb +138 -0
- data/lib/integration_api/api/market_data_api.rb +127 -0
- data/lib/integration_api/api/rtp_api.rb +479 -0
- data/lib/integration_api/api/sms_api.rb +129 -0
- data/lib/integration_api/api/smtp_api.rb +129 -0
- data/lib/integration_api/api/utils_api.rb +296 -0
- data/lib/integration_api/api/webhook_api.rb +301 -0
- data/lib/integration_api/api/wire_api.rb +479 -0
- data/lib/integration_api/api_client.rb +392 -0
- data/lib/integration_api/api_error.rb +38 -0
- data/lib/integration_api/auth_configuration.rb +181 -0
- data/lib/integration_api/configuration.rb +209 -0
- data/lib/integration_api/environment.rb +26 -0
- data/lib/integration_api/models/accounting_customer_response_vo.rb +200 -0
- data/lib/integration_api/models/accounting_customer_revenue_response_vo.rb +199 -0
- data/lib/integration_api/models/accounting_final_response_vo.rb +252 -0
- data/lib/integration_api/models/accounting_invoice_payment_response_vo.rb +199 -0
- data/lib/integration_api/models/accounting_invoice_response_vo.rb +199 -0
- data/lib/integration_api/models/accounting_stats_response_vo.rb +199 -0
- data/lib/integration_api/models/ach_balance_response_vo.rb +230 -0
- data/lib/integration_api/models/ach_bank_link_request_co.rb +199 -0
- data/lib/integration_api/models/ach_bank_link_response_vo.rb +235 -0
- data/lib/integration_api/models/ach_beneficial_owner_request_co.rb +190 -0
- data/lib/integration_api/models/ach_beneficial_owner_response_vo.rb +208 -0
- data/lib/integration_api/models/ach_business_balance_response_vo.rb +226 -0
- data/lib/integration_api/models/ach_business_request_co.rb +199 -0
- data/lib/integration_api/models/ach_business_response_vo.rb +217 -0
- data/lib/integration_api/models/ach_card_link_request_co.rb +190 -0
- data/lib/integration_api/models/ach_card_link_response_vo.rb +217 -0
- data/lib/integration_api/models/ach_card_load_response_vo.rb +190 -0
- data/lib/integration_api/models/ach_card_request_co.rb +182 -0
- data/lib/integration_api/models/ach_card_reserve_request_co.rb +181 -0
- data/lib/integration_api/models/ach_card_reserve_response_vo.rb +217 -0
- data/lib/integration_api/models/ach_card_response_vo.rb +218 -0
- data/lib/integration_api/models/ach_client_request_co.rb +199 -0
- data/lib/integration_api/models/ach_client_response_vo.rb +217 -0
- data/lib/integration_api/models/ach_reserve_link_request_co.rb +181 -0
- data/lib/integration_api/models/ach_reserve_link_response_vo.rb +219 -0
- data/lib/integration_api/models/ach_status_response_vo.rb +260 -0
- data/lib/integration_api/models/ach_transfer_request_co.rb +199 -0
- data/lib/integration_api/models/ach_transfer_response_vo.rb +244 -0
- data/lib/integration_api/models/acquiree.rb +199 -0
- data/lib/integration_api/models/acquirer.rb +199 -0
- data/lib/integration_api/models/address.rb +278 -0
- data/lib/integration_api/models/aggregation_account.rb +495 -0
- data/lib/integration_api/models/aggregation_account_balance.rb +292 -0
- data/lib/integration_api/models/aggregation_account_balance_response_vo.rb +208 -0
- data/lib/integration_api/models/aggregation_account_holding.rb +370 -0
- data/lib/integration_api/models/aggregation_account_holding_response_internal_object_vo.rb +199 -0
- data/lib/integration_api/models/aggregation_account_holding_response_vo.rb +210 -0
- data/lib/integration_api/models/aggregation_account_response_internal_object_vo.rb +199 -0
- data/lib/integration_api/models/aggregation_account_response_vo.rb +208 -0
- data/lib/integration_api/models/aggregation_account_transaction.rb +329 -0
- data/lib/integration_api/models/aggregation_account_transaction_response_internal_object_vo.rb +199 -0
- data/lib/integration_api/models/aggregation_account_transaction_response_vo.rb +221 -0
- data/lib/integration_api/models/aggregation_accounts_response_vo.rb +210 -0
- data/lib/integration_api/models/aggregation_request_object.rb +226 -0
- data/lib/integration_api/models/aggregation_vendor_request_co.rb +199 -0
- data/lib/integration_api/models/apple_payload.rb +199 -0
- data/lib/integration_api/models/async_transaction.rb +217 -0
- data/lib/integration_api/models/async_transaction_vo.rb +199 -0
- data/lib/integration_api/models/attachment_vo.rb +199 -0
- data/lib/integration_api/models/baas_account_co.rb +190 -0
- data/lib/integration_api/models/baas_account_vo.rb +253 -0
- data/lib/integration_api/models/baas_balance_vo.rb +221 -0
- data/lib/integration_api/models/baas_business_vo.rb +237 -0
- data/lib/integration_api/models/baas_client_vo.rb +237 -0
- data/lib/integration_api/models/baas_statement_vo.rb +226 -0
- data/lib/integration_api/models/baas_statements_vo.rb +201 -0
- data/lib/integration_api/models/baas_sub_account_co.rb +181 -0
- data/lib/integration_api/models/baas_sub_account_vo.rb +244 -0
- data/lib/integration_api/models/baas_transactions_vo.rb +221 -0
- data/lib/integration_api/models/balances.rb +223 -0
- data/lib/integration_api/models/bank_credit.rb +282 -0
- data/lib/integration_api/models/bank_link.rb +431 -0
- data/lib/integration_api/models/bank_link_response_internal_object_vo.rb +199 -0
- data/lib/integration_api/models/bank_link_vendor_data_vo.rb +190 -0
- data/lib/integration_api/models/base_response_vo.rb +199 -0
- data/lib/integration_api/models/brokerage_account_co.rb +192 -0
- data/lib/integration_api/models/brokerage_account_vo.rb +217 -0
- data/lib/integration_api/models/brokerage_balance_vo.rb +228 -0
- data/lib/integration_api/models/brokerage_bank_link_co.rb +181 -0
- data/lib/integration_api/models/brokerage_bank_link_vo.rb +226 -0
- data/lib/integration_api/models/brokerage_create_client_co.rb +192 -0
- data/lib/integration_api/models/brokerage_create_client_vo.rb +217 -0
- data/lib/integration_api/models/brokerage_deposit_co.rb +181 -0
- data/lib/integration_api/models/brokerage_deposit_vo.rb +217 -0
- data/lib/integration_api/models/brokerage_document_co.rb +190 -0
- data/lib/integration_api/models/brokerage_document_vo.rb +226 -0
- data/lib/integration_api/models/brokerage_holding_vo.rb +226 -0
- data/lib/integration_api/models/brokerage_order_co.rb +181 -0
- data/lib/integration_api/models/brokerage_order_vo.rb +226 -0
- data/lib/integration_api/models/brokerage_performance_vo.rb +226 -0
- data/lib/integration_api/models/brokerage_securities_vo.rb +217 -0
- data/lib/integration_api/models/brokerage_statement_vo.rb +199 -0
- data/lib/integration_api/models/brokerage_transaction_vo.rb +226 -0
- data/lib/integration_api/models/brokerage_update_client_co.rb +183 -0
- data/lib/integration_api/models/brokerage_update_client_vo.rb +237 -0
- data/lib/integration_api/models/brokerage_withdrawal_co.rb +181 -0
- data/lib/integration_api/models/brokerage_withdrawal_vo.rb +217 -0
- data/lib/integration_api/models/business_address.rb +253 -0
- data/lib/integration_api/models/business_status_response_vo.rb +217 -0
- data/lib/integration_api/models/business_vendor_request_data_vo.rb +313 -0
- data/lib/integration_api/models/card_auto_reload_request_co.rb +208 -0
- data/lib/integration_api/models/card_auto_reload_response_vo.rb +226 -0
- data/lib/integration_api/models/card_balance_response_vo.rb +230 -0
- data/lib/integration_api/models/card_base_request_co.rb +199 -0
- data/lib/integration_api/models/card_business_request_co.rb +181 -0
- data/lib/integration_api/models/card_client_request_co.rb +192 -0
- data/lib/integration_api/models/card_load_request_co.rb +190 -0
- data/lib/integration_api/models/card_load_unload_response_vo.rb +235 -0
- data/lib/integration_api/models/card_pin_request_co.rb +208 -0
- data/lib/integration_api/models/card_replace_response_vo.rb +235 -0
- data/lib/integration_api/models/card_reserve_account_response_vo.rb +235 -0
- data/lib/integration_api/models/card_reserve_transfer_request_co.rb +181 -0
- data/lib/integration_api/models/card_reserve_transfer_response_vo.rb +217 -0
- data/lib/integration_api/models/card_spending_control_request_co.rb +181 -0
- data/lib/integration_api/models/card_spending_control_response_vo.rb +217 -0
- data/lib/integration_api/models/card_token_request_co.rb +242 -0
- data/lib/integration_api/models/card_token_response_vo.rb +278 -0
- data/lib/integration_api/models/card_transaction_response_vo.rb +230 -0
- data/lib/integration_api/models/card_unload_request_co.rb +190 -0
- data/lib/integration_api/models/card_update_pin_request_co.rb +208 -0
- data/lib/integration_api/models/cash.rb +213 -0
- data/lib/integration_api/models/client_address.rb +283 -0
- data/lib/integration_api/models/client_vendor_request_data_vo.rb +340 -0
- data/lib/integration_api/models/contact.rb +356 -0
- data/lib/integration_api/models/contact_address.rb +268 -0
- data/lib/integration_api/models/create_baas_business_co.rb +192 -0
- data/lib/integration_api/models/create_baas_client_co.rb +192 -0
- data/lib/integration_api/models/create_business_response_vo.rb +217 -0
- data/lib/integration_api/models/create_card_client_response_vo.rb +217 -0
- data/lib/integration_api/models/create_user_request.rb +235 -0
- data/lib/integration_api/models/customer_revenue.rb +296 -0
- data/lib/integration_api/models/dividend.rb +199 -0
- data/lib/integration_api/models/dividend_tax.rb +190 -0
- data/lib/integration_api/models/email.rb +359 -0
- data/lib/integration_api/models/email_click.rb +220 -0
- data/lib/integration_api/models/email_open.rb +205 -0
- data/lib/integration_api/models/exchange_public_token_vo.rb +227 -0
- data/lib/integration_api/models/exchange_token_co.rb +235 -0
- data/lib/integration_api/models/financial_statement.rb +362 -0
- data/lib/integration_api/models/get_card_image_response_vo.rb +217 -0
- data/lib/integration_api/models/get_card_pci_details_response_vo.rb +235 -0
- data/lib/integration_api/models/get_card_statement_response_vo.rb +282 -0
- data/lib/integration_api/models/get_card_token_response_vo.rb +278 -0
- data/lib/integration_api/models/get_transactions_response.rb +183 -0
- data/lib/integration_api/models/google_payload.rb +181 -0
- data/lib/integration_api/models/iav_aggregation_response_vo.rb +190 -0
- data/lib/integration_api/models/iav_bank_link_response_vo.rb +192 -0
- data/lib/integration_api/models/iav_request_co.rb +244 -0
- data/lib/integration_api/models/iav_response_vo.rb +199 -0
- data/lib/integration_api/models/iav_token_exchange_vendor_response_vo.rb +172 -0
- data/lib/integration_api/models/iav_vendor_request_co.rb +199 -0
- data/lib/integration_api/models/identification.rb +235 -0
- data/lib/integration_api/models/instrument.rb +199 -0
- data/lib/integration_api/models/investment.rb +283 -0
- data/lib/integration_api/models/invoice.rb +472 -0
- data/lib/integration_api/models/invoice_payment.rb +269 -0
- data/lib/integration_api/models/json_node.rb +172 -0
- data/lib/integration_api/models/kms_config.rb +307 -0
- data/lib/integration_api/models/kyc_request_co.rb +255 -0
- data/lib/integration_api/models/kyc_response_vo.rb +271 -0
- data/lib/integration_api/models/kyc_vendor_request_data_vo.rb +385 -0
- data/lib/integration_api/models/line_items.rb +278 -0
- data/lib/integration_api/models/location.rb +253 -0
- data/lib/integration_api/models/mapstringobject.rb +172 -0
- data/lib/integration_api/models/md_history_item_vo.rb +235 -0
- data/lib/integration_api/models/md_history_request_co.rb +221 -0
- data/lib/integration_api/models/md_history_response_vo.rb +183 -0
- data/lib/integration_api/models/md_quote_item_vo.rb +352 -0
- data/lib/integration_api/models/md_quote_request_co.rb +246 -0
- data/lib/integration_api/models/md_quote_response_vo.rb +183 -0
- data/lib/integration_api/models/merger_acquisition.rb +199 -0
- data/lib/integration_api/models/nucleus_transfer_fields_co.rb +190 -0
- data/lib/integration_api/models/ownership.rb +190 -0
- data/lib/integration_api/models/page_ach_transfer_response_vo.rb +258 -0
- data/lib/integration_api/models/page_kms_config.rb +258 -0
- data/lib/integration_api/models/page_webhook.rb +258 -0
- data/lib/integration_api/models/pageobject.rb +258 -0
- data/lib/integration_api/models/politically_exposed_person_dto.rb +208 -0
- data/lib/integration_api/models/portfolio_asset_size_log.rb +329 -0
- data/lib/integration_api/models/property_value_response_vo.rb +226 -0
- data/lib/integration_api/models/response_entity.rb +233 -0
- data/lib/integration_api/models/rtp_bank_link_request_co.rb +190 -0
- data/lib/integration_api/models/rtp_bank_link_response_vo.rb +235 -0
- data/lib/integration_api/models/rtp_transfer_request_co.rb +190 -0
- data/lib/integration_api/models/rtp_transfer_response_vo.rb +226 -0
- data/lib/integration_api/models/samsung_payload.rb +181 -0
- data/lib/integration_api/models/sms.rb +335 -0
- data/lib/integration_api/models/sms_response_vo.rb +226 -0
- data/lib/integration_api/models/smsvo.rb +217 -0
- data/lib/integration_api/models/smtp_response_vo.rb +226 -0
- data/lib/integration_api/models/smtp_vo.rb +273 -0
- data/lib/integration_api/models/sort.rb +233 -0
- data/lib/integration_api/models/spending_control_vendor_request_data_vo.rb +255 -0
- data/lib/integration_api/models/stat.rb +203 -0
- data/lib/integration_api/models/transaction.rb +370 -0
- data/lib/integration_api/models/update_baas_business_co.rb +183 -0
- data/lib/integration_api/models/update_baas_client_co.rb +183 -0
- data/lib/integration_api/models/update_business_response_vo.rb +217 -0
- data/lib/integration_api/models/update_card_client_response_vo.rb +217 -0
- data/lib/integration_api/models/user_response_interface.rb +172 -0
- data/lib/integration_api/models/user_response_vo.rb +235 -0
- data/lib/integration_api/models/vendor_access_config_vo.rb +202 -0
- data/lib/integration_api/models/webhook.rb +277 -0
- data/lib/integration_api/models/widget_url_vo.rb +190 -0
- data/lib/integration_api/models/wire_bank_link_request_co.rb +190 -0
- data/lib/integration_api/models/wire_bank_link_response_vo.rb +235 -0
- data/lib/integration_api/models/wire_transfer_request_co.rb +190 -0
- data/lib/integration_api/models/wire_transfer_response_vo.rb +226 -0
- data/lib/integration_api/models/zillow_property_vendor_response_vo.rb +217 -0
- data/lib/integration_api/version.rb +15 -0
- data/spec/api/accounting_api_spec.rb +234 -0
- data/spec/api/ach_api_spec.rb +259 -0
- data/spec/api/aggregation_api_spec.rb +172 -0
- data/spec/api/async_api_spec.rb +88 -0
- data/spec/api/baas_api_spec.rb +143 -0
- data/spec/api/brokerage_api_spec.rb +264 -0
- data/spec/api/card_api_spec.rb +385 -0
- data/spec/api/iav_api_spec.rb +73 -0
- data/spec/api/kms_api_spec.rb +100 -0
- data/spec/api/kyc_api_spec.rb +63 -0
- data/spec/api/market_data_api_spec.rb +57 -0
- data/spec/api/rtp_api_spec.rb +134 -0
- data/spec/api/sms_api_spec.rb +59 -0
- data/spec/api/smtp_api_spec.rb +59 -0
- data/spec/api/utils_api_spec.rb +104 -0
- data/spec/api/webhook_api_spec.rb +100 -0
- data/spec/api/wire_api_spec.rb +134 -0
- data/spec/api_client_spec.rb +243 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/accounting_customer_response_vo_spec.rb +53 -0
- data/spec/models/accounting_customer_revenue_response_vo_spec.rb +53 -0
- data/spec/models/accounting_final_response_vo_spec.rb +83 -0
- data/spec/models/accounting_invoice_payment_response_vo_spec.rb +53 -0
- data/spec/models/accounting_invoice_response_vo_spec.rb +53 -0
- data/spec/models/accounting_stats_response_vo_spec.rb +53 -0
- data/spec/models/ach_balance_response_vo_spec.rb +71 -0
- data/spec/models/ach_bank_link_request_co_spec.rb +53 -0
- data/spec/models/ach_bank_link_response_vo_spec.rb +77 -0
- data/spec/models/ach_beneficial_owner_request_co_spec.rb +47 -0
- data/spec/models/ach_beneficial_owner_response_vo_spec.rb +59 -0
- data/spec/models/ach_business_balance_response_vo_spec.rb +71 -0
- data/spec/models/ach_business_request_co_spec.rb +53 -0
- data/spec/models/ach_business_response_vo_spec.rb +65 -0
- data/spec/models/ach_card_link_request_co_spec.rb +47 -0
- data/spec/models/ach_card_link_response_vo_spec.rb +65 -0
- data/spec/models/ach_card_load_response_vo_spec.rb +47 -0
- data/spec/models/ach_card_request_co_spec.rb +41 -0
- data/spec/models/ach_card_reserve_request_co_spec.rb +41 -0
- data/spec/models/ach_card_reserve_response_vo_spec.rb +65 -0
- data/spec/models/ach_card_response_vo_spec.rb +65 -0
- data/spec/models/ach_client_request_co_spec.rb +53 -0
- data/spec/models/ach_client_response_vo_spec.rb +65 -0
- data/spec/models/ach_reserve_link_request_co_spec.rb +41 -0
- data/spec/models/ach_reserve_link_response_vo_spec.rb +65 -0
- data/spec/models/ach_status_response_vo_spec.rb +75 -0
- data/spec/models/ach_transfer_request_co_spec.rb +53 -0
- data/spec/models/ach_transfer_response_vo_spec.rb +83 -0
- data/spec/models/acquiree_spec.rb +53 -0
- data/spec/models/acquirer_spec.rb +53 -0
- data/spec/models/address_spec.rb +87 -0
- data/spec/models/aggregation_account_balance_response_vo_spec.rb +59 -0
- data/spec/models/aggregation_account_balance_spec.rb +101 -0
- data/spec/models/aggregation_account_holding_response_internal_object_vo_spec.rb +53 -0
- data/spec/models/aggregation_account_holding_response_vo_spec.rb +59 -0
- data/spec/models/aggregation_account_holding_spec.rb +155 -0
- data/spec/models/aggregation_account_response_internal_object_vo_spec.rb +53 -0
- data/spec/models/aggregation_account_response_vo_spec.rb +59 -0
- data/spec/models/aggregation_account_spec.rb +221 -0
- data/spec/models/aggregation_account_transaction_response_internal_object_vo_spec.rb +53 -0
- data/spec/models/aggregation_account_transaction_response_vo_spec.rb +65 -0
- data/spec/models/aggregation_account_transaction_spec.rb +125 -0
- data/spec/models/aggregation_accounts_response_vo_spec.rb +59 -0
- data/spec/models/aggregation_request_object_spec.rb +71 -0
- data/spec/models/aggregation_vendor_request_co_spec.rb +53 -0
- data/spec/models/apple_payload_spec.rb +53 -0
- data/spec/models/async_transaction_spec.rb +65 -0
- data/spec/models/async_transaction_vo_spec.rb +53 -0
- data/spec/models/attachment_vo_spec.rb +53 -0
- data/spec/models/baas_account_co_spec.rb +47 -0
- data/spec/models/baas_account_vo_spec.rb +89 -0
- data/spec/models/baas_balance_vo_spec.rb +65 -0
- data/spec/models/baas_business_vo_spec.rb +77 -0
- data/spec/models/baas_client_vo_spec.rb +77 -0
- data/spec/models/baas_statement_vo_spec.rb +71 -0
- data/spec/models/baas_statements_vo_spec.rb +53 -0
- data/spec/models/baas_sub_account_co_spec.rb +41 -0
- data/spec/models/baas_sub_account_vo_spec.rb +83 -0
- data/spec/models/baas_transactions_vo_spec.rb +65 -0
- data/spec/models/balances_spec.rb +65 -0
- data/spec/models/bank_credit_spec.rb +95 -0
- data/spec/models/bank_link_response_internal_object_vo_spec.rb +53 -0
- data/spec/models/bank_link_spec.rb +179 -0
- data/spec/models/bank_link_vendor_data_vo_spec.rb +47 -0
- data/spec/models/base_response_vo_spec.rb +53 -0
- data/spec/models/brokerage_account_co_spec.rb +47 -0
- data/spec/models/brokerage_account_vo_spec.rb +65 -0
- data/spec/models/brokerage_balance_vo_spec.rb +71 -0
- data/spec/models/brokerage_bank_link_co_spec.rb +41 -0
- data/spec/models/brokerage_bank_link_vo_spec.rb +71 -0
- data/spec/models/brokerage_create_client_co_spec.rb +47 -0
- data/spec/models/brokerage_create_client_vo_spec.rb +65 -0
- data/spec/models/brokerage_deposit_co_spec.rb +41 -0
- data/spec/models/brokerage_deposit_vo_spec.rb +65 -0
- data/spec/models/brokerage_document_co_spec.rb +47 -0
- data/spec/models/brokerage_document_vo_spec.rb +71 -0
- data/spec/models/brokerage_holding_vo_spec.rb +71 -0
- data/spec/models/brokerage_order_co_spec.rb +41 -0
- data/spec/models/brokerage_order_vo_spec.rb +71 -0
- data/spec/models/brokerage_performance_vo_spec.rb +71 -0
- data/spec/models/brokerage_securities_vo_spec.rb +65 -0
- data/spec/models/brokerage_statement_vo_spec.rb +53 -0
- data/spec/models/brokerage_transaction_vo_spec.rb +71 -0
- data/spec/models/brokerage_update_client_co_spec.rb +41 -0
- data/spec/models/brokerage_update_client_vo_spec.rb +77 -0
- data/spec/models/brokerage_withdrawal_co_spec.rb +41 -0
- data/spec/models/brokerage_withdrawal_vo_spec.rb +65 -0
- data/spec/models/business_address_spec.rb +83 -0
- data/spec/models/business_status_response_vo_spec.rb +65 -0
- data/spec/models/business_vendor_request_data_vo_spec.rb +125 -0
- data/spec/models/card_auto_reload_request_co_spec.rb +59 -0
- data/spec/models/card_auto_reload_response_vo_spec.rb +71 -0
- data/spec/models/card_balance_response_vo_spec.rb +71 -0
- data/spec/models/card_base_request_co_spec.rb +53 -0
- data/spec/models/card_business_request_co_spec.rb +41 -0
- data/spec/models/card_client_request_co_spec.rb +47 -0
- data/spec/models/card_load_request_co_spec.rb +47 -0
- data/spec/models/card_load_unload_response_vo_spec.rb +77 -0
- data/spec/models/card_pin_request_co_spec.rb +59 -0
- data/spec/models/card_replace_response_vo_spec.rb +77 -0
- data/spec/models/card_reserve_account_response_vo_spec.rb +77 -0
- data/spec/models/card_reserve_transfer_request_co_spec.rb +41 -0
- data/spec/models/card_reserve_transfer_response_vo_spec.rb +65 -0
- data/spec/models/card_spending_control_request_co_spec.rb +41 -0
- data/spec/models/card_spending_control_response_vo_spec.rb +65 -0
- data/spec/models/card_token_request_co_spec.rb +63 -0
- data/spec/models/card_token_response_vo_spec.rb +87 -0
- data/spec/models/card_transaction_response_vo_spec.rb +71 -0
- data/spec/models/card_unload_request_co_spec.rb +47 -0
- data/spec/models/card_update_pin_request_co_spec.rb +59 -0
- data/spec/models/cash_spec.rb +53 -0
- data/spec/models/client_address_spec.rb +87 -0
- data/spec/models/client_vendor_request_data_vo_spec.rb +143 -0
- data/spec/models/contact_address_spec.rb +77 -0
- data/spec/models/contact_spec.rb +143 -0
- data/spec/models/create_baas_business_co_spec.rb +47 -0
- data/spec/models/create_baas_client_co_spec.rb +47 -0
- data/spec/models/create_business_response_vo_spec.rb +65 -0
- data/spec/models/create_card_client_response_vo_spec.rb +65 -0
- data/spec/models/create_user_request_spec.rb +77 -0
- data/spec/models/customer_revenue_spec.rb +95 -0
- data/spec/models/dividend_spec.rb +53 -0
- data/spec/models/dividend_tax_spec.rb +47 -0
- data/spec/models/email_click_spec.rb +59 -0
- data/spec/models/email_open_spec.rb +53 -0
- data/spec/models/email_spec.rb +149 -0
- data/spec/models/exchange_public_token_vo_spec.rb +71 -0
- data/spec/models/exchange_token_co_spec.rb +77 -0
- data/spec/models/financial_statement_spec.rb +137 -0
- data/spec/models/get_card_image_response_vo_spec.rb +65 -0
- data/spec/models/get_card_pci_details_response_vo_spec.rb +77 -0
- data/spec/models/get_card_statement_response_vo_spec.rb +107 -0
- data/spec/models/get_card_token_response_vo_spec.rb +87 -0
- data/spec/models/get_transactions_response_spec.rb +41 -0
- data/spec/models/google_payload_spec.rb +41 -0
- data/spec/models/iav_aggregation_response_vo_spec.rb +47 -0
- data/spec/models/iav_bank_link_response_vo_spec.rb +47 -0
- data/spec/models/iav_request_co_spec.rb +83 -0
- data/spec/models/iav_response_vo_spec.rb +53 -0
- data/spec/models/iav_token_exchange_vendor_response_vo_spec.rb +35 -0
- data/spec/models/iav_vendor_request_co_spec.rb +53 -0
- data/spec/models/identification_spec.rb +77 -0
- data/spec/models/instrument_spec.rb +53 -0
- data/spec/models/investment_spec.rb +89 -0
- data/spec/models/invoice_payment_spec.rb +83 -0
- data/spec/models/invoice_spec.rb +197 -0
- data/spec/models/json_node_spec.rb +35 -0
- data/spec/models/kms_config_spec.rb +107 -0
- data/spec/models/kyc_request_co_spec.rb +89 -0
- data/spec/models/kyc_response_vo_spec.rb +101 -0
- data/spec/models/kyc_vendor_request_data_vo_spec.rb +173 -0
- data/spec/models/line_items_spec.rb +83 -0
- data/spec/models/location_spec.rb +83 -0
- data/spec/models/mapstringobject_spec.rb +35 -0
- data/spec/models/md_history_item_vo_spec.rb +77 -0
- data/spec/models/md_history_request_co_spec.rb +65 -0
- data/spec/models/md_history_response_vo_spec.rb +41 -0
- data/spec/models/md_quote_item_vo_spec.rb +155 -0
- data/spec/models/md_quote_request_co_spec.rb +63 -0
- data/spec/models/md_quote_response_vo_spec.rb +41 -0
- data/spec/models/merger_acquisition_spec.rb +53 -0
- data/spec/models/nucleus_transfer_fields_co_spec.rb +47 -0
- data/spec/models/ownership_spec.rb +47 -0
- data/spec/models/page_ach_transfer_response_vo_spec.rb +89 -0
- data/spec/models/page_kms_config_spec.rb +89 -0
- data/spec/models/page_webhook_spec.rb +89 -0
- data/spec/models/pageobject_spec.rb +89 -0
- data/spec/models/politically_exposed_person_dto_spec.rb +59 -0
- data/spec/models/portfolio_asset_size_log_spec.rb +113 -0
- data/spec/models/property_value_response_vo_spec.rb +71 -0
- data/spec/models/response_entity_spec.rb +57 -0
- data/spec/models/rtp_bank_link_request_co_spec.rb +47 -0
- data/spec/models/rtp_bank_link_response_vo_spec.rb +77 -0
- data/spec/models/rtp_transfer_request_co_spec.rb +47 -0
- data/spec/models/rtp_transfer_response_vo_spec.rb +71 -0
- data/spec/models/samsung_payload_spec.rb +41 -0
- data/spec/models/sms_response_vo_spec.rb +71 -0
- data/spec/models/sms_spec.rb +137 -0
- data/spec/models/smsvo_spec.rb +65 -0
- data/spec/models/smtp_response_vo_spec.rb +71 -0
- data/spec/models/smtp_vo_spec.rb +101 -0
- data/spec/models/sort_spec.rb +71 -0
- data/spec/models/spending_control_vendor_request_data_vo_spec.rb +89 -0
- data/spec/models/stat_spec.rb +47 -0
- data/spec/models/transaction_spec.rb +167 -0
- data/spec/models/update_baas_business_co_spec.rb +41 -0
- data/spec/models/update_baas_client_co_spec.rb +41 -0
- data/spec/models/update_business_response_vo_spec.rb +65 -0
- data/spec/models/update_card_client_response_vo_spec.rb +65 -0
- data/spec/models/user_response_interface_spec.rb +35 -0
- data/spec/models/user_response_vo_spec.rb +77 -0
- data/spec/models/vendor_access_config_vo_spec.rb +53 -0
- data/spec/models/webhook_spec.rb +87 -0
- data/spec/models/widget_url_vo_spec.rb +47 -0
- data/spec/models/wire_bank_link_request_co_spec.rb +47 -0
- data/spec/models/wire_bank_link_response_vo_spec.rb +77 -0
- data/spec/models/wire_transfer_request_co_spec.rb +47 -0
- data/spec/models/wire_transfer_response_vo_spec.rb +71 -0
- data/spec/models/zillow_property_vendor_response_vo_spec.rb +65 -0
- data/spec/spec_helper.rb +111 -0
- metadata +909 -0
@@ -0,0 +1,1109 @@
|
|
1
|
+
=begin
|
2
|
+
#Hydrogen Integration API
|
3
|
+
|
4
|
+
#The Hydrogen Integration API
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.3.1
|
7
|
+
Contact: info@hydrogenplatform.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.21
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'uri'
|
14
|
+
|
15
|
+
module IntegrationApi
|
16
|
+
class ACHApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
# Cancel the ACH transfer
|
23
|
+
# @param nucleus_funding_id nucleus_funding_id
|
24
|
+
# @param [Hash] opts the optional parameters
|
25
|
+
# @return [AchTransferResponseVO]
|
26
|
+
def cancel_ach_transfer_using_delete(nucleus_funding_id, opts = {})
|
27
|
+
data, _status_code, _headers = cancel_ach_transfer_using_delete_with_http_info(nucleus_funding_id, opts)
|
28
|
+
data
|
29
|
+
end
|
30
|
+
|
31
|
+
# Cancel the ACH transfer
|
32
|
+
# @param nucleus_funding_id nucleus_funding_id
|
33
|
+
# @param [Hash] opts the optional parameters
|
34
|
+
# @return [Array<(AchTransferResponseVO, Fixnum, Hash)>] AchTransferResponseVO data, response status code and response headers
|
35
|
+
def cancel_ach_transfer_using_delete_with_http_info(nucleus_funding_id, opts = {})
|
36
|
+
if @api_client.config.debugging
|
37
|
+
@api_client.config.logger.debug 'Calling API: ACHApi.cancel_ach_transfer_using_delete ...'
|
38
|
+
end
|
39
|
+
# verify the required parameter 'nucleus_funding_id' is set
|
40
|
+
if @api_client.config.client_side_validation && nucleus_funding_id.nil?
|
41
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_funding_id' when calling ACHApi.cancel_ach_transfer_using_delete"
|
42
|
+
end
|
43
|
+
# resource path
|
44
|
+
local_var_path = '/ach/{nucleus_funding_id}'.sub('{' + 'nucleus_funding_id' + '}', nucleus_funding_id.to_s)
|
45
|
+
|
46
|
+
# query parameters
|
47
|
+
query_params = {}
|
48
|
+
|
49
|
+
# header parameters
|
50
|
+
header_params = {}
|
51
|
+
# HTTP header 'Accept' (if needed)
|
52
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
53
|
+
|
54
|
+
# form parameters
|
55
|
+
form_params = {}
|
56
|
+
|
57
|
+
# http body (model)
|
58
|
+
post_body = nil
|
59
|
+
auth_names = ['oauth2']
|
60
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
61
|
+
:header_params => header_params,
|
62
|
+
:query_params => query_params,
|
63
|
+
:form_params => form_params,
|
64
|
+
:body => post_body,
|
65
|
+
:auth_names => auth_names,
|
66
|
+
:return_type => 'AchTransferResponseVO')
|
67
|
+
if @api_client.config.debugging
|
68
|
+
@api_client.config.logger.debug "API called: ACHApi#cancel_ach_transfer_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
69
|
+
end
|
70
|
+
return data, status_code, headers
|
71
|
+
end
|
72
|
+
# Create bank link
|
73
|
+
# @param ach_bank_link_request_co achBankLinkRequestCO
|
74
|
+
# @param [Hash] opts the optional parameters
|
75
|
+
# @return [AchBankLinkResponseVO]
|
76
|
+
def create_ach_bank_link_using_post(ach_bank_link_request_co, opts = {})
|
77
|
+
data, _status_code, _headers = create_ach_bank_link_using_post_with_http_info(ach_bank_link_request_co, opts)
|
78
|
+
data
|
79
|
+
end
|
80
|
+
|
81
|
+
# Create bank link
|
82
|
+
# @param ach_bank_link_request_co achBankLinkRequestCO
|
83
|
+
# @param [Hash] opts the optional parameters
|
84
|
+
# @return [Array<(AchBankLinkResponseVO, Fixnum, Hash)>] AchBankLinkResponseVO data, response status code and response headers
|
85
|
+
def create_ach_bank_link_using_post_with_http_info(ach_bank_link_request_co, opts = {})
|
86
|
+
if @api_client.config.debugging
|
87
|
+
@api_client.config.logger.debug 'Calling API: ACHApi.create_ach_bank_link_using_post ...'
|
88
|
+
end
|
89
|
+
# verify the required parameter 'ach_bank_link_request_co' is set
|
90
|
+
if @api_client.config.client_side_validation && ach_bank_link_request_co.nil?
|
91
|
+
fail ArgumentError, "Missing the required parameter 'ach_bank_link_request_co' when calling ACHApi.create_ach_bank_link_using_post"
|
92
|
+
end
|
93
|
+
# resource path
|
94
|
+
local_var_path = '/ach/bank_link'
|
95
|
+
|
96
|
+
# query parameters
|
97
|
+
query_params = {}
|
98
|
+
|
99
|
+
# header parameters
|
100
|
+
header_params = {}
|
101
|
+
# HTTP header 'Accept' (if needed)
|
102
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
103
|
+
# HTTP header 'Content-Type'
|
104
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
105
|
+
|
106
|
+
# form parameters
|
107
|
+
form_params = {}
|
108
|
+
|
109
|
+
# http body (model)
|
110
|
+
post_body = @api_client.object_to_http_body(ach_bank_link_request_co)
|
111
|
+
auth_names = ['oauth2']
|
112
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
113
|
+
:header_params => header_params,
|
114
|
+
:query_params => query_params,
|
115
|
+
:form_params => form_params,
|
116
|
+
:body => post_body,
|
117
|
+
:auth_names => auth_names,
|
118
|
+
:return_type => 'AchBankLinkResponseVO')
|
119
|
+
if @api_client.config.debugging
|
120
|
+
@api_client.config.logger.debug "API called: ACHApi#create_ach_bank_link_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
121
|
+
end
|
122
|
+
return data, status_code, headers
|
123
|
+
end
|
124
|
+
# Create a beneficial owner
|
125
|
+
# @param beneficial_owner_request beneficialOwnerRequest
|
126
|
+
# @param [Hash] opts the optional parameters
|
127
|
+
# @return [AchBeneficialOwnerResponseVO]
|
128
|
+
def create_ach_beneficial_owner_using_post(beneficial_owner_request, opts = {})
|
129
|
+
data, _status_code, _headers = create_ach_beneficial_owner_using_post_with_http_info(beneficial_owner_request, opts)
|
130
|
+
data
|
131
|
+
end
|
132
|
+
|
133
|
+
# Create a beneficial owner
|
134
|
+
# @param beneficial_owner_request beneficialOwnerRequest
|
135
|
+
# @param [Hash] opts the optional parameters
|
136
|
+
# @return [Array<(AchBeneficialOwnerResponseVO, Fixnum, Hash)>] AchBeneficialOwnerResponseVO data, response status code and response headers
|
137
|
+
def create_ach_beneficial_owner_using_post_with_http_info(beneficial_owner_request, opts = {})
|
138
|
+
if @api_client.config.debugging
|
139
|
+
@api_client.config.logger.debug 'Calling API: ACHApi.create_ach_beneficial_owner_using_post ...'
|
140
|
+
end
|
141
|
+
# verify the required parameter 'beneficial_owner_request' is set
|
142
|
+
if @api_client.config.client_side_validation && beneficial_owner_request.nil?
|
143
|
+
fail ArgumentError, "Missing the required parameter 'beneficial_owner_request' when calling ACHApi.create_ach_beneficial_owner_using_post"
|
144
|
+
end
|
145
|
+
# resource path
|
146
|
+
local_var_path = '/ach/business/beneficial_owner'
|
147
|
+
|
148
|
+
# query parameters
|
149
|
+
query_params = {}
|
150
|
+
|
151
|
+
# header parameters
|
152
|
+
header_params = {}
|
153
|
+
# HTTP header 'Accept' (if needed)
|
154
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
155
|
+
# HTTP header 'Content-Type'
|
156
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
157
|
+
|
158
|
+
# form parameters
|
159
|
+
form_params = {}
|
160
|
+
|
161
|
+
# http body (model)
|
162
|
+
post_body = @api_client.object_to_http_body(beneficial_owner_request)
|
163
|
+
auth_names = ['oauth2']
|
164
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
165
|
+
:header_params => header_params,
|
166
|
+
:query_params => query_params,
|
167
|
+
:form_params => form_params,
|
168
|
+
:body => post_body,
|
169
|
+
:auth_names => auth_names,
|
170
|
+
:return_type => 'AchBeneficialOwnerResponseVO')
|
171
|
+
if @api_client.config.debugging
|
172
|
+
@api_client.config.logger.debug "API called: ACHApi#create_ach_beneficial_owner_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
173
|
+
end
|
174
|
+
return data, status_code, headers
|
175
|
+
end
|
176
|
+
# Create a business
|
177
|
+
# @param business_request businessRequest
|
178
|
+
# @param [Hash] opts the optional parameters
|
179
|
+
# @return [AchBusinessResponseVO]
|
180
|
+
def create_ach_business_using_post(business_request, opts = {})
|
181
|
+
data, _status_code, _headers = create_ach_business_using_post_with_http_info(business_request, opts)
|
182
|
+
data
|
183
|
+
end
|
184
|
+
|
185
|
+
# Create a business
|
186
|
+
# @param business_request businessRequest
|
187
|
+
# @param [Hash] opts the optional parameters
|
188
|
+
# @return [Array<(AchBusinessResponseVO, Fixnum, Hash)>] AchBusinessResponseVO data, response status code and response headers
|
189
|
+
def create_ach_business_using_post_with_http_info(business_request, opts = {})
|
190
|
+
if @api_client.config.debugging
|
191
|
+
@api_client.config.logger.debug 'Calling API: ACHApi.create_ach_business_using_post ...'
|
192
|
+
end
|
193
|
+
# verify the required parameter 'business_request' is set
|
194
|
+
if @api_client.config.client_side_validation && business_request.nil?
|
195
|
+
fail ArgumentError, "Missing the required parameter 'business_request' when calling ACHApi.create_ach_business_using_post"
|
196
|
+
end
|
197
|
+
# resource path
|
198
|
+
local_var_path = '/ach/business'
|
199
|
+
|
200
|
+
# query parameters
|
201
|
+
query_params = {}
|
202
|
+
|
203
|
+
# header parameters
|
204
|
+
header_params = {}
|
205
|
+
# HTTP header 'Accept' (if needed)
|
206
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
207
|
+
# HTTP header 'Content-Type'
|
208
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
209
|
+
|
210
|
+
# form parameters
|
211
|
+
form_params = {}
|
212
|
+
|
213
|
+
# http body (model)
|
214
|
+
post_body = @api_client.object_to_http_body(business_request)
|
215
|
+
auth_names = ['oauth2']
|
216
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
217
|
+
:header_params => header_params,
|
218
|
+
:query_params => query_params,
|
219
|
+
:form_params => form_params,
|
220
|
+
:body => post_body,
|
221
|
+
:auth_names => auth_names,
|
222
|
+
:return_type => 'AchBusinessResponseVO')
|
223
|
+
if @api_client.config.debugging
|
224
|
+
@api_client.config.logger.debug "API called: ACHApi#create_ach_business_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
225
|
+
end
|
226
|
+
return data, status_code, headers
|
227
|
+
end
|
228
|
+
# Create an ACH card link
|
229
|
+
# @param card_link_request_co cardLinkRequestCO
|
230
|
+
# @param [Hash] opts the optional parameters
|
231
|
+
# @return [AchCardLinkResponseVO]
|
232
|
+
def create_ach_card_link_using_post(card_link_request_co, opts = {})
|
233
|
+
data, _status_code, _headers = create_ach_card_link_using_post_with_http_info(card_link_request_co, opts)
|
234
|
+
data
|
235
|
+
end
|
236
|
+
|
237
|
+
# Create an ACH card link
|
238
|
+
# @param card_link_request_co cardLinkRequestCO
|
239
|
+
# @param [Hash] opts the optional parameters
|
240
|
+
# @return [Array<(AchCardLinkResponseVO, Fixnum, Hash)>] AchCardLinkResponseVO data, response status code and response headers
|
241
|
+
def create_ach_card_link_using_post_with_http_info(card_link_request_co, opts = {})
|
242
|
+
if @api_client.config.debugging
|
243
|
+
@api_client.config.logger.debug 'Calling API: ACHApi.create_ach_card_link_using_post ...'
|
244
|
+
end
|
245
|
+
# verify the required parameter 'card_link_request_co' is set
|
246
|
+
if @api_client.config.client_side_validation && card_link_request_co.nil?
|
247
|
+
fail ArgumentError, "Missing the required parameter 'card_link_request_co' when calling ACHApi.create_ach_card_link_using_post"
|
248
|
+
end
|
249
|
+
# resource path
|
250
|
+
local_var_path = '/ach/card_link'
|
251
|
+
|
252
|
+
# query parameters
|
253
|
+
query_params = {}
|
254
|
+
|
255
|
+
# header parameters
|
256
|
+
header_params = {}
|
257
|
+
# HTTP header 'Accept' (if needed)
|
258
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
259
|
+
# HTTP header 'Content-Type'
|
260
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
261
|
+
|
262
|
+
# form parameters
|
263
|
+
form_params = {}
|
264
|
+
|
265
|
+
# http body (model)
|
266
|
+
post_body = @api_client.object_to_http_body(card_link_request_co)
|
267
|
+
auth_names = ['oauth2']
|
268
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
269
|
+
:header_params => header_params,
|
270
|
+
:query_params => query_params,
|
271
|
+
:form_params => form_params,
|
272
|
+
:body => post_body,
|
273
|
+
:auth_names => auth_names,
|
274
|
+
:return_type => 'AchCardLinkResponseVO')
|
275
|
+
if @api_client.config.debugging
|
276
|
+
@api_client.config.logger.debug "API called: ACHApi#create_ach_card_link_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
277
|
+
end
|
278
|
+
return data, status_code, headers
|
279
|
+
end
|
280
|
+
# Create an ACH card reserve
|
281
|
+
# @param card_reserve_request_co cardReserveRequestCO
|
282
|
+
# @param [Hash] opts the optional parameters
|
283
|
+
# @return [AchCardReserveResponseVO]
|
284
|
+
def create_ach_card_reserve_using_post(card_reserve_request_co, opts = {})
|
285
|
+
data, _status_code, _headers = create_ach_card_reserve_using_post_with_http_info(card_reserve_request_co, opts)
|
286
|
+
data
|
287
|
+
end
|
288
|
+
|
289
|
+
# Create an ACH card reserve
|
290
|
+
# @param card_reserve_request_co cardReserveRequestCO
|
291
|
+
# @param [Hash] opts the optional parameters
|
292
|
+
# @return [Array<(AchCardReserveResponseVO, Fixnum, Hash)>] AchCardReserveResponseVO data, response status code and response headers
|
293
|
+
def create_ach_card_reserve_using_post_with_http_info(card_reserve_request_co, opts = {})
|
294
|
+
if @api_client.config.debugging
|
295
|
+
@api_client.config.logger.debug 'Calling API: ACHApi.create_ach_card_reserve_using_post ...'
|
296
|
+
end
|
297
|
+
# verify the required parameter 'card_reserve_request_co' is set
|
298
|
+
if @api_client.config.client_side_validation && card_reserve_request_co.nil?
|
299
|
+
fail ArgumentError, "Missing the required parameter 'card_reserve_request_co' when calling ACHApi.create_ach_card_reserve_using_post"
|
300
|
+
end
|
301
|
+
# resource path
|
302
|
+
local_var_path = '/ach/card_reserve'
|
303
|
+
|
304
|
+
# query parameters
|
305
|
+
query_params = {}
|
306
|
+
|
307
|
+
# header parameters
|
308
|
+
header_params = {}
|
309
|
+
# HTTP header 'Accept' (if needed)
|
310
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
311
|
+
# HTTP header 'Content-Type'
|
312
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
313
|
+
|
314
|
+
# form parameters
|
315
|
+
form_params = {}
|
316
|
+
|
317
|
+
# http body (model)
|
318
|
+
post_body = @api_client.object_to_http_body(card_reserve_request_co)
|
319
|
+
auth_names = ['oauth2']
|
320
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
321
|
+
:header_params => header_params,
|
322
|
+
:query_params => query_params,
|
323
|
+
:form_params => form_params,
|
324
|
+
:body => post_body,
|
325
|
+
:auth_names => auth_names,
|
326
|
+
:return_type => 'AchCardReserveResponseVO')
|
327
|
+
if @api_client.config.debugging
|
328
|
+
@api_client.config.logger.debug "API called: ACHApi#create_ach_card_reserve_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
329
|
+
end
|
330
|
+
return data, status_code, headers
|
331
|
+
end
|
332
|
+
# Create a client
|
333
|
+
# @param client_request clientRequest
|
334
|
+
# @param [Hash] opts the optional parameters
|
335
|
+
# @return [AchClientResponseVO]
|
336
|
+
def create_ach_client_using_post(client_request, opts = {})
|
337
|
+
data, _status_code, _headers = create_ach_client_using_post_with_http_info(client_request, opts)
|
338
|
+
data
|
339
|
+
end
|
340
|
+
|
341
|
+
# Create a client
|
342
|
+
# @param client_request clientRequest
|
343
|
+
# @param [Hash] opts the optional parameters
|
344
|
+
# @return [Array<(AchClientResponseVO, Fixnum, Hash)>] AchClientResponseVO data, response status code and response headers
|
345
|
+
def create_ach_client_using_post_with_http_info(client_request, opts = {})
|
346
|
+
if @api_client.config.debugging
|
347
|
+
@api_client.config.logger.debug 'Calling API: ACHApi.create_ach_client_using_post ...'
|
348
|
+
end
|
349
|
+
# verify the required parameter 'client_request' is set
|
350
|
+
if @api_client.config.client_side_validation && client_request.nil?
|
351
|
+
fail ArgumentError, "Missing the required parameter 'client_request' when calling ACHApi.create_ach_client_using_post"
|
352
|
+
end
|
353
|
+
# resource path
|
354
|
+
local_var_path = '/ach/client'
|
355
|
+
|
356
|
+
# query parameters
|
357
|
+
query_params = {}
|
358
|
+
|
359
|
+
# header parameters
|
360
|
+
header_params = {}
|
361
|
+
# HTTP header 'Accept' (if needed)
|
362
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
363
|
+
# HTTP header 'Content-Type'
|
364
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
365
|
+
|
366
|
+
# form parameters
|
367
|
+
form_params = {}
|
368
|
+
|
369
|
+
# http body (model)
|
370
|
+
post_body = @api_client.object_to_http_body(client_request)
|
371
|
+
auth_names = ['oauth2']
|
372
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
373
|
+
:header_params => header_params,
|
374
|
+
:query_params => query_params,
|
375
|
+
:form_params => form_params,
|
376
|
+
:body => post_body,
|
377
|
+
:auth_names => auth_names,
|
378
|
+
:return_type => 'AchClientResponseVO')
|
379
|
+
if @api_client.config.debugging
|
380
|
+
@api_client.config.logger.debug "API called: ACHApi#create_ach_client_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
381
|
+
end
|
382
|
+
return data, status_code, headers
|
383
|
+
end
|
384
|
+
# Create an ACH reserve link
|
385
|
+
# @param reserve_link_request_co reserveLinkRequestCO
|
386
|
+
# @param [Hash] opts the optional parameters
|
387
|
+
# @return [AchReserveLinkResponseVO]
|
388
|
+
def create_ach_reserve_link_using_post(reserve_link_request_co, opts = {})
|
389
|
+
data, _status_code, _headers = create_ach_reserve_link_using_post_with_http_info(reserve_link_request_co, opts)
|
390
|
+
data
|
391
|
+
end
|
392
|
+
|
393
|
+
# Create an ACH reserve link
|
394
|
+
# @param reserve_link_request_co reserveLinkRequestCO
|
395
|
+
# @param [Hash] opts the optional parameters
|
396
|
+
# @return [Array<(AchReserveLinkResponseVO, Fixnum, Hash)>] AchReserveLinkResponseVO data, response status code and response headers
|
397
|
+
def create_ach_reserve_link_using_post_with_http_info(reserve_link_request_co, opts = {})
|
398
|
+
if @api_client.config.debugging
|
399
|
+
@api_client.config.logger.debug 'Calling API: ACHApi.create_ach_reserve_link_using_post ...'
|
400
|
+
end
|
401
|
+
# verify the required parameter 'reserve_link_request_co' is set
|
402
|
+
if @api_client.config.client_side_validation && reserve_link_request_co.nil?
|
403
|
+
fail ArgumentError, "Missing the required parameter 'reserve_link_request_co' when calling ACHApi.create_ach_reserve_link_using_post"
|
404
|
+
end
|
405
|
+
# resource path
|
406
|
+
local_var_path = '/ach/reserve_link'
|
407
|
+
|
408
|
+
# query parameters
|
409
|
+
query_params = {}
|
410
|
+
|
411
|
+
# header parameters
|
412
|
+
header_params = {}
|
413
|
+
# HTTP header 'Accept' (if needed)
|
414
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
415
|
+
# HTTP header 'Content-Type'
|
416
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
417
|
+
|
418
|
+
# form parameters
|
419
|
+
form_params = {}
|
420
|
+
|
421
|
+
# http body (model)
|
422
|
+
post_body = @api_client.object_to_http_body(reserve_link_request_co)
|
423
|
+
auth_names = ['oauth2']
|
424
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
425
|
+
:header_params => header_params,
|
426
|
+
:query_params => query_params,
|
427
|
+
:form_params => form_params,
|
428
|
+
:body => post_body,
|
429
|
+
:auth_names => auth_names,
|
430
|
+
:return_type => 'AchReserveLinkResponseVO')
|
431
|
+
if @api_client.config.debugging
|
432
|
+
@api_client.config.logger.debug "API called: ACHApi#create_ach_reserve_link_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
433
|
+
end
|
434
|
+
return data, status_code, headers
|
435
|
+
end
|
436
|
+
# Delete bank link
|
437
|
+
# @param nucleus_bank_link_id nucleus_bank_link_id
|
438
|
+
# @param [Hash] opts the optional parameters
|
439
|
+
# @return [AchBankLinkResponseVO]
|
440
|
+
def delete_ach_bank_link_using_delete(nucleus_bank_link_id, opts = {})
|
441
|
+
data, _status_code, _headers = delete_ach_bank_link_using_delete_with_http_info(nucleus_bank_link_id, opts)
|
442
|
+
data
|
443
|
+
end
|
444
|
+
|
445
|
+
# Delete bank link
|
446
|
+
# @param nucleus_bank_link_id nucleus_bank_link_id
|
447
|
+
# @param [Hash] opts the optional parameters
|
448
|
+
# @return [Array<(AchBankLinkResponseVO, Fixnum, Hash)>] AchBankLinkResponseVO data, response status code and response headers
|
449
|
+
def delete_ach_bank_link_using_delete_with_http_info(nucleus_bank_link_id, opts = {})
|
450
|
+
if @api_client.config.debugging
|
451
|
+
@api_client.config.logger.debug 'Calling API: ACHApi.delete_ach_bank_link_using_delete ...'
|
452
|
+
end
|
453
|
+
# verify the required parameter 'nucleus_bank_link_id' is set
|
454
|
+
if @api_client.config.client_side_validation && nucleus_bank_link_id.nil?
|
455
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_bank_link_id' when calling ACHApi.delete_ach_bank_link_using_delete"
|
456
|
+
end
|
457
|
+
# resource path
|
458
|
+
local_var_path = '/ach/bank_link/{nucleus_bank_link_id}'.sub('{' + 'nucleus_bank_link_id' + '}', nucleus_bank_link_id.to_s)
|
459
|
+
|
460
|
+
# query parameters
|
461
|
+
query_params = {}
|
462
|
+
|
463
|
+
# header parameters
|
464
|
+
header_params = {}
|
465
|
+
# HTTP header 'Accept' (if needed)
|
466
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
467
|
+
|
468
|
+
# form parameters
|
469
|
+
form_params = {}
|
470
|
+
|
471
|
+
# http body (model)
|
472
|
+
post_body = nil
|
473
|
+
auth_names = ['oauth2']
|
474
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
475
|
+
:header_params => header_params,
|
476
|
+
:query_params => query_params,
|
477
|
+
:form_params => form_params,
|
478
|
+
:body => post_body,
|
479
|
+
:auth_names => auth_names,
|
480
|
+
:return_type => 'AchBankLinkResponseVO')
|
481
|
+
if @api_client.config.debugging
|
482
|
+
@api_client.config.logger.debug "API called: ACHApi#delete_ach_bank_link_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
483
|
+
end
|
484
|
+
return data, status_code, headers
|
485
|
+
end
|
486
|
+
# Fund card
|
487
|
+
# @param ach_card_request_co achCardRequestCO
|
488
|
+
# @param [Hash] opts the optional parameters
|
489
|
+
# @return [AchCardResponseVO]
|
490
|
+
def fund_card_using_post(ach_card_request_co, opts = {})
|
491
|
+
data, _status_code, _headers = fund_card_using_post_with_http_info(ach_card_request_co, opts)
|
492
|
+
data
|
493
|
+
end
|
494
|
+
|
495
|
+
# Fund card
|
496
|
+
# @param ach_card_request_co achCardRequestCO
|
497
|
+
# @param [Hash] opts the optional parameters
|
498
|
+
# @return [Array<(AchCardResponseVO, Fixnum, Hash)>] AchCardResponseVO data, response status code and response headers
|
499
|
+
def fund_card_using_post_with_http_info(ach_card_request_co, opts = {})
|
500
|
+
if @api_client.config.debugging
|
501
|
+
@api_client.config.logger.debug 'Calling API: ACHApi.fund_card_using_post ...'
|
502
|
+
end
|
503
|
+
# verify the required parameter 'ach_card_request_co' is set
|
504
|
+
if @api_client.config.client_side_validation && ach_card_request_co.nil?
|
505
|
+
fail ArgumentError, "Missing the required parameter 'ach_card_request_co' when calling ACHApi.fund_card_using_post"
|
506
|
+
end
|
507
|
+
# resource path
|
508
|
+
local_var_path = '/ach/card'
|
509
|
+
|
510
|
+
# query parameters
|
511
|
+
query_params = {}
|
512
|
+
|
513
|
+
# header parameters
|
514
|
+
header_params = {}
|
515
|
+
# HTTP header 'Accept' (if needed)
|
516
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
517
|
+
# HTTP header 'Content-Type'
|
518
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
519
|
+
|
520
|
+
# form parameters
|
521
|
+
form_params = {}
|
522
|
+
|
523
|
+
# http body (model)
|
524
|
+
post_body = @api_client.object_to_http_body(ach_card_request_co)
|
525
|
+
auth_names = ['oauth2']
|
526
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
527
|
+
:header_params => header_params,
|
528
|
+
:query_params => query_params,
|
529
|
+
:form_params => form_params,
|
530
|
+
:body => post_body,
|
531
|
+
:auth_names => auth_names,
|
532
|
+
:return_type => 'AchCardResponseVO')
|
533
|
+
if @api_client.config.debugging
|
534
|
+
@api_client.config.logger.debug "API called: ACHApi#fund_card_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
535
|
+
end
|
536
|
+
return data, status_code, headers
|
537
|
+
end
|
538
|
+
# Get balance
|
539
|
+
# @param portfolio_id portfolio_id
|
540
|
+
# @param [Hash] opts the optional parameters
|
541
|
+
# @option opts [Date] :end_date end_date
|
542
|
+
# @option opts [Date] :start_date start_date
|
543
|
+
# @return [AchBalanceResponseVO]
|
544
|
+
def get_ach_balance_using_get(portfolio_id, opts = {})
|
545
|
+
data, _status_code, _headers = get_ach_balance_using_get_with_http_info(portfolio_id, opts)
|
546
|
+
data
|
547
|
+
end
|
548
|
+
|
549
|
+
# Get balance
|
550
|
+
# @param portfolio_id portfolio_id
|
551
|
+
# @param [Hash] opts the optional parameters
|
552
|
+
# @option opts [Date] :end_date end_date
|
553
|
+
# @option opts [Date] :start_date start_date
|
554
|
+
# @return [Array<(AchBalanceResponseVO, Fixnum, Hash)>] AchBalanceResponseVO data, response status code and response headers
|
555
|
+
def get_ach_balance_using_get_with_http_info(portfolio_id, opts = {})
|
556
|
+
if @api_client.config.debugging
|
557
|
+
@api_client.config.logger.debug 'Calling API: ACHApi.get_ach_balance_using_get ...'
|
558
|
+
end
|
559
|
+
# verify the required parameter 'portfolio_id' is set
|
560
|
+
if @api_client.config.client_side_validation && portfolio_id.nil?
|
561
|
+
fail ArgumentError, "Missing the required parameter 'portfolio_id' when calling ACHApi.get_ach_balance_using_get"
|
562
|
+
end
|
563
|
+
# resource path
|
564
|
+
local_var_path = '/ach/balance/{portfolio_id}'.sub('{' + 'portfolio_id' + '}', portfolio_id.to_s)
|
565
|
+
|
566
|
+
# query parameters
|
567
|
+
query_params = {}
|
568
|
+
query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil?
|
569
|
+
query_params[:'start_date'] = opts[:'start_date'] if !opts[:'start_date'].nil?
|
570
|
+
|
571
|
+
# header parameters
|
572
|
+
header_params = {}
|
573
|
+
# HTTP header 'Accept' (if needed)
|
574
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
575
|
+
|
576
|
+
# form parameters
|
577
|
+
form_params = {}
|
578
|
+
|
579
|
+
# http body (model)
|
580
|
+
post_body = nil
|
581
|
+
auth_names = ['oauth2']
|
582
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
583
|
+
:header_params => header_params,
|
584
|
+
:query_params => query_params,
|
585
|
+
:form_params => form_params,
|
586
|
+
:body => post_body,
|
587
|
+
:auth_names => auth_names,
|
588
|
+
:return_type => 'AchBalanceResponseVO')
|
589
|
+
if @api_client.config.debugging
|
590
|
+
@api_client.config.logger.debug "API called: ACHApi#get_ach_balance_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
591
|
+
end
|
592
|
+
return data, status_code, headers
|
593
|
+
end
|
594
|
+
# Get bank link
|
595
|
+
# @param nucleus_bank_link_id nucleus_bank_link_id
|
596
|
+
# @param [Hash] opts the optional parameters
|
597
|
+
# @return [AchBankLinkResponseVO]
|
598
|
+
def get_ach_bank_link_using_get(nucleus_bank_link_id, opts = {})
|
599
|
+
data, _status_code, _headers = get_ach_bank_link_using_get_with_http_info(nucleus_bank_link_id, opts)
|
600
|
+
data
|
601
|
+
end
|
602
|
+
|
603
|
+
# Get bank link
|
604
|
+
# @param nucleus_bank_link_id nucleus_bank_link_id
|
605
|
+
# @param [Hash] opts the optional parameters
|
606
|
+
# @return [Array<(AchBankLinkResponseVO, Fixnum, Hash)>] AchBankLinkResponseVO data, response status code and response headers
|
607
|
+
def get_ach_bank_link_using_get_with_http_info(nucleus_bank_link_id, opts = {})
|
608
|
+
if @api_client.config.debugging
|
609
|
+
@api_client.config.logger.debug 'Calling API: ACHApi.get_ach_bank_link_using_get ...'
|
610
|
+
end
|
611
|
+
# verify the required parameter 'nucleus_bank_link_id' is set
|
612
|
+
if @api_client.config.client_side_validation && nucleus_bank_link_id.nil?
|
613
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_bank_link_id' when calling ACHApi.get_ach_bank_link_using_get"
|
614
|
+
end
|
615
|
+
# resource path
|
616
|
+
local_var_path = '/ach/bank_link/{nucleus_bank_link_id}'.sub('{' + 'nucleus_bank_link_id' + '}', nucleus_bank_link_id.to_s)
|
617
|
+
|
618
|
+
# query parameters
|
619
|
+
query_params = {}
|
620
|
+
|
621
|
+
# header parameters
|
622
|
+
header_params = {}
|
623
|
+
# HTTP header 'Accept' (if needed)
|
624
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
625
|
+
|
626
|
+
# form parameters
|
627
|
+
form_params = {}
|
628
|
+
|
629
|
+
# http body (model)
|
630
|
+
post_body = nil
|
631
|
+
auth_names = ['oauth2']
|
632
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
633
|
+
:header_params => header_params,
|
634
|
+
:query_params => query_params,
|
635
|
+
:form_params => form_params,
|
636
|
+
:body => post_body,
|
637
|
+
:auth_names => auth_names,
|
638
|
+
:return_type => 'AchBankLinkResponseVO')
|
639
|
+
if @api_client.config.debugging
|
640
|
+
@api_client.config.logger.debug "API called: ACHApi#get_ach_bank_link_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
641
|
+
end
|
642
|
+
return data, status_code, headers
|
643
|
+
end
|
644
|
+
# Get bank links for a reserve account
|
645
|
+
# @param [Hash] opts the optional parameters
|
646
|
+
# @return [Array<AchBankLinkResponseVO>]
|
647
|
+
def get_ach_bank_links_for_reserve_account_using_get(opts = {})
|
648
|
+
data, _status_code, _headers = get_ach_bank_links_for_reserve_account_using_get_with_http_info(opts)
|
649
|
+
data
|
650
|
+
end
|
651
|
+
|
652
|
+
# Get bank links for a reserve account
|
653
|
+
# @param [Hash] opts the optional parameters
|
654
|
+
# @return [Array<(Array<AchBankLinkResponseVO>, Fixnum, Hash)>] Array<AchBankLinkResponseVO> data, response status code and response headers
|
655
|
+
def get_ach_bank_links_for_reserve_account_using_get_with_http_info(opts = {})
|
656
|
+
if @api_client.config.debugging
|
657
|
+
@api_client.config.logger.debug 'Calling API: ACHApi.get_ach_bank_links_for_reserve_account_using_get ...'
|
658
|
+
end
|
659
|
+
# resource path
|
660
|
+
local_var_path = '/ach/bank_link/reserve'
|
661
|
+
|
662
|
+
# query parameters
|
663
|
+
query_params = {}
|
664
|
+
|
665
|
+
# header parameters
|
666
|
+
header_params = {}
|
667
|
+
# HTTP header 'Accept' (if needed)
|
668
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
669
|
+
|
670
|
+
# form parameters
|
671
|
+
form_params = {}
|
672
|
+
|
673
|
+
# http body (model)
|
674
|
+
post_body = nil
|
675
|
+
auth_names = ['oauth2']
|
676
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
677
|
+
:header_params => header_params,
|
678
|
+
:query_params => query_params,
|
679
|
+
:form_params => form_params,
|
680
|
+
:body => post_body,
|
681
|
+
:auth_names => auth_names,
|
682
|
+
:return_type => 'Array<AchBankLinkResponseVO>')
|
683
|
+
if @api_client.config.debugging
|
684
|
+
@api_client.config.logger.debug "API called: ACHApi#get_ach_bank_links_for_reserve_account_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
685
|
+
end
|
686
|
+
return data, status_code, headers
|
687
|
+
end
|
688
|
+
# Get business balance
|
689
|
+
# @param business_id business_id
|
690
|
+
# @param [Hash] opts the optional parameters
|
691
|
+
# @return [AchBalanceResponseVO]
|
692
|
+
def get_ach_business_balance_using_get(business_id, opts = {})
|
693
|
+
data, _status_code, _headers = get_ach_business_balance_using_get_with_http_info(business_id, opts)
|
694
|
+
data
|
695
|
+
end
|
696
|
+
|
697
|
+
# Get business balance
|
698
|
+
# @param business_id business_id
|
699
|
+
# @param [Hash] opts the optional parameters
|
700
|
+
# @return [Array<(AchBalanceResponseVO, Fixnum, Hash)>] AchBalanceResponseVO data, response status code and response headers
|
701
|
+
def get_ach_business_balance_using_get_with_http_info(business_id, opts = {})
|
702
|
+
if @api_client.config.debugging
|
703
|
+
@api_client.config.logger.debug 'Calling API: ACHApi.get_ach_business_balance_using_get ...'
|
704
|
+
end
|
705
|
+
# verify the required parameter 'business_id' is set
|
706
|
+
if @api_client.config.client_side_validation && business_id.nil?
|
707
|
+
fail ArgumentError, "Missing the required parameter 'business_id' when calling ACHApi.get_ach_business_balance_using_get"
|
708
|
+
end
|
709
|
+
# resource path
|
710
|
+
local_var_path = '/ach/business/balance/{business_id}'.sub('{' + 'business_id' + '}', business_id.to_s)
|
711
|
+
|
712
|
+
# query parameters
|
713
|
+
query_params = {}
|
714
|
+
|
715
|
+
# header parameters
|
716
|
+
header_params = {}
|
717
|
+
# HTTP header 'Accept' (if needed)
|
718
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
719
|
+
|
720
|
+
# form parameters
|
721
|
+
form_params = {}
|
722
|
+
|
723
|
+
# http body (model)
|
724
|
+
post_body = nil
|
725
|
+
auth_names = ['oauth2']
|
726
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
727
|
+
:header_params => header_params,
|
728
|
+
:query_params => query_params,
|
729
|
+
:form_params => form_params,
|
730
|
+
:body => post_body,
|
731
|
+
:auth_names => auth_names,
|
732
|
+
:return_type => 'AchBalanceResponseVO')
|
733
|
+
if @api_client.config.debugging
|
734
|
+
@api_client.config.logger.debug "API called: ACHApi#get_ach_business_balance_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
735
|
+
end
|
736
|
+
return data, status_code, headers
|
737
|
+
end
|
738
|
+
# Get client bank links
|
739
|
+
# @param nucleus_client_id nucleus_client_id
|
740
|
+
# @param [Hash] opts the optional parameters
|
741
|
+
# @return [Array<AchBankLinkResponseVO>]
|
742
|
+
def get_ach_client_bank_links_using_get(nucleus_client_id, opts = {})
|
743
|
+
data, _status_code, _headers = get_ach_client_bank_links_using_get_with_http_info(nucleus_client_id, opts)
|
744
|
+
data
|
745
|
+
end
|
746
|
+
|
747
|
+
# Get client bank links
|
748
|
+
# @param nucleus_client_id nucleus_client_id
|
749
|
+
# @param [Hash] opts the optional parameters
|
750
|
+
# @return [Array<(Array<AchBankLinkResponseVO>, Fixnum, Hash)>] Array<AchBankLinkResponseVO> data, response status code and response headers
|
751
|
+
def get_ach_client_bank_links_using_get_with_http_info(nucleus_client_id, opts = {})
|
752
|
+
if @api_client.config.debugging
|
753
|
+
@api_client.config.logger.debug 'Calling API: ACHApi.get_ach_client_bank_links_using_get ...'
|
754
|
+
end
|
755
|
+
# verify the required parameter 'nucleus_client_id' is set
|
756
|
+
if @api_client.config.client_side_validation && nucleus_client_id.nil?
|
757
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_client_id' when calling ACHApi.get_ach_client_bank_links_using_get"
|
758
|
+
end
|
759
|
+
# resource path
|
760
|
+
local_var_path = '/ach/bank_link/client/{nucleus_client_id}'.sub('{' + 'nucleus_client_id' + '}', nucleus_client_id.to_s)
|
761
|
+
|
762
|
+
# query parameters
|
763
|
+
query_params = {}
|
764
|
+
|
765
|
+
# header parameters
|
766
|
+
header_params = {}
|
767
|
+
# HTTP header 'Accept' (if needed)
|
768
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
769
|
+
|
770
|
+
# form parameters
|
771
|
+
form_params = {}
|
772
|
+
|
773
|
+
# http body (model)
|
774
|
+
post_body = nil
|
775
|
+
auth_names = ['oauth2']
|
776
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
777
|
+
:header_params => header_params,
|
778
|
+
:query_params => query_params,
|
779
|
+
:form_params => form_params,
|
780
|
+
:body => post_body,
|
781
|
+
:auth_names => auth_names,
|
782
|
+
:return_type => 'Array<AchBankLinkResponseVO>')
|
783
|
+
if @api_client.config.debugging
|
784
|
+
@api_client.config.logger.debug "API called: ACHApi#get_ach_client_bank_links_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
785
|
+
end
|
786
|
+
return data, status_code, headers
|
787
|
+
end
|
788
|
+
# Get the ACH status
|
789
|
+
# @param nucleus_business_id nucleus_business_id
|
790
|
+
# @param [Hash] opts the optional parameters
|
791
|
+
# @return [AchTransferResponseVO]
|
792
|
+
def get_ach_status_using_get(nucleus_business_id, opts = {})
|
793
|
+
data, _status_code, _headers = get_ach_status_using_get_with_http_info(nucleus_business_id, opts)
|
794
|
+
data
|
795
|
+
end
|
796
|
+
|
797
|
+
# Get the ACH status
|
798
|
+
# @param nucleus_business_id nucleus_business_id
|
799
|
+
# @param [Hash] opts the optional parameters
|
800
|
+
# @return [Array<(AchTransferResponseVO, Fixnum, Hash)>] AchTransferResponseVO data, response status code and response headers
|
801
|
+
def get_ach_status_using_get_with_http_info(nucleus_business_id, opts = {})
|
802
|
+
if @api_client.config.debugging
|
803
|
+
@api_client.config.logger.debug 'Calling API: ACHApi.get_ach_status_using_get ...'
|
804
|
+
end
|
805
|
+
# verify the required parameter 'nucleus_business_id' is set
|
806
|
+
if @api_client.config.client_side_validation && nucleus_business_id.nil?
|
807
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_business_id' when calling ACHApi.get_ach_status_using_get"
|
808
|
+
end
|
809
|
+
# resource path
|
810
|
+
local_var_path = '/ach/status'
|
811
|
+
|
812
|
+
# query parameters
|
813
|
+
query_params = {}
|
814
|
+
query_params[:'nucleus_business_id'] = nucleus_business_id
|
815
|
+
|
816
|
+
# header parameters
|
817
|
+
header_params = {}
|
818
|
+
# HTTP header 'Accept' (if needed)
|
819
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
820
|
+
|
821
|
+
# form parameters
|
822
|
+
form_params = {}
|
823
|
+
|
824
|
+
# http body (model)
|
825
|
+
post_body = nil
|
826
|
+
auth_names = ['oauth2']
|
827
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
828
|
+
:header_params => header_params,
|
829
|
+
:query_params => query_params,
|
830
|
+
:form_params => form_params,
|
831
|
+
:body => post_body,
|
832
|
+
:auth_names => auth_names,
|
833
|
+
:return_type => 'AchTransferResponseVO')
|
834
|
+
if @api_client.config.debugging
|
835
|
+
@api_client.config.logger.debug "API called: ACHApi#get_ach_status_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
836
|
+
end
|
837
|
+
return data, status_code, headers
|
838
|
+
end
|
839
|
+
# Get the ACH transfer
|
840
|
+
# @param nucleus_funding_id nucleus_funding_id
|
841
|
+
# @param [Hash] opts the optional parameters
|
842
|
+
# @return [AchTransferResponseVO]
|
843
|
+
def get_ach_transfer_using_get(nucleus_funding_id, opts = {})
|
844
|
+
data, _status_code, _headers = get_ach_transfer_using_get_with_http_info(nucleus_funding_id, opts)
|
845
|
+
data
|
846
|
+
end
|
847
|
+
|
848
|
+
# Get the ACH transfer
|
849
|
+
# @param nucleus_funding_id nucleus_funding_id
|
850
|
+
# @param [Hash] opts the optional parameters
|
851
|
+
# @return [Array<(AchTransferResponseVO, Fixnum, Hash)>] AchTransferResponseVO data, response status code and response headers
|
852
|
+
def get_ach_transfer_using_get_with_http_info(nucleus_funding_id, opts = {})
|
853
|
+
if @api_client.config.debugging
|
854
|
+
@api_client.config.logger.debug 'Calling API: ACHApi.get_ach_transfer_using_get ...'
|
855
|
+
end
|
856
|
+
# verify the required parameter 'nucleus_funding_id' is set
|
857
|
+
if @api_client.config.client_side_validation && nucleus_funding_id.nil?
|
858
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_funding_id' when calling ACHApi.get_ach_transfer_using_get"
|
859
|
+
end
|
860
|
+
# resource path
|
861
|
+
local_var_path = '/ach/{nucleus_funding_id}'.sub('{' + 'nucleus_funding_id' + '}', nucleus_funding_id.to_s)
|
862
|
+
|
863
|
+
# query parameters
|
864
|
+
query_params = {}
|
865
|
+
|
866
|
+
# header parameters
|
867
|
+
header_params = {}
|
868
|
+
# HTTP header 'Accept' (if needed)
|
869
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
870
|
+
|
871
|
+
# form parameters
|
872
|
+
form_params = {}
|
873
|
+
|
874
|
+
# http body (model)
|
875
|
+
post_body = nil
|
876
|
+
auth_names = ['oauth2']
|
877
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
878
|
+
:header_params => header_params,
|
879
|
+
:query_params => query_params,
|
880
|
+
:form_params => form_params,
|
881
|
+
:body => post_body,
|
882
|
+
:auth_names => auth_names,
|
883
|
+
:return_type => 'AchTransferResponseVO')
|
884
|
+
if @api_client.config.debugging
|
885
|
+
@api_client.config.logger.debug "API called: ACHApi#get_ach_transfer_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
886
|
+
end
|
887
|
+
return data, status_code, headers
|
888
|
+
end
|
889
|
+
# Get a list of client's ACH transfers
|
890
|
+
# @param nucleus_client_id nucleus_client_id
|
891
|
+
# @param [Hash] opts the optional parameters
|
892
|
+
# @option opts [Integer] :page page (default to 0)
|
893
|
+
# @option opts [Integer] :size size (default to 25)
|
894
|
+
# @return [PageAchTransferResponseVO]
|
895
|
+
def get_list_of_client_ach_transfers_using_get(nucleus_client_id, opts = {})
|
896
|
+
data, _status_code, _headers = get_list_of_client_ach_transfers_using_get_with_http_info(nucleus_client_id, opts)
|
897
|
+
data
|
898
|
+
end
|
899
|
+
|
900
|
+
# Get a list of client's ACH transfers
|
901
|
+
# @param nucleus_client_id nucleus_client_id
|
902
|
+
# @param [Hash] opts the optional parameters
|
903
|
+
# @option opts [Integer] :page page
|
904
|
+
# @option opts [Integer] :size size
|
905
|
+
# @return [Array<(PageAchTransferResponseVO, Fixnum, Hash)>] PageAchTransferResponseVO data, response status code and response headers
|
906
|
+
def get_list_of_client_ach_transfers_using_get_with_http_info(nucleus_client_id, opts = {})
|
907
|
+
if @api_client.config.debugging
|
908
|
+
@api_client.config.logger.debug 'Calling API: ACHApi.get_list_of_client_ach_transfers_using_get ...'
|
909
|
+
end
|
910
|
+
# verify the required parameter 'nucleus_client_id' is set
|
911
|
+
if @api_client.config.client_side_validation && nucleus_client_id.nil?
|
912
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_client_id' when calling ACHApi.get_list_of_client_ach_transfers_using_get"
|
913
|
+
end
|
914
|
+
# resource path
|
915
|
+
local_var_path = '/ach/client/{nucleus_client_id}'.sub('{' + 'nucleus_client_id' + '}', nucleus_client_id.to_s)
|
916
|
+
|
917
|
+
# query parameters
|
918
|
+
query_params = {}
|
919
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
920
|
+
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
921
|
+
|
922
|
+
# header parameters
|
923
|
+
header_params = {}
|
924
|
+
# HTTP header 'Accept' (if needed)
|
925
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
926
|
+
|
927
|
+
# form parameters
|
928
|
+
form_params = {}
|
929
|
+
|
930
|
+
# http body (model)
|
931
|
+
post_body = nil
|
932
|
+
auth_names = ['oauth2']
|
933
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
934
|
+
:header_params => header_params,
|
935
|
+
:query_params => query_params,
|
936
|
+
:form_params => form_params,
|
937
|
+
:body => post_body,
|
938
|
+
:auth_names => auth_names,
|
939
|
+
:return_type => 'PageAchTransferResponseVO')
|
940
|
+
if @api_client.config.debugging
|
941
|
+
@api_client.config.logger.debug "API called: ACHApi#get_list_of_client_ach_transfers_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
942
|
+
end
|
943
|
+
return data, status_code, headers
|
944
|
+
end
|
945
|
+
# Get a list of tenant's ACH transfers
|
946
|
+
# @param [Hash] opts the optional parameters
|
947
|
+
# @option opts [Date] :end_date end_date
|
948
|
+
# @option opts [Integer] :page page (default to 0)
|
949
|
+
# @option opts [Integer] :size size (default to 25)
|
950
|
+
# @option opts [Date] :start_date start_date
|
951
|
+
# @option opts [String] :status status
|
952
|
+
# @return [PageAchTransferResponseVO]
|
953
|
+
def get_list_of_tenant_ach_transfers_using_get(opts = {})
|
954
|
+
data, _status_code, _headers = get_list_of_tenant_ach_transfers_using_get_with_http_info(opts)
|
955
|
+
data
|
956
|
+
end
|
957
|
+
|
958
|
+
# Get a list of tenant's ACH transfers
|
959
|
+
# @param [Hash] opts the optional parameters
|
960
|
+
# @option opts [Date] :end_date end_date
|
961
|
+
# @option opts [Integer] :page page
|
962
|
+
# @option opts [Integer] :size size
|
963
|
+
# @option opts [Date] :start_date start_date
|
964
|
+
# @option opts [String] :status status
|
965
|
+
# @return [Array<(PageAchTransferResponseVO, Fixnum, Hash)>] PageAchTransferResponseVO data, response status code and response headers
|
966
|
+
def get_list_of_tenant_ach_transfers_using_get_with_http_info(opts = {})
|
967
|
+
if @api_client.config.debugging
|
968
|
+
@api_client.config.logger.debug 'Calling API: ACHApi.get_list_of_tenant_ach_transfers_using_get ...'
|
969
|
+
end
|
970
|
+
# resource path
|
971
|
+
local_var_path = '/ach'
|
972
|
+
|
973
|
+
# query parameters
|
974
|
+
query_params = {}
|
975
|
+
query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil?
|
976
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
977
|
+
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
978
|
+
query_params[:'start_date'] = opts[:'start_date'] if !opts[:'start_date'].nil?
|
979
|
+
query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
|
980
|
+
|
981
|
+
# header parameters
|
982
|
+
header_params = {}
|
983
|
+
# HTTP header 'Accept' (if needed)
|
984
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
985
|
+
|
986
|
+
# form parameters
|
987
|
+
form_params = {}
|
988
|
+
|
989
|
+
# http body (model)
|
990
|
+
post_body = nil
|
991
|
+
auth_names = ['oauth2']
|
992
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
993
|
+
:header_params => header_params,
|
994
|
+
:query_params => query_params,
|
995
|
+
:form_params => form_params,
|
996
|
+
:body => post_body,
|
997
|
+
:auth_names => auth_names,
|
998
|
+
:return_type => 'PageAchTransferResponseVO')
|
999
|
+
if @api_client.config.debugging
|
1000
|
+
@api_client.config.logger.debug "API called: ACHApi#get_list_of_tenant_ach_transfers_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1001
|
+
end
|
1002
|
+
return data, status_code, headers
|
1003
|
+
end
|
1004
|
+
# Submit an ACH transfer
|
1005
|
+
# @param transfer_request transferRequest
|
1006
|
+
# @param [Hash] opts the optional parameters
|
1007
|
+
# @return [AchTransferResponseVO]
|
1008
|
+
def submit_ach_transfer_using_post(transfer_request, opts = {})
|
1009
|
+
data, _status_code, _headers = submit_ach_transfer_using_post_with_http_info(transfer_request, opts)
|
1010
|
+
data
|
1011
|
+
end
|
1012
|
+
|
1013
|
+
# Submit an ACH transfer
|
1014
|
+
# @param transfer_request transferRequest
|
1015
|
+
# @param [Hash] opts the optional parameters
|
1016
|
+
# @return [Array<(AchTransferResponseVO, Fixnum, Hash)>] AchTransferResponseVO data, response status code and response headers
|
1017
|
+
def submit_ach_transfer_using_post_with_http_info(transfer_request, opts = {})
|
1018
|
+
if @api_client.config.debugging
|
1019
|
+
@api_client.config.logger.debug 'Calling API: ACHApi.submit_ach_transfer_using_post ...'
|
1020
|
+
end
|
1021
|
+
# verify the required parameter 'transfer_request' is set
|
1022
|
+
if @api_client.config.client_side_validation && transfer_request.nil?
|
1023
|
+
fail ArgumentError, "Missing the required parameter 'transfer_request' when calling ACHApi.submit_ach_transfer_using_post"
|
1024
|
+
end
|
1025
|
+
# resource path
|
1026
|
+
local_var_path = '/ach'
|
1027
|
+
|
1028
|
+
# query parameters
|
1029
|
+
query_params = {}
|
1030
|
+
|
1031
|
+
# header parameters
|
1032
|
+
header_params = {}
|
1033
|
+
# HTTP header 'Accept' (if needed)
|
1034
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1035
|
+
# HTTP header 'Content-Type'
|
1036
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1037
|
+
|
1038
|
+
# form parameters
|
1039
|
+
form_params = {}
|
1040
|
+
|
1041
|
+
# http body (model)
|
1042
|
+
post_body = @api_client.object_to_http_body(transfer_request)
|
1043
|
+
auth_names = ['oauth2']
|
1044
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1045
|
+
:header_params => header_params,
|
1046
|
+
:query_params => query_params,
|
1047
|
+
:form_params => form_params,
|
1048
|
+
:body => post_body,
|
1049
|
+
:auth_names => auth_names,
|
1050
|
+
:return_type => 'AchTransferResponseVO')
|
1051
|
+
if @api_client.config.debugging
|
1052
|
+
@api_client.config.logger.debug "API called: ACHApi#submit_ach_transfer_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1053
|
+
end
|
1054
|
+
return data, status_code, headers
|
1055
|
+
end
|
1056
|
+
# Update bank link
|
1057
|
+
# @param nucleus_bank_link_id nucleus_bank_link_id
|
1058
|
+
# @param [Hash] opts the optional parameters
|
1059
|
+
# @return [AchBankLinkResponseVO]
|
1060
|
+
def update_ach_bank_link_using_put(nucleus_bank_link_id, opts = {})
|
1061
|
+
data, _status_code, _headers = update_ach_bank_link_using_put_with_http_info(nucleus_bank_link_id, opts)
|
1062
|
+
data
|
1063
|
+
end
|
1064
|
+
|
1065
|
+
# Update bank link
|
1066
|
+
# @param nucleus_bank_link_id nucleus_bank_link_id
|
1067
|
+
# @param [Hash] opts the optional parameters
|
1068
|
+
# @return [Array<(AchBankLinkResponseVO, Fixnum, Hash)>] AchBankLinkResponseVO data, response status code and response headers
|
1069
|
+
def update_ach_bank_link_using_put_with_http_info(nucleus_bank_link_id, opts = {})
|
1070
|
+
if @api_client.config.debugging
|
1071
|
+
@api_client.config.logger.debug 'Calling API: ACHApi.update_ach_bank_link_using_put ...'
|
1072
|
+
end
|
1073
|
+
# verify the required parameter 'nucleus_bank_link_id' is set
|
1074
|
+
if @api_client.config.client_side_validation && nucleus_bank_link_id.nil?
|
1075
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_bank_link_id' when calling ACHApi.update_ach_bank_link_using_put"
|
1076
|
+
end
|
1077
|
+
# resource path
|
1078
|
+
local_var_path = '/ach/bank_link/{nucleus_bank_link_id}'.sub('{' + 'nucleus_bank_link_id' + '}', nucleus_bank_link_id.to_s)
|
1079
|
+
|
1080
|
+
# query parameters
|
1081
|
+
query_params = {}
|
1082
|
+
|
1083
|
+
# header parameters
|
1084
|
+
header_params = {}
|
1085
|
+
# HTTP header 'Accept' (if needed)
|
1086
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1087
|
+
# HTTP header 'Content-Type'
|
1088
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1089
|
+
|
1090
|
+
# form parameters
|
1091
|
+
form_params = {}
|
1092
|
+
|
1093
|
+
# http body (model)
|
1094
|
+
post_body = nil
|
1095
|
+
auth_names = ['oauth2']
|
1096
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
1097
|
+
:header_params => header_params,
|
1098
|
+
:query_params => query_params,
|
1099
|
+
:form_params => form_params,
|
1100
|
+
:body => post_body,
|
1101
|
+
:auth_names => auth_names,
|
1102
|
+
:return_type => 'AchBankLinkResponseVO')
|
1103
|
+
if @api_client.config.debugging
|
1104
|
+
@api_client.config.logger.debug "API called: ACHApi#update_ach_bank_link_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1105
|
+
end
|
1106
|
+
return data, status_code, headers
|
1107
|
+
end
|
1108
|
+
end
|
1109
|
+
end
|