plaid 14.0.0.beta.5.pre.plural.pre.income.pre.breakdown → 14.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -3
- data/CONTRIBUTING.md +1 -5
- data/Gemfile.lock +3 -3
- data/Makefile +1 -1
- data/README.md +5 -4
- data/doc/rdoc/.DS_Store +0 -0
- data/doc/rdoc/apple-touch-icon.png +0 -0
- data/doc/rdoc/classes/Object.html +118 -0
- data/doc/rdoc/classes/Plaid/APIError.html +97 -0
- data/doc/rdoc/classes/Plaid/AccessToken/InvalidateResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/AccessToken.html +211 -0
- data/doc/rdoc/classes/Plaid/Accounts.html +257 -0
- data/doc/rdoc/classes/Plaid/AccountsResponse.html +119 -0
- data/doc/rdoc/classes/Plaid/Apex/ProcessorToken.html +205 -0
- data/doc/rdoc/classes/Plaid/Apex.html +149 -0
- data/doc/rdoc/classes/Plaid/AssetReport.html +683 -0
- data/doc/rdoc/classes/Plaid/AssetReportCreateResponse.html +118 -0
- data/doc/rdoc/classes/Plaid/AssetReportFilterResponse.html +96 -0
- data/doc/rdoc/classes/Plaid/AssetReportGetResponse.html +118 -0
- data/doc/rdoc/classes/Plaid/AssetReportRefreshResponse.html +96 -0
- data/doc/rdoc/classes/Plaid/AssetReportRemoveResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/AuditCopyCreateResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/AuditCopyGetResponse.html +96 -0
- data/doc/rdoc/classes/Plaid/AuditCopyRemoveResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/Auth.html +206 -0
- data/doc/rdoc/classes/Plaid/AuthResponse.html +127 -0
- data/doc/rdoc/classes/Plaid/Balance.html +206 -0
- data/doc/rdoc/classes/Plaid/BaseProduct.html +304 -0
- data/doc/rdoc/classes/Plaid/Categories.html +191 -0
- data/doc/rdoc/classes/Plaid/CategoriesResponse.html +111 -0
- data/doc/rdoc/classes/Plaid/Client.html +802 -0
- data/doc/rdoc/classes/Plaid/CreateResponse.html +118 -0
- data/doc/rdoc/classes/Plaid/CreditDetails.html +203 -0
- data/doc/rdoc/classes/Plaid/CreditDetailsResponse.html +128 -0
- data/doc/rdoc/classes/Plaid/DepositSwitch/CreateResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/DepositSwitch/CreateTokenResponse.html +118 -0
- data/doc/rdoc/classes/Plaid/DepositSwitch/GetResponse.html +150 -0
- data/doc/rdoc/classes/Plaid/DepositSwitch.html +339 -0
- data/doc/rdoc/classes/Plaid/Dwolla/ProcessorToken.html +205 -0
- data/doc/rdoc/classes/Plaid/Dwolla.html +150 -0
- data/doc/rdoc/classes/Plaid/Error.html +214 -0
- data/doc/rdoc/classes/Plaid/GetResponse.html +134 -0
- data/doc/rdoc/classes/Plaid/Holdings/GetResponse.html +137 -0
- data/doc/rdoc/classes/Plaid/Holdings.html +218 -0
- data/doc/rdoc/classes/Plaid/Identity.html +199 -0
- data/doc/rdoc/classes/Plaid/IdentityResponse.html +119 -0
- data/doc/rdoc/classes/Plaid/Income.html +198 -0
- data/doc/rdoc/classes/Plaid/IncomeResponse.html +119 -0
- data/doc/rdoc/classes/Plaid/InstitutionError.html +96 -0
- data/doc/rdoc/classes/Plaid/Institutions.html +356 -0
- data/doc/rdoc/classes/Plaid/InvalidInputError.html +97 -0
- data/doc/rdoc/classes/Plaid/InvalidRequestError.html +96 -0
- data/doc/rdoc/classes/Plaid/InvestmentTransactions/GetResponse.html +145 -0
- data/doc/rdoc/classes/Plaid/InvestmentTransactions.html +240 -0
- data/doc/rdoc/classes/Plaid/Investments.html +204 -0
- data/doc/rdoc/classes/Plaid/Item/GetResponse.html +119 -0
- data/doc/rdoc/classes/Plaid/Item/ImportResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/Item/RemoveResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/Item.html +382 -0
- data/doc/rdoc/classes/Plaid/ItemError.html +98 -0
- data/doc/rdoc/classes/Plaid/Liabilities.html +202 -0
- data/doc/rdoc/classes/Plaid/LiabilitiesResponse.html +128 -0
- data/doc/rdoc/classes/Plaid/LinkToken.html +215 -0
- data/doc/rdoc/classes/Plaid/Middleware.html +225 -0
- data/doc/rdoc/classes/Plaid/Models/Account.html +166 -0
- data/doc/rdoc/classes/Plaid/Models/AccountWithOwners.html +110 -0
- data/doc/rdoc/classes/Plaid/Models/AssetReport.html +153 -0
- data/doc/rdoc/classes/Plaid/Models/AssetReportAccount.html +198 -0
- data/doc/rdoc/classes/Plaid/Models/AssetReportBalance.html +142 -0
- data/doc/rdoc/classes/Plaid/Models/AssetReportHistoricalBalance.html +142 -0
- data/doc/rdoc/classes/Plaid/Models/AssetReportItem.html +145 -0
- data/doc/rdoc/classes/Plaid/Models/AssetReportOwner.html +139 -0
- data/doc/rdoc/classes/Plaid/Models/AssetReportTransaction.html +187 -0
- data/doc/rdoc/classes/Plaid/Models/AssetReportUser.html +159 -0
- data/doc/rdoc/classes/Plaid/Models/Balances.html +142 -0
- data/doc/rdoc/classes/Plaid/Models/BaseError.html +140 -0
- data/doc/rdoc/classes/Plaid/Models/BaseModel.html +259 -0
- data/doc/rdoc/classes/Plaid/Models/BaseResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/Models/Category.html +127 -0
- data/doc/rdoc/classes/Plaid/Models/Cause.html +110 -0
- data/doc/rdoc/classes/Plaid/Models/CreditCardLiability.html +175 -0
- data/doc/rdoc/classes/Plaid/Models/CreditCardLiabilityAPRs.html +137 -0
- data/doc/rdoc/classes/Plaid/Models/CreditDetails.html +166 -0
- data/doc/rdoc/classes/Plaid/Models/CreditDetailsAPR.html +126 -0
- data/doc/rdoc/classes/Plaid/Models/CreditDetailsAPRs.html +126 -0
- data/doc/rdoc/classes/Plaid/Models/Error.html +110 -0
- data/doc/rdoc/classes/Plaid/Models/Holding.html +181 -0
- data/doc/rdoc/classes/Plaid/Models/Identity.html +135 -0
- data/doc/rdoc/classes/Plaid/Models/IdentityAddress.html +118 -0
- data/doc/rdoc/classes/Plaid/Models/IdentityAddressData.html +142 -0
- data/doc/rdoc/classes/Plaid/Models/IdentityEmail.html +127 -0
- data/doc/rdoc/classes/Plaid/Models/IdentityPhoneNumber.html +126 -0
- data/doc/rdoc/classes/Plaid/Models/Income.html +173 -0
- data/doc/rdoc/classes/Plaid/Models/IncomeStream.html +136 -0
- data/doc/rdoc/classes/Plaid/Models/Institution.html +230 -0
- data/doc/rdoc/classes/Plaid/Models/InstitutionCredential.html +126 -0
- data/doc/rdoc/classes/Plaid/Models/InstitutionPaymentInitiationMetadata.html +136 -0
- data/doc/rdoc/classes/Plaid/Models/InstitutionStatus.html +111 -0
- data/doc/rdoc/classes/Plaid/Models/InstitutionStatusBreakdown.html +129 -0
- data/doc/rdoc/classes/Plaid/Models/InstitutionStatusItemLogins.html +127 -0
- data/doc/rdoc/classes/Plaid/Models/InvestmentTransaction.html +224 -0
- data/doc/rdoc/classes/Plaid/Models/Item.html +169 -0
- data/doc/rdoc/classes/Plaid/Models/ItemStatus.html +129 -0
- data/doc/rdoc/classes/Plaid/Models/ItemStatusInvestments.html +119 -0
- data/doc/rdoc/classes/Plaid/Models/ItemStatusLastWebhook.html +118 -0
- data/doc/rdoc/classes/Plaid/Models/ItemStatusTransactions.html +119 -0
- data/doc/rdoc/classes/Plaid/Models/Liabilities.html +130 -0
- data/doc/rdoc/classes/Plaid/Models/LinkTokenMetadata.html +158 -0
- data/doc/rdoc/classes/Plaid/Models/MFA/Device.html +110 -0
- data/doc/rdoc/classes/Plaid/Models/MFA/DeviceListElement.html +126 -0
- data/doc/rdoc/classes/Plaid/Models/MFA/Selection.html +118 -0
- data/doc/rdoc/classes/Plaid/Models/MFA.html +129 -0
- data/doc/rdoc/classes/Plaid/Models/NumberACH.html +134 -0
- data/doc/rdoc/classes/Plaid/Models/NumberBACS.html +126 -0
- data/doc/rdoc/classes/Plaid/Models/NumberEFT.html +134 -0
- data/doc/rdoc/classes/Plaid/Models/NumberInternational.html +127 -0
- data/doc/rdoc/classes/Plaid/Models/Numbers.html +135 -0
- data/doc/rdoc/classes/Plaid/Models/PSLFStatus.html +128 -0
- data/doc/rdoc/classes/Plaid/Models/Payment.html +191 -0
- data/doc/rdoc/classes/Plaid/Models/PaymentAmount.html +118 -0
- data/doc/rdoc/classes/Plaid/Models/PaymentRecipient.html +142 -0
- data/doc/rdoc/classes/Plaid/Models/PaymentRecipientAddress.html +134 -0
- data/doc/rdoc/classes/Plaid/Models/PaymentRecipientBACS.html +118 -0
- data/doc/rdoc/classes/Plaid/Models/PaymentSchedule.html +126 -0
- data/doc/rdoc/classes/Plaid/Models/Security.html +228 -0
- data/doc/rdoc/classes/Plaid/Models/StandingOrderMetadata.html +129 -0
- data/doc/rdoc/classes/Plaid/Models/StudentLoanLiability.html +305 -0
- data/doc/rdoc/classes/Plaid/Models/StudentLoanRepaymentPlan.html +118 -0
- data/doc/rdoc/classes/Plaid/Models/StudentLoanServicerAddress.html +142 -0
- data/doc/rdoc/classes/Plaid/Models/StudentLoanStatus.html +118 -0
- data/doc/rdoc/classes/Plaid/Models/Transaction.html +265 -0
- data/doc/rdoc/classes/Plaid/Models/TransactionLocation.html +166 -0
- data/doc/rdoc/classes/Plaid/Models/TransactionPaymentMeta.html +167 -0
- data/doc/rdoc/classes/Plaid/Models/Warning.html +126 -0
- data/doc/rdoc/classes/Plaid/Models/WebhookVerificationKey.html +174 -0
- data/doc/rdoc/classes/Plaid/Models.html +506 -0
- data/doc/rdoc/classes/Plaid/MultipleInstitutionsResponse.html +119 -0
- data/doc/rdoc/classes/Plaid/Ocrolus/ProcessorToken.html +205 -0
- data/doc/rdoc/classes/Plaid/Ocrolus.html +151 -0
- data/doc/rdoc/classes/Plaid/PaymentCreateResponse.html +118 -0
- data/doc/rdoc/classes/Plaid/PaymentGetResponse.html +191 -0
- data/doc/rdoc/classes/Plaid/PaymentInitiation.html +570 -0
- data/doc/rdoc/classes/Plaid/PaymentListResponse.html +119 -0
- data/doc/rdoc/classes/Plaid/PaymentRecipientCreateResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/PaymentRecipientGetResponse.html +142 -0
- data/doc/rdoc/classes/Plaid/PaymentRecipientListResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/PaymentTokenCreateResponse.html +118 -0
- data/doc/rdoc/classes/Plaid/PlaidAPIError.html +260 -0
- data/doc/rdoc/classes/Plaid/PlaidError.html +96 -0
- data/doc/rdoc/classes/Plaid/PlaidServerError.html +96 -0
- data/doc/rdoc/classes/Plaid/Processor.html +143 -0
- data/doc/rdoc/classes/Plaid/ProcessorToken.html +219 -0
- data/doc/rdoc/classes/Plaid/ProcessorTokenResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/PublicToken/CreateResponse.html +118 -0
- data/doc/rdoc/classes/Plaid/PublicToken/ExchangeResponse.html +118 -0
- data/doc/rdoc/classes/Plaid/PublicToken.html +283 -0
- data/doc/rdoc/classes/Plaid/RateLimitExceededError.html +97 -0
- data/doc/rdoc/classes/Plaid/Sandbox.html +119 -0
- data/doc/rdoc/classes/Plaid/SandboxItem/FireWebhookResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/SandboxItem/ResetLoginResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/SandboxItem.html +351 -0
- data/doc/rdoc/classes/Plaid/SandboxPublicToken/SandboxCreateResponse.html +118 -0
- data/doc/rdoc/classes/Plaid/SandboxPublicToken.html +249 -0
- data/doc/rdoc/classes/Plaid/SingleInstitutionResponse.html +111 -0
- data/doc/rdoc/classes/Plaid/Stripe/BankAccountToken/CreateResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/Stripe/BankAccountToken.html +215 -0
- data/doc/rdoc/classes/Plaid/Stripe.html +151 -0
- data/doc/rdoc/classes/Plaid/SubproductMixin.html +179 -0
- data/doc/rdoc/classes/Plaid/Transactions/GetResponse.html +144 -0
- data/doc/rdoc/classes/Plaid/Transactions.html +302 -0
- data/doc/rdoc/classes/Plaid/Webhook/UpdateResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/Webhook.html +214 -0
- data/doc/rdoc/classes/Plaid/Webhooks/WebhookVerificationKeyGetResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/Webhooks.html +207 -0
- data/doc/rdoc/classes/Plaid.html +772 -0
- data/doc/rdoc/created.rid +28 -0
- data/doc/rdoc/css/github.css +123 -0
- data/doc/rdoc/css/main.css +333 -0
- data/doc/rdoc/css/panel.css +383 -0
- data/doc/rdoc/css/reset.css +48 -0
- data/doc/rdoc/favicon.ico +0 -0
- data/doc/rdoc/files/LICENSE_txt.html +98 -0
- data/doc/rdoc/files/README_md.html +388 -0
- data/doc/rdoc/files/lib/plaid/client_rb.html +121 -0
- data/doc/rdoc/files/lib/plaid/errors_rb.html +132 -0
- data/doc/rdoc/files/lib/plaid/middleware_rb.html +99 -0
- data/doc/rdoc/files/lib/plaid/models_rb.html +450 -0
- data/doc/rdoc/files/lib/plaid/products/accounts_rb.html +102 -0
- data/doc/rdoc/files/lib/plaid/products/asset_report_rb.html +132 -0
- data/doc/rdoc/files/lib/plaid/products/auth_rb.html +97 -0
- data/doc/rdoc/files/lib/plaid/products/base_product_rb.html +92 -0
- data/doc/rdoc/files/lib/plaid/products/categories_rb.html +92 -0
- data/doc/rdoc/files/lib/plaid/products/credit_details_rb.html +97 -0
- data/doc/rdoc/files/lib/plaid/products/deposit_switch_rb.html +102 -0
- data/doc/rdoc/files/lib/plaid/products/identity_rb.html +97 -0
- data/doc/rdoc/files/lib/plaid/products/income_rb.html +97 -0
- data/doc/rdoc/files/lib/plaid/products/institutions_rb.html +102 -0
- data/doc/rdoc/files/lib/plaid/products/investments_rb.html +120 -0
- data/doc/rdoc/files/lib/plaid/products/item_rb.html +142 -0
- data/doc/rdoc/files/lib/plaid/products/liabilities_rb.html +97 -0
- data/doc/rdoc/files/lib/plaid/products/link_token_rb.html +102 -0
- data/doc/rdoc/files/lib/plaid/products/payment_initiation_rb.html +127 -0
- data/doc/rdoc/files/lib/plaid/products/processor_rb.html +142 -0
- data/doc/rdoc/files/lib/plaid/products/sandbox_rb.html +117 -0
- data/doc/rdoc/files/lib/plaid/products/transactions_rb.html +105 -0
- data/doc/rdoc/files/lib/plaid/products/webhooks_rb.html +97 -0
- data/doc/rdoc/files/lib/plaid/version_rb.html +82 -0
- data/doc/rdoc/files/lib/plaid_rb.html +120 -0
- data/doc/rdoc/i/arrows.png +0 -0
- data/doc/rdoc/i/results_bg.png +0 -0
- data/doc/rdoc/i/tree_bg.png +0 -0
- data/doc/rdoc/index.html +13 -0
- data/doc/rdoc/js/highlight.pack.js +1 -0
- data/doc/rdoc/js/jquery-1.3.2.min.js +19 -0
- data/doc/rdoc/js/main.js +29 -0
- data/doc/rdoc/js/navigation.js +142 -0
- data/doc/rdoc/js/navigation.js.gz +0 -0
- data/doc/rdoc/js/search_index.js +1 -0
- data/doc/rdoc/js/search_index.js.gz +0 -0
- data/doc/rdoc/js/searchdoc.js +468 -0
- data/doc/rdoc/js/searcher.js +229 -0
- data/doc/rdoc/js/searcher.js.gz +0 -0
- data/doc/rdoc/panel/index.html +74 -0
- data/doc/rdoc/panel/links.html +60 -0
- data/doc/rdoc/panel/tree.js +1 -0
- data/lib/plaid/.DS_Store +0 -0
- data/lib/plaid/api/plaid_api.rb +644 -61
- data/lib/plaid/api_client.rb +3 -2
- data/lib/plaid/api_error.rb +1 -1
- data/lib/plaid/configuration.rb +1 -1
- data/lib/plaid/models/account_access.rb +238 -0
- data/lib/plaid/models/account_assets.rb +16 -5
- data/lib/plaid/models/account_assets_all_of.rb +16 -4
- data/lib/plaid/models/account_balance.rb +6 -10
- data/lib/plaid/models/account_base.rb +1 -2
- data/lib/plaid/models/account_filter.rb +258 -0
- data/lib/plaid/models/account_filters_response.rb +1 -1
- data/lib/plaid/models/account_identity.rb +1 -2
- data/lib/plaid/models/account_identity_all_of.rb +1 -1
- data/lib/plaid/models/account_selection_cardinality.rb +38 -0
- data/lib/plaid/models/account_subtype.rb +5 -1
- data/lib/plaid/models/account_type.rb +1 -1
- data/lib/plaid/models/accounts_balance_get_request.rb +1 -1
- data/lib/plaid/models/accounts_balance_get_request_options.rb +1 -1
- data/lib/plaid/models/accounts_get_request.rb +1 -1
- data/lib/plaid/models/accounts_get_request_options.rb +1 -1
- data/lib/plaid/models/accounts_get_response.rb +1 -1
- data/lib/plaid/models/ach_class.rb +1 -1
- data/lib/plaid/models/address.rb +1 -2
- data/lib/plaid/models/address_data.rb +2 -6
- data/lib/plaid/models/{nullable_address_data.rb → address_data_nullable.rb} +5 -9
- data/lib/plaid/models/{nullable_address.rb → address_nullable.rb} +4 -5
- data/lib/plaid/models/application.rb +17 -2
- data/lib/plaid/models/application_get_request.rb +1 -1
- data/lib/plaid/models/application_get_response.rb +1 -1
- data/lib/plaid/models/apr.rb +1 -1
- data/lib/plaid/models/asset_report.rb +2 -2
- data/lib/plaid/models/asset_report_audit_copy_create_request.rb +1 -1
- data/lib/plaid/models/asset_report_audit_copy_create_response.rb +1 -1
- data/lib/plaid/models/asset_report_audit_copy_get_request.rb +1 -1
- data/lib/plaid/models/asset_report_audit_copy_remove_request.rb +1 -1
- data/lib/plaid/models/asset_report_audit_copy_remove_response.rb +1 -1
- data/lib/plaid/models/asset_report_create_request.rb +1 -1
- data/lib/plaid/models/asset_report_create_request_options.rb +1 -1
- data/lib/plaid/models/asset_report_create_response.rb +1 -1
- data/lib/plaid/models/asset_report_filter_request.rb +1 -1
- data/lib/plaid/models/asset_report_filter_response.rb +1 -1
- data/lib/plaid/models/asset_report_get_request.rb +1 -1
- data/lib/plaid/models/asset_report_get_response.rb +1 -1
- data/lib/plaid/models/asset_report_item.rb +2 -2
- data/lib/plaid/models/asset_report_pdf_get_request.rb +1 -1
- data/lib/plaid/models/asset_report_refresh_request.rb +1 -1
- data/lib/plaid/models/asset_report_refresh_request_options.rb +1 -1
- data/lib/plaid/models/asset_report_refresh_response.rb +1 -1
- data/lib/plaid/models/asset_report_remove_request.rb +1 -1
- data/lib/plaid/models/asset_report_remove_response.rb +1 -1
- data/lib/plaid/models/asset_report_transaction.rb +108 -187
- data/lib/plaid/models/asset_report_transaction_all_of.rb +6 -21
- data/lib/plaid/models/asset_report_user.rb +2 -2
- data/lib/plaid/models/assets_error_webhook.rb +1 -1
- data/lib/plaid/models/assets_product_ready_webhook.rb +1 -1
- data/lib/plaid/models/auth_get_numbers.rb +21 -1
- data/lib/plaid/models/auth_get_request.rb +1 -1
- data/lib/plaid/models/auth_get_request_options.rb +1 -1
- data/lib/plaid/models/auth_get_response.rb +1 -1
- data/lib/plaid/models/automatically_verified_webhook.rb +1 -1
- data/lib/plaid/models/bank_initiated_return_risk.rb +300 -0
- data/lib/plaid/models/bank_transfer.rb +2 -2
- data/lib/plaid/models/bank_transfer_balance.rb +1 -1
- data/lib/plaid/models/bank_transfer_balance_get_request.rb +1 -1
- data/lib/plaid/models/bank_transfer_balance_get_response.rb +1 -1
- data/lib/plaid/models/bank_transfer_cancel_request.rb +1 -1
- data/lib/plaid/models/bank_transfer_cancel_response.rb +1 -1
- data/lib/plaid/models/bank_transfer_create_request.rb +1 -1
- data/lib/plaid/models/bank_transfer_create_response.rb +1 -1
- data/lib/plaid/models/bank_transfer_direction.rb +2 -1
- data/lib/plaid/models/bank_transfer_event.rb +2 -2
- data/lib/plaid/models/bank_transfer_event_list_request.rb +16 -4
- data/lib/plaid/models/bank_transfer_event_list_response.rb +1 -1
- data/lib/plaid/models/bank_transfer_event_sync_request.rb +1 -1
- data/lib/plaid/models/bank_transfer_event_sync_response.rb +1 -1
- data/lib/plaid/models/bank_transfer_event_type.rb +1 -1
- data/lib/plaid/models/bank_transfer_failure.rb +2 -2
- data/lib/plaid/models/bank_transfer_get_request.rb +1 -1
- data/lib/plaid/models/bank_transfer_get_response.rb +1 -1
- data/lib/plaid/models/bank_transfer_list_request.rb +1 -1
- data/lib/plaid/models/bank_transfer_list_response.rb +1 -1
- data/lib/plaid/models/bank_transfer_migrate_account_request.rb +1 -1
- data/lib/plaid/models/bank_transfer_migrate_account_response.rb +1 -1
- data/lib/plaid/models/bank_transfer_network.rb +1 -1
- data/lib/plaid/models/bank_transfer_receiver_details.rb +3 -3
- data/lib/plaid/models/bank_transfer_status.rb +1 -1
- data/lib/plaid/models/bank_transfer_type.rb +1 -1
- data/lib/plaid/models/bank_transfer_user.rb +2 -2
- data/lib/plaid/models/bank_transfers_events_update_webhook.rb +1 -1
- data/lib/plaid/models/categories_get_response.rb +1 -1
- data/lib/plaid/models/category.rb +1 -1
- data/lib/plaid/models/cause.rb +1 -1
- data/lib/plaid/models/connected_application.rb +357 -0
- data/lib/plaid/models/country_code.rb +1 -1
- data/lib/plaid/models/credit_card_liability.rb +5 -9
- data/lib/plaid/models/credit_filter.rb +2 -2
- data/lib/plaid/models/customer_initiated_return_risk.rb +300 -0
- data/lib/plaid/models/default_update_webhook.rb +1 -1
- data/lib/plaid/models/deposit_switch_address_data.rb +1 -1
- data/lib/plaid/models/deposit_switch_alt_create_request.rb +59 -5
- data/lib/plaid/models/deposit_switch_alt_create_response.rb +1 -1
- data/lib/plaid/models/deposit_switch_create_request.rb +59 -5
- data/lib/plaid/models/deposit_switch_create_request_options.rb +251 -0
- data/lib/plaid/models/deposit_switch_create_response.rb +1 -1
- data/lib/plaid/models/deposit_switch_get_request.rb +1 -1
- data/lib/plaid/models/deposit_switch_get_response.rb +74 -7
- data/lib/plaid/models/deposit_switch_state_update_webhook.rb +250 -0
- data/lib/plaid/models/deposit_switch_target_account.rb +1 -1
- data/lib/plaid/models/deposit_switch_target_user.rb +1 -1
- data/lib/plaid/models/deposit_switch_token_create_request.rb +1 -1
- data/lib/plaid/models/deposit_switch_token_create_response.rb +2 -2
- data/lib/plaid/models/depository_filter.rb +2 -2
- data/lib/plaid/models/email.rb +1 -1
- data/lib/plaid/models/employee.rb +6 -17
- data/lib/plaid/models/employee_income_summary_field_string.rb +1 -1
- data/lib/plaid/models/employer.rb +7 -3
- data/lib/plaid/models/employer_income_summary_field_string.rb +1 -1
- data/lib/plaid/models/employers_search_request.rb +1 -1
- data/lib/plaid/models/employers_search_response.rb +1 -1
- data/lib/plaid/models/error.rb +2 -9
- data/lib/plaid/models/external_payment_options.rb +61 -7
- data/lib/plaid/models/external_payment_refund_details.rb +7 -2
- data/lib/plaid/models/{external_payment_schedule.rb → external_payment_schedule_base.rb} +21 -25
- data/lib/plaid/models/external_payment_schedule_get.rb +19 -19
- data/lib/plaid/models/external_payment_schedule_request.rb +283 -0
- data/lib/plaid/models/health_incident.rb +18 -5
- data/lib/plaid/models/historical_balance.rb +3 -3
- data/lib/plaid/models/historical_update_webhook.rb +1 -1
- data/lib/plaid/models/holding.rb +3 -3
- data/lib/plaid/models/holdings_default_update_webhook.rb +1 -1
- data/lib/plaid/models/identity_get_request.rb +1 -1
- data/lib/plaid/models/identity_get_request_options.rb +1 -1
- data/lib/plaid/models/identity_get_response.rb +1 -1
- data/lib/plaid/models/incident_update.rb +4 -4
- data/lib/plaid/models/income_breakdown.rb +36 -2
- data/lib/plaid/models/income_summary.rb +26 -1
- data/lib/plaid/models/income_summary_field_number.rb +1 -1
- data/lib/plaid/models/income_summary_field_string.rb +1 -1
- data/lib/plaid/models/income_verification_create_request.rb +1 -1
- data/lib/plaid/models/income_verification_create_response.rb +1 -1
- data/lib/plaid/models/income_verification_documents_download_request.rb +1 -1
- data/lib/plaid/models/income_verification_documents_download_response.rb +1 -1
- data/lib/plaid/models/{income_verification_paystub_get_request.rb → income_verification_paystubs_get_request.rb} +5 -5
- data/lib/plaid/models/income_verification_paystubs_get_response.rb +241 -0
- data/lib/plaid/models/income_verification_refresh_request.rb +245 -0
- data/lib/plaid/models/income_verification_refresh_response.rb +239 -0
- data/lib/plaid/models/income_verification_status_webhook.rb +2 -2
- data/lib/plaid/models/income_verification_summary_get_request.rb +1 -1
- data/lib/plaid/models/income_verification_summary_get_response.rb +12 -2
- data/lib/plaid/models/income_verification_webhook_status.rb +1 -1
- data/lib/plaid/models/inflow_model.rb +1 -1
- data/lib/plaid/models/initial_update_webhook.rb +1 -1
- data/lib/plaid/models/institution.rb +2 -2
- data/lib/plaid/models/institution_status.rb +30 -3
- data/lib/plaid/models/institutions_get_by_id_request.rb +1 -1
- data/lib/plaid/models/institutions_get_by_id_request_options.rb +2 -2
- data/lib/plaid/models/institutions_get_by_id_response.rb +1 -1
- data/lib/plaid/models/institutions_get_request.rb +1 -1
- data/lib/plaid/models/institutions_get_request_options.rb +2 -2
- data/lib/plaid/models/institutions_get_response.rb +1 -1
- data/lib/plaid/models/institutions_search_account_filter.rb +1 -1
- data/lib/plaid/models/institutions_search_payment_initiation_options.rb +1 -1
- data/lib/plaid/models/institutions_search_request.rb +2 -2
- data/lib/plaid/models/institutions_search_request_options.rb +2 -2
- data/lib/plaid/models/institutions_search_response.rb +1 -1
- data/lib/plaid/models/investment_filter.rb +2 -2
- data/lib/plaid/models/investment_holdings_get_request_options.rb +1 -1
- data/lib/plaid/models/investment_transaction.rb +5 -5
- data/lib/plaid/models/investments_default_update_webhook.rb +1 -1
- data/lib/plaid/models/investments_holdings_get_request.rb +1 -1
- data/lib/plaid/models/investments_holdings_get_response.rb +1 -1
- data/lib/plaid/models/investments_transactions_get_request.rb +1 -1
- data/lib/plaid/models/investments_transactions_get_request_options.rb +1 -1
- data/lib/plaid/models/investments_transactions_get_response.rb +1 -1
- data/lib/plaid/models/item.rb +5 -5
- data/lib/plaid/models/item_access_token_invalidate_request.rb +1 -1
- data/lib/plaid/models/item_access_token_invalidate_response.rb +1 -1
- data/lib/plaid/models/item_application_list_request.rb +241 -0
- data/lib/plaid/models/item_application_list_response.rb +237 -0
- data/lib/plaid/models/item_application_list_user_auth.rb +232 -0
- data/lib/plaid/models/item_application_scopes_update_request.rb +274 -0
- data/lib/plaid/models/{income_verification_paystub_get_response.rb → item_application_scopes_update_response.rb} +11 -15
- data/lib/plaid/models/item_error_webhook.rb +1 -1
- data/lib/plaid/models/item_get_request.rb +1 -1
- data/lib/plaid/models/item_get_response.rb +2 -2
- data/lib/plaid/models/item_import_request.rb +1 -1
- data/lib/plaid/models/item_import_request_options.rb +1 -1
- data/lib/plaid/models/item_import_request_user_auth.rb +1 -1
- data/lib/plaid/models/item_import_response.rb +1 -1
- data/lib/plaid/models/item_product_ready_webhook.rb +1 -1
- data/lib/plaid/models/item_public_token_create_request.rb +1 -1
- data/lib/plaid/models/item_public_token_create_response.rb +1 -1
- data/lib/plaid/models/item_public_token_exchange_request.rb +1 -1
- data/lib/plaid/models/item_public_token_exchange_response.rb +1 -1
- data/lib/plaid/models/item_remove_request.rb +1 -1
- data/lib/plaid/models/item_remove_response.rb +1 -1
- data/lib/plaid/models/item_status.rb +7 -16
- data/lib/plaid/models/item_status_investments.rb +232 -0
- data/lib/plaid/models/{nullable_recipient_bacs.rb → item_status_last_webhook.rb} +22 -26
- data/lib/plaid/models/{nullable_item_status.rb → item_status_nullable.rb} +10 -19
- data/lib/plaid/models/item_status_transactions.rb +232 -0
- data/lib/plaid/models/item_webhook_update_request.rb +1 -1
- data/lib/plaid/models/item_webhook_update_response.rb +1 -1
- data/lib/plaid/models/jwk_public_key.rb +1 -1
- data/lib/plaid/models/jwt_header.rb +1 -1
- data/lib/plaid/models/liabilities_default_update_webhook.rb +27 -2
- data/lib/plaid/models/liabilities_get_request.rb +1 -1
- data/lib/plaid/models/liabilities_get_request_options.rb +1 -1
- data/lib/plaid/models/liabilities_get_response.rb +1 -1
- data/lib/plaid/models/liabilities_object.rb +4 -4
- data/lib/plaid/models/liability_override.rb +3 -3
- data/lib/plaid/models/link_token_account_filters.rb +2 -2
- data/lib/plaid/models/link_token_create_request.rb +12 -3
- data/lib/plaid/models/link_token_create_request_account_subtypes.rb +2 -2
- data/lib/plaid/models/link_token_create_request_auth.rb +1 -1
- data/lib/plaid/models/link_token_create_request_deposit_switch.rb +1 -1
- data/lib/plaid/models/link_token_create_request_income_verification.rb +2 -3
- data/lib/plaid/models/link_token_create_request_payment_initiation.rb +22 -1
- data/lib/plaid/models/link_token_create_request_user.rb +8 -8
- data/lib/plaid/models/link_token_create_response.rb +1 -1
- data/lib/plaid/models/link_token_eu_config.rb +220 -0
- data/lib/plaid/models/link_token_get_metadata_response.rb +11 -1
- data/lib/plaid/models/link_token_get_request.rb +1 -1
- data/lib/plaid/models/link_token_get_response.rb +11 -1
- data/lib/plaid/models/loan_filter.rb +2 -2
- data/lib/plaid/models/location.rb +1 -1
- data/lib/plaid/models/meta.rb +1 -1
- data/lib/plaid/models/mfa.rb +1 -1
- data/lib/plaid/models/mortgage_interest_rate.rb +1 -1
- data/lib/plaid/models/mortgage_liability.rb +20 -6
- data/lib/plaid/models/mortgage_property_address.rb +1 -1
- data/lib/plaid/models/numbers.rb +1 -41
- data/lib/plaid/models/numbers_ach.rb +2 -2
- data/lib/plaid/models/{nullable_numbers_ach.rb → numbers_ach_nullable.rb} +5 -5
- data/lib/plaid/models/numbers_bacs.rb +1 -1
- data/lib/plaid/models/{nullable_numbers_bacs.rb → numbers_bacs_nullable.rb} +4 -4
- data/lib/plaid/models/numbers_eft.rb +1 -1
- data/lib/plaid/models/{nullable_numbers_eft.rb → numbers_eft_nullable.rb} +4 -4
- data/lib/plaid/models/numbers_international.rb +1 -1
- data/lib/plaid/models/{nullable_numbers_international.rb → numbers_international_nullable.rb} +4 -4
- data/lib/plaid/models/override_account_type.rb +40 -0
- data/lib/plaid/models/override_accounts.rb +2 -2
- data/lib/plaid/models/owner.rb +1 -1
- data/lib/plaid/models/owner_override.rb +1 -1
- data/lib/plaid/models/pay_frequency.rb +1 -1
- data/lib/plaid/models/pay_period_details.rb +4 -4
- data/lib/plaid/models/payment_amount.rb +12 -1
- data/lib/plaid/models/payment_initiation_address.rb +118 -4
- data/lib/plaid/models/payment_initiation_metadata.rb +16 -1
- data/lib/plaid/models/payment_initiation_optional_restriction_bacs.rb +53 -1
- data/lib/plaid/models/payment_initiation_payment.rb +20 -2
- data/lib/plaid/models/payment_initiation_payment_create_request.rb +53 -3
- data/lib/plaid/models/payment_initiation_payment_create_response.rb +35 -1
- data/lib/plaid/models/payment_initiation_payment_get_request.rb +22 -1
- data/lib/plaid/models/payment_initiation_payment_get_response.rb +20 -2
- data/lib/plaid/models/payment_initiation_payment_list_request.rb +1 -18
- data/lib/plaid/models/payment_initiation_payment_list_response.rb +1 -1
- data/lib/plaid/models/payment_initiation_payment_token_create_request.rb +22 -1
- data/lib/plaid/models/payment_initiation_payment_token_create_response.rb +1 -1
- data/lib/plaid/models/payment_initiation_recipient.rb +2 -2
- data/lib/plaid/models/payment_initiation_recipient_create_request.rb +49 -2
- data/lib/plaid/models/payment_initiation_recipient_create_response.rb +1 -1
- data/lib/plaid/models/payment_initiation_recipient_get_request.rb +22 -1
- data/lib/plaid/models/payment_initiation_recipient_get_response.rb +2 -2
- data/lib/plaid/models/payment_initiation_recipient_get_response_all_of.rb +1 -1
- data/lib/plaid/models/payment_initiation_recipient_list_request.rb +1 -1
- data/lib/plaid/models/payment_initiation_recipient_list_response.rb +1 -1
- data/lib/plaid/models/payment_initiation_standing_order_metadata.rb +16 -1
- data/lib/plaid/models/payment_meta.rb +1 -1
- data/lib/plaid/models/payment_schedule_interval.rb +1 -1
- data/lib/plaid/models/payment_status_update_webhook.rb +2 -2
- data/lib/plaid/models/paystub.rb +5 -22
- data/lib/plaid/models/paystub_deduction.rb +1 -1
- data/lib/plaid/models/{nullable_access_token.rb → paystub_employer.rb} +17 -6
- data/lib/plaid/models/paystub_ytd_details.rb +2 -1
- data/lib/plaid/models/pending_expiration_webhook.rb +2 -2
- data/lib/plaid/models/phone_number.rb +11 -3
- data/lib/plaid/models/processor_apex_processor_token_create_request.rb +1 -1
- data/lib/plaid/models/processor_auth_get_request.rb +1 -1
- data/lib/plaid/models/processor_auth_get_response.rb +1 -1
- data/lib/plaid/models/processor_balance_get_request.rb +1 -1
- data/lib/plaid/models/processor_balance_get_response.rb +1 -1
- data/lib/plaid/models/processor_bank_transfer_create_request.rb +459 -0
- data/lib/plaid/models/processor_bank_transfer_create_response.rb +239 -0
- data/lib/plaid/models/processor_identity_get_request.rb +1 -1
- data/lib/plaid/models/processor_identity_get_response.rb +1 -1
- data/lib/plaid/models/processor_number.rb +5 -5
- data/lib/plaid/models/processor_stripe_bank_account_token_create_request.rb +1 -1
- data/lib/plaid/models/processor_stripe_bank_account_token_create_response.rb +1 -1
- data/lib/plaid/models/processor_token_create_request.rb +36 -2
- data/lib/plaid/models/processor_token_create_response.rb +1 -1
- data/lib/plaid/models/product_access.rb +262 -0
- data/lib/plaid/models/product_status.rb +3 -3
- data/lib/plaid/models/product_status_breakdown.rb +1 -2
- data/lib/plaid/models/products.rb +2 -1
- data/lib/plaid/models/projected_income_summary_field_number.rb +1 -1
- data/lib/plaid/models/pslf_status.rb +2 -2
- data/lib/plaid/models/recaptcha_required_error.rb +1 -1
- data/lib/plaid/models/recipient_bacs.rb +53 -1
- data/lib/plaid/models/recipient_bacs_nullable.rb +288 -0
- data/lib/plaid/models/requested_scopes.rb +261 -0
- data/lib/plaid/models/sandbox_bank_transfer_fire_webhook_request.rb +1 -1
- data/lib/plaid/models/sandbox_bank_transfer_fire_webhook_response.rb +1 -1
- data/lib/plaid/models/sandbox_bank_transfer_simulate_request.rb +1 -1
- data/lib/plaid/models/sandbox_bank_transfer_simulate_response.rb +1 -1
- data/lib/plaid/models/sandbox_income_fire_webhook_request.rb +309 -0
- data/lib/plaid/models/sandbox_income_fire_webhook_response.rb +225 -0
- data/lib/plaid/models/sandbox_item_fire_webhook_request.rb +1 -1
- data/lib/plaid/models/sandbox_item_fire_webhook_response.rb +1 -1
- data/lib/plaid/models/sandbox_item_reset_login_request.rb +1 -1
- data/lib/plaid/models/sandbox_item_reset_login_response.rb +1 -1
- data/lib/plaid/models/sandbox_item_set_verification_status_request.rb +1 -1
- data/lib/plaid/models/sandbox_item_set_verification_status_response.rb +1 -1
- data/lib/plaid/models/sandbox_oauth_select_accounts_request.rb +240 -0
- data/lib/plaid/models/sandbox_processor_token_create_request.rb +1 -1
- data/lib/plaid/models/sandbox_processor_token_create_request_options.rb +1 -1
- data/lib/plaid/models/sandbox_processor_token_create_response.rb +1 -1
- data/lib/plaid/models/sandbox_public_token_create_request.rb +1 -1
- data/lib/plaid/models/sandbox_public_token_create_request_options.rb +1 -1
- data/lib/plaid/models/sandbox_public_token_create_request_options_transactions.rb +4 -4
- data/lib/plaid/models/sandbox_public_token_create_response.rb +1 -1
- data/lib/plaid/models/scopes.rb +243 -0
- data/lib/plaid/models/scopes_nullable.rb +249 -0
- data/lib/plaid/models/security.rb +3 -3
- data/lib/plaid/models/sender_bacs_nullable.rb +288 -0
- data/lib/plaid/models/servicer_address_data.rb +1 -1
- data/lib/plaid/models/signal_address_data.rb +263 -0
- data/lib/plaid/models/signal_decision_report_request.rb +259 -0
- data/lib/plaid/models/signal_decision_report_response.rb +224 -0
- data/lib/plaid/models/signal_device.rb +232 -0
- data/lib/plaid/models/signal_evaluate_core_attributes.rb +584 -0
- data/lib/plaid/models/signal_evaluate_request.rb +355 -0
- data/lib/plaid/models/signal_evaluate_response.rb +252 -0
- data/lib/plaid/models/signal_person_name.rb +265 -0
- data/lib/plaid/models/signal_return_report_request.rb +259 -0
- data/lib/plaid/models/signal_return_report_response.rb +224 -0
- data/lib/plaid/models/signal_scores.rb +227 -0
- data/lib/plaid/models/signal_user.rb +252 -0
- data/lib/plaid/models/standalone_account_type.rb +1 -1
- data/lib/plaid/models/standalone_currency_code_list.rb +1 -1
- data/lib/plaid/models/standalone_investment_transaction_subtype.rb +1 -1
- data/lib/plaid/models/standalone_investment_transaction_type.rb +1 -1
- data/lib/plaid/models/student_loan.rb +27 -7
- data/lib/plaid/models/student_loan_repayment_model.rb +1 -1
- data/lib/plaid/models/student_loan_status.rb +2 -2
- data/lib/plaid/models/student_repayment_plan.rb +3 -3
- data/lib/plaid/models/transaction.rb +164 -124
- data/lib/plaid/models/transaction_all_of.rb +312 -0
- data/lib/plaid/models/transaction_base.rb +436 -0
- data/lib/plaid/models/transaction_code.rb +1 -1
- data/lib/plaid/models/transaction_data.rb +2 -2
- data/lib/plaid/models/transaction_override.rb +3 -3
- data/lib/plaid/models/transactions_get_request.rb +1 -1
- data/lib/plaid/models/transactions_get_request_options.rb +18 -5
- data/lib/plaid/models/transactions_get_response.rb +1 -1
- data/lib/plaid/models/transactions_refresh_request.rb +1 -1
- data/lib/plaid/models/transactions_refresh_response.rb +1 -1
- data/lib/plaid/models/transactions_removed_webhook.rb +1 -1
- data/lib/plaid/models/user_custom_password.rb +1 -1
- data/lib/plaid/models/user_permission_revoked_webhook.rb +1 -1
- data/lib/plaid/models/verification_expired_webhook.rb +1 -1
- data/lib/plaid/models/verification_refresh_status.rb +36 -0
- data/lib/plaid/models/verification_status.rb +1 -1
- data/lib/plaid/models/warning.rb +35 -1
- data/lib/plaid/models/webhook_update_acknowledged_webhook.rb +1 -1
- data/lib/plaid/models/webhook_verification_key_get_request.rb +1 -1
- data/lib/plaid/models/webhook_verification_key_get_response.rb +1 -1
- data/lib/plaid/models/ytd_gross_income_summary_field_number.rb +1 -1
- data/lib/plaid/models/ytd_net_income_summary_field_number.rb +1 -1
- data/lib/plaid/version.rb +2 -2
- data/lib/plaid.rb +59 -13
- data/pkg/plaid-13.2.0.gem +0 -0
- data/pkg/plaid-14.0.0.beta.3.gem +0 -0
- data/pkg/plaid-14.0.0.beta.5.gem +0 -0
- data/plaid.gemspec +1 -1
- data/templates/ruby/api_client.mustache +3 -1
- data/test/test_bank_transfers.rb +1 -1
- data/test/test_item.rb +0 -9
- data/test/test_payment_initiation.rb +1 -1
- data/test/test_processor.rb +1 -16
- metadata +293 -24
- data/pkg/plaid-14.2.0.gem +0 -0
@@ -0,0 +1,436 @@
|
|
1
|
+
=begin
|
2
|
+
#The Plaid API
|
3
|
+
|
4
|
+
#The Plaid REST API. Please see https://plaid.com/docs/api for more details.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 2020-09-14_1.20.6
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.1.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module Plaid
|
17
|
+
# A representation of a transaction
|
18
|
+
class TransactionBase
|
19
|
+
# Please use the `payment_channel` field, `transaction_type` will be deprecated in the future. `digital:` transactions that took place online. `place:` transactions that were made at a physical location. `special:` transactions that relate to banks, e.g. fees or deposits. `unresolved:` transactions that do not fit into the other three types.
|
20
|
+
attr_accessor :transaction_type
|
21
|
+
|
22
|
+
# The ID of a posted transaction's associated pending transaction, where applicable.
|
23
|
+
attr_accessor :pending_transaction_id
|
24
|
+
|
25
|
+
# The ID of the category to which this transaction belongs. See [Categories](https://plaid.com/docs/#category-overview). If the `transactions` object was returned by an Assets endpoint such as `/asset_report/get/` or `/asset_report/pdf/get`, this field will only appear in an Asset Report with Insights.
|
26
|
+
attr_accessor :category_id
|
27
|
+
|
28
|
+
# A hierarchical array of the categories to which this transaction belongs. See [Categories](https://plaid.com/docs/#category-overview). If the `transactions` object was returned by an Assets endpoint such as `/asset_report/get/` or `/asset_report/pdf/get`, this field will only appear in an Asset Report with Insights.
|
29
|
+
attr_accessor :category
|
30
|
+
|
31
|
+
attr_accessor :location
|
32
|
+
|
33
|
+
attr_accessor :payment_meta
|
34
|
+
|
35
|
+
# The name of the account owner. This field is not typically populated and only relevant when dealing with sub-accounts.
|
36
|
+
attr_accessor :account_owner
|
37
|
+
|
38
|
+
# The merchant name or transaction description. If the `transactions` object was returned by a Transactions endpoint such as `/transactions/get`, this field will always appear. If the `transactions` object was returned by an Assets endpoint such as `/asset_report/get/` or `/asset_report/pdf/get`, this field will only appear in an Asset Report with Insights.
|
39
|
+
attr_accessor :name
|
40
|
+
|
41
|
+
# The string returned by the financial institution to describe the transaction. For transactions returned by `/transactions/get`, this field is in beta and will be omitted unless the client is both enrolled in the closed beta program and has set `options.include_original_description` to `true`.
|
42
|
+
attr_accessor :original_description
|
43
|
+
|
44
|
+
# The ID of the account in which this transaction occurred.
|
45
|
+
attr_accessor :account_id
|
46
|
+
|
47
|
+
# The settled value of the transaction, denominated in the account's currency, as stated in `iso_currency_code` or `unofficial_currency_code`. Positive values when money moves out of the account; negative values when money moves in. For example, debit card purchases are positive; credit card payments, direct deposits, and refunds are negative.
|
48
|
+
attr_accessor :amount
|
49
|
+
|
50
|
+
# The ISO-4217 currency code of the transaction. Always `null` if `unofficial_currency_code` is non-null.
|
51
|
+
attr_accessor :iso_currency_code
|
52
|
+
|
53
|
+
# The unofficial currency code associated with the transaction. Always `null` if `iso_currency_code` is non-`null`. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `iso_currency_code`s.
|
54
|
+
attr_accessor :unofficial_currency_code
|
55
|
+
|
56
|
+
# For pending transactions, the date that the transaction occurred; for posted transactions, the date that the transaction posted. Both dates are returned in an ISO 8601 format ( `YYYY-MM-DD` ).
|
57
|
+
attr_accessor :date
|
58
|
+
|
59
|
+
# When `true`, identifies the transaction as pending or unsettled. Pending transaction details (name, type, amount, category ID) may change before they are settled.
|
60
|
+
attr_accessor :pending
|
61
|
+
|
62
|
+
# The unique ID of the transaction. Like all Plaid identifiers, the `transaction_id` is case sensitive.
|
63
|
+
attr_accessor :transaction_id
|
64
|
+
|
65
|
+
class EnumAttributeValidator
|
66
|
+
attr_reader :datatype
|
67
|
+
attr_reader :allowable_values
|
68
|
+
|
69
|
+
def initialize(datatype, allowable_values)
|
70
|
+
@allowable_values = allowable_values.map do |value|
|
71
|
+
case datatype.to_s
|
72
|
+
when /Integer/i
|
73
|
+
value.to_i
|
74
|
+
when /Float/i
|
75
|
+
value.to_f
|
76
|
+
else
|
77
|
+
value
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
def valid?(value)
|
83
|
+
!value || allowable_values.include?(value)
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
88
|
+
def self.attribute_map
|
89
|
+
{
|
90
|
+
:'transaction_type' => :'transaction_type',
|
91
|
+
:'pending_transaction_id' => :'pending_transaction_id',
|
92
|
+
:'category_id' => :'category_id',
|
93
|
+
:'category' => :'category',
|
94
|
+
:'location' => :'location',
|
95
|
+
:'payment_meta' => :'payment_meta',
|
96
|
+
:'account_owner' => :'account_owner',
|
97
|
+
:'name' => :'name',
|
98
|
+
:'original_description' => :'original_description',
|
99
|
+
:'account_id' => :'account_id',
|
100
|
+
:'amount' => :'amount',
|
101
|
+
:'iso_currency_code' => :'iso_currency_code',
|
102
|
+
:'unofficial_currency_code' => :'unofficial_currency_code',
|
103
|
+
:'date' => :'date',
|
104
|
+
:'pending' => :'pending',
|
105
|
+
:'transaction_id' => :'transaction_id'
|
106
|
+
}
|
107
|
+
end
|
108
|
+
|
109
|
+
# Returns all the JSON keys this model knows about
|
110
|
+
def self.acceptable_attributes
|
111
|
+
attribute_map.values
|
112
|
+
end
|
113
|
+
|
114
|
+
# Attribute type mapping.
|
115
|
+
def self.openapi_types
|
116
|
+
{
|
117
|
+
:'transaction_type' => :'String',
|
118
|
+
:'pending_transaction_id' => :'String',
|
119
|
+
:'category_id' => :'String',
|
120
|
+
:'category' => :'Array<String>',
|
121
|
+
:'location' => :'Location',
|
122
|
+
:'payment_meta' => :'PaymentMeta',
|
123
|
+
:'account_owner' => :'String',
|
124
|
+
:'name' => :'String',
|
125
|
+
:'original_description' => :'String',
|
126
|
+
:'account_id' => :'String',
|
127
|
+
:'amount' => :'Float',
|
128
|
+
:'iso_currency_code' => :'String',
|
129
|
+
:'unofficial_currency_code' => :'String',
|
130
|
+
:'date' => :'Date',
|
131
|
+
:'pending' => :'Boolean',
|
132
|
+
:'transaction_id' => :'String'
|
133
|
+
}
|
134
|
+
end
|
135
|
+
|
136
|
+
# List of attributes with nullable: true
|
137
|
+
def self.openapi_nullable
|
138
|
+
Set.new([
|
139
|
+
:'pending_transaction_id',
|
140
|
+
:'category_id',
|
141
|
+
:'category',
|
142
|
+
:'account_owner',
|
143
|
+
:'original_description',
|
144
|
+
:'iso_currency_code',
|
145
|
+
:'unofficial_currency_code',
|
146
|
+
])
|
147
|
+
end
|
148
|
+
|
149
|
+
# Initializes the object
|
150
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
151
|
+
def initialize(attributes = {})
|
152
|
+
if (!attributes.is_a?(Hash))
|
153
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::TransactionBase` initialize method"
|
154
|
+
end
|
155
|
+
|
156
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
157
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
158
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
159
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::TransactionBase`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
160
|
+
end
|
161
|
+
h[k.to_sym] = v
|
162
|
+
}
|
163
|
+
|
164
|
+
if attributes.key?(:'transaction_type')
|
165
|
+
self.transaction_type = attributes[:'transaction_type']
|
166
|
+
end
|
167
|
+
|
168
|
+
if attributes.key?(:'pending_transaction_id')
|
169
|
+
self.pending_transaction_id = attributes[:'pending_transaction_id']
|
170
|
+
end
|
171
|
+
|
172
|
+
if attributes.key?(:'category_id')
|
173
|
+
self.category_id = attributes[:'category_id']
|
174
|
+
end
|
175
|
+
|
176
|
+
if attributes.key?(:'category')
|
177
|
+
if (value = attributes[:'category']).is_a?(Array)
|
178
|
+
self.category = value
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
182
|
+
if attributes.key?(:'location')
|
183
|
+
self.location = attributes[:'location']
|
184
|
+
end
|
185
|
+
|
186
|
+
if attributes.key?(:'payment_meta')
|
187
|
+
self.payment_meta = attributes[:'payment_meta']
|
188
|
+
end
|
189
|
+
|
190
|
+
if attributes.key?(:'account_owner')
|
191
|
+
self.account_owner = attributes[:'account_owner']
|
192
|
+
end
|
193
|
+
|
194
|
+
if attributes.key?(:'name')
|
195
|
+
self.name = attributes[:'name']
|
196
|
+
end
|
197
|
+
|
198
|
+
if attributes.key?(:'original_description')
|
199
|
+
self.original_description = attributes[:'original_description']
|
200
|
+
end
|
201
|
+
|
202
|
+
if attributes.key?(:'account_id')
|
203
|
+
self.account_id = attributes[:'account_id']
|
204
|
+
end
|
205
|
+
|
206
|
+
if attributes.key?(:'amount')
|
207
|
+
self.amount = attributes[:'amount']
|
208
|
+
end
|
209
|
+
|
210
|
+
if attributes.key?(:'iso_currency_code')
|
211
|
+
self.iso_currency_code = attributes[:'iso_currency_code']
|
212
|
+
end
|
213
|
+
|
214
|
+
if attributes.key?(:'unofficial_currency_code')
|
215
|
+
self.unofficial_currency_code = attributes[:'unofficial_currency_code']
|
216
|
+
end
|
217
|
+
|
218
|
+
if attributes.key?(:'date')
|
219
|
+
self.date = attributes[:'date']
|
220
|
+
end
|
221
|
+
|
222
|
+
if attributes.key?(:'pending')
|
223
|
+
self.pending = attributes[:'pending']
|
224
|
+
end
|
225
|
+
|
226
|
+
if attributes.key?(:'transaction_id')
|
227
|
+
self.transaction_id = attributes[:'transaction_id']
|
228
|
+
end
|
229
|
+
end
|
230
|
+
|
231
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
232
|
+
# @return Array for valid properties with the reasons
|
233
|
+
def list_invalid_properties
|
234
|
+
invalid_properties = Array.new
|
235
|
+
if @account_id.nil?
|
236
|
+
invalid_properties.push('invalid value for "account_id", account_id cannot be nil.')
|
237
|
+
end
|
238
|
+
|
239
|
+
if @amount.nil?
|
240
|
+
invalid_properties.push('invalid value for "amount", amount cannot be nil.')
|
241
|
+
end
|
242
|
+
|
243
|
+
if @date.nil?
|
244
|
+
invalid_properties.push('invalid value for "date", date cannot be nil.')
|
245
|
+
end
|
246
|
+
|
247
|
+
if @pending.nil?
|
248
|
+
invalid_properties.push('invalid value for "pending", pending cannot be nil.')
|
249
|
+
end
|
250
|
+
|
251
|
+
if @transaction_id.nil?
|
252
|
+
invalid_properties.push('invalid value for "transaction_id", transaction_id cannot be nil.')
|
253
|
+
end
|
254
|
+
|
255
|
+
invalid_properties
|
256
|
+
end
|
257
|
+
|
258
|
+
# Check to see if the all the properties in the model are valid
|
259
|
+
# @return true if the model is valid
|
260
|
+
def valid?
|
261
|
+
transaction_type_validator = EnumAttributeValidator.new('String', ["digital", "place", "special", "unresolved"])
|
262
|
+
return false unless transaction_type_validator.valid?(@transaction_type)
|
263
|
+
return false if @account_id.nil?
|
264
|
+
return false if @amount.nil?
|
265
|
+
return false if @date.nil?
|
266
|
+
return false if @pending.nil?
|
267
|
+
return false if @transaction_id.nil?
|
268
|
+
true
|
269
|
+
end
|
270
|
+
|
271
|
+
# Custom attribute writer method checking allowed values (enum).
|
272
|
+
# @param [Object] transaction_type Object to be assigned
|
273
|
+
def transaction_type=(transaction_type)
|
274
|
+
validator = EnumAttributeValidator.new('String', ["digital", "place", "special", "unresolved"])
|
275
|
+
unless validator.valid?(transaction_type)
|
276
|
+
fail ArgumentError, "invalid value for \"transaction_type\", must be one of #{validator.allowable_values}."
|
277
|
+
end
|
278
|
+
@transaction_type = transaction_type
|
279
|
+
end
|
280
|
+
|
281
|
+
# Checks equality by comparing each attribute.
|
282
|
+
# @param [Object] Object to be compared
|
283
|
+
def ==(o)
|
284
|
+
return true if self.equal?(o)
|
285
|
+
self.class == o.class &&
|
286
|
+
transaction_type == o.transaction_type &&
|
287
|
+
pending_transaction_id == o.pending_transaction_id &&
|
288
|
+
category_id == o.category_id &&
|
289
|
+
category == o.category &&
|
290
|
+
location == o.location &&
|
291
|
+
payment_meta == o.payment_meta &&
|
292
|
+
account_owner == o.account_owner &&
|
293
|
+
name == o.name &&
|
294
|
+
original_description == o.original_description &&
|
295
|
+
account_id == o.account_id &&
|
296
|
+
amount == o.amount &&
|
297
|
+
iso_currency_code == o.iso_currency_code &&
|
298
|
+
unofficial_currency_code == o.unofficial_currency_code &&
|
299
|
+
date == o.date &&
|
300
|
+
pending == o.pending &&
|
301
|
+
transaction_id == o.transaction_id
|
302
|
+
end
|
303
|
+
|
304
|
+
# @see the `==` method
|
305
|
+
# @param [Object] Object to be compared
|
306
|
+
def eql?(o)
|
307
|
+
self == o
|
308
|
+
end
|
309
|
+
|
310
|
+
# Calculates hash code according to all attributes.
|
311
|
+
# @return [Integer] Hash code
|
312
|
+
def hash
|
313
|
+
[transaction_type, pending_transaction_id, category_id, category, location, payment_meta, account_owner, name, original_description, account_id, amount, iso_currency_code, unofficial_currency_code, date, pending, transaction_id].hash
|
314
|
+
end
|
315
|
+
|
316
|
+
# Builds the object from hash
|
317
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
318
|
+
# @return [Object] Returns the model itself
|
319
|
+
def self.build_from_hash(attributes)
|
320
|
+
new.build_from_hash(attributes)
|
321
|
+
end
|
322
|
+
|
323
|
+
# Builds the object from hash
|
324
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
325
|
+
# @return [Object] Returns the model itself
|
326
|
+
def build_from_hash(attributes)
|
327
|
+
return nil unless attributes.is_a?(Hash)
|
328
|
+
self.class.openapi_types.each_pair do |key, type|
|
329
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
330
|
+
self.send("#{key}=", nil)
|
331
|
+
elsif type =~ /\AArray<(.*)>/i
|
332
|
+
# check to ensure the input is an array given that the attribute
|
333
|
+
# is documented as an array but the input is not
|
334
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
335
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
336
|
+
end
|
337
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
338
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
339
|
+
end
|
340
|
+
end
|
341
|
+
|
342
|
+
self
|
343
|
+
end
|
344
|
+
|
345
|
+
# Deserializes the data based on type
|
346
|
+
# @param string type Data type
|
347
|
+
# @param string value Value to be deserialized
|
348
|
+
# @return [Object] Deserialized data
|
349
|
+
def _deserialize(type, value)
|
350
|
+
case type.to_sym
|
351
|
+
when :Time
|
352
|
+
Time.parse(value)
|
353
|
+
when :Date
|
354
|
+
Date.parse(value)
|
355
|
+
when :String
|
356
|
+
value.to_s
|
357
|
+
when :Integer
|
358
|
+
value.to_i
|
359
|
+
when :Float
|
360
|
+
value.to_f
|
361
|
+
when :Boolean
|
362
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
363
|
+
true
|
364
|
+
else
|
365
|
+
false
|
366
|
+
end
|
367
|
+
when :Object
|
368
|
+
# generic object (usually a Hash), return directly
|
369
|
+
value
|
370
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
371
|
+
inner_type = Regexp.last_match[:inner_type]
|
372
|
+
value.map { |v| _deserialize(inner_type, v) }
|
373
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
374
|
+
k_type = Regexp.last_match[:k_type]
|
375
|
+
v_type = Regexp.last_match[:v_type]
|
376
|
+
{}.tap do |hash|
|
377
|
+
value.each do |k, v|
|
378
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
379
|
+
end
|
380
|
+
end
|
381
|
+
else # model
|
382
|
+
# models (e.g. Pet) or oneOf
|
383
|
+
klass = Plaid.const_get(type)
|
384
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
385
|
+
end
|
386
|
+
end
|
387
|
+
|
388
|
+
# Returns the string representation of the object
|
389
|
+
# @return [String] String presentation of the object
|
390
|
+
def to_s
|
391
|
+
to_hash.to_s
|
392
|
+
end
|
393
|
+
|
394
|
+
# to_body is an alias to to_hash (backward compatibility)
|
395
|
+
# @return [Hash] Returns the object in the form of hash
|
396
|
+
def to_body
|
397
|
+
to_hash
|
398
|
+
end
|
399
|
+
|
400
|
+
# Returns the object in the form of hash
|
401
|
+
# @return [Hash] Returns the object in the form of hash
|
402
|
+
def to_hash
|
403
|
+
hash = {}
|
404
|
+
self.class.attribute_map.each_pair do |attr, param|
|
405
|
+
value = self.send(attr)
|
406
|
+
if value.nil?
|
407
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
408
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
409
|
+
end
|
410
|
+
|
411
|
+
hash[param] = _to_hash(value)
|
412
|
+
end
|
413
|
+
hash
|
414
|
+
end
|
415
|
+
|
416
|
+
# Outputs non-array value in the form of hash
|
417
|
+
# For object, use to_hash. Otherwise, just return the value
|
418
|
+
# @param [Object] value Any valid value
|
419
|
+
# @return [Hash] Returns the value in the form of hash
|
420
|
+
def _to_hash(value)
|
421
|
+
if value.is_a?(Array)
|
422
|
+
value.compact.map { |v| _to_hash(v) }
|
423
|
+
elsif value.is_a?(Hash)
|
424
|
+
{}.tap do |hash|
|
425
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
426
|
+
end
|
427
|
+
elsif value.respond_to? :to_hash
|
428
|
+
value.to_hash
|
429
|
+
else
|
430
|
+
value
|
431
|
+
end
|
432
|
+
end
|
433
|
+
|
434
|
+
end
|
435
|
+
|
436
|
+
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Plaid REST API. Please see https://plaid.com/docs/api for more details.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2020-09-14_1.
|
6
|
+
The version of the OpenAPI document: 2020-09-14_1.20.6
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.1.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Plaid REST API. Please see https://plaid.com/docs/api for more details.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2020-09-14_1.
|
6
|
+
The version of the OpenAPI document: 2020-09-14_1.20.6
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.1.0
|
@@ -52,7 +52,7 @@ module Plaid
|
|
52
52
|
{
|
53
53
|
:'description' => :'String',
|
54
54
|
:'amount' => :'Float',
|
55
|
-
:'date' => :'
|
55
|
+
:'date' => :'Date',
|
56
56
|
:'account_id' => :'String',
|
57
57
|
:'transaction_id' => :'String'
|
58
58
|
}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Plaid REST API. Please see https://plaid.com/docs/api for more details.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2020-09-14_1.
|
6
|
+
The version of the OpenAPI document: 2020-09-14_1.20.6
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.1.0
|
@@ -50,8 +50,8 @@ module Plaid
|
|
50
50
|
# Attribute type mapping.
|
51
51
|
def self.openapi_types
|
52
52
|
{
|
53
|
-
:'date_transacted' => :'
|
54
|
-
:'date_posted' => :'
|
53
|
+
:'date_transacted' => :'Date',
|
54
|
+
:'date_posted' => :'Date',
|
55
55
|
:'amount' => :'Float',
|
56
56
|
:'description' => :'String',
|
57
57
|
:'currency' => :'String'
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Plaid REST API. Please see https://plaid.com/docs/api for more details.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2020-09-14_1.
|
6
|
+
The version of the OpenAPI document: 2020-09-14_1.20.6
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.1.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Plaid REST API. Please see https://plaid.com/docs/api for more details.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2020-09-14_1.
|
6
|
+
The version of the OpenAPI document: 2020-09-14_1.20.6
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.1.0
|
@@ -25,12 +25,16 @@ module Plaid
|
|
25
25
|
# The number of transactions to skip. The default value is 0.
|
26
26
|
attr_accessor :offset
|
27
27
|
|
28
|
+
# Include the raw unparsed transaction description from the financial institution. This field is disabled by default. If you need this information in addition to the parsed data provided, contact your Plaid Account Manager.
|
29
|
+
attr_accessor :include_original_description
|
30
|
+
|
28
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
32
|
def self.attribute_map
|
30
33
|
{
|
31
34
|
:'account_ids' => :'account_ids',
|
32
35
|
:'count' => :'count',
|
33
|
-
:'offset' => :'offset'
|
36
|
+
:'offset' => :'offset',
|
37
|
+
:'include_original_description' => :'include_original_description'
|
34
38
|
}
|
35
39
|
end
|
36
40
|
|
@@ -44,13 +48,15 @@ module Plaid
|
|
44
48
|
{
|
45
49
|
:'account_ids' => :'Array<String>',
|
46
50
|
:'count' => :'Integer',
|
47
|
-
:'offset' => :'Integer'
|
51
|
+
:'offset' => :'Integer',
|
52
|
+
:'include_original_description' => :'Boolean'
|
48
53
|
}
|
49
54
|
end
|
50
55
|
|
51
56
|
# List of attributes with nullable: true
|
52
57
|
def self.openapi_nullable
|
53
58
|
Set.new([
|
59
|
+
:'include_original_description'
|
54
60
|
])
|
55
61
|
end
|
56
62
|
|
@@ -86,6 +92,12 @@ module Plaid
|
|
86
92
|
else
|
87
93
|
self.offset = 0
|
88
94
|
end
|
95
|
+
|
96
|
+
if attributes.key?(:'include_original_description')
|
97
|
+
self.include_original_description = attributes[:'include_original_description']
|
98
|
+
else
|
99
|
+
self.include_original_description = false
|
100
|
+
end
|
89
101
|
end
|
90
102
|
|
91
103
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -151,7 +163,8 @@ module Plaid
|
|
151
163
|
self.class == o.class &&
|
152
164
|
account_ids == o.account_ids &&
|
153
165
|
count == o.count &&
|
154
|
-
offset == o.offset
|
166
|
+
offset == o.offset &&
|
167
|
+
include_original_description == o.include_original_description
|
155
168
|
end
|
156
169
|
|
157
170
|
# @see the `==` method
|
@@ -163,7 +176,7 @@ module Plaid
|
|
163
176
|
# Calculates hash code according to all attributes.
|
164
177
|
# @return [Integer] Hash code
|
165
178
|
def hash
|
166
|
-
[account_ids, count, offset].hash
|
179
|
+
[account_ids, count, offset, include_original_description].hash
|
167
180
|
end
|
168
181
|
|
169
182
|
# Builds the object from hash
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Plaid REST API. Please see https://plaid.com/docs/api for more details.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2020-09-14_1.
|
6
|
+
The version of the OpenAPI document: 2020-09-14_1.20.6
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.1.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Plaid REST API. Please see https://plaid.com/docs/api for more details.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2020-09-14_1.
|
6
|
+
The version of the OpenAPI document: 2020-09-14_1.20.6
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.1.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Plaid REST API. Please see https://plaid.com/docs/api for more details.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2020-09-14_1.
|
6
|
+
The version of the OpenAPI document: 2020-09-14_1.20.6
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.1.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Plaid REST API. Please see https://plaid.com/docs/api for more details.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2020-09-14_1.
|
6
|
+
The version of the OpenAPI document: 2020-09-14_1.20.6
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.1.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Plaid REST API. Please see https://plaid.com/docs/api for more details.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2020-09-14_1.
|
6
|
+
The version of the OpenAPI document: 2020-09-14_1.20.6
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.1.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Plaid REST API. Please see https://plaid.com/docs/api for more details.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2020-09-14_1.
|
6
|
+
The version of the OpenAPI document: 2020-09-14_1.20.6
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.1.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Plaid REST API. Please see https://plaid.com/docs/api for more details.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2020-09-14_1.
|
6
|
+
The version of the OpenAPI document: 2020-09-14_1.20.6
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.1.0
|
@@ -0,0 +1,36 @@
|
|
1
|
+
=begin
|
2
|
+
#The Plaid API
|
3
|
+
|
4
|
+
#The Plaid REST API. Please see https://plaid.com/docs/api for more details.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 2020-09-14_1.20.6
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.1.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module Plaid
|
17
|
+
class VerificationRefreshStatus
|
18
|
+
VERIFICATION_REFRESH_STATUS_USER_PRESENCE_REQUIRED = "VERIFICATION_REFRESH_STATUS_USER_PRESENCE_REQUIRED".freeze
|
19
|
+
|
20
|
+
# Builds the enum from string
|
21
|
+
# @param [String] The enum value in the form of the string
|
22
|
+
# @return [String] The enum value
|
23
|
+
def self.build_from_hash(value)
|
24
|
+
new.build_from_hash(value)
|
25
|
+
end
|
26
|
+
|
27
|
+
# Builds the enum from string
|
28
|
+
# @param [String] The enum value in the form of the string
|
29
|
+
# @return [String] The enum value
|
30
|
+
def build_from_hash(value)
|
31
|
+
constantValues = VerificationRefreshStatus.constants.select { |c| VerificationRefreshStatus::const_get(c) == value }
|
32
|
+
raise "Invalid ENUM value #{value} for class #VerificationRefreshStatus" if constantValues.empty?
|
33
|
+
value
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Plaid REST API. Please see https://plaid.com/docs/api for more details.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2020-09-14_1.
|
6
|
+
The version of the OpenAPI document: 2020-09-14_1.20.6
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.1.0
|