integration_api 1.2.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 +438 -0
- data/Rakefile +8 -0
- data/docs/ACHApi.md +878 -0
- data/docs/AccountingApi.md +633 -0
- data/docs/AccountingCustomerResponseVO.md +9 -0
- data/docs/AccountingCustomerRevenueResponseVO.md +9 -0
- data/docs/AccountingFinalResponseVO.md +15 -0
- data/docs/AccountingInvoicePaymentResponseVO.md +9 -0
- data/docs/AccountingInvoiceResponseVO.md +9 -0
- data/docs/AccountingStatsResponseVO.md +9 -0
- data/docs/AchBalanceResponseVO.md +13 -0
- data/docs/AchBankLinkRequestCO.md +10 -0
- data/docs/AchBankLinkResponseVO.md +14 -0
- data/docs/AchBusinessRequestCO.md +10 -0
- data/docs/AchBusinessResponseVO.md +12 -0
- data/docs/AchCardLinkRequestCO.md +9 -0
- data/docs/AchCardLinkResponseVO.md +12 -0
- data/docs/AchClientRequestCO.md +10 -0
- data/docs/AchClientResponseVO.md +12 -0
- data/docs/AchTransferRequestCO.md +10 -0
- data/docs/AchTransferResponseVO.md +14 -0
- data/docs/Acquiree.md +10 -0
- data/docs/Acquirer.md +10 -0
- data/docs/Address.md +15 -0
- data/docs/AggregationAccount.md +29 -0
- data/docs/AggregationAccountBalance.md +18 -0
- data/docs/AggregationAccountBalanceResponseVO.md +11 -0
- data/docs/AggregationAccountHolding.md +27 -0
- data/docs/AggregationAccountHoldingResponseInternalObjectVO.md +9 -0
- data/docs/AggregationAccountHoldingResponseVO.md +11 -0
- data/docs/AggregationAccountResponseInternalObjectVO.md +9 -0
- data/docs/AggregationAccountResponseVO.md +11 -0
- data/docs/AggregationAccountTransaction.md +24 -0
- data/docs/AggregationAccountTransactionResponseInternalObjectVO.md +9 -0
- data/docs/AggregationAccountTransactionResponseVO.md +12 -0
- data/docs/AggregationAccountsResponseVO.md +11 -0
- data/docs/AggregationApi.md +722 -0
- data/docs/AggregationRequestObject.md +12 -0
- data/docs/AggregationVendorRequestCO.md +10 -0
- data/docs/ApplePayload.md +10 -0
- data/docs/AsyncApi.md +262 -0
- data/docs/AsyncTransaction.md +12 -0
- data/docs/AsyncTransactionVO.md +10 -0
- data/docs/BaasAccountCO.md +9 -0
- data/docs/BaasAccountVO.md +16 -0
- data/docs/BaasApi.md +551 -0
- data/docs/BaasBalanceVO.md +12 -0
- data/docs/BaasBusinessVO.md +14 -0
- data/docs/BaasClientVO.md +14 -0
- data/docs/BaasStatementVO.md +13 -0
- data/docs/BaasStatementsVO.md +10 -0
- data/docs/BaasSubAccountCO.md +8 -0
- data/docs/BaasSubAccountVO.md +15 -0
- data/docs/BaasTransactionsVO.md +12 -0
- data/docs/BankCredit.md +15 -0
- data/docs/BankLink.md +29 -0
- data/docs/BankLinkResponseInternalObjectVO.md +9 -0
- data/docs/BankLinkVendorDataVO.md +9 -0
- data/docs/BaseResponseVO.md +10 -0
- data/docs/BrokerageAccountCO.md +9 -0
- data/docs/BrokerageAccountVO.md +12 -0
- data/docs/BrokerageApi.md +1170 -0
- data/docs/BrokerageBalanceVO.md +13 -0
- data/docs/BrokerageBankLinkCO.md +8 -0
- data/docs/BrokerageBankLinkVO.md +13 -0
- data/docs/BrokerageClientCO.md +9 -0
- data/docs/BrokerageCreateClientVO.md +12 -0
- data/docs/BrokerageDepositCO.md +8 -0
- data/docs/BrokerageDepositVO.md +12 -0
- data/docs/BrokerageDocumentCO.md +9 -0
- data/docs/BrokerageDocumentVO.md +13 -0
- data/docs/BrokerageHoldingVO.md +13 -0
- data/docs/BrokerageOrderCO.md +8 -0
- data/docs/BrokerageOrderVO.md +13 -0
- data/docs/BrokeragePerformanceVO.md +13 -0
- data/docs/BrokerageSecuritiesVO.md +11 -0
- data/docs/BrokerageStatementVO.md +10 -0
- data/docs/BrokerageTransactionVO.md +13 -0
- data/docs/BrokerageUpdateClientVO.md +13 -0
- data/docs/BrokerageWithdrawalCO.md +8 -0
- data/docs/BrokerageWithdrawalVO.md +12 -0
- data/docs/BusinessAddress.md +14 -0
- data/docs/BusinessVendorRequestDataVO.md +22 -0
- data/docs/CardApi.md +1684 -0
- data/docs/CardAutoReloadRequestCO.md +11 -0
- data/docs/CardAutoReloadResponseVO.md +13 -0
- data/docs/CardBalanceResponseVO.md +13 -0
- data/docs/CardBaseRequestCO.md +10 -0
- data/docs/CardBusinessRequestCO.md +8 -0
- data/docs/CardClientRequestCO.md +9 -0
- data/docs/CardLoadRequestCO.md +9 -0
- data/docs/CardLoadUnloadResponseVO.md +14 -0
- data/docs/CardPinRequestCO.md +11 -0
- data/docs/CardReplaceResponseVO.md +14 -0
- data/docs/CardReserveAccountResponseVO.md +14 -0
- data/docs/CardSpendingControlRequestCO.md +8 -0
- data/docs/CardSpendingControlResponseVO.md +12 -0
- data/docs/CardTokenRequestCO.md +11 -0
- data/docs/CardTokenResponseVO.md +15 -0
- data/docs/CardTransactionResponseVO.md +13 -0
- data/docs/CardUnloadRequestCO.md +9 -0
- data/docs/CardUpdatePinRequestCO.md +11 -0
- data/docs/Cash.md +10 -0
- data/docs/ClientAddress.md +15 -0
- data/docs/ClientVendorRequestDataVO.md +25 -0
- data/docs/CreateBaasBusinessCO.md +9 -0
- data/docs/CreateBaasClientCO.md +9 -0
- data/docs/CreateBusinessResponseVO.md +12 -0
- data/docs/CreateCardClientResponseVO.md +12 -0
- data/docs/CreateUserRequest.md +13 -0
- data/docs/Customer.md +21 -0
- data/docs/CustomerAddress.md +14 -0
- data/docs/CustomerRevenue.md +16 -0
- data/docs/Dividend.md +10 -0
- data/docs/DividendTax.md +9 -0
- data/docs/Email.md +26 -0
- data/docs/EmailClick.md +11 -0
- data/docs/EmailOpen.md +10 -0
- data/docs/ExchangePublicTokenVO.md +12 -0
- data/docs/ExchangeTokenCO.md +13 -0
- data/docs/FinancialStatement.md +23 -0
- data/docs/GetCardImageResponseVO.md +12 -0
- data/docs/GetCardPciDetailsResponseVO.md +14 -0
- data/docs/GetCardStatementResponseVO.md +15 -0
- data/docs/GetCardTokenResponseVO.md +15 -0
- data/docs/GetTransactionsResponse.md +8 -0
- data/docs/GooglePayload.md +8 -0
- data/docs/IAVApi.md +126 -0
- data/docs/IavAggregationResponseVo.md +9 -0
- data/docs/IavBankLinkResponseVo.md +9 -0
- data/docs/IavRequestCO.md +14 -0
- data/docs/IavResponseVo.md +10 -0
- data/docs/IavTokenExchangeVendorResponseVO.md +7 -0
- data/docs/IavVendorRequestCO.md +10 -0
- data/docs/Identification.md +14 -0
- data/docs/Instrument.md +10 -0
- data/docs/Investment.md +16 -0
- data/docs/Invoice.md +32 -0
- data/docs/InvoicePayment.md +15 -0
- data/docs/JsonNode.md +28 -0
- data/docs/KMSApi.md +314 -0
- data/docs/KYCApi.md +135 -0
- data/docs/KmsConfig.md +19 -0
- data/docs/KycRequestCO.md +16 -0
- data/docs/KycResponseVo.md +18 -0
- data/docs/KycVendorRequestDataVO.md +30 -0
- data/docs/LineItems.md +15 -0
- data/docs/Location.md +15 -0
- data/docs/Mapstringobject.md +7 -0
- data/docs/MarketDataApi.md +122 -0
- data/docs/MdHistoryItemVO.md +14 -0
- data/docs/MdHistoryRequestCO.md +12 -0
- data/docs/MdHistoryResponseVO.md +8 -0
- data/docs/MdQuoteItemVO.md +25 -0
- data/docs/MdQuoteRequestCO.md +11 -0
- data/docs/MdQuoteResponseVO.md +8 -0
- data/docs/MergerAcquisition.md +10 -0
- data/docs/NucleusTransferFieldsCO.md +9 -0
- data/docs/Ownership.md +9 -0
- data/docs/PageAchTransferResponseVO.md +16 -0
- data/docs/PageKmsConfig.md +16 -0
- data/docs/PageWebhook.md +16 -0
- data/docs/Pageobject.md +16 -0
- data/docs/PoliticallyExposedPersonDTO.md +11 -0
- data/docs/PortfolioAssetSizeLog.md +20 -0
- data/docs/PropertyValueResponseVO.md +12 -0
- data/docs/RTPApi.md +521 -0
- data/docs/ResponseEntity.md +10 -0
- data/docs/RtpBankLinkRequestCO.md +9 -0
- data/docs/RtpBankLinkResponseVO.md +14 -0
- data/docs/RtpTransferRequestCO.md +9 -0
- data/docs/RtpTransferResponseVO.md +13 -0
- data/docs/SMS.md +24 -0
- data/docs/SMSApi.md +128 -0
- data/docs/SMSResponseVO.md +13 -0
- data/docs/SMSVO.md +12 -0
- data/docs/SMTPApi.md +128 -0
- data/docs/SamsungPayload.md +8 -0
- data/docs/SmtpResponseVO.md +13 -0
- data/docs/SmtpVO.md +17 -0
- data/docs/Sort.md +13 -0
- data/docs/SpendingControlVendorRequestDataVO.md +16 -0
- data/docs/Stat.md +9 -0
- data/docs/Transaction.md +29 -0
- data/docs/UpdateBaasBusinessCO.md +8 -0
- data/docs/UpdateBaasClientCO.md +8 -0
- data/docs/UpdateBusinessResponseVO.md +12 -0
- data/docs/UpdateCardClientResponseVO.md +12 -0
- data/docs/UserResponseInterface.md +7 -0
- data/docs/UserResponseVO.md +13 -0
- data/docs/UtilsApi.md +273 -0
- data/docs/VendorAccessConfigVO.md +10 -0
- data/docs/Webhook.md +15 -0
- data/docs/WebhookApi.md +314 -0
- data/docs/WidgetUrlVO.md +9 -0
- data/docs/WireApi.md +521 -0
- data/docs/WireBankLinkRequestCO.md +9 -0
- data/docs/WireBankLinkResponseVO.md +14 -0
- data/docs/WireTransferRequestCO.md +9 -0
- data/docs/WireTransferResponseVO.md +13 -0
- data/docs/ZillowPropertyVendorResponseVO.md +12 -0
- data/git_push.sh +55 -0
- data/integration_api.gemspec +46 -0
- data/lib/integration_api.rb +239 -0
- data/lib/integration_api/api/accounting_api.rb +597 -0
- data/lib/integration_api/api/ach_api.rb +800 -0
- data/lib/integration_api/api/aggregation_api.rb +665 -0
- data/lib/integration_api/api/async_api.rb +269 -0
- data/lib/integration_api/api/baas_api.rb +518 -0
- data/lib/integration_api/api/brokerage_api.rb +1089 -0
- data/lib/integration_api/api/card_api.rb +1548 -0
- data/lib/integration_api/api/iav_api.rb +129 -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 +272 -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 +391 -0
- data/lib/integration_api/api_error.rb +38 -0
- data/lib/integration_api/auth_configuration.rb +177 -0
- data/lib/integration_api/configuration.rb +209 -0
- data/lib/integration_api/models/accounting_customer_response_vo.rb +191 -0
- data/lib/integration_api/models/accounting_customer_revenue_response_vo.rb +191 -0
- data/lib/integration_api/models/accounting_final_response_vo.rb +253 -0
- data/lib/integration_api/models/accounting_invoice_payment_response_vo.rb +191 -0
- data/lib/integration_api/models/accounting_invoice_response_vo.rb +191 -0
- data/lib/integration_api/models/accounting_stats_response_vo.rb +191 -0
- data/lib/integration_api/models/ach_balance_response_vo.rb +231 -0
- data/lib/integration_api/models/ach_bank_link_request_co.rb +200 -0
- data/lib/integration_api/models/ach_bank_link_response_vo.rb +236 -0
- data/lib/integration_api/models/ach_business_request_co.rb +200 -0
- data/lib/integration_api/models/ach_business_response_vo.rb +218 -0
- data/lib/integration_api/models/ach_card_link_request_co.rb +191 -0
- data/lib/integration_api/models/ach_card_link_response_vo.rb +218 -0
- data/lib/integration_api/models/ach_client_request_co.rb +200 -0
- data/lib/integration_api/models/ach_client_response_vo.rb +218 -0
- data/lib/integration_api/models/ach_transfer_request_co.rb +200 -0
- data/lib/integration_api/models/ach_transfer_response_vo.rb +236 -0
- data/lib/integration_api/models/acquiree.rb +200 -0
- data/lib/integration_api/models/acquirer.rb +200 -0
- data/lib/integration_api/models/address.rb +281 -0
- data/lib/integration_api/models/aggregation_account.rb +411 -0
- data/lib/integration_api/models/aggregation_account_balance.rb +293 -0
- data/lib/integration_api/models/aggregation_account_balance_response_vo.rb +209 -0
- data/lib/integration_api/models/aggregation_account_holding.rb +381 -0
- data/lib/integration_api/models/aggregation_account_holding_response_internal_object_vo.rb +191 -0
- data/lib/integration_api/models/aggregation_account_holding_response_vo.rb +211 -0
- data/lib/integration_api/models/aggregation_account_response_internal_object_vo.rb +191 -0
- data/lib/integration_api/models/aggregation_account_response_vo.rb +209 -0
- data/lib/integration_api/models/aggregation_account_transaction.rb +348 -0
- data/lib/integration_api/models/aggregation_account_transaction_response_internal_object_vo.rb +191 -0
- data/lib/integration_api/models/aggregation_account_transaction_response_vo.rb +222 -0
- data/lib/integration_api/models/aggregation_accounts_response_vo.rb +211 -0
- data/lib/integration_api/models/aggregation_request_object.rb +218 -0
- data/lib/integration_api/models/aggregation_vendor_request_co.rb +200 -0
- data/lib/integration_api/models/apple_payload.rb +200 -0
- data/lib/integration_api/models/async_transaction.rb +218 -0
- data/lib/integration_api/models/async_transaction_vo.rb +200 -0
- data/lib/integration_api/models/baas_account_co.rb +191 -0
- data/lib/integration_api/models/baas_account_vo.rb +254 -0
- data/lib/integration_api/models/baas_balance_vo.rb +222 -0
- data/lib/integration_api/models/baas_business_vo.rb +238 -0
- data/lib/integration_api/models/baas_client_vo.rb +238 -0
- data/lib/integration_api/models/baas_statement_vo.rb +227 -0
- data/lib/integration_api/models/baas_statements_vo.rb +202 -0
- data/lib/integration_api/models/baas_sub_account_co.rb +182 -0
- data/lib/integration_api/models/baas_sub_account_vo.rb +245 -0
- data/lib/integration_api/models/baas_transactions_vo.rb +222 -0
- data/lib/integration_api/models/bank_credit.rb +263 -0
- data/lib/integration_api/models/bank_link.rb +412 -0
- data/lib/integration_api/models/bank_link_response_internal_object_vo.rb +191 -0
- data/lib/integration_api/models/bank_link_vendor_data_vo.rb +191 -0
- data/lib/integration_api/models/base_response_vo.rb +200 -0
- data/lib/integration_api/models/brokerage_account_co.rb +193 -0
- data/lib/integration_api/models/brokerage_account_vo.rb +218 -0
- data/lib/integration_api/models/brokerage_balance_vo.rb +229 -0
- data/lib/integration_api/models/brokerage_bank_link_co.rb +182 -0
- data/lib/integration_api/models/brokerage_bank_link_vo.rb +227 -0
- data/lib/integration_api/models/brokerage_client_co.rb +193 -0
- data/lib/integration_api/models/brokerage_create_client_vo.rb +218 -0
- data/lib/integration_api/models/brokerage_deposit_co.rb +182 -0
- data/lib/integration_api/models/brokerage_deposit_vo.rb +218 -0
- data/lib/integration_api/models/brokerage_document_co.rb +191 -0
- data/lib/integration_api/models/brokerage_document_vo.rb +227 -0
- data/lib/integration_api/models/brokerage_holding_vo.rb +227 -0
- data/lib/integration_api/models/brokerage_order_co.rb +182 -0
- data/lib/integration_api/models/brokerage_order_vo.rb +227 -0
- data/lib/integration_api/models/brokerage_performance_vo.rb +227 -0
- data/lib/integration_api/models/brokerage_securities_vo.rb +209 -0
- data/lib/integration_api/models/brokerage_statement_vo.rb +200 -0
- data/lib/integration_api/models/brokerage_transaction_vo.rb +227 -0
- data/lib/integration_api/models/brokerage_update_client_vo.rb +227 -0
- data/lib/integration_api/models/brokerage_withdrawal_co.rb +182 -0
- data/lib/integration_api/models/brokerage_withdrawal_vo.rb +218 -0
- data/lib/integration_api/models/business_address.rb +244 -0
- data/lib/integration_api/models/business_vendor_request_data_vo.rb +314 -0
- data/lib/integration_api/models/card_auto_reload_request_co.rb +209 -0
- data/lib/integration_api/models/card_auto_reload_response_vo.rb +227 -0
- data/lib/integration_api/models/card_balance_response_vo.rb +231 -0
- data/lib/integration_api/models/card_base_request_co.rb +200 -0
- data/lib/integration_api/models/card_business_request_co.rb +182 -0
- data/lib/integration_api/models/card_client_request_co.rb +193 -0
- data/lib/integration_api/models/card_load_request_co.rb +191 -0
- data/lib/integration_api/models/card_load_unload_response_vo.rb +236 -0
- data/lib/integration_api/models/card_pin_request_co.rb +209 -0
- data/lib/integration_api/models/card_replace_response_vo.rb +236 -0
- data/lib/integration_api/models/card_reserve_account_response_vo.rb +236 -0
- data/lib/integration_api/models/card_spending_control_request_co.rb +182 -0
- data/lib/integration_api/models/card_spending_control_response_vo.rb +218 -0
- data/lib/integration_api/models/card_token_request_co.rb +243 -0
- data/lib/integration_api/models/card_token_response_vo.rb +279 -0
- data/lib/integration_api/models/card_transaction_response_vo.rb +231 -0
- data/lib/integration_api/models/card_unload_request_co.rb +191 -0
- data/lib/integration_api/models/card_update_pin_request_co.rb +209 -0
- data/lib/integration_api/models/cash.rb +214 -0
- data/lib/integration_api/models/client_address.rb +286 -0
- data/lib/integration_api/models/client_vendor_request_data_vo.rb +341 -0
- data/lib/integration_api/models/create_baas_business_co.rb +193 -0
- data/lib/integration_api/models/create_baas_client_co.rb +193 -0
- data/lib/integration_api/models/create_business_response_vo.rb +218 -0
- data/lib/integration_api/models/create_card_client_response_vo.rb +218 -0
- data/lib/integration_api/models/create_user_request.rb +227 -0
- data/lib/integration_api/models/customer.rb +318 -0
- data/lib/integration_api/models/customer_address.rb +269 -0
- data/lib/integration_api/models/customer_revenue.rb +285 -0
- data/lib/integration_api/models/dividend.rb +200 -0
- data/lib/integration_api/models/dividend_tax.rb +191 -0
- data/lib/integration_api/models/email.rb +360 -0
- data/lib/integration_api/models/email_click.rb +221 -0
- data/lib/integration_api/models/email_open.rb +206 -0
- data/lib/integration_api/models/exchange_public_token_vo.rb +218 -0
- data/lib/integration_api/models/exchange_token_co.rb +227 -0
- data/lib/integration_api/models/financial_statement.rb +353 -0
- data/lib/integration_api/models/get_card_image_response_vo.rb +218 -0
- data/lib/integration_api/models/get_card_pci_details_response_vo.rb +236 -0
- data/lib/integration_api/models/get_card_statement_response_vo.rb +247 -0
- data/lib/integration_api/models/get_card_token_response_vo.rb +279 -0
- data/lib/integration_api/models/get_transactions_response.rb +184 -0
- data/lib/integration_api/models/google_payload.rb +182 -0
- data/lib/integration_api/models/iav_aggregation_response_vo.rb +191 -0
- data/lib/integration_api/models/iav_bank_link_response_vo.rb +193 -0
- data/lib/integration_api/models/iav_request_co.rb +236 -0
- data/lib/integration_api/models/iav_response_vo.rb +200 -0
- data/lib/integration_api/models/iav_token_exchange_vendor_response_vo.rb +173 -0
- data/lib/integration_api/models/iav_vendor_request_co.rb +200 -0
- data/lib/integration_api/models/identification.rb +236 -0
- data/lib/integration_api/models/instrument.rb +200 -0
- data/lib/integration_api/models/investment.rb +284 -0
- data/lib/integration_api/models/invoice.rb +453 -0
- data/lib/integration_api/models/invoice_payment.rb +270 -0
- data/lib/integration_api/models/json_node.rb +396 -0
- data/lib/integration_api/models/kms_config.rb +308 -0
- data/lib/integration_api/models/kyc_request_co.rb +256 -0
- data/lib/integration_api/models/kyc_response_vo.rb +272 -0
- data/lib/integration_api/models/kyc_vendor_request_data_vo.rb +386 -0
- data/lib/integration_api/models/line_items.rb +279 -0
- data/lib/integration_api/models/location.rb +254 -0
- data/lib/integration_api/models/mapstringobject.rb +173 -0
- data/lib/integration_api/models/md_history_item_vo.rb +236 -0
- data/lib/integration_api/models/md_history_request_co.rb +222 -0
- data/lib/integration_api/models/md_history_response_vo.rb +184 -0
- data/lib/integration_api/models/md_quote_item_vo.rb +335 -0
- data/lib/integration_api/models/md_quote_request_co.rb +247 -0
- data/lib/integration_api/models/md_quote_response_vo.rb +184 -0
- data/lib/integration_api/models/merger_acquisition.rb +200 -0
- data/lib/integration_api/models/nucleus_transfer_fields_co.rb +191 -0
- data/lib/integration_api/models/ownership.rb +191 -0
- data/lib/integration_api/models/page_ach_transfer_response_vo.rb +259 -0
- data/lib/integration_api/models/page_kms_config.rb +259 -0
- data/lib/integration_api/models/page_webhook.rb +259 -0
- data/lib/integration_api/models/pageobject.rb +259 -0
- data/lib/integration_api/models/politically_exposed_person_dto.rb +209 -0
- data/lib/integration_api/models/portfolio_asset_size_log.rb +330 -0
- data/lib/integration_api/models/property_value_response_vo.rb +218 -0
- data/lib/integration_api/models/response_entity.rb +234 -0
- data/lib/integration_api/models/rtp_bank_link_request_co.rb +191 -0
- data/lib/integration_api/models/rtp_bank_link_response_vo.rb +236 -0
- data/lib/integration_api/models/rtp_transfer_request_co.rb +191 -0
- data/lib/integration_api/models/rtp_transfer_response_vo.rb +227 -0
- data/lib/integration_api/models/samsung_payload.rb +182 -0
- data/lib/integration_api/models/sms.rb +338 -0
- data/lib/integration_api/models/sms_response_vo.rb +227 -0
- data/lib/integration_api/models/smsvo.rb +218 -0
- data/lib/integration_api/models/smtp_response_vo.rb +227 -0
- data/lib/integration_api/models/smtp_vo.rb +263 -0
- data/lib/integration_api/models/sort.rb +234 -0
- data/lib/integration_api/models/spending_control_vendor_request_data_vo.rb +256 -0
- data/lib/integration_api/models/stat.rb +204 -0
- data/lib/integration_api/models/transaction.rb +371 -0
- data/lib/integration_api/models/update_baas_business_co.rb +184 -0
- data/lib/integration_api/models/update_baas_client_co.rb +184 -0
- data/lib/integration_api/models/update_business_response_vo.rb +218 -0
- data/lib/integration_api/models/update_card_client_response_vo.rb +218 -0
- data/lib/integration_api/models/user_response_interface.rb +173 -0
- data/lib/integration_api/models/user_response_vo.rb +227 -0
- data/lib/integration_api/models/vendor_access_config_vo.rb +203 -0
- data/lib/integration_api/models/webhook.rb +280 -0
- data/lib/integration_api/models/widget_url_vo.rb +191 -0
- data/lib/integration_api/models/wire_bank_link_request_co.rb +191 -0
- data/lib/integration_api/models/wire_bank_link_response_vo.rb +236 -0
- data/lib/integration_api/models/wire_transfer_request_co.rb +191 -0
- data/lib/integration_api/models/wire_transfer_response_vo.rb +227 -0
- data/lib/integration_api/models/zillow_property_vendor_response_vo.rb +218 -0
- data/lib/integration_api/version.rb +15 -0
- data/spec/api/accounting_api_spec.rb +169 -0
- data/spec/api/ach_api_spec.rb +207 -0
- data/spec/api/aggregation_api_spec.rb +181 -0
- data/spec/api/async_api_spec.rb +89 -0
- data/spec/api/baas_api_spec.rb +143 -0
- data/spec/api/brokerage_api_spec.rb +263 -0
- data/spec/api/card_api_spec.rb +363 -0
- data/spec/api/iav_api_spec.rb +59 -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 +96 -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 +47 -0
- data/spec/models/accounting_customer_revenue_response_vo_spec.rb +47 -0
- data/spec/models/accounting_final_response_vo_spec.rb +83 -0
- data/spec/models/accounting_invoice_payment_response_vo_spec.rb +47 -0
- data/spec/models/accounting_invoice_response_vo_spec.rb +47 -0
- data/spec/models/accounting_stats_response_vo_spec.rb +47 -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_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_client_request_co_spec.rb +53 -0
- data/spec/models/ach_client_response_vo_spec.rb +65 -0
- data/spec/models/ach_transfer_request_co_spec.rb +53 -0
- data/spec/models/ach_transfer_response_vo_spec.rb +77 -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 +47 -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 +47 -0
- data/spec/models/aggregation_account_response_vo_spec.rb +59 -0
- data/spec/models/aggregation_account_spec.rb +167 -0
- data/spec/models/aggregation_account_transaction_response_internal_object_vo_spec.rb +47 -0
- data/spec/models/aggregation_account_transaction_response_vo_spec.rb +65 -0
- data/spec/models/aggregation_account_transaction_spec.rb +137 -0
- data/spec/models/aggregation_accounts_response_vo_spec.rb +59 -0
- data/spec/models/aggregation_request_object_spec.rb +65 -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/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/bank_credit_spec.rb +83 -0
- data/spec/models/bank_link_response_internal_object_vo_spec.rb +47 -0
- data/spec/models/bank_link_spec.rb +167 -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_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 +59 -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_vo_spec.rb +71 -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 +77 -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_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/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 +71 -0
- data/spec/models/customer_address_spec.rb +77 -0
- data/spec/models/customer_revenue_spec.rb +89 -0
- data/spec/models/customer_spec.rb +119 -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 +65 -0
- data/spec/models/exchange_token_co_spec.rb +71 -0
- data/spec/models/financial_statement_spec.rb +131 -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 +83 -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 +77 -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 +185 -0
- data/spec/models/json_node_spec.rb +165 -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 +143 -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 +65 -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 +95 -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 +71 -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 +1056 -0
@@ -0,0 +1,1089 @@
|
|
1
|
+
=begin
|
2
|
+
#Hydrogen Integration API
|
3
|
+
|
4
|
+
#The Hydrogen Integration API
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.2.1
|
7
|
+
Contact: info@hydrogenplatform.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.18
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'uri'
|
14
|
+
|
15
|
+
module IntegrationApi
|
16
|
+
class BrokerageApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
# Cancel an Order
|
23
|
+
# @param nucleus_order_id nucleus_order_id
|
24
|
+
# @param [Hash] opts the optional parameters
|
25
|
+
# @return [nil]
|
26
|
+
def cancel_order_using_put(nucleus_order_id, opts = {})
|
27
|
+
cancel_order_using_put_with_http_info(nucleus_order_id, opts)
|
28
|
+
nil
|
29
|
+
end
|
30
|
+
|
31
|
+
# Cancel an Order
|
32
|
+
# @param nucleus_order_id nucleus_order_id
|
33
|
+
# @param [Hash] opts the optional parameters
|
34
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
35
|
+
def cancel_order_using_put_with_http_info(nucleus_order_id, opts = {})
|
36
|
+
if @api_client.config.debugging
|
37
|
+
@api_client.config.logger.debug 'Calling API: BrokerageApi.cancel_order_using_put ...'
|
38
|
+
end
|
39
|
+
# verify the required parameter 'nucleus_order_id' is set
|
40
|
+
if @api_client.config.client_side_validation && nucleus_order_id.nil?
|
41
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_order_id' when calling BrokerageApi.cancel_order_using_put"
|
42
|
+
end
|
43
|
+
# resource path
|
44
|
+
local_var_path = '/brokerage/order/{nucleus_order_id}'.sub('{' + 'nucleus_order_id' + '}', nucleus_order_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(['*/*'])
|
53
|
+
# HTTP header 'Content-Type'
|
54
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
55
|
+
|
56
|
+
# form parameters
|
57
|
+
form_params = {}
|
58
|
+
|
59
|
+
# http body (model)
|
60
|
+
post_body = nil
|
61
|
+
auth_names = ['oauth2']
|
62
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
63
|
+
:header_params => header_params,
|
64
|
+
:query_params => query_params,
|
65
|
+
:form_params => form_params,
|
66
|
+
:body => post_body,
|
67
|
+
:auth_names => auth_names)
|
68
|
+
if @api_client.config.debugging
|
69
|
+
@api_client.config.logger.debug "API called: BrokerageApi#cancel_order_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
70
|
+
end
|
71
|
+
return data, status_code, headers
|
72
|
+
end
|
73
|
+
# create a Bank Link
|
74
|
+
# @param brokerage_bank_link_co brokerageBankLinkCO
|
75
|
+
# @param [Hash] opts the optional parameters
|
76
|
+
# @return [BrokerageBankLinkVO]
|
77
|
+
def create_bank_link_using_post1(brokerage_bank_link_co, opts = {})
|
78
|
+
data, _status_code, _headers = create_bank_link_using_post1_with_http_info(brokerage_bank_link_co, opts)
|
79
|
+
data
|
80
|
+
end
|
81
|
+
|
82
|
+
# create a Bank Link
|
83
|
+
# @param brokerage_bank_link_co brokerageBankLinkCO
|
84
|
+
# @param [Hash] opts the optional parameters
|
85
|
+
# @return [Array<(BrokerageBankLinkVO, Fixnum, Hash)>] BrokerageBankLinkVO data, response status code and response headers
|
86
|
+
def create_bank_link_using_post1_with_http_info(brokerage_bank_link_co, opts = {})
|
87
|
+
if @api_client.config.debugging
|
88
|
+
@api_client.config.logger.debug 'Calling API: BrokerageApi.create_bank_link_using_post1 ...'
|
89
|
+
end
|
90
|
+
# verify the required parameter 'brokerage_bank_link_co' is set
|
91
|
+
if @api_client.config.client_side_validation && brokerage_bank_link_co.nil?
|
92
|
+
fail ArgumentError, "Missing the required parameter 'brokerage_bank_link_co' when calling BrokerageApi.create_bank_link_using_post1"
|
93
|
+
end
|
94
|
+
# resource path
|
95
|
+
local_var_path = '/brokerage/bank_link'
|
96
|
+
|
97
|
+
# query parameters
|
98
|
+
query_params = {}
|
99
|
+
|
100
|
+
# header parameters
|
101
|
+
header_params = {}
|
102
|
+
# HTTP header 'Accept' (if needed)
|
103
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
104
|
+
# HTTP header 'Content-Type'
|
105
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
106
|
+
|
107
|
+
# form parameters
|
108
|
+
form_params = {}
|
109
|
+
|
110
|
+
# http body (model)
|
111
|
+
post_body = @api_client.object_to_http_body(brokerage_bank_link_co)
|
112
|
+
auth_names = ['oauth2']
|
113
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
114
|
+
:header_params => header_params,
|
115
|
+
:query_params => query_params,
|
116
|
+
:form_params => form_params,
|
117
|
+
:body => post_body,
|
118
|
+
:auth_names => auth_names,
|
119
|
+
:return_type => 'BrokerageBankLinkVO')
|
120
|
+
if @api_client.config.debugging
|
121
|
+
@api_client.config.logger.debug "API called: BrokerageApi#create_bank_link_using_post1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
122
|
+
end
|
123
|
+
return data, status_code, headers
|
124
|
+
end
|
125
|
+
# create a Brokerage account
|
126
|
+
# @param brokerage_account_co brokerageAccountCO
|
127
|
+
# @param [Hash] opts the optional parameters
|
128
|
+
# @return [BrokerageAccountVO]
|
129
|
+
def create_brokerage_account_using_post(brokerage_account_co, opts = {})
|
130
|
+
data, _status_code, _headers = create_brokerage_account_using_post_with_http_info(brokerage_account_co, opts)
|
131
|
+
data
|
132
|
+
end
|
133
|
+
|
134
|
+
# create a Brokerage account
|
135
|
+
# @param brokerage_account_co brokerageAccountCO
|
136
|
+
# @param [Hash] opts the optional parameters
|
137
|
+
# @return [Array<(BrokerageAccountVO, Fixnum, Hash)>] BrokerageAccountVO data, response status code and response headers
|
138
|
+
def create_brokerage_account_using_post_with_http_info(brokerage_account_co, opts = {})
|
139
|
+
if @api_client.config.debugging
|
140
|
+
@api_client.config.logger.debug 'Calling API: BrokerageApi.create_brokerage_account_using_post ...'
|
141
|
+
end
|
142
|
+
# verify the required parameter 'brokerage_account_co' is set
|
143
|
+
if @api_client.config.client_side_validation && brokerage_account_co.nil?
|
144
|
+
fail ArgumentError, "Missing the required parameter 'brokerage_account_co' when calling BrokerageApi.create_brokerage_account_using_post"
|
145
|
+
end
|
146
|
+
# resource path
|
147
|
+
local_var_path = '/brokerage/account'
|
148
|
+
|
149
|
+
# query parameters
|
150
|
+
query_params = {}
|
151
|
+
|
152
|
+
# header parameters
|
153
|
+
header_params = {}
|
154
|
+
# HTTP header 'Accept' (if needed)
|
155
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
156
|
+
# HTTP header 'Content-Type'
|
157
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
158
|
+
|
159
|
+
# form parameters
|
160
|
+
form_params = {}
|
161
|
+
|
162
|
+
# http body (model)
|
163
|
+
post_body = @api_client.object_to_http_body(brokerage_account_co)
|
164
|
+
auth_names = ['oauth2']
|
165
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
166
|
+
:header_params => header_params,
|
167
|
+
:query_params => query_params,
|
168
|
+
:form_params => form_params,
|
169
|
+
:body => post_body,
|
170
|
+
:auth_names => auth_names,
|
171
|
+
:return_type => 'BrokerageAccountVO')
|
172
|
+
if @api_client.config.debugging
|
173
|
+
@api_client.config.logger.debug "API called: BrokerageApi#create_brokerage_account_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
174
|
+
end
|
175
|
+
return data, status_code, headers
|
176
|
+
end
|
177
|
+
# Create a Brokerage Client
|
178
|
+
# @param client_co clientCO
|
179
|
+
# @param [Hash] opts the optional parameters
|
180
|
+
# @return [BrokerageCreateClientVO]
|
181
|
+
def create_brokerage_client_using_post(client_co, opts = {})
|
182
|
+
data, _status_code, _headers = create_brokerage_client_using_post_with_http_info(client_co, opts)
|
183
|
+
data
|
184
|
+
end
|
185
|
+
|
186
|
+
# Create a Brokerage Client
|
187
|
+
# @param client_co clientCO
|
188
|
+
# @param [Hash] opts the optional parameters
|
189
|
+
# @return [Array<(BrokerageCreateClientVO, Fixnum, Hash)>] BrokerageCreateClientVO data, response status code and response headers
|
190
|
+
def create_brokerage_client_using_post_with_http_info(client_co, opts = {})
|
191
|
+
if @api_client.config.debugging
|
192
|
+
@api_client.config.logger.debug 'Calling API: BrokerageApi.create_brokerage_client_using_post ...'
|
193
|
+
end
|
194
|
+
# verify the required parameter 'client_co' is set
|
195
|
+
if @api_client.config.client_side_validation && client_co.nil?
|
196
|
+
fail ArgumentError, "Missing the required parameter 'client_co' when calling BrokerageApi.create_brokerage_client_using_post"
|
197
|
+
end
|
198
|
+
# resource path
|
199
|
+
local_var_path = '/brokerage/client'
|
200
|
+
|
201
|
+
# query parameters
|
202
|
+
query_params = {}
|
203
|
+
|
204
|
+
# header parameters
|
205
|
+
header_params = {}
|
206
|
+
# HTTP header 'Accept' (if needed)
|
207
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
208
|
+
# HTTP header 'Content-Type'
|
209
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
210
|
+
|
211
|
+
# form parameters
|
212
|
+
form_params = {}
|
213
|
+
|
214
|
+
# http body (model)
|
215
|
+
post_body = @api_client.object_to_http_body(client_co)
|
216
|
+
auth_names = ['oauth2']
|
217
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
218
|
+
:header_params => header_params,
|
219
|
+
:query_params => query_params,
|
220
|
+
:form_params => form_params,
|
221
|
+
:body => post_body,
|
222
|
+
:auth_names => auth_names,
|
223
|
+
:return_type => 'BrokerageCreateClientVO')
|
224
|
+
if @api_client.config.debugging
|
225
|
+
@api_client.config.logger.debug "API called: BrokerageApi#create_brokerage_client_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
226
|
+
end
|
227
|
+
return data, status_code, headers
|
228
|
+
end
|
229
|
+
# Create a deposit
|
230
|
+
# @param brokerage_deposit_co brokerageDepositCO
|
231
|
+
# @param [Hash] opts the optional parameters
|
232
|
+
# @return [BrokerageDepositVO]
|
233
|
+
def create_deposit_using_post(brokerage_deposit_co, opts = {})
|
234
|
+
data, _status_code, _headers = create_deposit_using_post_with_http_info(brokerage_deposit_co, opts)
|
235
|
+
data
|
236
|
+
end
|
237
|
+
|
238
|
+
# Create a deposit
|
239
|
+
# @param brokerage_deposit_co brokerageDepositCO
|
240
|
+
# @param [Hash] opts the optional parameters
|
241
|
+
# @return [Array<(BrokerageDepositVO, Fixnum, Hash)>] BrokerageDepositVO data, response status code and response headers
|
242
|
+
def create_deposit_using_post_with_http_info(brokerage_deposit_co, opts = {})
|
243
|
+
if @api_client.config.debugging
|
244
|
+
@api_client.config.logger.debug 'Calling API: BrokerageApi.create_deposit_using_post ...'
|
245
|
+
end
|
246
|
+
# verify the required parameter 'brokerage_deposit_co' is set
|
247
|
+
if @api_client.config.client_side_validation && brokerage_deposit_co.nil?
|
248
|
+
fail ArgumentError, "Missing the required parameter 'brokerage_deposit_co' when calling BrokerageApi.create_deposit_using_post"
|
249
|
+
end
|
250
|
+
# resource path
|
251
|
+
local_var_path = '/brokerage/deposit'
|
252
|
+
|
253
|
+
# query parameters
|
254
|
+
query_params = {}
|
255
|
+
|
256
|
+
# header parameters
|
257
|
+
header_params = {}
|
258
|
+
# HTTP header 'Accept' (if needed)
|
259
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
260
|
+
# HTTP header 'Content-Type'
|
261
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
262
|
+
|
263
|
+
# form parameters
|
264
|
+
form_params = {}
|
265
|
+
|
266
|
+
# http body (model)
|
267
|
+
post_body = @api_client.object_to_http_body(brokerage_deposit_co)
|
268
|
+
auth_names = ['oauth2']
|
269
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
270
|
+
:header_params => header_params,
|
271
|
+
:query_params => query_params,
|
272
|
+
:form_params => form_params,
|
273
|
+
:body => post_body,
|
274
|
+
:auth_names => auth_names,
|
275
|
+
:return_type => 'BrokerageDepositVO')
|
276
|
+
if @api_client.config.debugging
|
277
|
+
@api_client.config.logger.debug "API called: BrokerageApi#create_deposit_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
278
|
+
end
|
279
|
+
return data, status_code, headers
|
280
|
+
end
|
281
|
+
# Create a Brokerage document
|
282
|
+
# @param document_co documentCO
|
283
|
+
# @param [Hash] opts the optional parameters
|
284
|
+
# @return [BrokerageDocumentVO]
|
285
|
+
def create_document_using_post(document_co, opts = {})
|
286
|
+
data, _status_code, _headers = create_document_using_post_with_http_info(document_co, opts)
|
287
|
+
data
|
288
|
+
end
|
289
|
+
|
290
|
+
# Create a Brokerage document
|
291
|
+
# @param document_co documentCO
|
292
|
+
# @param [Hash] opts the optional parameters
|
293
|
+
# @return [Array<(BrokerageDocumentVO, Fixnum, Hash)>] BrokerageDocumentVO data, response status code and response headers
|
294
|
+
def create_document_using_post_with_http_info(document_co, opts = {})
|
295
|
+
if @api_client.config.debugging
|
296
|
+
@api_client.config.logger.debug 'Calling API: BrokerageApi.create_document_using_post ...'
|
297
|
+
end
|
298
|
+
# verify the required parameter 'document_co' is set
|
299
|
+
if @api_client.config.client_side_validation && document_co.nil?
|
300
|
+
fail ArgumentError, "Missing the required parameter 'document_co' when calling BrokerageApi.create_document_using_post"
|
301
|
+
end
|
302
|
+
# resource path
|
303
|
+
local_var_path = '/brokerage/document'
|
304
|
+
|
305
|
+
# query parameters
|
306
|
+
query_params = {}
|
307
|
+
|
308
|
+
# header parameters
|
309
|
+
header_params = {}
|
310
|
+
# HTTP header 'Accept' (if needed)
|
311
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
312
|
+
# HTTP header 'Content-Type'
|
313
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
314
|
+
|
315
|
+
# form parameters
|
316
|
+
form_params = {}
|
317
|
+
|
318
|
+
# http body (model)
|
319
|
+
post_body = @api_client.object_to_http_body(document_co)
|
320
|
+
auth_names = ['oauth2']
|
321
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
322
|
+
:header_params => header_params,
|
323
|
+
:query_params => query_params,
|
324
|
+
:form_params => form_params,
|
325
|
+
:body => post_body,
|
326
|
+
:auth_names => auth_names,
|
327
|
+
:return_type => 'BrokerageDocumentVO')
|
328
|
+
if @api_client.config.debugging
|
329
|
+
@api_client.config.logger.debug "API called: BrokerageApi#create_document_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
330
|
+
end
|
331
|
+
return data, status_code, headers
|
332
|
+
end
|
333
|
+
# Create an Order
|
334
|
+
# @param brokerage_order_co brokerageOrderCO
|
335
|
+
# @param [Hash] opts the optional parameters
|
336
|
+
# @return [BrokerageOrderVO]
|
337
|
+
def create_order_using_post(brokerage_order_co, opts = {})
|
338
|
+
data, _status_code, _headers = create_order_using_post_with_http_info(brokerage_order_co, opts)
|
339
|
+
data
|
340
|
+
end
|
341
|
+
|
342
|
+
# Create an Order
|
343
|
+
# @param brokerage_order_co brokerageOrderCO
|
344
|
+
# @param [Hash] opts the optional parameters
|
345
|
+
# @return [Array<(BrokerageOrderVO, Fixnum, Hash)>] BrokerageOrderVO data, response status code and response headers
|
346
|
+
def create_order_using_post_with_http_info(brokerage_order_co, opts = {})
|
347
|
+
if @api_client.config.debugging
|
348
|
+
@api_client.config.logger.debug 'Calling API: BrokerageApi.create_order_using_post ...'
|
349
|
+
end
|
350
|
+
# verify the required parameter 'brokerage_order_co' is set
|
351
|
+
if @api_client.config.client_side_validation && brokerage_order_co.nil?
|
352
|
+
fail ArgumentError, "Missing the required parameter 'brokerage_order_co' when calling BrokerageApi.create_order_using_post"
|
353
|
+
end
|
354
|
+
# resource path
|
355
|
+
local_var_path = '/brokerage/order'
|
356
|
+
|
357
|
+
# query parameters
|
358
|
+
query_params = {}
|
359
|
+
|
360
|
+
# header parameters
|
361
|
+
header_params = {}
|
362
|
+
# HTTP header 'Accept' (if needed)
|
363
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
364
|
+
# HTTP header 'Content-Type'
|
365
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
366
|
+
|
367
|
+
# form parameters
|
368
|
+
form_params = {}
|
369
|
+
|
370
|
+
# http body (model)
|
371
|
+
post_body = @api_client.object_to_http_body(brokerage_order_co)
|
372
|
+
auth_names = ['oauth2']
|
373
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
374
|
+
:header_params => header_params,
|
375
|
+
:query_params => query_params,
|
376
|
+
:form_params => form_params,
|
377
|
+
:body => post_body,
|
378
|
+
:auth_names => auth_names,
|
379
|
+
:return_type => 'BrokerageOrderVO')
|
380
|
+
if @api_client.config.debugging
|
381
|
+
@api_client.config.logger.debug "API called: BrokerageApi#create_order_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
382
|
+
end
|
383
|
+
return data, status_code, headers
|
384
|
+
end
|
385
|
+
# Create a withdrawal
|
386
|
+
# @param brokerage_withdrawal_co brokerageWithdrawalCO
|
387
|
+
# @param [Hash] opts the optional parameters
|
388
|
+
# @return [BrokerageWithdrawalVO]
|
389
|
+
def create_withdrawal_using_post(brokerage_withdrawal_co, opts = {})
|
390
|
+
data, _status_code, _headers = create_withdrawal_using_post_with_http_info(brokerage_withdrawal_co, opts)
|
391
|
+
data
|
392
|
+
end
|
393
|
+
|
394
|
+
# Create a withdrawal
|
395
|
+
# @param brokerage_withdrawal_co brokerageWithdrawalCO
|
396
|
+
# @param [Hash] opts the optional parameters
|
397
|
+
# @return [Array<(BrokerageWithdrawalVO, Fixnum, Hash)>] BrokerageWithdrawalVO data, response status code and response headers
|
398
|
+
def create_withdrawal_using_post_with_http_info(brokerage_withdrawal_co, opts = {})
|
399
|
+
if @api_client.config.debugging
|
400
|
+
@api_client.config.logger.debug 'Calling API: BrokerageApi.create_withdrawal_using_post ...'
|
401
|
+
end
|
402
|
+
# verify the required parameter 'brokerage_withdrawal_co' is set
|
403
|
+
if @api_client.config.client_side_validation && brokerage_withdrawal_co.nil?
|
404
|
+
fail ArgumentError, "Missing the required parameter 'brokerage_withdrawal_co' when calling BrokerageApi.create_withdrawal_using_post"
|
405
|
+
end
|
406
|
+
# resource path
|
407
|
+
local_var_path = '/brokerage/withdrawal'
|
408
|
+
|
409
|
+
# query parameters
|
410
|
+
query_params = {}
|
411
|
+
|
412
|
+
# header parameters
|
413
|
+
header_params = {}
|
414
|
+
# HTTP header 'Accept' (if needed)
|
415
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
416
|
+
# HTTP header 'Content-Type'
|
417
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
418
|
+
|
419
|
+
# form parameters
|
420
|
+
form_params = {}
|
421
|
+
|
422
|
+
# http body (model)
|
423
|
+
post_body = @api_client.object_to_http_body(brokerage_withdrawal_co)
|
424
|
+
auth_names = ['oauth2']
|
425
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
426
|
+
:header_params => header_params,
|
427
|
+
:query_params => query_params,
|
428
|
+
:form_params => form_params,
|
429
|
+
:body => post_body,
|
430
|
+
:auth_names => auth_names,
|
431
|
+
:return_type => 'BrokerageWithdrawalVO')
|
432
|
+
if @api_client.config.debugging
|
433
|
+
@api_client.config.logger.debug "API called: BrokerageApi#create_withdrawal_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
434
|
+
end
|
435
|
+
return data, status_code, headers
|
436
|
+
end
|
437
|
+
# Delete a Bank Link
|
438
|
+
# @param nucleus_bank_link_id nucleus_bank_link_id
|
439
|
+
# @param [Hash] opts the optional parameters
|
440
|
+
# @return [nil]
|
441
|
+
def delete_bank_link_using_delete1(nucleus_bank_link_id, opts = {})
|
442
|
+
delete_bank_link_using_delete1_with_http_info(nucleus_bank_link_id, opts)
|
443
|
+
nil
|
444
|
+
end
|
445
|
+
|
446
|
+
# Delete a Bank Link
|
447
|
+
# @param nucleus_bank_link_id nucleus_bank_link_id
|
448
|
+
# @param [Hash] opts the optional parameters
|
449
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
450
|
+
def delete_bank_link_using_delete1_with_http_info(nucleus_bank_link_id, opts = {})
|
451
|
+
if @api_client.config.debugging
|
452
|
+
@api_client.config.logger.debug 'Calling API: BrokerageApi.delete_bank_link_using_delete1 ...'
|
453
|
+
end
|
454
|
+
# verify the required parameter 'nucleus_bank_link_id' is set
|
455
|
+
if @api_client.config.client_side_validation && nucleus_bank_link_id.nil?
|
456
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_bank_link_id' when calling BrokerageApi.delete_bank_link_using_delete1"
|
457
|
+
end
|
458
|
+
# resource path
|
459
|
+
local_var_path = '/brokerage/bank_link/{nucleus_bank_link_id}'.sub('{' + 'nucleus_bank_link_id' + '}', nucleus_bank_link_id.to_s)
|
460
|
+
|
461
|
+
# query parameters
|
462
|
+
query_params = {}
|
463
|
+
|
464
|
+
# header parameters
|
465
|
+
header_params = {}
|
466
|
+
# HTTP header 'Accept' (if needed)
|
467
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
468
|
+
|
469
|
+
# form parameters
|
470
|
+
form_params = {}
|
471
|
+
|
472
|
+
# http body (model)
|
473
|
+
post_body = nil
|
474
|
+
auth_names = ['oauth2']
|
475
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
476
|
+
:header_params => header_params,
|
477
|
+
:query_params => query_params,
|
478
|
+
:form_params => form_params,
|
479
|
+
:body => post_body,
|
480
|
+
:auth_names => auth_names)
|
481
|
+
if @api_client.config.debugging
|
482
|
+
@api_client.config.logger.debug "API called: BrokerageApi#delete_bank_link_using_delete1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
483
|
+
end
|
484
|
+
return data, status_code, headers
|
485
|
+
end
|
486
|
+
# Get account balance
|
487
|
+
# @param nucleus_portfolio_id nucleus_portfolio_id
|
488
|
+
# @param [Hash] opts the optional parameters
|
489
|
+
# @return [BrokerageBalanceVO]
|
490
|
+
def get_balance_using_get1(nucleus_portfolio_id, opts = {})
|
491
|
+
data, _status_code, _headers = get_balance_using_get1_with_http_info(nucleus_portfolio_id, opts)
|
492
|
+
data
|
493
|
+
end
|
494
|
+
|
495
|
+
# Get account balance
|
496
|
+
# @param nucleus_portfolio_id nucleus_portfolio_id
|
497
|
+
# @param [Hash] opts the optional parameters
|
498
|
+
# @return [Array<(BrokerageBalanceVO, Fixnum, Hash)>] BrokerageBalanceVO data, response status code and response headers
|
499
|
+
def get_balance_using_get1_with_http_info(nucleus_portfolio_id, opts = {})
|
500
|
+
if @api_client.config.debugging
|
501
|
+
@api_client.config.logger.debug 'Calling API: BrokerageApi.get_balance_using_get1 ...'
|
502
|
+
end
|
503
|
+
# verify the required parameter 'nucleus_portfolio_id' is set
|
504
|
+
if @api_client.config.client_side_validation && nucleus_portfolio_id.nil?
|
505
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_portfolio_id' when calling BrokerageApi.get_balance_using_get1"
|
506
|
+
end
|
507
|
+
# resource path
|
508
|
+
local_var_path = '/brokerage/balance/{nucleus_portfolio_id}'.sub('{' + 'nucleus_portfolio_id' + '}', nucleus_portfolio_id.to_s)
|
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(['*/*'])
|
517
|
+
|
518
|
+
# form parameters
|
519
|
+
form_params = {}
|
520
|
+
|
521
|
+
# http body (model)
|
522
|
+
post_body = nil
|
523
|
+
auth_names = ['oauth2']
|
524
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
525
|
+
:header_params => header_params,
|
526
|
+
:query_params => query_params,
|
527
|
+
:form_params => form_params,
|
528
|
+
:body => post_body,
|
529
|
+
:auth_names => auth_names,
|
530
|
+
:return_type => 'BrokerageBalanceVO')
|
531
|
+
if @api_client.config.debugging
|
532
|
+
@api_client.config.logger.debug "API called: BrokerageApi#get_balance_using_get1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
533
|
+
end
|
534
|
+
return data, status_code, headers
|
535
|
+
end
|
536
|
+
# Get a Bank Link
|
537
|
+
# @param nucleus_bank_link_id nucleus_bank_link_id
|
538
|
+
# @param [Hash] opts the optional parameters
|
539
|
+
# @return [BrokerageBankLinkVO]
|
540
|
+
def get_bank_link_using_get1(nucleus_bank_link_id, opts = {})
|
541
|
+
data, _status_code, _headers = get_bank_link_using_get1_with_http_info(nucleus_bank_link_id, opts)
|
542
|
+
data
|
543
|
+
end
|
544
|
+
|
545
|
+
# Get a Bank Link
|
546
|
+
# @param nucleus_bank_link_id nucleus_bank_link_id
|
547
|
+
# @param [Hash] opts the optional parameters
|
548
|
+
# @return [Array<(BrokerageBankLinkVO, Fixnum, Hash)>] BrokerageBankLinkVO data, response status code and response headers
|
549
|
+
def get_bank_link_using_get1_with_http_info(nucleus_bank_link_id, opts = {})
|
550
|
+
if @api_client.config.debugging
|
551
|
+
@api_client.config.logger.debug 'Calling API: BrokerageApi.get_bank_link_using_get1 ...'
|
552
|
+
end
|
553
|
+
# verify the required parameter 'nucleus_bank_link_id' is set
|
554
|
+
if @api_client.config.client_side_validation && nucleus_bank_link_id.nil?
|
555
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_bank_link_id' when calling BrokerageApi.get_bank_link_using_get1"
|
556
|
+
end
|
557
|
+
# resource path
|
558
|
+
local_var_path = '/brokerage/bank_link/{nucleus_bank_link_id}'.sub('{' + 'nucleus_bank_link_id' + '}', nucleus_bank_link_id.to_s)
|
559
|
+
|
560
|
+
# query parameters
|
561
|
+
query_params = {}
|
562
|
+
|
563
|
+
# header parameters
|
564
|
+
header_params = {}
|
565
|
+
# HTTP header 'Accept' (if needed)
|
566
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
567
|
+
|
568
|
+
# form parameters
|
569
|
+
form_params = {}
|
570
|
+
|
571
|
+
# http body (model)
|
572
|
+
post_body = nil
|
573
|
+
auth_names = ['oauth2']
|
574
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
575
|
+
:header_params => header_params,
|
576
|
+
:query_params => query_params,
|
577
|
+
:form_params => form_params,
|
578
|
+
:body => post_body,
|
579
|
+
:auth_names => auth_names,
|
580
|
+
:return_type => 'BrokerageBankLinkVO')
|
581
|
+
if @api_client.config.debugging
|
582
|
+
@api_client.config.logger.debug "API called: BrokerageApi#get_bank_link_using_get1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
583
|
+
end
|
584
|
+
return data, status_code, headers
|
585
|
+
end
|
586
|
+
# Get a Brokerage account statement
|
587
|
+
# @param end_date end_date
|
588
|
+
# @param nucleus_account_id nucleus_account_id
|
589
|
+
# @param start_date start_date
|
590
|
+
# @param statement_type statement_type
|
591
|
+
# @param [Hash] opts the optional parameters
|
592
|
+
# @return [BrokerageStatementVO]
|
593
|
+
def get_brokerage_account_statement_using_get(end_date, nucleus_account_id, start_date, statement_type, opts = {})
|
594
|
+
data, _status_code, _headers = get_brokerage_account_statement_using_get_with_http_info(end_date, nucleus_account_id, start_date, statement_type, opts)
|
595
|
+
data
|
596
|
+
end
|
597
|
+
|
598
|
+
# Get a Brokerage account statement
|
599
|
+
# @param end_date end_date
|
600
|
+
# @param nucleus_account_id nucleus_account_id
|
601
|
+
# @param start_date start_date
|
602
|
+
# @param statement_type statement_type
|
603
|
+
# @param [Hash] opts the optional parameters
|
604
|
+
# @return [Array<(BrokerageStatementVO, Fixnum, Hash)>] BrokerageStatementVO data, response status code and response headers
|
605
|
+
def get_brokerage_account_statement_using_get_with_http_info(end_date, nucleus_account_id, start_date, statement_type, opts = {})
|
606
|
+
if @api_client.config.debugging
|
607
|
+
@api_client.config.logger.debug 'Calling API: BrokerageApi.get_brokerage_account_statement_using_get ...'
|
608
|
+
end
|
609
|
+
# verify the required parameter 'end_date' is set
|
610
|
+
if @api_client.config.client_side_validation && end_date.nil?
|
611
|
+
fail ArgumentError, "Missing the required parameter 'end_date' when calling BrokerageApi.get_brokerage_account_statement_using_get"
|
612
|
+
end
|
613
|
+
# verify the required parameter 'nucleus_account_id' is set
|
614
|
+
if @api_client.config.client_side_validation && nucleus_account_id.nil?
|
615
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_account_id' when calling BrokerageApi.get_brokerage_account_statement_using_get"
|
616
|
+
end
|
617
|
+
# verify the required parameter 'start_date' is set
|
618
|
+
if @api_client.config.client_side_validation && start_date.nil?
|
619
|
+
fail ArgumentError, "Missing the required parameter 'start_date' when calling BrokerageApi.get_brokerage_account_statement_using_get"
|
620
|
+
end
|
621
|
+
# verify the required parameter 'statement_type' is set
|
622
|
+
if @api_client.config.client_side_validation && statement_type.nil?
|
623
|
+
fail ArgumentError, "Missing the required parameter 'statement_type' when calling BrokerageApi.get_brokerage_account_statement_using_get"
|
624
|
+
end
|
625
|
+
# resource path
|
626
|
+
local_var_path = '/brokerage/statement/{nucleus_account_id}'.sub('{' + 'nucleus_account_id' + '}', nucleus_account_id.to_s)
|
627
|
+
|
628
|
+
# query parameters
|
629
|
+
query_params = {}
|
630
|
+
query_params[:'end_date'] = end_date
|
631
|
+
query_params[:'start_date'] = start_date
|
632
|
+
query_params[:'statement_type'] = statement_type
|
633
|
+
|
634
|
+
# header parameters
|
635
|
+
header_params = {}
|
636
|
+
# HTTP header 'Accept' (if needed)
|
637
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
638
|
+
|
639
|
+
# form parameters
|
640
|
+
form_params = {}
|
641
|
+
|
642
|
+
# http body (model)
|
643
|
+
post_body = nil
|
644
|
+
auth_names = ['oauth2']
|
645
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
646
|
+
:header_params => header_params,
|
647
|
+
:query_params => query_params,
|
648
|
+
:form_params => form_params,
|
649
|
+
:body => post_body,
|
650
|
+
:auth_names => auth_names,
|
651
|
+
:return_type => 'BrokerageStatementVO')
|
652
|
+
if @api_client.config.debugging
|
653
|
+
@api_client.config.logger.debug "API called: BrokerageApi#get_brokerage_account_statement_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
654
|
+
end
|
655
|
+
return data, status_code, headers
|
656
|
+
end
|
657
|
+
# Get a Brokerage document
|
658
|
+
# @param nucleus_document_id nucleus_document_id
|
659
|
+
# @param [Hash] opts the optional parameters
|
660
|
+
# @return [BrokerageDocumentVO]
|
661
|
+
def get_document_using_get(nucleus_document_id, opts = {})
|
662
|
+
data, _status_code, _headers = get_document_using_get_with_http_info(nucleus_document_id, opts)
|
663
|
+
data
|
664
|
+
end
|
665
|
+
|
666
|
+
# Get a Brokerage document
|
667
|
+
# @param nucleus_document_id nucleus_document_id
|
668
|
+
# @param [Hash] opts the optional parameters
|
669
|
+
# @return [Array<(BrokerageDocumentVO, Fixnum, Hash)>] BrokerageDocumentVO data, response status code and response headers
|
670
|
+
def get_document_using_get_with_http_info(nucleus_document_id, opts = {})
|
671
|
+
if @api_client.config.debugging
|
672
|
+
@api_client.config.logger.debug 'Calling API: BrokerageApi.get_document_using_get ...'
|
673
|
+
end
|
674
|
+
# verify the required parameter 'nucleus_document_id' is set
|
675
|
+
if @api_client.config.client_side_validation && nucleus_document_id.nil?
|
676
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_document_id' when calling BrokerageApi.get_document_using_get"
|
677
|
+
end
|
678
|
+
# resource path
|
679
|
+
local_var_path = '/brokerage/document/{nucleus_document_id}'.sub('{' + 'nucleus_document_id' + '}', nucleus_document_id.to_s)
|
680
|
+
|
681
|
+
# query parameters
|
682
|
+
query_params = {}
|
683
|
+
|
684
|
+
# header parameters
|
685
|
+
header_params = {}
|
686
|
+
# HTTP header 'Accept' (if needed)
|
687
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
688
|
+
|
689
|
+
# form parameters
|
690
|
+
form_params = {}
|
691
|
+
|
692
|
+
# http body (model)
|
693
|
+
post_body = nil
|
694
|
+
auth_names = ['oauth2']
|
695
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
696
|
+
:header_params => header_params,
|
697
|
+
:query_params => query_params,
|
698
|
+
:form_params => form_params,
|
699
|
+
:body => post_body,
|
700
|
+
:auth_names => auth_names,
|
701
|
+
:return_type => 'BrokerageDocumentVO')
|
702
|
+
if @api_client.config.debugging
|
703
|
+
@api_client.config.logger.debug "API called: BrokerageApi#get_document_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
704
|
+
end
|
705
|
+
return data, status_code, headers
|
706
|
+
end
|
707
|
+
# Get portfolio holding performance
|
708
|
+
# @param nucleus_portfolio_id nucleus_portfolio_id
|
709
|
+
# @param [Hash] opts the optional parameters
|
710
|
+
# @return [BrokeragePerformanceVO]
|
711
|
+
def get_holding_performance_using_get(nucleus_portfolio_id, opts = {})
|
712
|
+
data, _status_code, _headers = get_holding_performance_using_get_with_http_info(nucleus_portfolio_id, opts)
|
713
|
+
data
|
714
|
+
end
|
715
|
+
|
716
|
+
# Get portfolio holding performance
|
717
|
+
# @param nucleus_portfolio_id nucleus_portfolio_id
|
718
|
+
# @param [Hash] opts the optional parameters
|
719
|
+
# @return [Array<(BrokeragePerformanceVO, Fixnum, Hash)>] BrokeragePerformanceVO data, response status code and response headers
|
720
|
+
def get_holding_performance_using_get_with_http_info(nucleus_portfolio_id, opts = {})
|
721
|
+
if @api_client.config.debugging
|
722
|
+
@api_client.config.logger.debug 'Calling API: BrokerageApi.get_holding_performance_using_get ...'
|
723
|
+
end
|
724
|
+
# verify the required parameter 'nucleus_portfolio_id' is set
|
725
|
+
if @api_client.config.client_side_validation && nucleus_portfolio_id.nil?
|
726
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_portfolio_id' when calling BrokerageApi.get_holding_performance_using_get"
|
727
|
+
end
|
728
|
+
# resource path
|
729
|
+
local_var_path = '/brokerage/holding/performance/{nucleus_portfolio_id}'.sub('{' + 'nucleus_portfolio_id' + '}', nucleus_portfolio_id.to_s)
|
730
|
+
|
731
|
+
# query parameters
|
732
|
+
query_params = {}
|
733
|
+
|
734
|
+
# header parameters
|
735
|
+
header_params = {}
|
736
|
+
# HTTP header 'Accept' (if needed)
|
737
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
738
|
+
|
739
|
+
# form parameters
|
740
|
+
form_params = {}
|
741
|
+
|
742
|
+
# http body (model)
|
743
|
+
post_body = nil
|
744
|
+
auth_names = ['oauth2']
|
745
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
746
|
+
:header_params => header_params,
|
747
|
+
:query_params => query_params,
|
748
|
+
:form_params => form_params,
|
749
|
+
:body => post_body,
|
750
|
+
:auth_names => auth_names,
|
751
|
+
:return_type => 'BrokeragePerformanceVO')
|
752
|
+
if @api_client.config.debugging
|
753
|
+
@api_client.config.logger.debug "API called: BrokerageApi#get_holding_performance_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
754
|
+
end
|
755
|
+
return data, status_code, headers
|
756
|
+
end
|
757
|
+
# Get portfolio holdings
|
758
|
+
# @param nucleus_portfolio_id nucleus_portfolio_id
|
759
|
+
# @param [Hash] opts the optional parameters
|
760
|
+
# @return [BrokerageHoldingVO]
|
761
|
+
def get_holding_using_get(nucleus_portfolio_id, opts = {})
|
762
|
+
data, _status_code, _headers = get_holding_using_get_with_http_info(nucleus_portfolio_id, opts)
|
763
|
+
data
|
764
|
+
end
|
765
|
+
|
766
|
+
# Get portfolio holdings
|
767
|
+
# @param nucleus_portfolio_id nucleus_portfolio_id
|
768
|
+
# @param [Hash] opts the optional parameters
|
769
|
+
# @return [Array<(BrokerageHoldingVO, Fixnum, Hash)>] BrokerageHoldingVO data, response status code and response headers
|
770
|
+
def get_holding_using_get_with_http_info(nucleus_portfolio_id, opts = {})
|
771
|
+
if @api_client.config.debugging
|
772
|
+
@api_client.config.logger.debug 'Calling API: BrokerageApi.get_holding_using_get ...'
|
773
|
+
end
|
774
|
+
# verify the required parameter 'nucleus_portfolio_id' is set
|
775
|
+
if @api_client.config.client_side_validation && nucleus_portfolio_id.nil?
|
776
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_portfolio_id' when calling BrokerageApi.get_holding_using_get"
|
777
|
+
end
|
778
|
+
# resource path
|
779
|
+
local_var_path = '/brokerage/holding/{nucleus_portfolio_id}'.sub('{' + 'nucleus_portfolio_id' + '}', nucleus_portfolio_id.to_s)
|
780
|
+
|
781
|
+
# query parameters
|
782
|
+
query_params = {}
|
783
|
+
|
784
|
+
# header parameters
|
785
|
+
header_params = {}
|
786
|
+
# HTTP header 'Accept' (if needed)
|
787
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
788
|
+
|
789
|
+
# form parameters
|
790
|
+
form_params = {}
|
791
|
+
|
792
|
+
# http body (model)
|
793
|
+
post_body = nil
|
794
|
+
auth_names = ['oauth2']
|
795
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
796
|
+
:header_params => header_params,
|
797
|
+
:query_params => query_params,
|
798
|
+
:form_params => form_params,
|
799
|
+
:body => post_body,
|
800
|
+
:auth_names => auth_names,
|
801
|
+
:return_type => 'BrokerageHoldingVO')
|
802
|
+
if @api_client.config.debugging
|
803
|
+
@api_client.config.logger.debug "API called: BrokerageApi#get_holding_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
804
|
+
end
|
805
|
+
return data, status_code, headers
|
806
|
+
end
|
807
|
+
# Get an Order
|
808
|
+
# @param nucleus_order_id nucleus_order_id
|
809
|
+
# @param [Hash] opts the optional parameters
|
810
|
+
# @return [BrokerageOrderVO]
|
811
|
+
def get_order_using_get(nucleus_order_id, opts = {})
|
812
|
+
data, _status_code, _headers = get_order_using_get_with_http_info(nucleus_order_id, opts)
|
813
|
+
data
|
814
|
+
end
|
815
|
+
|
816
|
+
# Get an Order
|
817
|
+
# @param nucleus_order_id nucleus_order_id
|
818
|
+
# @param [Hash] opts the optional parameters
|
819
|
+
# @return [Array<(BrokerageOrderVO, Fixnum, Hash)>] BrokerageOrderVO data, response status code and response headers
|
820
|
+
def get_order_using_get_with_http_info(nucleus_order_id, opts = {})
|
821
|
+
if @api_client.config.debugging
|
822
|
+
@api_client.config.logger.debug 'Calling API: BrokerageApi.get_order_using_get ...'
|
823
|
+
end
|
824
|
+
# verify the required parameter 'nucleus_order_id' is set
|
825
|
+
if @api_client.config.client_side_validation && nucleus_order_id.nil?
|
826
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_order_id' when calling BrokerageApi.get_order_using_get"
|
827
|
+
end
|
828
|
+
# resource path
|
829
|
+
local_var_path = '/brokerage/order/{nucleus_order_id}'.sub('{' + 'nucleus_order_id' + '}', nucleus_order_id.to_s)
|
830
|
+
|
831
|
+
# query parameters
|
832
|
+
query_params = {}
|
833
|
+
|
834
|
+
# header parameters
|
835
|
+
header_params = {}
|
836
|
+
# HTTP header 'Accept' (if needed)
|
837
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
838
|
+
|
839
|
+
# form parameters
|
840
|
+
form_params = {}
|
841
|
+
|
842
|
+
# http body (model)
|
843
|
+
post_body = nil
|
844
|
+
auth_names = ['oauth2']
|
845
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
846
|
+
:header_params => header_params,
|
847
|
+
:query_params => query_params,
|
848
|
+
:form_params => form_params,
|
849
|
+
:body => post_body,
|
850
|
+
:auth_names => auth_names,
|
851
|
+
:return_type => 'BrokerageOrderVO')
|
852
|
+
if @api_client.config.debugging
|
853
|
+
@api_client.config.logger.debug "API called: BrokerageApi#get_order_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
854
|
+
end
|
855
|
+
return data, status_code, headers
|
856
|
+
end
|
857
|
+
# Get securities information
|
858
|
+
# @param vendor_name vendor_name
|
859
|
+
# @param [Hash] opts the optional parameters
|
860
|
+
# @option opts [BOOLEAN] :get_fundamentals get_fundamentals (default to false)
|
861
|
+
# @option opts [String] :nucleus_security_id nucleus_security_id
|
862
|
+
# @return [BrokerageSecuritiesVO]
|
863
|
+
def get_securities_using_get(vendor_name, opts = {})
|
864
|
+
data, _status_code, _headers = get_securities_using_get_with_http_info(vendor_name, opts)
|
865
|
+
data
|
866
|
+
end
|
867
|
+
|
868
|
+
# Get securities information
|
869
|
+
# @param vendor_name vendor_name
|
870
|
+
# @param [Hash] opts the optional parameters
|
871
|
+
# @option opts [BOOLEAN] :get_fundamentals get_fundamentals
|
872
|
+
# @option opts [String] :nucleus_security_id nucleus_security_id
|
873
|
+
# @return [Array<(BrokerageSecuritiesVO, Fixnum, Hash)>] BrokerageSecuritiesVO data, response status code and response headers
|
874
|
+
def get_securities_using_get_with_http_info(vendor_name, opts = {})
|
875
|
+
if @api_client.config.debugging
|
876
|
+
@api_client.config.logger.debug 'Calling API: BrokerageApi.get_securities_using_get ...'
|
877
|
+
end
|
878
|
+
# verify the required parameter 'vendor_name' is set
|
879
|
+
if @api_client.config.client_side_validation && vendor_name.nil?
|
880
|
+
fail ArgumentError, "Missing the required parameter 'vendor_name' when calling BrokerageApi.get_securities_using_get"
|
881
|
+
end
|
882
|
+
# resource path
|
883
|
+
local_var_path = '/brokerage/securities'
|
884
|
+
|
885
|
+
# query parameters
|
886
|
+
query_params = {}
|
887
|
+
query_params[:'vendor_name'] = vendor_name
|
888
|
+
query_params[:'get_fundamentals'] = opts[:'get_fundamentals'] if !opts[:'get_fundamentals'].nil?
|
889
|
+
query_params[:'nucleus_security_id'] = opts[:'nucleus_security_id'] if !opts[:'nucleus_security_id'].nil?
|
890
|
+
|
891
|
+
# header parameters
|
892
|
+
header_params = {}
|
893
|
+
# HTTP header 'Accept' (if needed)
|
894
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
895
|
+
|
896
|
+
# form parameters
|
897
|
+
form_params = {}
|
898
|
+
|
899
|
+
# http body (model)
|
900
|
+
post_body = nil
|
901
|
+
auth_names = ['oauth2']
|
902
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
903
|
+
:header_params => header_params,
|
904
|
+
:query_params => query_params,
|
905
|
+
:form_params => form_params,
|
906
|
+
:body => post_body,
|
907
|
+
:auth_names => auth_names,
|
908
|
+
:return_type => 'BrokerageSecuritiesVO')
|
909
|
+
if @api_client.config.debugging
|
910
|
+
@api_client.config.logger.debug "API called: BrokerageApi#get_securities_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
911
|
+
end
|
912
|
+
return data, status_code, headers
|
913
|
+
end
|
914
|
+
# Get account transactions
|
915
|
+
# @param drivewealth_response drivewealthResponse
|
916
|
+
# @param end_date end_date
|
917
|
+
# @param nucleus_portfolio_id nucleus_portfolio_id
|
918
|
+
# @param start_date start_date
|
919
|
+
# @param [Hash] opts the optional parameters
|
920
|
+
# @return [BrokerageTransactionVO]
|
921
|
+
def get_transactions_using_get(drivewealth_response, end_date, nucleus_portfolio_id, start_date, opts = {})
|
922
|
+
data, _status_code, _headers = get_transactions_using_get_with_http_info(drivewealth_response, end_date, nucleus_portfolio_id, start_date, opts)
|
923
|
+
data
|
924
|
+
end
|
925
|
+
|
926
|
+
# Get account transactions
|
927
|
+
# @param drivewealth_response drivewealthResponse
|
928
|
+
# @param end_date end_date
|
929
|
+
# @param nucleus_portfolio_id nucleus_portfolio_id
|
930
|
+
# @param start_date start_date
|
931
|
+
# @param [Hash] opts the optional parameters
|
932
|
+
# @return [Array<(BrokerageTransactionVO, Fixnum, Hash)>] BrokerageTransactionVO data, response status code and response headers
|
933
|
+
def get_transactions_using_get_with_http_info(drivewealth_response, end_date, nucleus_portfolio_id, start_date, opts = {})
|
934
|
+
if @api_client.config.debugging
|
935
|
+
@api_client.config.logger.debug 'Calling API: BrokerageApi.get_transactions_using_get ...'
|
936
|
+
end
|
937
|
+
# verify the required parameter 'drivewealth_response' is set
|
938
|
+
if @api_client.config.client_side_validation && drivewealth_response.nil?
|
939
|
+
fail ArgumentError, "Missing the required parameter 'drivewealth_response' when calling BrokerageApi.get_transactions_using_get"
|
940
|
+
end
|
941
|
+
# verify the required parameter 'end_date' is set
|
942
|
+
if @api_client.config.client_side_validation && end_date.nil?
|
943
|
+
fail ArgumentError, "Missing the required parameter 'end_date' when calling BrokerageApi.get_transactions_using_get"
|
944
|
+
end
|
945
|
+
# verify the required parameter 'nucleus_portfolio_id' is set
|
946
|
+
if @api_client.config.client_side_validation && nucleus_portfolio_id.nil?
|
947
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_portfolio_id' when calling BrokerageApi.get_transactions_using_get"
|
948
|
+
end
|
949
|
+
# verify the required parameter 'start_date' is set
|
950
|
+
if @api_client.config.client_side_validation && start_date.nil?
|
951
|
+
fail ArgumentError, "Missing the required parameter 'start_date' when calling BrokerageApi.get_transactions_using_get"
|
952
|
+
end
|
953
|
+
# resource path
|
954
|
+
local_var_path = '/brokerage/transaction/{nucleus_portfolio_id}'.sub('{' + 'nucleus_portfolio_id' + '}', nucleus_portfolio_id.to_s)
|
955
|
+
|
956
|
+
# query parameters
|
957
|
+
query_params = {}
|
958
|
+
query_params[:'end_date'] = end_date
|
959
|
+
query_params[:'start_date'] = start_date
|
960
|
+
|
961
|
+
# header parameters
|
962
|
+
header_params = {}
|
963
|
+
# HTTP header 'Accept' (if needed)
|
964
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
965
|
+
|
966
|
+
# form parameters
|
967
|
+
form_params = {}
|
968
|
+
|
969
|
+
# http body (model)
|
970
|
+
post_body = @api_client.object_to_http_body(drivewealth_response)
|
971
|
+
auth_names = ['oauth2']
|
972
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
973
|
+
:header_params => header_params,
|
974
|
+
:query_params => query_params,
|
975
|
+
:form_params => form_params,
|
976
|
+
:body => post_body,
|
977
|
+
:auth_names => auth_names,
|
978
|
+
:return_type => 'BrokerageTransactionVO')
|
979
|
+
if @api_client.config.debugging
|
980
|
+
@api_client.config.logger.debug "API called: BrokerageApi#get_transactions_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
981
|
+
end
|
982
|
+
return data, status_code, headers
|
983
|
+
end
|
984
|
+
# Update a Bank Link
|
985
|
+
# @param nucleus_bank_link_id nucleus_bank_link_id
|
986
|
+
# @param [Hash] opts the optional parameters
|
987
|
+
# @return [BrokerageBankLinkVO]
|
988
|
+
def update_bank_link_using_put1(nucleus_bank_link_id, opts = {})
|
989
|
+
data, _status_code, _headers = update_bank_link_using_put1_with_http_info(nucleus_bank_link_id, opts)
|
990
|
+
data
|
991
|
+
end
|
992
|
+
|
993
|
+
# Update a Bank Link
|
994
|
+
# @param nucleus_bank_link_id nucleus_bank_link_id
|
995
|
+
# @param [Hash] opts the optional parameters
|
996
|
+
# @return [Array<(BrokerageBankLinkVO, Fixnum, Hash)>] BrokerageBankLinkVO data, response status code and response headers
|
997
|
+
def update_bank_link_using_put1_with_http_info(nucleus_bank_link_id, opts = {})
|
998
|
+
if @api_client.config.debugging
|
999
|
+
@api_client.config.logger.debug 'Calling API: BrokerageApi.update_bank_link_using_put1 ...'
|
1000
|
+
end
|
1001
|
+
# verify the required parameter 'nucleus_bank_link_id' is set
|
1002
|
+
if @api_client.config.client_side_validation && nucleus_bank_link_id.nil?
|
1003
|
+
fail ArgumentError, "Missing the required parameter 'nucleus_bank_link_id' when calling BrokerageApi.update_bank_link_using_put1"
|
1004
|
+
end
|
1005
|
+
# resource path
|
1006
|
+
local_var_path = '/brokerage/bank_link/{nucleus_bank_link_id}'.sub('{' + 'nucleus_bank_link_id' + '}', nucleus_bank_link_id.to_s)
|
1007
|
+
|
1008
|
+
# query parameters
|
1009
|
+
query_params = {}
|
1010
|
+
|
1011
|
+
# header parameters
|
1012
|
+
header_params = {}
|
1013
|
+
# HTTP header 'Accept' (if needed)
|
1014
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
1015
|
+
# HTTP header 'Content-Type'
|
1016
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1017
|
+
|
1018
|
+
# form parameters
|
1019
|
+
form_params = {}
|
1020
|
+
|
1021
|
+
# http body (model)
|
1022
|
+
post_body = nil
|
1023
|
+
auth_names = ['oauth2']
|
1024
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
1025
|
+
:header_params => header_params,
|
1026
|
+
:query_params => query_params,
|
1027
|
+
:form_params => form_params,
|
1028
|
+
:body => post_body,
|
1029
|
+
:auth_names => auth_names,
|
1030
|
+
:return_type => 'BrokerageBankLinkVO')
|
1031
|
+
if @api_client.config.debugging
|
1032
|
+
@api_client.config.logger.debug "API called: BrokerageApi#update_bank_link_using_put1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1033
|
+
end
|
1034
|
+
return data, status_code, headers
|
1035
|
+
end
|
1036
|
+
# Update a Brokerage client
|
1037
|
+
# @param client_co clientCO
|
1038
|
+
# @param [Hash] opts the optional parameters
|
1039
|
+
# @return [BrokerageUpdateClientVO]
|
1040
|
+
def update_brokerage_client_using_put(client_co, opts = {})
|
1041
|
+
data, _status_code, _headers = update_brokerage_client_using_put_with_http_info(client_co, opts)
|
1042
|
+
data
|
1043
|
+
end
|
1044
|
+
|
1045
|
+
# Update a Brokerage client
|
1046
|
+
# @param client_co clientCO
|
1047
|
+
# @param [Hash] opts the optional parameters
|
1048
|
+
# @return [Array<(BrokerageUpdateClientVO, Fixnum, Hash)>] BrokerageUpdateClientVO data, response status code and response headers
|
1049
|
+
def update_brokerage_client_using_put_with_http_info(client_co, opts = {})
|
1050
|
+
if @api_client.config.debugging
|
1051
|
+
@api_client.config.logger.debug 'Calling API: BrokerageApi.update_brokerage_client_using_put ...'
|
1052
|
+
end
|
1053
|
+
# verify the required parameter 'client_co' is set
|
1054
|
+
if @api_client.config.client_side_validation && client_co.nil?
|
1055
|
+
fail ArgumentError, "Missing the required parameter 'client_co' when calling BrokerageApi.update_brokerage_client_using_put"
|
1056
|
+
end
|
1057
|
+
# resource path
|
1058
|
+
local_var_path = '/brokerage/client'
|
1059
|
+
|
1060
|
+
# query parameters
|
1061
|
+
query_params = {}
|
1062
|
+
|
1063
|
+
# header parameters
|
1064
|
+
header_params = {}
|
1065
|
+
# HTTP header 'Accept' (if needed)
|
1066
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
1067
|
+
# HTTP header 'Content-Type'
|
1068
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1069
|
+
|
1070
|
+
# form parameters
|
1071
|
+
form_params = {}
|
1072
|
+
|
1073
|
+
# http body (model)
|
1074
|
+
post_body = @api_client.object_to_http_body(client_co)
|
1075
|
+
auth_names = ['oauth2']
|
1076
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
1077
|
+
:header_params => header_params,
|
1078
|
+
:query_params => query_params,
|
1079
|
+
:form_params => form_params,
|
1080
|
+
:body => post_body,
|
1081
|
+
:auth_names => auth_names,
|
1082
|
+
:return_type => 'BrokerageUpdateClientVO')
|
1083
|
+
if @api_client.config.debugging
|
1084
|
+
@api_client.config.logger.debug "API called: BrokerageApi#update_brokerage_client_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1085
|
+
end
|
1086
|
+
return data, status_code, headers
|
1087
|
+
end
|
1088
|
+
end
|
1089
|
+
end
|