├── .circleci └── config.yml ├── .dockerignore ├── .github └── workflows │ └── add_to_project.yml ├── .gitignore ├── .openapi-generator-ignore ├── CHANGELOG.md ├── CONTRIBUTING.md ├── Dockerfile ├── LICENSE ├── README.md ├── pom.xml ├── src ├── main │ └── java │ │ └── com │ │ └── plaid │ │ └── client │ │ ├── ApiClient.java │ │ ├── CollectionFormats.java │ │ ├── JSON.java │ │ ├── ServerConfiguration.java │ │ ├── ServerVariable.java │ │ ├── StringUtil.java │ │ ├── auth │ │ ├── ApiKeyAuth.java │ │ ├── HttpBasicAuth.java │ │ ├── HttpBearerAuth.java │ │ └── OAuthOkHttpClient.java │ │ ├── model │ │ ├── ACHClass.java │ │ ├── APR.java │ │ ├── AccountAccess.java │ │ ├── AccountAssets.java │ │ ├── AccountBalance.java │ │ ├── AccountBase.java │ │ ├── AccountBaseNullable.java │ │ ├── AccountFilter.java │ │ ├── AccountFiltersResponse.java │ │ ├── AccountHolderCategory.java │ │ ├── AccountIdentity.java │ │ ├── AccountIdentityAllOf.java │ │ ├── AccountIdentityDocumentUpload.java │ │ ├── AccountIdentityDocumentUploadAllOf.java │ │ ├── AccountIdentityMatchScore.java │ │ ├── AccountIdentityMatchScoreAllOf.java │ │ ├── AccountProductAccess.java │ │ ├── AccountProductAccessNullable.java │ │ ├── AccountSelectionCardinality.java │ │ ├── AccountSubtype.java │ │ ├── AccountType.java │ │ ├── AccountVerificationInsights.java │ │ ├── AccountVerificationInsightsAccountNumberFormat.java │ │ ├── AccountVerificationInsightsNetworkStatus.java │ │ ├── AccountVerificationInsightsPreviousReturns.java │ │ ├── AccountsBalanceGetRequest.java │ │ ├── AccountsBalanceGetRequestOptions.java │ │ ├── AccountsBalanceGetRequestPaymentDetails.java │ │ ├── AccountsBalanceGetResponsePaymentRiskAssessment.java │ │ ├── AccountsGetRequest.java │ │ ├── AccountsGetRequestOptions.java │ │ ├── AccountsGetResponse.java │ │ ├── ActionState.java │ │ ├── Activity.java │ │ ├── ActivityType.java │ │ ├── Address.java │ │ ├── AddressData.java │ │ ├── AddressDataNotRequired.java │ │ ├── AddressDataNullable.java │ │ ├── AddressDataNullableNoRequiredFields.java │ │ ├── AddressMatchScore.java │ │ ├── AddressNullable.java │ │ ├── AddressPurposeLabel.java │ │ ├── Application.java │ │ ├── ApplicationGetRequest.java │ │ ├── ApplicationGetResponse.java │ │ ├── Asset.java │ │ ├── AssetDetail.java │ │ ├── AssetHolder.java │ │ ├── AssetHolderName.java │ │ ├── AssetOwner.java │ │ ├── AssetOwners.java │ │ ├── AssetReport.java │ │ ├── AssetReportAccountBalance.java │ │ ├── AssetReportAddOns.java │ │ ├── AssetReportAuditCopyCreateRequest.java │ │ ├── AssetReportAuditCopyCreateResponse.java │ │ ├── AssetReportAuditCopyGetRequest.java │ │ ├── AssetReportAuditCopyRemoveRequest.java │ │ ├── AssetReportAuditCopyRemoveResponse.java │ │ ├── AssetReportCreateRequest.java │ │ ├── AssetReportCreateRequestOptions.java │ │ ├── AssetReportCreateResponse.java │ │ ├── AssetReportFilterRequest.java │ │ ├── AssetReportFilterResponse.java │ │ ├── AssetReportFreddie.java │ │ ├── AssetReportFreddieGetRequest.java │ │ ├── AssetReportFreddieGetResponse.java │ │ ├── AssetReportGetRequest.java │ │ ├── AssetReportGetRequestOptions.java │ │ ├── AssetReportGetResponse.java │ │ ├── AssetReportInvestmentHolding.java │ │ ├── AssetReportInvestmentSecurity.java │ │ ├── AssetReportInvestmentTransaction.java │ │ ├── AssetReportInvestments.java │ │ ├── AssetReportItem.java │ │ ├── AssetReportPDFGetRequest.java │ │ ├── AssetReportPDFGetRequestOptions.java │ │ ├── AssetReportRefreshRequest.java │ │ ├── AssetReportRefreshRequestOptions.java │ │ ├── AssetReportRefreshResponse.java │ │ ├── AssetReportRemoveRequest.java │ │ ├── AssetReportRemoveResponse.java │ │ ├── AssetReportTransaction.java │ │ ├── AssetReportTransactionType.java │ │ ├── AssetReportType.java │ │ ├── AssetReportUser.java │ │ ├── AssetTransaction.java │ │ ├── AssetTransactionCategoryType.java │ │ ├── AssetTransactionDescription.java │ │ ├── AssetTransactionDetail.java │ │ ├── AssetTransactionType.java │ │ ├── AssetTransactions.java │ │ ├── AssetType.java │ │ ├── Assets.java │ │ ├── AssetsErrorWebhook.java │ │ ├── AssetsProductReadyWebhook.java │ │ ├── AuthDefaultUpdateWebhook.java │ │ ├── AuthGetNumbers.java │ │ ├── AuthGetRequest.java │ │ ├── AuthGetRequestOptions.java │ │ ├── AuthGetResponse.java │ │ ├── AuthMetadata.java │ │ ├── AuthSupportedMethods.java │ │ ├── AuthUpdateTypes.java │ │ ├── AutomaticallyVerifiedWebhook.java │ │ ├── BalancePlusAttributes.java │ │ ├── BalancePlusRiskLevel.java │ │ ├── BankIncomeCompleteResult.java │ │ ├── BankIncomeCompleteWebhook.java │ │ ├── BankIncomeRefreshCompleteResult.java │ │ ├── BankIncomeRefreshCompleteWebhook.java │ │ ├── BankIncomeRefreshUpdateWebhook.java │ │ ├── BankInitiatedReturnRisk.java │ │ ├── BankTransfer.java │ │ ├── BankTransferBalance.java │ │ ├── BankTransferBalanceGetRequest.java │ │ ├── BankTransferBalanceGetResponse.java │ │ ├── BankTransferCancelRequest.java │ │ ├── BankTransferCancelResponse.java │ │ ├── BankTransferCreateRequest.java │ │ ├── BankTransferCreateResponse.java │ │ ├── BankTransferDirection.java │ │ ├── BankTransferEvent.java │ │ ├── BankTransferEventListBankTransferType.java │ │ ├── BankTransferEventListDirection.java │ │ ├── BankTransferEventListRequest.java │ │ ├── BankTransferEventListResponse.java │ │ ├── BankTransferEventSyncRequest.java │ │ ├── BankTransferEventSyncResponse.java │ │ ├── BankTransferEventType.java │ │ ├── BankTransferFailure.java │ │ ├── BankTransferGetRequest.java │ │ ├── BankTransferGetResponse.java │ │ ├── BankTransferListRequest.java │ │ ├── BankTransferListResponse.java │ │ ├── BankTransferMigrateAccountRequest.java │ │ ├── BankTransferMigrateAccountResponse.java │ │ ├── BankTransferNetwork.java │ │ ├── BankTransferStatus.java │ │ ├── BankTransferSweep.java │ │ ├── BankTransferSweepGetRequest.java │ │ ├── BankTransferSweepGetResponse.java │ │ ├── BankTransferSweepListRequest.java │ │ ├── BankTransferSweepListResponse.java │ │ ├── BankTransferType.java │ │ ├── BankTransferUser.java │ │ ├── BankTransfersEventsUpdateWebhook.java │ │ ├── BankTransfersEventsUpdateWebhookForAuth.java │ │ ├── BaseReport.java │ │ ├── BaseReportAccount.java │ │ ├── BaseReportAccountBalances.java │ │ ├── BaseReportAccountInsights.java │ │ ├── BaseReportAccountMetadata.java │ │ ├── BaseReportAttributes.java │ │ ├── BaseReportAverageFlowInsights.java │ │ ├── BaseReportAverageMonthlyBalances.java │ │ ├── BaseReportHistoricalBalance.java │ │ ├── BaseReportItem.java │ │ ├── BaseReportLongestGapInsights.java │ │ ├── BaseReportNumberFlowInsights.java │ │ ├── BaseReportTransaction.java │ │ ├── BaseReportTransactionType.java │ │ ├── BaseReportUserAttributes.java │ │ ├── BaseReportWarning.java │ │ ├── BaseReportWarningCode.java │ │ ├── BaseReportsErrorWebhook.java │ │ ├── BeaconAccountRiskAttributes.java │ │ ├── BeaconAccountRiskEvaluateAccount.java │ │ ├── BeaconAccountRiskEvaluateAccountAttributes.java │ │ ├── BeaconAccountRiskEvaluateEvaluationReason.java │ │ ├── BeaconAccountRiskEvaluateRequest.java │ │ ├── BeaconAccountRiskEvaluateRequestOptions.java │ │ ├── BeaconAccountRiskEvaluateResponse.java │ │ ├── BeaconAuditTrail.java │ │ ├── BeaconAuditTrailSource.java │ │ ├── BeaconBankAccountInsights.java │ │ ├── BeaconBankAccounts.java │ │ ├── BeaconDuplicateDetectedWebhook.java │ │ ├── BeaconDuplicateGetRequest.java │ │ ├── BeaconDuplicateGetResponse.java │ │ ├── BeaconMatchSummaryAnalysis.java │ │ ├── BeaconMatchSummaryCode.java │ │ ├── BeaconReport.java │ │ ├── BeaconReportCreateRequest.java │ │ ├── BeaconReportCreateResponse.java │ │ ├── BeaconReportCreateType.java │ │ ├── BeaconReportCreatedWebhook.java │ │ ├── BeaconReportGetRequest.java │ │ ├── BeaconReportGetResponse.java │ │ ├── BeaconReportListRequest.java │ │ ├── BeaconReportListResponse.java │ │ ├── BeaconReportSyndication.java │ │ ├── BeaconReportSyndicationAnalysis.java │ │ ├── BeaconReportSyndicationCreatedWebhook.java │ │ ├── BeaconReportSyndicationGetRequest.java │ │ ├── BeaconReportSyndicationGetResponse.java │ │ ├── BeaconReportSyndicationListRequest.java │ │ ├── BeaconReportSyndicationListResponse.java │ │ ├── BeaconReportSyndicationOriginalReport.java │ │ ├── BeaconReportType.java │ │ ├── BeaconReportUpdatedWebhook.java │ │ ├── BeaconSyndicatedReportDepositoryAccountMatchAnalysis.java │ │ ├── BeaconUser.java │ │ ├── BeaconUserAccountInsightsGetRequest.java │ │ ├── BeaconUserAccountInsightsGetResponse.java │ │ ├── BeaconUserAddress.java │ │ ├── BeaconUserCreateRequest.java │ │ ├── BeaconUserCreateResponse.java │ │ ├── BeaconUserData.java │ │ ├── BeaconUserDepositoryAccount.java │ │ ├── BeaconUserGetRequest.java │ │ ├── BeaconUserGetResponse.java │ │ ├── BeaconUserHistoryListRequest.java │ │ ├── BeaconUserHistoryListResponse.java │ │ ├── BeaconUserIDNumber.java │ │ ├── BeaconUserName.java │ │ ├── BeaconUserNameNullable.java │ │ ├── BeaconUserRequestAddress.java │ │ ├── BeaconUserRequestAddressNullable.java │ │ ├── BeaconUserRequestData.java │ │ ├── BeaconUserRequestDepositoryAccount.java │ │ ├── BeaconUserReviewRequest.java │ │ ├── BeaconUserRevision.java │ │ ├── BeaconUserStatus.java │ │ ├── BeaconUserStatusUpdatedWebhook.java │ │ ├── BeaconUserUpdateRequest.java │ │ ├── BeaconUserUpdateRequestData.java │ │ ├── BeaconUserUpdateResponse.java │ │ ├── BusinessAccount.java │ │ ├── BusinessAccountAllOf.java │ │ ├── BusinessFinanceCategory.java │ │ ├── CRALoansRegisterRequest.java │ │ ├── CashFlowUpdatesExpectedDepositMissedWebhook.java │ │ ├── CashFlowUpdatesInsightsWebhook.java │ │ ├── CashFlowUpdatesLargeDepositWebhook.java │ │ ├── CashFlowUpdatesLowBalanceWebhook.java │ │ ├── CashFlowUpdatesNSFWebhook.java │ │ ├── CashFlowUpdatesNewIncomeStreamWebhook.java │ │ ├── CashFlowUpdatesNewLoanPaymentWebhook.java │ │ ├── CashflowAttributesVersion.java │ │ ├── CashflowReportGetRequest.java │ │ ├── CashflowReportGetRequestOptions.java │ │ ├── CashflowReportGetResponse.java │ │ ├── CashflowReportPaymentMeta.java │ │ ├── CashflowReportRefreshRequest.java │ │ ├── CashflowReportRefreshResponse.java │ │ ├── CashflowReportTransaction.java │ │ ├── CashflowReportTransactionsGetRequest.java │ │ ├── CashflowReportTransactionsGetRequestOptions.java │ │ ├── CashflowReportTransactionsGetResponse.java │ │ ├── CategoriesGetResponse.java │ │ ├── Category.java │ │ ├── CategoryInsightDetails.java │ │ ├── CategoryInsights.java │ │ ├── Cause.java │ │ ├── CauseAllOf.java │ │ ├── CheckReportWarning.java │ │ ├── CheckReportWarningCode.java │ │ ├── ClientProvidedEnhancedTransaction.java │ │ ├── ClientProvidedEnrichedTransaction.java │ │ ├── ClientProvidedRawTransaction.java │ │ ├── ClientProvidedTransaction.java │ │ ├── ClientProvidedTransactionLocation.java │ │ ├── ConnectedApplication.java │ │ ├── ConsentEvent.java │ │ ├── ConsentEventCode.java │ │ ├── ConsentEventInitiator.java │ │ ├── ConsentEventType.java │ │ ├── ConsentEventsGetRequest.java │ │ ├── ConsentEventsGetResponse.java │ │ ├── ConsentedAccount.java │ │ ├── ConsumerDispute.java │ │ ├── ConsumerDisputeCategory.java │ │ ├── ConsumerReportPDFGetRequest.java │ │ ├── ConsumerReportPermissiblePurpose.java │ │ ├── ConsumerReportUserIdentity.java │ │ ├── Counterparty.java │ │ ├── CounterpartyInsights.java │ │ ├── CounterpartyType.java │ │ ├── CountryCode.java │ │ ├── CraBankIncomeAccount.java │ │ ├── CraBankIncomeAccountMetadata.java │ │ ├── CraBankIncomeBonusType.java │ │ ├── CraBankIncomeCause.java │ │ ├── CraBankIncomeCompleteResult.java │ │ ├── CraBankIncomeCompleteWebhook.java │ │ ├── CraBankIncomeEmployer.java │ │ ├── CraBankIncomeErrorWebhook.java │ │ ├── CraBankIncomeHistoricalSummary.java │ │ ├── CraBankIncomeItem.java │ │ ├── CraBankIncomeSource.java │ │ ├── CraBankIncomeSummary.java │ │ ├── CraBankIncomeTransaction.java │ │ ├── CraBankIncomeWarning.java │ │ ├── CraBankIncomeWarningCode.java │ │ ├── CraCashflowInsightsReport.java │ │ ├── CraCheckReportBaseReportGetRequest.java │ │ ├── CraCheckReportBaseReportGetResponse.java │ │ ├── CraCheckReportCashflowInsightsGetOptions.java │ │ ├── CraCheckReportCashflowInsightsGetRequest.java │ │ ├── CraCheckReportCashflowInsightsGetResponse.java │ │ ├── CraCheckReportCreateBaseReportOptions.java │ │ ├── CraCheckReportCreateRequest.java │ │ ├── CraCheckReportCreateResponse.java │ │ ├── CraCheckReportFailedWebhook.java │ │ ├── CraCheckReportFreddieMacGetRequest.java │ │ ├── CraCheckReportFreddieMacGetResponse.java │ │ ├── CraCheckReportFreddieMacVerificationOfAssetsDeal.java │ │ ├── CraCheckReportGSEOptions.java │ │ ├── CraCheckReportIncomeInsightsGetRequest.java │ │ ├── CraCheckReportIncomeInsightsGetResponse.java │ │ ├── CraCheckReportNetworkInsightsGetRequest.java │ │ ├── CraCheckReportNetworkInsightsGetResponse.java │ │ ├── CraCheckReportPDFGetRequest.java │ │ ├── CraCheckReportPartnerInsightsGetOptions.java │ │ ├── CraCheckReportPartnerInsightsGetRequest.java │ │ ├── CraCheckReportPartnerInsightsGetResponse.java │ │ ├── CraCheckReportReadyWebhook.java │ │ ├── CraCheckReportVerificationGetReportType.java │ │ ├── CraCheckReportVerificationGetRequest.java │ │ ├── CraCheckReportVerificationGetResponse.java │ │ ├── CraCheckReportVerificationGetVoeOptions.java │ │ ├── CraIncomeInsights.java │ │ ├── CraLoanApplication.java │ │ ├── CraLoanApplicationDecision.java │ │ ├── CraLoanClosedStatus.java │ │ ├── CraLoanOpenedStatus.java │ │ ├── CraLoanPaymentHistory.java │ │ ├── CraLoanPaymentSchedule.java │ │ ├── CraLoanRegister.java │ │ ├── CraLoanRegisterApplication.java │ │ ├── CraLoanStatus.java │ │ ├── CraLoanStatusHistoryUpdate.java │ │ ├── CraLoanType.java │ │ ├── CraLoanUnregister.java │ │ ├── CraLoanUnregisterResponse.java │ │ ├── CraLoanUpdate.java │ │ ├── CraLoansApplicationsRegisterRequest.java │ │ ├── CraLoansApplicationsRegisterResponse.java │ │ ├── CraLoansRegisterResponse.java │ │ ├── CraLoansUnregisterRequest.java │ │ ├── CraLoansUpdateRequest.java │ │ ├── CraLoansUpdateResponse.java │ │ ├── CraMonitoringInsightsGetRequest.java │ │ ├── CraMonitoringInsightsGetResponse.java │ │ ├── CraMonitoringInsightsItem.java │ │ ├── CraMonitoringInsightsSubscribeRequest.java │ │ ├── CraMonitoringInsightsSubscribeResponse.java │ │ ├── CraMonitoringInsightsUnsubscribeRequest.java │ │ ├── CraMonitoringInsightsUnsubscribeResponse.java │ │ ├── CraNetworkInsightsItem.java │ │ ├── CraNetworkInsightsReport.java │ │ ├── CraPDFAddOns.java │ │ ├── CraPartnerInsights.java │ │ ├── CraPartnerInsightsCompleteWebhook.java │ │ ├── CraPartnerInsightsErrorWebhook.java │ │ ├── CraPartnerInsightsGetRequest.java │ │ ├── CraPartnerInsightsGetResponse.java │ │ ├── CraPartnerInsightsItem.java │ │ ├── CraPartnerInsightsItemAccount.java │ │ ├── CraPartnerInsightsItemAccountMetadata.java │ │ ├── CraPartnerInsightsPrism.java │ │ ├── CraPredictionInterval.java │ │ ├── CraUpgradeFailedWebhook.java │ │ ├── CraVerificationReport.java │ │ ├── CraVoaReport.java │ │ ├── CraVoaReportAccount.java │ │ ├── CraVoaReportAccountBalances.java │ │ ├── CraVoaReportAccountHistoricalBalance.java │ │ ├── CraVoaReportAttributes.java │ │ ├── CraVoaReportItem.java │ │ ├── CraVoaReportTransactionsInsights.java │ │ ├── CraVoeReport.java │ │ ├── CraVoeReportAccount.java │ │ ├── CraVoeReportItem.java │ │ ├── CraVoeReportTransaction.java │ │ ├── Credit1099.java │ │ ├── Credit1099Filer.java │ │ ├── Credit1099Payer.java │ │ ├── Credit1099Recipient.java │ │ ├── CreditACHClass.java │ │ ├── CreditAccountSubtype.java │ │ ├── CreditAmountWithCurrency.java │ │ ├── CreditAuditCopyTokenCreateRequest.java │ │ ├── CreditAuditCopyTokenCreateResponse.java │ │ ├── CreditAuditCopyTokenRemoveRequest.java │ │ ├── CreditAuditCopyTokenRemoveResponse.java │ │ ├── CreditAuditCopyTokenUpdateRequest.java │ │ ├── CreditAuditCopyTokenUpdateResponse.java │ │ ├── CreditBankEmployer.java │ │ ├── CreditBankEmployment.java │ │ ├── CreditBankEmploymentGetRequest.java │ │ ├── CreditBankEmploymentGetResponse.java │ │ ├── CreditBankEmploymentItem.java │ │ ├── CreditBankEmploymentReport.java │ │ ├── CreditBankEmploymentWarning.java │ │ ├── CreditBankEmploymentWarningType.java │ │ ├── CreditBankIncome.java │ │ ├── CreditBankIncomeAccount.java │ │ ├── CreditBankIncomeAccountType.java │ │ ├── CreditBankIncomeCategory.java │ │ ├── CreditBankIncomeCause.java │ │ ├── CreditBankIncomeErrorType.java │ │ ├── CreditBankIncomeGetRequest.java │ │ ├── CreditBankIncomeGetRequestOptions.java │ │ ├── CreditBankIncomeGetResponse.java │ │ ├── CreditBankIncomeHistoricalSummary.java │ │ ├── CreditBankIncomeItem.java │ │ ├── CreditBankIncomePDFGetRequest.java │ │ ├── CreditBankIncomePayFrequency.java │ │ ├── CreditBankIncomeRefreshRequest.java │ │ ├── CreditBankIncomeRefreshRequestOptions.java │ │ ├── CreditBankIncomeRefreshResponse.java │ │ ├── CreditBankIncomeSource.java │ │ ├── CreditBankIncomeSummary.java │ │ ├── CreditBankIncomeTransaction.java │ │ ├── CreditBankIncomeWarning.java │ │ ├── CreditBankIncomeWarningCode.java │ │ ├── CreditBankIncomeWarningType.java │ │ ├── CreditBankIncomeWebhookUpdateRequest.java │ │ ├── CreditBankIncomeWebhookUpdateResponse.java │ │ ├── CreditBankStatementUploadAccountOwner.java │ │ ├── CreditBankStatementUploadAccountOwnerAddress.java │ │ ├── CreditBankStatementUploadBankAccount.java │ │ ├── CreditBankStatementUploadBankAccountPeriod.java │ │ ├── CreditBankStatementUploadItem.java │ │ ├── CreditBankStatementUploadObject.java │ │ ├── CreditBankStatementUploadTransaction.java │ │ ├── CreditBankStatementsUploadsGetRequest.java │ │ ├── CreditBankStatementsUploadsGetRequestOptions.java │ │ ├── CreditBankStatementsUploadsGetResponse.java │ │ ├── CreditCardLiability.java │ │ ├── CreditCategory.java │ │ ├── CreditDocumentMetadata.java │ │ ├── CreditEmployerVerification.java │ │ ├── CreditEmploymentGetRequest.java │ │ ├── CreditEmploymentGetResponse.java │ │ ├── CreditEmploymentItem.java │ │ ├── CreditEmploymentVerification.java │ │ ├── CreditFilter.java │ │ ├── CreditFreddieMacAsset.java │ │ ├── CreditFreddieMacAssetTransaction.java │ │ ├── CreditFreddieMacAssetTransactions.java │ │ ├── CreditFreddieMacAssets.java │ │ ├── CreditFreddieMacIndividualName.java │ │ ├── CreditFreddieMacLoan.java │ │ ├── CreditFreddieMacLoanIdentifiers.java │ │ ├── CreditFreddieMacLoans.java │ │ ├── CreditFreddieMacParties.java │ │ ├── CreditFreddieMacParty.java │ │ ├── CreditFreddieMacPartyIndividual.java │ │ ├── CreditFreddieMacReportingInformation.java │ │ ├── CreditFreddieMacReportsGetRequest.java │ │ ├── CreditFreddieMacReportsGetResponse.java │ │ ├── CreditFreddieMacService.java │ │ ├── CreditFreddieMacServices.java │ │ ├── CreditFreddieMacVerificationOfAsset.java │ │ ├── CreditFreddieMacVerificationOfAssetResponse.java │ │ ├── CreditFreddieMacVerificationOfAssetsDeal.java │ │ ├── CreditPayStub.java │ │ ├── CreditPayStubAddress.java │ │ ├── CreditPayStubDeductions.java │ │ ├── CreditPayStubEarnings.java │ │ ├── CreditPayStubEmployee.java │ │ ├── CreditPayStubEmployer.java │ │ ├── CreditPayStubNetPay.java │ │ ├── CreditPayStubPayBasisType.java │ │ ├── CreditPayrollIncomeGetRequest.java │ │ ├── CreditPayrollIncomeGetRequestOptions.java │ │ ├── CreditPayrollIncomeGetResponse.java │ │ ├── CreditPayrollIncomeParsingConfigUpdateRequest.java │ │ ├── CreditPayrollIncomeParsingConfigUpdateResponse.java │ │ ├── CreditPayrollIncomePrecheckRequest.java │ │ ├── CreditPayrollIncomePrecheckResponse.java │ │ ├── CreditPayrollIncomeRefreshRequest.java │ │ ├── CreditPayrollIncomeRefreshRequestOptions.java │ │ ├── CreditPayrollIncomeRefreshResponse.java │ │ ├── CreditPayrollIncomeRiskSignalsGetRequest.java │ │ ├── CreditPayrollIncomeRiskSignalsGetResponse.java │ │ ├── CreditPlatformIds.java │ │ ├── CreditRelayCreateRequest.java │ │ ├── CreditRelayCreateResponse.java │ │ ├── CreditRelayGetRequest.java │ │ ├── CreditRelayPDFGetRequest.java │ │ ├── CreditRelayRefreshRequest.java │ │ ├── CreditRelayRefreshResponse.java │ │ ├── CreditRelayRemoveRequest.java │ │ ├── CreditRelayRemoveResponse.java │ │ ├── CreditSession.java │ │ ├── CreditSessionBankEmploymentResult.java │ │ ├── CreditSessionBankEmploymentStatus.java │ │ ├── CreditSessionBankIncomeResult.java │ │ ├── CreditSessionBankIncomeStatus.java │ │ ├── CreditSessionDocumentIncomeResult.java │ │ ├── CreditSessionError.java │ │ ├── CreditSessionItemAddResult.java │ │ ├── CreditSessionPayrollIncomeResult.java │ │ ├── CreditSessionResults.java │ │ ├── CreditSessionsGetRequest.java │ │ ├── CreditSessionsGetResponse.java │ │ ├── CreditW2.java │ │ ├── CustomSandboxTransaction.java │ │ ├── CustomerInitiatedReturnRisk.java │ │ ├── DashboardUser.java │ │ ├── DashboardUserGetRequest.java │ │ ├── DashboardUserGetResponse.java │ │ ├── DashboardUserListRequest.java │ │ ├── DashboardUserListResponse.java │ │ ├── DashboardUserStatus.java │ │ ├── DataSources.java │ │ ├── DateRange.java │ │ ├── Deductions.java │ │ ├── DeductionsBreakdown.java │ │ ├── DeductionsTotal.java │ │ ├── DefaultUpdateWebhook.java │ │ ├── DepositoryAccountSubtype.java │ │ ├── DepositoryFilter.java │ │ ├── DetailedOriginator.java │ │ ├── DetectedAccount.java │ │ ├── DeviceId.java │ │ ├── DistributionBreakdown.java │ │ ├── DocType.java │ │ ├── DocumentAnalysis.java │ │ ├── DocumentAuthenticityMatchCode.java │ │ ├── DocumentDateOfBirthMatchCode.java │ │ ├── DocumentMetadata.java │ │ ├── DocumentNameMatchCode.java │ │ ├── DocumentRiskSignal.java │ │ ├── DocumentRiskSignalInstitutionMetadata.java │ │ ├── DocumentRiskSignalsObject.java │ │ ├── DocumentRiskSummary.java │ │ ├── DocumentStatus.java │ │ ├── DocumentaryVerification.java │ │ ├── DocumentaryVerificationDocument.java │ │ ├── Earnings.java │ │ ├── EarningsBreakdown.java │ │ ├── EarningsBreakdownCanonicalDescription.java │ │ ├── EarningsTotal.java │ │ ├── Email.java │ │ ├── EmailAddressMatchScore.java │ │ ├── Employee.java │ │ ├── EmployeeIncomeSummaryFieldString.java │ │ ├── Employer.java │ │ ├── EmployerIncomeSummaryFieldString.java │ │ ├── EmployerVerification.java │ │ ├── EmployersSearchRequest.java │ │ ├── EmployersSearchResponse.java │ │ ├── EmploymentDetails.java │ │ ├── EmploymentSourceType.java │ │ ├── EmploymentVerification.java │ │ ├── EmploymentVerificationGetRequest.java │ │ ├── EmploymentVerificationGetResponse.java │ │ ├── EmploymentVerificationStatus.java │ │ ├── Enhancements.java │ │ ├── EnrichTransactionDirection.java │ │ ├── Enrichments.java │ │ ├── EntityDocument.java │ │ ├── EntityDocumentType.java │ │ ├── EntityScreeningHitAnalysis.java │ │ ├── EntityScreeningHitData.java │ │ ├── EntityScreeningHitDocumentsItems.java │ │ ├── EntityScreeningHitEmails.java │ │ ├── EntityScreeningHitEmailsItems.java │ │ ├── EntityScreeningHitNames.java │ │ ├── EntityScreeningHitNamesItems.java │ │ ├── EntityScreeningHitPhoneNumbers.java │ │ ├── EntityScreeningHitUrls.java │ │ ├── EntityScreeningHitUrlsItems.java │ │ ├── EntityScreeningHitsPhoneNumberItems.java │ │ ├── EntityScreeningStatusUpdatedWebhook.java │ │ ├── EntityWatchlistCode.java │ │ ├── EntityWatchlistProgram.java │ │ ├── EntityWatchlistScreening.java │ │ ├── EntityWatchlistScreeningHit.java │ │ ├── EntityWatchlistScreeningReview.java │ │ ├── EntityWatchlistScreeningSearchTerms.java │ │ ├── EntityWatchlistSearchTerms.java │ │ ├── ExpirationDate.java │ │ ├── ExtendedRecipientMetadata.java │ │ ├── ExtendedRecipientMetadataAllOf.java │ │ ├── ExternalPaymentInitiationConsentOptions.java │ │ ├── ExternalPaymentOptions.java │ │ ├── ExternalPaymentRefundDetails.java │ │ ├── ExternalPaymentScheduleBase.java │ │ ├── ExternalPaymentScheduleGet.java │ │ ├── ExternalPaymentScheduleRequest.java │ │ ├── FDXContentTypes.java │ │ ├── FDXFiAttribute.java │ │ ├── FDXHateoasLink.java │ │ ├── FDXHateoasLinkAction.java │ │ ├── FDXInitiatorFiAttribute.java │ │ ├── FDXNotification.java │ │ ├── FDXNotificationCategory.java │ │ ├── FDXNotificationPayload.java │ │ ├── FDXNotificationPayloadIdType.java │ │ ├── FDXNotificationPriority.java │ │ ├── FDXNotificationSeverity.java │ │ ├── FDXNotificationType.java │ │ ├── FDXParty.java │ │ ├── FDXPartyRegistry.java │ │ ├── FDXPartyType.java │ │ ├── FDXRecipientMetadata.java │ │ ├── FallbackAuthMicrodepositAutoVerifiedWebhook.java │ │ ├── FallbackAuthMicrodepositVerificationExpiredWebhook.java │ │ ├── FinancialInstitutionInsights.java │ │ ├── FixedIncome.java │ │ ├── ForecastedMonthlyIncome.java │ │ ├── Form1099Type.java │ │ ├── ForwardedJSONResponse.java │ │ ├── FraudAmount.java │ │ ├── FraudAnalysisDetails.java │ │ ├── FraudCheckOutcome.java │ │ ├── FraudCheckOutcomeWithNoData.java │ │ ├── GSEReportType.java │ │ ├── GenericScreeningHitLocationItems.java │ │ ├── GetRecipientResponse.java │ │ ├── GetRecipientsResponse.java │ │ ├── HealthIncident.java │ │ ├── HiddenMatchSummaryCode.java │ │ ├── HistoricalAnnualIncome.java │ │ ├── HistoricalBalance.java │ │ ├── HistoricalUpdateWebhook.java │ │ ├── Holding.java │ │ ├── HoldingsDefaultUpdateWebhook.java │ │ ├── HoldingsOverride.java │ │ ├── HostedLinkDeliveryMethod.java │ │ ├── HostedMMDVerificationWebhook.java │ │ ├── HumanReview.java │ │ ├── HumanReviewStatus.java │ │ ├── IDNumberType.java │ │ ├── ISOCurrencyCode.java │ │ ├── IdentityDefaultUpdateWebhook.java │ │ ├── IdentityDocumentMetadata.java │ │ ├── IdentityDocumentUpload.java │ │ ├── IdentityDocumentUploadMetadata.java │ │ ├── IdentityDocumentUploadRiskInsights.java │ │ ├── IdentityDocumentUploadRiskSignal.java │ │ ├── IdentityDocumentUploadRiskSummary.java │ │ ├── IdentityDocumentsUploadsGetRequest.java │ │ ├── IdentityDocumentsUploadsGetRequestOptions.java │ │ ├── IdentityDocumentsUploadsGetResponse.java │ │ ├── IdentityGetRequest.java │ │ ├── IdentityGetRequestOptions.java │ │ ├── IdentityGetResponse.java │ │ ├── IdentityMatchRequest.java │ │ ├── IdentityMatchRequestOptions.java │ │ ├── IdentityMatchResponse.java │ │ ├── IdentityMatchUser.java │ │ ├── IdentityRefreshRequest.java │ │ ├── IdentityRefreshResponse.java │ │ ├── IdentityUpdateTypes.java │ │ ├── IdentityVerification.java │ │ ├── IdentityVerificationAutofillAddress.java │ │ ├── IdentityVerificationAutofillCreateRequest.java │ │ ├── IdentityVerificationAutofillCreateResponse.java │ │ ├── IdentityVerificationAutofillStatus.java │ │ ├── IdentityVerificationAutofillUserData.java │ │ ├── IdentityVerificationCreateRequest.java │ │ ├── IdentityVerificationCreateRequestUser.java │ │ ├── IdentityVerificationCreateResponse.java │ │ ├── IdentityVerificationDocumentAddressResponse.java │ │ ├── IdentityVerificationDocumentNameResponse.java │ │ ├── IdentityVerificationGetRequest.java │ │ ├── IdentityVerificationGetResponse.java │ │ ├── IdentityVerificationListRequest.java │ │ ├── IdentityVerificationListResponse.java │ │ ├── IdentityVerificationRequestUser.java │ │ ├── IdentityVerificationRequestUserName.java │ │ ├── IdentityVerificationResponseUserName.java │ │ ├── IdentityVerificationRetriedWebhook.java │ │ ├── IdentityVerificationRetryRequest.java │ │ ├── IdentityVerificationRetryRequestStepsObject.java │ │ ├── IdentityVerificationRetryResponse.java │ │ ├── IdentityVerificationStatus.java │ │ ├── IdentityVerificationStatusUpdatedWebhook.java │ │ ├── IdentityVerificationStepStatus.java │ │ ├── IdentityVerificationStepSummary.java │ │ ├── IdentityVerificationStepUpdatedWebhook.java │ │ ├── IdentityVerificationTemplateReference.java │ │ ├── IdentityVerificationUserAddress.java │ │ ├── IdentityVerificationUserData.java │ │ ├── ImageQuality.java │ │ ├── ImageQualityDetails.java │ │ ├── ImageQualityOutcome.java │ │ ├── IncidentUpdate.java │ │ ├── IncomeBreakdown.java │ │ ├── IncomeBreakdownType.java │ │ ├── IncomeOverride.java │ │ ├── IncomeSourcesCounts.java │ │ ├── IncomeSummary.java │ │ ├── IncomeSummaryFieldNumber.java │ │ ├── IncomeSummaryFieldString.java │ │ ├── IncomeVerificationCreateRequest.java │ │ ├── IncomeVerificationCreateRequestOptions.java │ │ ├── IncomeVerificationCreateResponse.java │ │ ├── IncomeVerificationDocParsingConfig.java │ │ ├── IncomeVerificationDocumentsDownloadRequest.java │ │ ├── IncomeVerificationPayrollFlowType.java │ │ ├── IncomeVerificationPaystubsGetRequest.java │ │ ├── IncomeVerificationPaystubsGetResponse.java │ │ ├── IncomeVerificationPrecheckConfidence.java │ │ ├── IncomeVerificationPrecheckEmployer.java │ │ ├── IncomeVerificationPrecheckEmployerAddress.java │ │ ├── IncomeVerificationPrecheckEmployerAddressData.java │ │ ├── IncomeVerificationPrecheckMilitaryInfo.java │ │ ├── IncomeVerificationPrecheckPayrollInstitution.java │ │ ├── IncomeVerificationPrecheckRequest.java │ │ ├── IncomeVerificationPrecheckResponse.java │ │ ├── IncomeVerificationPrecheckUser.java │ │ ├── IncomeVerificationRefreshReconnectNeededWebhook.java │ │ ├── IncomeVerificationRiskSignalsStatusWebhook.java │ │ ├── IncomeVerificationSourceType.java │ │ ├── IncomeVerificationStatusWebhook.java │ │ ├── IncomeVerificationTaxformsGetRequest.java │ │ ├── IncomeVerificationTaxformsGetResponse.java │ │ ├── IncomeVerificationWebhookStatus.java │ │ ├── IndividualName.java │ │ ├── IndividualScreeningHitNames.java │ │ ├── IndividualWatchlistCode.java │ │ ├── IndividualWatchlistProgram.java │ │ ├── InflowModel.java │ │ ├── InitialUpdateWebhook.java │ │ ├── Institution.java │ │ ├── InstitutionStatus.java │ │ ├── InstitutionStatusAlertWebhook.java │ │ ├── InstitutionSupportedNetworks.java │ │ ├── InstitutionsGetByIdRequest.java │ │ ├── InstitutionsGetByIdRequestOptions.java │ │ ├── InstitutionsGetByIdResponse.java │ │ ├── InstitutionsGetRequest.java │ │ ├── InstitutionsGetRequestOptions.java │ │ ├── InstitutionsGetResponse.java │ │ ├── InstitutionsSearchAccountFilter.java │ │ ├── InstitutionsSearchPaymentInitiationOptions.java │ │ ├── InstitutionsSearchRequest.java │ │ ├── InstitutionsSearchRequestOptions.java │ │ ├── InstitutionsSearchResponse.java │ │ ├── InvestmentAccountSubtype.java │ │ ├── InvestmentFilter.java │ │ ├── InvestmentHoldingsGetRequestOptions.java │ │ ├── InvestmentTransaction.java │ │ ├── InvestmentTransactionSubtype.java │ │ ├── InvestmentTransactionType.java │ │ ├── InvestmentsAuth401kContributionDetails.java │ │ ├── InvestmentsAuth401kFeeDetails.java │ │ ├── InvestmentsAuthAccountDetails401k.java │ │ ├── InvestmentsAuthDataSources.java │ │ ├── InvestmentsAuthGetNumbers.java │ │ ├── InvestmentsAuthGetRequest.java │ │ ├── InvestmentsAuthGetRequestOptions.java │ │ ├── InvestmentsAuthGetResponse.java │ │ ├── InvestmentsAuthOwner.java │ │ ├── InvestmentsDefaultUpdateWebhook.java │ │ ├── InvestmentsHistoricalUpdateWebhook.java │ │ ├── InvestmentsHoldingsGetRequest.java │ │ ├── InvestmentsHoldingsGetResponse.java │ │ ├── InvestmentsRefreshRequest.java │ │ ├── InvestmentsRefreshResponse.java │ │ ├── InvestmentsTransactionsGetRequest.java │ │ ├── InvestmentsTransactionsGetRequestOptions.java │ │ ├── InvestmentsTransactionsGetResponse.java │ │ ├── InvestmentsTransactionsOverride.java │ │ ├── Issue.java │ │ ├── IssueResolvedWebhook.java │ │ ├── IssuesGetRequest.java │ │ ├── IssuesGetResponse.java │ │ ├── IssuesSearchRequest.java │ │ ├── IssuesSearchResponse.java │ │ ├── IssuesStatus.java │ │ ├── IssuesSubscribeRequest.java │ │ ├── IssuesSubscribeResponse.java │ │ ├── IssuingCountry.java │ │ ├── Item.java │ │ ├── ItemAccessTokenInvalidateRequest.java │ │ ├── ItemAccessTokenInvalidateResponse.java │ │ ├── ItemActivityListRequest.java │ │ ├── ItemActivityListResponse.java │ │ ├── ItemAddResultWebhook.java │ │ ├── ItemApplicationListRequest.java │ │ ├── ItemApplicationListResponse.java │ │ ├── ItemApplicationListUserAuth.java │ │ ├── ItemApplicationScopesUpdateRequest.java │ │ ├── ItemApplicationScopesUpdateResponse.java │ │ ├── ItemApplicationUnlinkRequest.java │ │ ├── ItemApplicationUnlinkResponse.java │ │ ├── ItemAuthMethod.java │ │ ├── ItemConsentedDataScope.java │ │ ├── ItemCreateAuthentication.java │ │ ├── ItemErrorWebhook.java │ │ ├── ItemGetRequest.java │ │ ├── ItemGetResponse.java │ │ ├── ItemImportRequest.java │ │ ├── ItemImportRequestOptions.java │ │ ├── ItemImportRequestUserAuth.java │ │ ├── ItemImportResponse.java │ │ ├── ItemLoginRepairedWebhook.java │ │ ├── ItemProductReadyWebhook.java │ │ ├── ItemPublicTokenCreateRequest.java │ │ ├── ItemPublicTokenCreateResponse.java │ │ ├── ItemPublicTokenExchangeRequest.java │ │ ├── ItemPublicTokenExchangeResponse.java │ │ ├── ItemRemoveRequest.java │ │ ├── ItemRemoveResponse.java │ │ ├── ItemStatus.java │ │ ├── ItemStatusInvestments.java │ │ ├── ItemStatusLastWebhook.java │ │ ├── ItemStatusNullable.java │ │ ├── ItemStatusTransactions.java │ │ ├── ItemWebhookUpdateRequest.java │ │ ├── ItemWebhookUpdateResponse.java │ │ ├── ItemWithConsentFields.java │ │ ├── ItemWithConsentFieldsAllOf.java │ │ ├── JWKPublicKey.java │ │ ├── JWTHeader.java │ │ ├── KYCCheckAddressSummary.java │ │ ├── KYCCheckDateOfBirthSummary.java │ │ ├── KYCCheckDetails.java │ │ ├── KYCCheckDetailsInternationalAddress.java │ │ ├── KYCCheckIDNumberSummary.java │ │ ├── KYCCheckNameSummary.java │ │ ├── KYCCheckPhoneSummary.java │ │ ├── LastDataAccessTimes.java │ │ ├── LayerAuthenticationPassedWebhook.java │ │ ├── LiabilitiesDefaultUpdateWebhook.java │ │ ├── LiabilitiesGetRequest.java │ │ ├── LiabilitiesGetRequestOptions.java │ │ ├── LiabilitiesGetResponse.java │ │ ├── LiabilitiesObject.java │ │ ├── LiabilityOverride.java │ │ ├── LinkCallbackMetadata.java │ │ ├── LinkDeliveryAccount.java │ │ ├── LinkDeliveryCallbackWebhook.java │ │ ├── LinkDeliveryCommunicationMethod.java │ │ ├── LinkDeliveryCreateRequest.java │ │ ├── LinkDeliveryCreateResponse.java │ │ ├── LinkDeliveryDeliveryMethod.java │ │ ├── LinkDeliveryGetRequest.java │ │ ├── LinkDeliveryGetResponse.java │ │ ├── LinkDeliveryInstitution.java │ │ ├── LinkDeliveryMetadata.java │ │ ├── LinkDeliveryOptions.java │ │ ├── LinkDeliveryRecipient.java │ │ ├── LinkDeliverySessionStatus.java │ │ ├── LinkDeliveryVerificationStatus.java │ │ ├── LinkDeliveryWebhookCallbackType.java │ │ ├── LinkDeliveryWebhookCommunicationMethod.java │ │ ├── LinkDeliveryWebhookDeliveryStatus.java │ │ ├── LinkEvent.java │ │ ├── LinkEventMetadata.java │ │ ├── LinkEventName.java │ │ ├── LinkEventsWebhook.java │ │ ├── LinkOAuthCorrelationIdExchangeRequest.java │ │ ├── LinkOAuthCorrelationIdExchangeResponse.java │ │ ├── LinkSessionBankEmploymentResult.java │ │ ├── LinkSessionBankIncomeResult.java │ │ ├── LinkSessionCraDocumentUploadResult.java │ │ ├── LinkSessionCraItemAddResult.java │ │ ├── LinkSessionExit.java │ │ ├── LinkSessionExitDeprecated.java │ │ ├── LinkSessionExitMetadata.java │ │ ├── LinkSessionExitMetadataInstitution.java │ │ ├── LinkSessionFinishedWebhook.java │ │ ├── LinkSessionItemAddResult.java │ │ ├── LinkSessionPayrollIncomeResult.java │ │ ├── LinkSessionProtectResult.java │ │ ├── LinkSessionResults.java │ │ ├── LinkSessionSuccess.java │ │ ├── LinkSessionSuccessMetadata.java │ │ ├── LinkSessionSuccessMetadataAccount.java │ │ ├── LinkSessionSuccessMetadataInstitution.java │ │ ├── LinkSessionSuccessMetadataTransferStatus.java │ │ ├── LinkTokenAccountFilters.java │ │ ├── LinkTokenCashflowReport.java │ │ ├── LinkTokenCreateCardSwitch.java │ │ ├── LinkTokenCreateCreditFilter.java │ │ ├── LinkTokenCreateDepositoryFilter.java │ │ ├── LinkTokenCreateHostedLink.java │ │ ├── LinkTokenCreateIdentity.java │ │ ├── LinkTokenCreateInstitutionData.java │ │ ├── LinkTokenCreateInvestmentFilter.java │ │ ├── LinkTokenCreateLoanFilter.java │ │ ├── LinkTokenCreateRequest.java │ │ ├── LinkTokenCreateRequestAccountSubtypes.java │ │ ├── LinkTokenCreateRequestAppearanceMode.java │ │ ├── LinkTokenCreateRequestAuth.java │ │ ├── LinkTokenCreateRequestBaseReport.java │ │ ├── LinkTokenCreateRequestCraOptions.java │ │ ├── LinkTokenCreateRequestCraOptionsBaseReport.java │ │ ├── LinkTokenCreateRequestCraOptionsBaseReportGSEOptions.java │ │ ├── LinkTokenCreateRequestCraOptionsCashflowInsights.java │ │ ├── LinkTokenCreateRequestCraOptionsPartnerInsights.java │ │ ├── LinkTokenCreateRequestCreditPartnerInsights.java │ │ ├── LinkTokenCreateRequestDepositSwitch.java │ │ ├── LinkTokenCreateRequestEmployment.java │ │ ├── LinkTokenCreateRequestEmploymentBankIncome.java │ │ ├── LinkTokenCreateRequestIdentityVerification.java │ │ ├── LinkTokenCreateRequestIncomeVerification.java │ │ ├── LinkTokenCreateRequestIncomeVerificationBankIncome.java │ │ ├── LinkTokenCreateRequestIncomeVerificationPayrollIncome.java │ │ ├── LinkTokenCreateRequestPaymentConfiguration.java │ │ ├── LinkTokenCreateRequestPaymentInitiation.java │ │ ├── LinkTokenCreateRequestStatements.java │ │ ├── LinkTokenCreateRequestTransfer.java │ │ ├── LinkTokenCreateRequestUpdate.java │ │ ├── LinkTokenCreateRequestUser.java │ │ ├── LinkTokenCreateRequestUserStatedIncomeSource.java │ │ ├── LinkTokenCreateResponse.java │ │ ├── LinkTokenEUConfig.java │ │ ├── LinkTokenGetMetadataResponse.java │ │ ├── LinkTokenGetRequest.java │ │ ├── LinkTokenGetResponse.java │ │ ├── LinkTokenGetSessionsResponse.java │ │ ├── LinkTokenInvestments.java │ │ ├── LinkTokenInvestmentsAuth.java │ │ ├── LinkTokenTransactions.java │ │ ├── LinkUserDeliveryStatusWebhook.java │ │ ├── Loan.java │ │ ├── LoanAccountSubtype.java │ │ ├── LoanFilter.java │ │ ├── LoanIdentifier.java │ │ ├── LoanIdentifierType.java │ │ ├── LoanIdentifiers.java │ │ ├── LoanPaymentsCounts.java │ │ ├── LoanPaymentsMerchantCounts.java │ │ ├── Loans.java │ │ ├── Location.java │ │ ├── MFA.java │ │ ├── MatchSummary.java │ │ ├── MatchSummaryCode.java │ │ ├── MerchantInsights.java │ │ ├── Meta.java │ │ ├── MonitoringConsumerReportPermissiblePurpose.java │ │ ├── MonitoringIncomeInsights.java │ │ ├── MonitoringIncomeSource.java │ │ ├── MonitoringInsights.java │ │ ├── MonitoringInsightsItemStatus.java │ │ ├── MonitoringInsightsStatus.java │ │ ├── MonitoringInsightsWebhook.java │ │ ├── MonitoringItemStatusCode.java │ │ ├── MonitoringLoanInsights.java │ │ ├── MortgageInterestRate.java │ │ ├── MortgageLiability.java │ │ ├── MortgagePropertyAddress.java │ │ ├── MultiDocumentRiskSignal.java │ │ ├── NameMatchScore.java │ │ ├── NetPay.java │ │ ├── NetworkInsightsItem.java │ │ ├── NetworkInsightsReport.java │ │ ├── NetworkInsightsReportGetRequest.java │ │ ├── NetworkInsightsReportGetResponse.java │ │ ├── NetworkStatusGetRequest.java │ │ ├── NetworkStatusGetResponse.java │ │ ├── NetworkStatusGetResponseLayer.java │ │ ├── NetworkStatusGetResponseNetworkStatus.java │ │ ├── NetworkStatusGetUser.java │ │ ├── NewAccountsAvailableWebhook.java │ │ ├── Numbers.java │ │ ├── NumbersACATS.java │ │ ├── NumbersACH.java │ │ ├── NumbersACHNullable.java │ │ ├── NumbersATON.java │ │ ├── NumbersBACS.java │ │ ├── NumbersBACSNullable.java │ │ ├── NumbersEFT.java │ │ ├── NumbersEFTNullable.java │ │ ├── NumbersIBANNullable.java │ │ ├── NumbersInternational.java │ │ ├── NumbersInternationalIBAN.java │ │ ├── NumbersInternationalNullable.java │ │ ├── NumbersRetirement401k.java │ │ ├── OAuthErrorCode.java │ │ ├── OAuthErrorResponse.java │ │ ├── OAuthGrantType.java │ │ ├── OAuthIntrospectRequest.java │ │ ├── OAuthIntrospectResponse.java │ │ ├── OAuthRevokeRequest.java │ │ ├── OAuthRevokeResponse.java │ │ ├── OAuthSubjectTokenType.java │ │ ├── OAuthTokenRequest.java │ │ ├── OAuthTokenResponse.java │ │ ├── OmittableTransferType.java │ │ ├── OptionContract.java │ │ ├── OriginatingFundSource.java │ │ ├── Originator.java │ │ ├── OriginatorExpectedTransferFrequency.java │ │ ├── OtherAccountSubtype.java │ │ ├── OtherFilter.java │ │ ├── OverrideAccountType.java │ │ ├── OverrideAccounts.java │ │ ├── Owner.java │ │ ├── OwnerOverride.java │ │ ├── OwnershipType.java │ │ ├── POBoxStatus.java │ │ ├── PSLFStatus.java │ │ ├── Parties.java │ │ ├── PartnerCustomerCreateRequest.java │ │ ├── PartnerCustomerCreateResponse.java │ │ ├── PartnerCustomerEnableRequest.java │ │ ├── PartnerCustomerEnableResponse.java │ │ ├── PartnerCustomerGetRequest.java │ │ ├── PartnerCustomerGetResponse.java │ │ ├── PartnerCustomerOAuthInstitutionsGetRequest.java │ │ ├── PartnerCustomerOAuthInstitutionsGetResponse.java │ │ ├── PartnerCustomerRemoveRequest.java │ │ ├── PartnerCustomerRemoveResponse.java │ │ ├── PartnerEndCustomer.java │ │ ├── PartnerEndCustomerAddress.java │ │ ├── PartnerEndCustomerAssetsUnderManagement.java │ │ ├── PartnerEndCustomerBillingContact.java │ │ ├── PartnerEndCustomerCustomerSupportInfo.java │ │ ├── PartnerEndCustomerFlowdownStatus.java │ │ ├── PartnerEndCustomerOAuthInstitution.java │ │ ├── PartnerEndCustomerOAuthInstitutionApplicationStatus.java │ │ ├── PartnerEndCustomerOAuthInstitutionEnvironments.java │ │ ├── PartnerEndCustomerOAuthStatusUpdatedValues.java │ │ ├── PartnerEndCustomerOAuthStatusUpdatedWebhook.java │ │ ├── PartnerEndCustomerQuestionnaireStatus.java │ │ ├── PartnerEndCustomerSecrets.java │ │ ├── PartnerEndCustomerStatus.java │ │ ├── PartnerEndCustomerTechnicalContact.java │ │ ├── PartnerEndCustomerWithSecrets.java │ │ ├── PartnerEndCustomerWithSecretsAllOf.java │ │ ├── Party.java │ │ ├── PartyIndividual.java │ │ ├── PartyRoleType.java │ │ ├── Pay.java │ │ ├── PayFrequency.java │ │ ├── PayFrequencyValue.java │ │ ├── PayPeriodDetails.java │ │ ├── PayPeriodDetailsPayFrequency.java │ │ ├── PayStubDeductionsBreakdown.java │ │ ├── PayStubDeductionsTotal.java │ │ ├── PayStubDistributionBreakdown.java │ │ ├── PayStubEarningsBreakdown.java │ │ ├── PayStubEarningsTotal.java │ │ ├── PayStubPayPeriodDetails.java │ │ ├── PayStubTaxpayerID.java │ │ ├── PaymentAmount.java │ │ ├── PaymentAmountCurrency.java │ │ ├── PaymentAmountNullable.java │ │ ├── PaymentAmountRefunded.java │ │ ├── PaymentAmountToRefund.java │ │ ├── PaymentChannel.java │ │ ├── PaymentConsentMaxPaymentAmount.java │ │ ├── PaymentConsentPeriodicAlignment.java │ │ ├── PaymentConsentPeriodicAmount.java │ │ ├── PaymentConsentPeriodicAmountAmount.java │ │ ├── PaymentConsentPeriodicInterval.java │ │ ├── PaymentConsentValidDateTime.java │ │ ├── PaymentInitiationAddress.java │ │ ├── PaymentInitiationConsent.java │ │ ├── PaymentInitiationConsentConstraints.java │ │ ├── PaymentInitiationConsentCreateRequest.java │ │ ├── PaymentInitiationConsentCreateResponse.java │ │ ├── PaymentInitiationConsentGetRequest.java │ │ ├── PaymentInitiationConsentGetResponse.java │ │ ├── PaymentInitiationConsentPayerDetails.java │ │ ├── PaymentInitiationConsentPayerNumbers.java │ │ ├── PaymentInitiationConsentPaymentExecuteRequest.java │ │ ├── PaymentInitiationConsentPaymentExecuteResponse.java │ │ ├── PaymentInitiationConsentProcessingMode.java │ │ ├── PaymentInitiationConsentRevokeRequest.java │ │ ├── PaymentInitiationConsentRevokeResponse.java │ │ ├── PaymentInitiationConsentScope.java │ │ ├── PaymentInitiationConsentStatus.java │ │ ├── PaymentInitiationConsentStatusUpdateWebhook.java │ │ ├── PaymentInitiationConsentType.java │ │ ├── PaymentInitiationMetadata.java │ │ ├── PaymentInitiationOptionalRestrictionBacs.java │ │ ├── PaymentInitiationPayment.java │ │ ├── PaymentInitiationPaymentCreateRequest.java │ │ ├── PaymentInitiationPaymentCreateResponse.java │ │ ├── PaymentInitiationPaymentCreateStatus.java │ │ ├── PaymentInitiationPaymentGetRequest.java │ │ ├── PaymentInitiationPaymentGetResponse.java │ │ ├── PaymentInitiationPaymentListRequest.java │ │ ├── PaymentInitiationPaymentListResponse.java │ │ ├── PaymentInitiationPaymentReverseRequest.java │ │ ├── PaymentInitiationPaymentReverseResponse.java │ │ ├── PaymentInitiationPaymentStatus.java │ │ ├── PaymentInitiationPaymentTokenCreateRequest.java │ │ ├── PaymentInitiationPaymentTokenCreateResponse.java │ │ ├── PaymentInitiationRecipient.java │ │ ├── PaymentInitiationRecipientCreateRequest.java │ │ ├── PaymentInitiationRecipientCreateResponse.java │ │ ├── PaymentInitiationRecipientGetRequest.java │ │ ├── PaymentInitiationRecipientGetResponse.java │ │ ├── PaymentInitiationRecipientGetResponseAllOf.java │ │ ├── PaymentInitiationRecipientListRequest.java │ │ ├── PaymentInitiationRecipientListResponse.java │ │ ├── PaymentInitiationStandingOrderMetadata.java │ │ ├── PaymentMeta.java │ │ ├── PaymentProfileCreateRequest.java │ │ ├── PaymentProfileCreateResponse.java │ │ ├── PaymentProfileGetRequest.java │ │ ├── PaymentProfileGetResponse.java │ │ ├── PaymentProfileRemoveRequest.java │ │ ├── PaymentProfileRemoveResponse.java │ │ ├── PaymentProfileStatus.java │ │ ├── PaymentScheduleInterval.java │ │ ├── PaymentScheme.java │ │ ├── PaymentStatusUpdateWebhook.java │ │ ├── PayrollIncomeAccountData.java │ │ ├── PayrollIncomeObject.java │ │ ├── PayrollIncomeRateOfPay.java │ │ ├── PayrollItem.java │ │ ├── PayrollItemStatus.java │ │ ├── PayrollRiskSignalsItem.java │ │ ├── Paystub.java │ │ ├── PaystubAddress.java │ │ ├── PaystubDeduction.java │ │ ├── PaystubDetails.java │ │ ├── PaystubEmployer.java │ │ ├── PaystubOverride.java │ │ ├── PaystubOverrideDeductions.java │ │ ├── PaystubOverrideDeductionsBreakdown.java │ │ ├── PaystubOverrideDeductionsTotal.java │ │ ├── PaystubOverrideDistributionBreakdown.java │ │ ├── PaystubOverrideEarnings.java │ │ ├── PaystubOverrideEarningsBreakdown.java │ │ ├── PaystubOverrideEarningsTotal.java │ │ ├── PaystubOverrideEmployee.java │ │ ├── PaystubOverrideEmployeeAddress.java │ │ ├── PaystubOverrideEmployer.java │ │ ├── PaystubOverrideEmployerAddress.java │ │ ├── PaystubOverrideNetPay.java │ │ ├── PaystubOverridePayPeriodDetails.java │ │ ├── PaystubOverrideTaxpayerID.java │ │ ├── PaystubPayFrequency.java │ │ ├── PaystubYTDDetails.java │ │ ├── PendingDisconnectWebhook.java │ │ ├── PendingDisconnectWebhookReason.java │ │ ├── PendingExpirationWebhook.java │ │ ├── PersonalFinanceCategory.java │ │ ├── PhoneNumber.java │ │ ├── PhoneNumberMatchScore.java │ │ ├── PhoneType.java │ │ ├── PhysicalDocumentCategory.java │ │ ├── PhysicalDocumentExtractedData.java │ │ ├── PhysicalDocumentExtractedDataAnalysis.java │ │ ├── PhysicalDocumentImages.java │ │ ├── PlaidCheckScore.java │ │ ├── PlaidCheckScoreVersion.java │ │ ├── PlaidError.java │ │ ├── PlaidErrorType.java │ │ ├── PlatformIds.java │ │ ├── PrismCashScore.java │ │ ├── PrismCashScoreMetadata.java │ │ ├── PrismCashScoreVersion.java │ │ ├── PrismDetect.java │ │ ├── PrismDetectVersion.java │ │ ├── PrismExtend.java │ │ ├── PrismExtendVersion.java │ │ ├── PrismFirstDetect.java │ │ ├── PrismFirstDetectVersion.java │ │ ├── PrismInsights.java │ │ ├── PrismInsightsVersion.java │ │ ├── PrismProduct.java │ │ ├── PrismVersions.java │ │ ├── ProcessorAccountGetRequest.java │ │ ├── ProcessorAccountGetResponse.java │ │ ├── ProcessorApexProcessorTokenCreateRequest.java │ │ ├── ProcessorAuthGetRequest.java │ │ ├── ProcessorAuthGetResponse.java │ │ ├── ProcessorBalanceGetRequest.java │ │ ├── ProcessorBalanceGetRequestOptions.java │ │ ├── ProcessorBalanceGetResponse.java │ │ ├── ProcessorBankTransferCreateRequest.java │ │ ├── ProcessorBankTransferCreateResponse.java │ │ ├── ProcessorDefaultUpdateWebhook.java │ │ ├── ProcessorHistoricalUpdateWebhook.java │ │ ├── ProcessorIdentityGetRequest.java │ │ ├── ProcessorIdentityGetResponse.java │ │ ├── ProcessorIdentityMatchRequest.java │ │ ├── ProcessorIdentityMatchResponse.java │ │ ├── ProcessorInitialUpdateWebhook.java │ │ ├── ProcessorInvestmentsHoldingsGetRequest.java │ │ ├── ProcessorInvestmentsHoldingsGetResponse.java │ │ ├── ProcessorInvestmentsTransactionsGetRequest.java │ │ ├── ProcessorInvestmentsTransactionsGetResponse.java │ │ ├── ProcessorLiabilitiesGetRequest.java │ │ ├── ProcessorLiabilitiesGetResponse.java │ │ ├── ProcessorNumber.java │ │ ├── ProcessorRecurringTransactionsUpdateWebhook.java │ │ ├── ProcessorSignalDecisionReportRequest.java │ │ ├── ProcessorSignalDecisionReportResponse.java │ │ ├── ProcessorSignalEvaluateRequest.java │ │ ├── ProcessorSignalEvaluateResponse.java │ │ ├── ProcessorSignalPrepareRequest.java │ │ ├── ProcessorSignalPrepareResponse.java │ │ ├── ProcessorSignalReturnReportRequest.java │ │ ├── ProcessorSignalReturnReportResponse.java │ │ ├── ProcessorStripeBankAccountTokenCreateRequest.java │ │ ├── ProcessorStripeBankAccountTokenCreateResponse.java │ │ ├── ProcessorSyncUpdatesAvailableWebhook.java │ │ ├── ProcessorTokenCreateRequest.java │ │ ├── ProcessorTokenCreateResponse.java │ │ ├── ProcessorTokenPermissionsGetRequest.java │ │ ├── ProcessorTokenPermissionsGetResponse.java │ │ ├── ProcessorTokenPermissionsSetRequest.java │ │ ├── ProcessorTokenPermissionsSetResponse.java │ │ ├── ProcessorTokenWebhookUpdate.java │ │ ├── ProcessorTokenWebhookUpdateRequest.java │ │ ├── ProcessorTokenWebhookUpdateResponse.java │ │ ├── ProcessorTransactionsGetRequest.java │ │ ├── ProcessorTransactionsGetRequestOptions.java │ │ ├── ProcessorTransactionsGetResponse.java │ │ ├── ProcessorTransactionsRecurringGetRequest.java │ │ ├── ProcessorTransactionsRecurringGetResponse.java │ │ ├── ProcessorTransactionsRefreshRequest.java │ │ ├── ProcessorTransactionsRefreshResponse.java │ │ ├── ProcessorTransactionsRemovedWebhook.java │ │ ├── ProcessorTransactionsSyncRequest.java │ │ ├── ProcessorTransactionsSyncResponse.java │ │ ├── ProductAccess.java │ │ ├── ProductPermissionsRequiredAuthWebhook.java │ │ ├── ProductPermissionsRequiredIdentityWebhook.java │ │ ├── ProductStatus.java │ │ ├── ProductStatusBreakdown.java │ │ ├── Products.java │ │ ├── ProfileNetworkStatusGetRequest.java │ │ ├── ProfileNetworkStatusGetResponse.java │ │ ├── ProgramNameSensitivity.java │ │ ├── ProjectedIncomeSummaryFieldNumber.java │ │ ├── ProxyType.java │ │ ├── ReasonCode.java │ │ ├── RecaptchaRequiredError.java │ │ ├── RecipientBACS.java │ │ ├── RecipientBACSNullable.java │ │ ├── RecommendationString.java │ │ ├── Recurrence.java │ │ ├── RecurringCancelledWebhook.java │ │ ├── RecurringFrequency.java │ │ ├── RecurringInsightsStream.java │ │ ├── RecurringNewTransferWebhook.java │ │ ├── RecurringTransactionFrequency.java │ │ ├── RecurringTransactions.java │ │ ├── RecurringTransactionsUpdateWebhook.java │ │ ├── RecurringTransfer.java │ │ ├── RecurringTransferNullable.java │ │ ├── RecurringTransferSkippedWebhook.java │ │ ├── RemovedTransaction.java │ │ ├── ReportType.java │ │ ├── ReportingInformation.java │ │ ├── RiskCheckBehavior.java │ │ ├── RiskCheckBehaviorBotDetectedLabel.java │ │ ├── RiskCheckBehaviorFraudRingDetectedLabel.java │ │ ├── RiskCheckBehaviorUserInteractionsLabel.java │ │ ├── RiskCheckDetails.java │ │ ├── RiskCheckDevice.java │ │ ├── RiskCheckEmail.java │ │ ├── RiskCheckEmailDomainIsCustom.java │ │ ├── RiskCheckEmailDomainIsDisposable.java │ │ ├── RiskCheckEmailDomainIsFreeProvider.java │ │ ├── RiskCheckEmailIsDeliverableStatus.java │ │ ├── RiskCheckEmailTopLevelDomainIsSuspicious.java │ │ ├── RiskCheckIdentityAbuseSignals.java │ │ ├── RiskCheckLinkedService.java │ │ ├── RiskCheckNetwork.java │ │ ├── RiskCheckPhone.java │ │ ├── RiskCheckStolenIdentity.java │ │ ├── RiskCheckSyntheticIdentity.java │ │ ├── RiskLevel.java │ │ ├── RiskLevelWithNoData.java │ │ ├── RiskProfile.java │ │ ├── RiskReason.java │ │ ├── RiskSignalDocumentReference.java │ │ ├── RiskSignalDocumentStatus.java │ │ ├── RiskSignalDocumentType.java │ │ ├── RiskSignalFileType.java │ │ ├── Role.java │ │ ├── RoleDetail.java │ │ ├── Roles.java │ │ ├── RuleDetails.java │ │ ├── RuleResult.java │ │ ├── Ruleset.java │ │ ├── SMSVerification.java │ │ ├── SMSVerificationStatus.java │ │ ├── SandboxBankIncomeFireWebhookRequest.java │ │ ├── SandboxBankIncomeFireWebhookResponse.java │ │ ├── SandboxBankIncomeWebhookFireRequestWebhookCode.java │ │ ├── SandboxBankIncomeWebhookFireRequestWebhookFields.java │ │ ├── SandboxBankTransferFireWebhookRequest.java │ │ ├── SandboxBankTransferFireWebhookResponse.java │ │ ├── SandboxBankTransferSimulateRequest.java │ │ ├── SandboxBankTransferSimulateResponse.java │ │ ├── SandboxCraCashflowUpdatesUpdateRequest.java │ │ ├── SandboxCraCashflowUpdatesUpdateResponse.java │ │ ├── SandboxIncomeFireWebhookRequest.java │ │ ├── SandboxIncomeFireWebhookResponse.java │ │ ├── SandboxIncomeWebhookFireRequestWebhookCode.java │ │ ├── SandboxItemFireWebhookRequest.java │ │ ├── SandboxItemFireWebhookResponse.java │ │ ├── SandboxItemResetLoginRequest.java │ │ ├── SandboxItemResetLoginResponse.java │ │ ├── SandboxItemSetVerificationStatusRequest.java │ │ ├── SandboxItemSetVerificationStatusResponse.java │ │ ├── SandboxOauthSelectAccountsRequest.java │ │ ├── SandboxPaymentProfileResetLoginRequest.java │ │ ├── SandboxPaymentProfileResetLoginResponse.java │ │ ├── SandboxPaymentSimulateRequest.java │ │ ├── SandboxPaymentSimulateResponse.java │ │ ├── SandboxProcessorTokenCreateRequest.java │ │ ├── SandboxProcessorTokenCreateRequestOptions.java │ │ ├── SandboxProcessorTokenCreateResponse.java │ │ ├── SandboxPublicTokenCreateRequest.java │ │ ├── SandboxPublicTokenCreateRequestIncomeVerificationBankIncome.java │ │ ├── SandboxPublicTokenCreateRequestOptions.java │ │ ├── SandboxPublicTokenCreateRequestOptionsIncomeVerification.java │ │ ├── SandboxPublicTokenCreateRequestOptionsStatements.java │ │ ├── SandboxPublicTokenCreateRequestOptionsTransactions.java │ │ ├── SandboxPublicTokenCreateResponse.java │ │ ├── SandboxTransactionsCreateRequest.java │ │ ├── SandboxTransactionsCreateResponse.java │ │ ├── SandboxTransferFireWebhookRequest.java │ │ ├── SandboxTransferFireWebhookResponse.java │ │ ├── SandboxTransferLedgerDepositSimulateRequest.java │ │ ├── SandboxTransferLedgerDepositSimulateResponse.java │ │ ├── SandboxTransferLedgerSimulateAvailableRequest.java │ │ ├── SandboxTransferLedgerSimulateAvailableResponse.java │ │ ├── SandboxTransferLedgerWithdrawSimulateRequest.java │ │ ├── SandboxTransferLedgerWithdrawSimulateResponse.java │ │ ├── SandboxTransferRefundSimulateRequest.java │ │ ├── SandboxTransferRefundSimulateResponse.java │ │ ├── SandboxTransferRepaymentSimulateRequest.java │ │ ├── SandboxTransferRepaymentSimulateResponse.java │ │ ├── SandboxTransferSimulateRequest.java │ │ ├── SandboxTransferSimulateResponse.java │ │ ├── SandboxTransferSweepSimulateRequest.java │ │ ├── SandboxTransferSweepSimulateResponse.java │ │ ├── SandboxTransferTestClockAdvanceRequest.java │ │ ├── SandboxTransferTestClockAdvanceResponse.java │ │ ├── SandboxTransferTestClockCreateRequest.java │ │ ├── SandboxTransferTestClockCreateResponse.java │ │ ├── SandboxTransferTestClockGetRequest.java │ │ ├── SandboxTransferTestClockGetResponse.java │ │ ├── SandboxTransferTestClockListRequest.java │ │ ├── SandboxTransferTestClockListResponse.java │ │ ├── SandboxUserResetLoginRequest.java │ │ ├── SandboxUserResetLoginResponse.java │ │ ├── Scopes.java │ │ ├── ScopesContext.java │ │ ├── ScopesNullable.java │ │ ├── ScreeningHitAnalysis.java │ │ ├── ScreeningHitData.java │ │ ├── ScreeningHitDateOfBirthItem.java │ │ ├── ScreeningHitDocumentsItems.java │ │ ├── ScreeningHitNamesItems.java │ │ ├── ScreeningStatusUpdatedWebhook.java │ │ ├── Security.java │ │ ├── SecurityOverride.java │ │ ├── SelfieAnalysis.java │ │ ├── SelfieAnalysisDocumentComparison.java │ │ ├── SelfieAnalysisFacialAnalysis.java │ │ ├── SelfieAnalysisFacialAnalysisOutcome.java │ │ ├── SelfieAnalysisLivenessCheck.java │ │ ├── SelfieCapture.java │ │ ├── SelfieCheck.java │ │ ├── SelfieCheckSelfie.java │ │ ├── SelfieCheckStatus.java │ │ ├── SelfieStatus.java │ │ ├── SenderBACSNullable.java │ │ ├── Service.java │ │ ├── ServiceProductFulfillment.java │ │ ├── ServiceProductFulfillmentDetail.java │ │ ├── ServiceProductFulfillmentIdentifier.java │ │ ├── ServicerAddressData.java │ │ ├── Services.java │ │ ├── SessionTokenCreateRequest.java │ │ ├── SessionTokenCreateRequestUser.java │ │ ├── SessionTokenCreateResponse.java │ │ ├── SessionTokenCreateResponseLink.java │ │ ├── SignalAddressData.java │ │ ├── SignalDecisionOutcome.java │ │ ├── SignalDecisionReportRequest.java │ │ ├── SignalDecisionReportResponse.java │ │ ├── SignalDevice.java │ │ ├── SignalEvaluateCoreAttributes.java │ │ ├── SignalEvaluateRequest.java │ │ ├── SignalEvaluateResponse.java │ │ ├── SignalPaymentMethod.java │ │ ├── SignalPersonName.java │ │ ├── SignalPrepareRequest.java │ │ ├── SignalPrepareResponse.java │ │ ├── SignalReturnReportRequest.java │ │ ├── SignalReturnReportResponse.java │ │ ├── SignalScheduleDefaultPaymentMethod.java │ │ ├── SignalScheduleRecommendation.java │ │ ├── SignalScheduleRequest.java │ │ ├── SignalScheduleResponse.java │ │ ├── SignalScores.java │ │ ├── SignalUser.java │ │ ├── SignalWarning.java │ │ ├── SimulatedTransferSweep.java │ │ ├── SingleDocumentRiskSignal.java │ │ ├── Source.java │ │ ├── StandaloneAccountType.java │ │ ├── StandaloneCurrencyCodeList.java │ │ ├── StandaloneInvestmentTransactionType.java │ │ ├── StatementsAccount.java │ │ ├── StatementsDownloadRequest.java │ │ ├── StatementsListRequest.java │ │ ├── StatementsListResponse.java │ │ ├── StatementsRefreshCompleteResult.java │ │ ├── StatementsRefreshCompleteWebhook.java │ │ ├── StatementsRefreshRequest.java │ │ ├── StatementsRefreshResponse.java │ │ ├── StatementsStatement.java │ │ ├── Status.java │ │ ├── Statuses.java │ │ ├── Strategy.java │ │ ├── StudentLoan.java │ │ ├── StudentLoanRepaymentModel.java │ │ ├── StudentLoanStatus.java │ │ ├── StudentRepaymentPlan.java │ │ ├── SweepFailure.java │ │ ├── SweepStatus.java │ │ ├── SweepTrigger.java │ │ ├── SyncUpdatesAvailableWebhook.java │ │ ├── SyntheticFraud.java │ │ ├── Taxform.java │ │ ├── TaxpayerID.java │ │ ├── TaxpayerIdentifier.java │ │ ├── TaxpayerIdentifierType.java │ │ ├── TaxpayerIdentifiers.java │ │ ├── Total.java │ │ ├── TotalCanonicalDescription.java │ │ ├── TotalInflowAmount.java │ │ ├── TotalInflowAmount30d.java │ │ ├── TotalInflowAmount60d.java │ │ ├── TotalInflowAmount90d.java │ │ ├── TotalMonthlyIncomeInsights.java │ │ ├── TotalOutflowAmount.java │ │ ├── TotalOutflowAmount30d.java │ │ ├── TotalOutflowAmount60d.java │ │ ├── TotalOutflowAmount90d.java │ │ ├── TotalReportInflowAmount.java │ │ ├── TotalReportInflowAmount30d.java │ │ ├── TotalReportInflowAmount60d.java │ │ ├── TotalReportInflowAmount90d.java │ │ ├── TotalReportOutflowAmount.java │ │ ├── TotalReportOutflowAmount30d.java │ │ ├── TotalReportOutflowAmount60d.java │ │ ├── TotalReportOutflowAmount90d.java │ │ ├── Transaction.java │ │ ├── TransactionAllOf.java │ │ ├── TransactionBase.java │ │ ├── TransactionCode.java │ │ ├── TransactionCounterparty.java │ │ ├── TransactionData.java │ │ ├── TransactionOverride.java │ │ ├── TransactionStream.java │ │ ├── TransactionStreamAmount.java │ │ ├── TransactionStreamStatus.java │ │ ├── TransactionsCategoryRule.java │ │ ├── TransactionsEnhanceGetRequest.java │ │ ├── TransactionsEnhanceGetResponse.java │ │ ├── TransactionsEnrichRequest.java │ │ ├── TransactionsEnrichRequestOptions.java │ │ ├── TransactionsEnrichResponse.java │ │ ├── TransactionsGetRequest.java │ │ ├── TransactionsGetRequestOptions.java │ │ ├── TransactionsGetResponse.java │ │ ├── TransactionsRecurringCreateInput.java │ │ ├── TransactionsRecurringCreateRequest.java │ │ ├── TransactionsRecurringCreateResponse.java │ │ ├── TransactionsRecurringGetRequest.java │ │ ├── TransactionsRecurringGetRequestOptions.java │ │ ├── TransactionsRecurringGetResponse.java │ │ ├── TransactionsRecurringMergeInput.java │ │ ├── TransactionsRecurringMergeRequest.java │ │ ├── TransactionsRecurringMergeResponse.java │ │ ├── TransactionsRecurringUpdateInput.java │ │ ├── TransactionsRecurringUpdateRequest.java │ │ ├── TransactionsRecurringUpdateResponse.java │ │ ├── TransactionsRefreshRequest.java │ │ ├── TransactionsRefreshResponse.java │ │ ├── TransactionsRemovedWebhook.java │ │ ├── TransactionsRuleDetails.java │ │ ├── TransactionsRuleField.java │ │ ├── TransactionsRuleType.java │ │ ├── TransactionsRulesCreateRequest.java │ │ ├── TransactionsRulesCreateResponse.java │ │ ├── TransactionsRulesListRequest.java │ │ ├── TransactionsRulesListResponse.java │ │ ├── TransactionsRulesRemoveRequest.java │ │ ├── TransactionsRulesRemoveResponse.java │ │ ├── TransactionsSyncRequest.java │ │ ├── TransactionsSyncRequestOptions.java │ │ ├── TransactionsSyncResponse.java │ │ ├── TransactionsUpdateStatus.java │ │ ├── TransactionsUserInsightsGetRequest.java │ │ ├── TransactionsUserInsightsGetResponse.java │ │ ├── Transfer.java │ │ ├── TransferACHNetwork.java │ │ ├── TransferAuthorization.java │ │ ├── TransferAuthorizationCancelRequest.java │ │ ├── TransferAuthorizationCancelResponse.java │ │ ├── TransferAuthorizationCreateRequest.java │ │ ├── TransferAuthorizationCreateResponse.java │ │ ├── TransferAuthorizationDecision.java │ │ ├── TransferAuthorizationDecisionRationale.java │ │ ├── TransferAuthorizationDecisionRationaleCode.java │ │ ├── TransferAuthorizationDevice.java │ │ ├── TransferAuthorizationGuaranteeDecision.java │ │ ├── TransferAuthorizationGuaranteeDecisionRationale.java │ │ ├── TransferAuthorizationGuaranteeDecisionRationaleCode.java │ │ ├── TransferAuthorizationPaymentRisk.java │ │ ├── TransferAuthorizationProposedTransfer.java │ │ ├── TransferAuthorizationRiskLevel.java │ │ ├── TransferAuthorizationUserInRequest.java │ │ ├── TransferBalance.java │ │ ├── TransferBalanceGetRequest.java │ │ ├── TransferBalanceGetResponse.java │ │ ├── TransferBalanceType.java │ │ ├── TransferCancelRequest.java │ │ ├── TransferCancelResponse.java │ │ ├── TransferCapabilitiesGetRTP.java │ │ ├── TransferCapabilitiesGetRequest.java │ │ ├── TransferCapabilitiesGetResponse.java │ │ ├── TransferCapabilitiesGetRfP.java │ │ ├── TransferConfigurationGetRequest.java │ │ ├── TransferConfigurationGetResponse.java │ │ ├── TransferCreateRequest.java │ │ ├── TransferCreateResponse.java │ │ ├── TransferCreditFundsSource.java │ │ ├── TransferCreditUsageConfiguration.java │ │ ├── TransferDebitUsageConfiguration.java │ │ ├── TransferDevice.java │ │ ├── TransferDiligenceDocumentUploadRequest.java │ │ ├── TransferDiligenceDocumentUploadResponse.java │ │ ├── TransferDiligenceStatus.java │ │ ├── TransferDiligenceSubmitRequest.java │ │ ├── TransferDiligenceSubmitResponse.java │ │ ├── TransferDocumentPurpose.java │ │ ├── TransferEvent.java │ │ ├── TransferEventListRequest.java │ │ ├── TransferEventListResponse.java │ │ ├── TransferEventListTransferType.java │ │ ├── TransferEventSyncRequest.java │ │ ├── TransferEventSyncResponse.java │ │ ├── TransferEventType.java │ │ ├── TransferEventsUpdateWebhook.java │ │ ├── TransferExpectedSweepSettlementScheduleItem.java │ │ ├── TransferFailure.java │ │ ├── TransferFundingAccount.java │ │ ├── TransferFundingAccountWithDisplayName.java │ │ ├── TransferFundingAccountWithDisplayNameAllOf.java │ │ ├── TransferGetRequest.java │ │ ├── TransferGetResponse.java │ │ ├── TransferIntentAuthorizationDecision.java │ │ ├── TransferIntentCreate.java │ │ ├── TransferIntentCreateMode.java │ │ ├── TransferIntentCreateNetwork.java │ │ ├── TransferIntentCreateRequest.java │ │ ├── TransferIntentCreateResponse.java │ │ ├── TransferIntentGet.java │ │ ├── TransferIntentGetFailureReason.java │ │ ├── TransferIntentGetRequest.java │ │ ├── TransferIntentGetResponse.java │ │ ├── TransferIntentStatus.java │ │ ├── TransferLedgerBalance.java │ │ ├── TransferLedgerDepositRequest.java │ │ ├── TransferLedgerDepositResponse.java │ │ ├── TransferLedgerDistributeRequest.java │ │ ├── TransferLedgerDistributeResponse.java │ │ ├── TransferLedgerGetRequest.java │ │ ├── TransferLedgerGetResponse.java │ │ ├── TransferLedgerSweepSimulateEventType.java │ │ ├── TransferLedgerWithdrawRequest.java │ │ ├── TransferLedgerWithdrawResponse.java │ │ ├── TransferListRequest.java │ │ ├── TransferListResponse.java │ │ ├── TransferMetricsGetAuthorizationUsage.java │ │ ├── TransferMetricsGetRequest.java │ │ ├── TransferMetricsGetResponse.java │ │ ├── TransferMetricsGetReturnRates.java │ │ ├── TransferMetricsGetReturnRatesOverInterval.java │ │ ├── TransferMigrateAccountRequest.java │ │ ├── TransferMigrateAccountResponse.java │ │ ├── TransferNetwork.java │ │ ├── TransferOriginatorAddress.java │ │ ├── TransferOriginatorCreateRequest.java │ │ ├── TransferOriginatorCreateResponse.java │ │ ├── TransferOriginatorDiligence.java │ │ ├── TransferOriginatorFundingAccountCreateRequest.java │ │ ├── TransferOriginatorFundingAccountCreateResponse.java │ │ ├── TransferOriginatorFundingAccountUpdateRequest.java │ │ ├── TransferOriginatorFundingAccountUpdateResponse.java │ │ ├── TransferOriginatorGetRequest.java │ │ ├── TransferOriginatorGetResponse.java │ │ ├── TransferOriginatorListRequest.java │ │ ├── TransferOriginatorListResponse.java │ │ ├── TransferPlatformOnboardingUpdateWebhook.java │ │ ├── TransferPlatformOriginatorCreateRequest.java │ │ ├── TransferPlatformOriginatorCreateResponse.java │ │ ├── TransferPlatformPersonAddress.java │ │ ├── TransferPlatformPersonCreateRequest.java │ │ ├── TransferPlatformPersonCreateResponse.java │ │ ├── TransferPlatformPersonIDNumber.java │ │ ├── TransferPlatformPersonName.java │ │ ├── TransferPlatformRequirement.java │ │ ├── TransferPlatformRequirementSubmission.java │ │ ├── TransferPlatformRequirementSubmitRequest.java │ │ ├── TransferPlatformRequirementSubmitResponse.java │ │ ├── TransferPlatformTOSAcceptanceMetadata.java │ │ ├── TransferQuestionnaireCreateRequest.java │ │ ├── TransferQuestionnaireCreateResponse.java │ │ ├── TransferRecurringCancelRequest.java │ │ ├── TransferRecurringCancelResponse.java │ │ ├── TransferRecurringCreateRequest.java │ │ ├── TransferRecurringCreateResponse.java │ │ ├── TransferRecurringGetRequest.java │ │ ├── TransferRecurringGetResponse.java │ │ ├── TransferRecurringListRequest.java │ │ ├── TransferRecurringListResponse.java │ │ ├── TransferRecurringNetwork.java │ │ ├── TransferRecurringSchedule.java │ │ ├── TransferRecurringStatus.java │ │ ├── TransferRefund.java │ │ ├── TransferRefundCancelRequest.java │ │ ├── TransferRefundCancelResponse.java │ │ ├── TransferRefundCreateRequest.java │ │ ├── TransferRefundCreateResponse.java │ │ ├── TransferRefundFailure.java │ │ ├── TransferRefundGetRequest.java │ │ ├── TransferRefundGetResponse.java │ │ ├── TransferRefundStatus.java │ │ ├── TransferRepayment.java │ │ ├── TransferRepaymentListRequest.java │ │ ├── TransferRepaymentListResponse.java │ │ ├── TransferRepaymentReturn.java │ │ ├── TransferRepaymentReturnListRequest.java │ │ ├── TransferRepaymentReturnListResponse.java │ │ ├── TransferScheduleIntervalUnit.java │ │ ├── TransferStatus.java │ │ ├── TransferSweep.java │ │ ├── TransferSweepGetRequest.java │ │ ├── TransferSweepGetResponse.java │ │ ├── TransferSweepListRequest.java │ │ ├── TransferSweepListResponse.java │ │ ├── TransferSweepStatus.java │ │ ├── TransferTestClock.java │ │ ├── TransferType.java │ │ ├── TransferUserAddressInRequest.java │ │ ├── TransferUserAddressInResponse.java │ │ ├── TransferUserInRequest.java │ │ ├── TransferUserInRequestDeprecated.java │ │ ├── TransferUserInResponse.java │ │ ├── TransferWireDetails.java │ │ ├── TrustIndex.java │ │ ├── TrustIndexSubscore.java │ │ ├── TrustIndexSubscores.java │ │ ├── TrustedDeviceData.java │ │ ├── UpdateEntityScreeningRequestSearchTerms.java │ │ ├── UpdateIndividualScreeningRequestSearchTerms.java │ │ ├── UserAccountIdentity.java │ │ ├── UserAccountIdentityAddress.java │ │ ├── UserAccountIdentityName.java │ │ ├── UserAccountItem.java │ │ ├── UserAccountRevokedWebhook.java │ │ ├── UserAccountSessionGetRequest.java │ │ ├── UserAccountSessionGetResponse.java │ │ ├── UserAddress.java │ │ ├── UserCreateRequest.java │ │ ├── UserCreateResponse.java │ │ ├── UserCustomPassword.java │ │ ├── UserDataOverview.java │ │ ├── UserIDNumber.java │ │ ├── UserItemsGetRequest.java │ │ ├── UserItemsGetResponse.java │ │ ├── UserPermissionRevokedWebhook.java │ │ ├── UserRemoveRequest.java │ │ ├── UserRemoveResponse.java │ │ ├── UserStatedIncomeSourceCategory.java │ │ ├── UserStatedIncomeSourceFrequency.java │ │ ├── UserStatedIncomeSourcePayType.java │ │ ├── UserThirdPartyTokenCreateRequest.java │ │ ├── UserThirdPartyTokenCreateResponse.java │ │ ├── UserThirdPartyTokenRemoveRequest.java │ │ ├── UserThirdPartyTokenRemoveResponse.java │ │ ├── UserUpdateRequest.java │ │ ├── UserUpdateResponse.java │ │ ├── ValidationSource.java │ │ ├── ValidationSources.java │ │ ├── VerificationExpiredWebhook.java │ │ ├── VerificationOfAsset.java │ │ ├── VerificationOfAssetResponse.java │ │ ├── VerificationRefreshStatus.java │ │ ├── VerificationStatus.java │ │ ├── VerifySMSDetails.java │ │ ├── VerifySMSDetailsStatus.java │ │ ├── W2.java │ │ ├── W2Box12.java │ │ ├── W2Box12Override.java │ │ ├── W2Override.java │ │ ├── W2StateAndLocalWages.java │ │ ├── W2StateAndLocalWagesOverride.java │ │ ├── Wallet.java │ │ ├── WalletBalance.java │ │ ├── WalletCreateRequest.java │ │ ├── WalletCreateResponse.java │ │ ├── WalletGetRequest.java │ │ ├── WalletGetResponse.java │ │ ├── WalletISOCurrencyCode.java │ │ ├── WalletListRequest.java │ │ ├── WalletListResponse.java │ │ ├── WalletNumbers.java │ │ ├── WalletPaymentScheme.java │ │ ├── WalletStatus.java │ │ ├── WalletTransaction.java │ │ ├── WalletTransactionAmount.java │ │ ├── WalletTransactionCounterparty.java │ │ ├── WalletTransactionCounterpartyBACS.java │ │ ├── WalletTransactionCounterpartyInternational.java │ │ ├── WalletTransactionCounterpartyNumbers.java │ │ ├── WalletTransactionExecuteRequest.java │ │ ├── WalletTransactionExecuteResponse.java │ │ ├── WalletTransactionFailureReason.java │ │ ├── WalletTransactionGetRequest.java │ │ ├── WalletTransactionGetResponse.java │ │ ├── WalletTransactionListRequest.java │ │ ├── WalletTransactionListRequestOptions.java │ │ ├── WalletTransactionListResponse.java │ │ ├── WalletTransactionRelation.java │ │ ├── WalletTransactionStatus.java │ │ ├── WalletTransactionStatusUpdateWebhook.java │ │ ├── WalletTransactionsListRequest.java │ │ ├── Warning.java │ │ ├── WatchlistScreeningAuditTrail.java │ │ ├── WatchlistScreeningDocument.java │ │ ├── WatchlistScreeningDocumentType.java │ │ ├── WatchlistScreeningEntityCreateRequest.java │ │ ├── WatchlistScreeningEntityCreateResponse.java │ │ ├── WatchlistScreeningEntityGetRequest.java │ │ ├── WatchlistScreeningEntityGetResponse.java │ │ ├── WatchlistScreeningEntityHistoryListRequest.java │ │ ├── WatchlistScreeningEntityHistoryListResponse.java │ │ ├── WatchlistScreeningEntityHitListRequest.java │ │ ├── WatchlistScreeningEntityHitListResponse.java │ │ ├── WatchlistScreeningEntityListRequest.java │ │ ├── WatchlistScreeningEntityListResponse.java │ │ ├── WatchlistScreeningEntityProgramGetRequest.java │ │ ├── WatchlistScreeningEntityProgramGetResponse.java │ │ ├── WatchlistScreeningEntityProgramListRequest.java │ │ ├── WatchlistScreeningEntityProgramListResponse.java │ │ ├── WatchlistScreeningEntityReviewCreateRequest.java │ │ ├── WatchlistScreeningEntityReviewCreateResponse.java │ │ ├── WatchlistScreeningEntityReviewListRequest.java │ │ ├── WatchlistScreeningEntityReviewListResponse.java │ │ ├── WatchlistScreeningEntityUpdateRequest.java │ │ ├── WatchlistScreeningEntityUpdateRequestResettableField.java │ │ ├── WatchlistScreeningEntityUpdateResponse.java │ │ ├── WatchlistScreeningHit.java │ │ ├── WatchlistScreeningHitLocations.java │ │ ├── WatchlistScreeningHitStatus.java │ │ ├── WatchlistScreeningIndividual.java │ │ ├── WatchlistScreeningIndividualCreateRequest.java │ │ ├── WatchlistScreeningIndividualCreateResponse.java │ │ ├── WatchlistScreeningIndividualGetRequest.java │ │ ├── WatchlistScreeningIndividualGetResponse.java │ │ ├── WatchlistScreeningIndividualHistoryListRequest.java │ │ ├── WatchlistScreeningIndividualHistoryListResponse.java │ │ ├── WatchlistScreeningIndividualHitListRequest.java │ │ ├── WatchlistScreeningIndividualHitListResponse.java │ │ ├── WatchlistScreeningIndividualListRequest.java │ │ ├── WatchlistScreeningIndividualListResponse.java │ │ ├── WatchlistScreeningIndividualProgramGetRequest.java │ │ ├── WatchlistScreeningIndividualProgramGetResponse.java │ │ ├── WatchlistScreeningIndividualProgramListRequest.java │ │ ├── WatchlistScreeningIndividualProgramListResponse.java │ │ ├── WatchlistScreeningIndividualReviewCreateRequest.java │ │ ├── WatchlistScreeningIndividualReviewCreateResponse.java │ │ ├── WatchlistScreeningIndividualReviewListRequest.java │ │ ├── WatchlistScreeningIndividualReviewListResponse.java │ │ ├── WatchlistScreeningIndividualUpdateRequest.java │ │ ├── WatchlistScreeningIndividualUpdateRequestResettableField.java │ │ ├── WatchlistScreeningIndividualUpdateResponse.java │ │ ├── WatchlistScreeningRequestSearchTerms.java │ │ ├── WatchlistScreeningReview.java │ │ ├── WatchlistScreeningSearchTerms.java │ │ ├── WatchlistScreeningStatus.java │ │ ├── WeakAliasDetermination.java │ │ ├── WebhookEnvironmentValues.java │ │ ├── WebhookType.java │ │ ├── WebhookUpdateAcknowledgedWebhook.java │ │ ├── WebhookVerificationKeyGetRequest.java │ │ ├── WebhookVerificationKeyGetResponse.java │ │ ├── YTDGrossIncomeSummaryFieldNumber.java │ │ ├── YTDNetIncomeSummaryFieldNumber.java │ │ ├── YieldRate.java │ │ └── YieldRateType.java │ │ └── request │ │ └── PlaidApi.java └── test │ └── java │ └── com │ └── plaid │ └── client │ └── integration │ ├── AbstractIntegrationTest.java │ ├── AbstractItemIntegrationTest.java │ ├── AccountsBalanceGetTest.java │ ├── AccountsGetTest.java │ ├── AssetReportAuditCopyCreateTest.java │ ├── AssetReportAuditCopyGetTest.java │ ├── AssetReportAuditCopyRemoveTest.java │ ├── AssetReportCreateTest.java │ ├── AssetReportFilterTest.java │ ├── AssetReportGetTest.java │ ├── AssetReportPdfGetTest.java │ ├── AssetReportRefreshTest.java │ ├── AssetReportRemoveTest.java │ ├── AuthGetTest.java │ ├── CategoriesGetTest.java │ ├── IdentityGetTest.java │ ├── IdentityVerificationTest.java │ ├── IncomeVerificationPaystubsGetTest.java │ ├── IncomeVerificationSummaryGetTest.java │ ├── IncomeVerificationTaxformsGetTest.java │ ├── InstitutionsGetByIdTest.java │ ├── InstitutionsGetTest.java │ ├── InstitutionsSearchTest.java │ ├── InvestmentsHoldingsGetTest.java │ ├── InvestmentsTransactionsGetTest.java │ ├── ItemAccessTokenInvalidateTest.java │ ├── ItemApexProcessorTokenCreateTest.java │ ├── ItemDwollaProcessorTokenCreateTest.java │ ├── ItemGetTest.java │ ├── ItemImportTest.java │ ├── ItemPublicTokenExchangeTest.java │ ├── ItemRemoveTest.java │ ├── ItemStripeTokenCreateTest.java │ ├── ItemWebhookUpdateTest.java │ ├── LiabilitiesGetTest.java │ ├── LinkTokenCreateTest.java │ ├── LinkTokenGetTest.java │ ├── MonitorTest.java │ ├── PaymentCreateTest.java │ ├── PaymentGetTest.java │ ├── PaymentListTest.java │ ├── PlaidClientTest.java │ ├── RecipientCreateTest.java │ ├── RecipientGetTest.java │ ├── RecipientListTest.java │ ├── SandboxItemFireWebhookTest.java │ ├── SandboxItemResetLoginTest.java │ ├── SandboxPublicTokenCreateTest.java │ ├── StatementsTest.java │ ├── TransactionsEnrichTest.java │ ├── TransactionsGetTest.java │ ├── TransactionsRefreshTest.java │ ├── WebhookVerificationKeyGetTest.java │ └── banktransfer │ ├── AbstractBankTransferTest.java │ ├── BankTransferBalanceGetTest.java │ ├── BankTransferCancelFailureTest.java │ ├── BankTransferCancelSuccessTest.java │ ├── BankTransferCreateTest.java │ ├── BankTransferEventListTest.java │ ├── BankTransferEventSyncTest.java │ ├── BankTransferGetTest.java │ ├── BankTransferListTest.java │ └── BankTransferMigrateAccountTest.java └── templates └── java ├── libraries └── retrofit2 │ └── ApiClient.mustache └── modelEnum.mustache /.circleci/config.yml: -------------------------------------------------------------------------------- 1 | 2 | version: 2 3 | jobs: 4 | build: 5 | machine: 6 | image: ubuntu-2204:edge 7 | steps: 8 | - checkout 9 | - run: 10 | name: Build Docker image for running java tests 11 | command: docker build -t plaid-java . 12 | - run: 13 | name: Run java tests in Docker 14 | command: docker run --rm -e PLAID_CLIENT_ID=$PLAID_CLIENT_ID -e PLAID_SECRET=$PLAID_SECRET plaid-java 15 | -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | .git/ 2 | target/ -------------------------------------------------------------------------------- /.github/workflows/add_to_project.yml: -------------------------------------------------------------------------------- 1 | name: Auto Assign to CLIB Project 2 | 3 | on: 4 | issues: 5 | types: [opened] 6 | pull_request: 7 | types: [opened] 8 | env: 9 | MY_GITHUB_TOKEN: ${{ secrets.CLIB_AUTOMATION_TOKEN }} 10 | 11 | jobs: 12 | assign_one_project: 13 | runs-on: ubuntu-latest 14 | name: Assign to One Project 15 | steps: 16 | - name: Assign NEW issues and NEW pull requests to project 1 17 | uses: srggrs/assign-one-project-github-action@1.2.0 18 | if: github.event.action == 'opened' 19 | with: 20 | project: 'https://github.com/orgs/plaid/projects/1' 21 | column_name: 'Needs Investigation' 22 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /.settings 2 | /.classpath 3 | /.project 4 | /target 5 | .idea 6 | plaid-java.iml 7 | *.ipr 8 | *.iws 9 | pom.xml.releaseBackup 10 | release.properties -------------------------------------------------------------------------------- /.openapi-generator-ignore: -------------------------------------------------------------------------------- 1 | gradle/** 2 | api/** 3 | .gitignore 4 | .travis.yml 5 | build.gradle 6 | build.sbt 7 | git_push.sh 8 | gradle.properties 9 | gradlew 10 | gradlew.bat 11 | README.md 12 | settings.gradle 13 | pom.xml 14 | gradle 15 | api -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | Instructions for contributing to [plaid-java][1]. A java client library for the [Plaid API][2]. This library is fully generated from the [Plaid OpenAPI spec](3). 4 | 5 | This library cannot directly accept PRs from the public as it is generated from internal Plaid sources on the internal Plaid GitHub instance and any changes made directly to this repo will be overwritten. If you submit a PR and it is accepted, a member of Plaid engineering will copy and paste your change into the upstream, internal version of this repo rather than merging your PR. 6 | 7 | Plaid employees should make any changes on the internal Plaid GitHub and not on the public repo. 8 | 9 | ## Setup 10 | 11 | If you find an issue, please investigate whether it is a type problem with [OpenAPI](3) or a problem with the [java](https://github.com/OpenAPITools/openapi-generator/blob/master/docs/generators/java.md) generator. Then open an issue and Plaid will investigate further. 12 | 13 | ## Running Tests 14 | 15 | 1. To build the docker image for the client tests, run `docker build -t plaid-java .`. 16 | 2. Go to the [Plaid Dashboard](https://dashboard.plaid.com/) and copy and paste your `client_id` and sandbox `secret` into the following command. 17 | 3. Run `docker run --rm -e PLAID_CLIENT_ID=$CLIENT_ID -e PLAID_SECRET=$SECRET plaid-java`. 18 | 19 | If you wish to run a single test, edit the `Dockerfile` CMD and add a parmeter like so: `CMD ["mvn", "-Dit.test=IdentityGet*", "-Dmaven.javadoc.skip=true", "verify", "-e"]` 20 | 21 | Then rebuild the docker image using the command from step 1. 22 | 23 | [1]: https://github.com/plaid/plaid-java 24 | [2]: https://plaid.com 25 | [3]: https://github.com/plaid/plaid-openapi 26 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | # Note: This image is also built in CircleCI, so limit references to internal repositories. 2 | FROM maven:3.6.3-jdk-8 3 | # If on Apple Silicon and running into build issues, Use arm64v8/maven:3.6.3-jdk-11 4 | # For context: https://jira.plaid.com/browse/DEVBUILD-106 5 | 6 | # Create app directory 7 | WORKDIR /usr/src/app 8 | 9 | # Copy app to directory 10 | COPY . /usr/src/app 11 | 12 | CMD ["mvn", "-Dmaven.javadoc.skip=true", "verify", "-e"] 13 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2021 Plaid Inc. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/ServerConfiguration.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client; 2 | 3 | import java.util.Map; 4 | 5 | /** 6 | * Representing a Server configuration. 7 | */ 8 | public class ServerConfiguration { 9 | public String URL; 10 | public String description; 11 | public Map variables; 12 | 13 | /** 14 | * @param URL A URL to the target host. 15 | * @param description A describtion of the host designated by the URL. 16 | * @param variables A map between a variable name and its value. The value is used for substitution in the server's URL template. 17 | */ 18 | public ServerConfiguration(String URL, String description, Map variables) { 19 | this.URL = URL; 20 | this.description = description; 21 | this.variables = variables; 22 | } 23 | 24 | /** 25 | * Format URL template using given variables. 26 | * 27 | * @param variables A map between a variable name and its value. 28 | * @return Formatted URL. 29 | */ 30 | public String URL(Map variables) { 31 | String url = this.URL; 32 | 33 | // go through variables and replace placeholders 34 | for (Map.Entry variable: this.variables.entrySet()) { 35 | String name = variable.getKey(); 36 | ServerVariable serverVariable = variable.getValue(); 37 | String value = serverVariable.defaultValue; 38 | 39 | if (variables != null && variables.containsKey(name)) { 40 | value = variables.get(name); 41 | if (serverVariable.enumValues.size() > 0 && !serverVariable.enumValues.contains(value)) { 42 | throw new RuntimeException("The variable " + name + " in the server URL has invalid value " + value + "."); 43 | } 44 | } 45 | url = url.replaceAll("\\{" + name + "\\}", value); 46 | } 47 | return url; 48 | } 49 | 50 | /** 51 | * Format URL template using default server variables. 52 | * 53 | * @return Formatted URL. 54 | */ 55 | public String URL() { 56 | return URL(null); 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/ServerVariable.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client; 2 | 3 | import java.util.HashSet; 4 | 5 | /** 6 | * Representing a Server Variable for server URL template substitution. 7 | */ 8 | public class ServerVariable { 9 | public String description; 10 | public String defaultValue; 11 | public HashSet enumValues = null; 12 | 13 | /** 14 | * @param description A description for the server variable. 15 | * @param defaultValue The default value to use for substitution. 16 | * @param enumValues An enumeration of string values to be used if the substitution options are from a limited set. 17 | */ 18 | public ServerVariable(String description, String defaultValue, HashSet enumValues) { 19 | this.description = description; 20 | this.defaultValue = defaultValue; 21 | this.enumValues = enumValues; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/auth/ApiKeyAuth.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.auth; 2 | 3 | import java.io.IOException; 4 | import java.net.URI; 5 | import java.net.URISyntaxException; 6 | 7 | import okhttp3.Interceptor; 8 | import okhttp3.Request; 9 | import okhttp3.Response; 10 | 11 | public class ApiKeyAuth implements Interceptor { 12 | private final String location; 13 | private final String paramName; 14 | 15 | private String apiKey; 16 | 17 | public ApiKeyAuth(String location, String paramName) { 18 | this.location = location; 19 | this.paramName = paramName; 20 | } 21 | 22 | public String getLocation() { 23 | return location; 24 | } 25 | 26 | public String getParamName() { 27 | return paramName; 28 | } 29 | 30 | public String getApiKey() { 31 | return apiKey; 32 | } 33 | 34 | public void setApiKey(String apiKey) { 35 | this.apiKey = apiKey; 36 | } 37 | 38 | @Override 39 | public Response intercept(Chain chain) throws IOException { 40 | String paramValue; 41 | Request request = chain.request(); 42 | 43 | if ("query".equals(location)) { 44 | String newQuery = request.url().uri().getQuery(); 45 | paramValue = paramName + "=" + apiKey; 46 | if (newQuery == null) { 47 | newQuery = paramValue; 48 | } else { 49 | newQuery += "&" + paramValue; 50 | } 51 | 52 | URI newUri; 53 | try { 54 | newUri = new URI(request.url().uri().getScheme(), request.url().uri().getAuthority(), 55 | request.url().uri().getPath(), newQuery, request.url().uri().getFragment()); 56 | } catch (URISyntaxException e) { 57 | throw new IOException(e); 58 | } 59 | 60 | request = request.newBuilder().url(newUri.toURL()).build(); 61 | } else if ("header".equals(location)) { 62 | request = request.newBuilder() 63 | .addHeader(paramName, apiKey) 64 | .build(); 65 | } else if ("cookie".equals(location)) { 66 | request = request.newBuilder() 67 | .addHeader("Cookie", String.format("%s=%s", paramName, apiKey)) 68 | .build(); 69 | } 70 | return chain.proceed(request); 71 | } 72 | } 73 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/auth/HttpBasicAuth.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.auth; 2 | 3 | import java.io.IOException; 4 | 5 | import okhttp3.Interceptor; 6 | import okhttp3.OkHttpClient; 7 | import okhttp3.Request; 8 | import okhttp3.Response; 9 | import okhttp3.Credentials; 10 | 11 | public class HttpBasicAuth implements Interceptor { 12 | 13 | private String username; 14 | private String password; 15 | 16 | public String getUsername() { 17 | return username; 18 | } 19 | 20 | public void setUsername(String username) { 21 | this.username = username; 22 | } 23 | 24 | public String getPassword() { 25 | return password; 26 | } 27 | 28 | public void setPassword(String password) { 29 | this.password = password; 30 | } 31 | 32 | public void setCredentials(String username, String password) { 33 | this.username = username; 34 | this.password = password; 35 | } 36 | 37 | @Override 38 | public Response intercept(Chain chain) throws IOException { 39 | Request request = chain.request(); 40 | 41 | // If the request already have an authorization (eg. Basic auth), do nothing 42 | if (request.header("Authorization") == null) { 43 | String credentials = Credentials.basic(username, password); 44 | request = request.newBuilder() 45 | .addHeader("Authorization", credentials) 46 | .build(); 47 | } 48 | return chain.proceed(request); 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/auth/HttpBearerAuth.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.auth; 2 | 3 | import java.io.IOException; 4 | 5 | import okhttp3.Interceptor; 6 | import okhttp3.Request; 7 | import okhttp3.Response; 8 | 9 | public class HttpBearerAuth implements Interceptor { 10 | private final String scheme; 11 | private String bearerToken; 12 | 13 | public HttpBearerAuth(String scheme) { 14 | this.scheme = scheme; 15 | } 16 | 17 | public String getBearerToken() { 18 | return bearerToken; 19 | } 20 | 21 | public void setBearerToken(String bearerToken) { 22 | this.bearerToken = bearerToken; 23 | } 24 | 25 | @Override 26 | public Response intercept(Chain chain) throws IOException { 27 | Request request = chain.request(); 28 | 29 | // If the request already have an authorization (eg. Basic auth), do nothing 30 | if (request.header("Authorization") == null && bearerToken != null) { 31 | request = request.newBuilder() 32 | .addHeader("Authorization", (scheme != null ? upperCaseBearer(scheme) + " " : "") + bearerToken) 33 | .build(); 34 | } 35 | return chain.proceed(request); 36 | } 37 | 38 | private static String upperCaseBearer(String scheme) { 39 | return ("bearer".equalsIgnoreCase(scheme)) ? "Bearer" : scheme; 40 | } 41 | 42 | } 43 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/ActionState.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * Enum representing the state of the action/activity. 29 | */ 30 | @JsonAdapter(ActionState.Adapter.class) 31 | public enum ActionState { 32 | 33 | UNKNOWN("UNKNOWN"), 34 | 35 | ATTEMPT("ATTEMPT"), 36 | 37 | SUCCESS("SUCCESS"), 38 | 39 | FAILURE("FAILURE"), 40 | 41 | SKIPPED("SKIPPED"), 42 | 43 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 44 | // Try upgrading your client-library version. 45 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 46 | 47 | private String value; 48 | 49 | ActionState(String value) { 50 | this.value = value; 51 | } 52 | 53 | public String getValue() { 54 | return value; 55 | } 56 | 57 | @Override 58 | public String toString() { 59 | return String.valueOf(value); 60 | } 61 | 62 | public static ActionState fromValue(String value) { 63 | for (ActionState b : ActionState.values()) { 64 | if (b.value.equals(value)) { 65 | return b; 66 | } 67 | } 68 | 69 | return ActionState.ENUM_UNKNOWN; 70 | } 71 | 72 | public static class Adapter extends TypeAdapter { 73 | @Override 74 | public void write(final JsonWriter jsonWriter, final ActionState enumeration) throws IOException { 75 | jsonWriter.value(enumeration.getValue()); 76 | } 77 | 78 | @Override 79 | public ActionState read(final JsonReader jsonReader) throws IOException { 80 | String value = jsonReader.nextString(); 81 | return ActionState.fromValue(value); 82 | } 83 | } 84 | } 85 | 86 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/AssetReportAddOns.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * Add-ons that should be included in the Asset Report. `investments`: The Investments add-on `fast_assets`: The Fast Assets add-on 29 | */ 30 | @JsonAdapter(AssetReportAddOns.Adapter.class) 31 | public enum AssetReportAddOns { 32 | 33 | INVESTMENTS("investments"), 34 | 35 | FAST_ASSETS("fast_assets"), 36 | 37 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 38 | // Try upgrading your client-library version. 39 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 40 | 41 | private String value; 42 | 43 | AssetReportAddOns(String value) { 44 | this.value = value; 45 | } 46 | 47 | public String getValue() { 48 | return value; 49 | } 50 | 51 | @Override 52 | public String toString() { 53 | return String.valueOf(value); 54 | } 55 | 56 | public static AssetReportAddOns fromValue(String value) { 57 | for (AssetReportAddOns b : AssetReportAddOns.values()) { 58 | if (b.value.equals(value)) { 59 | return b; 60 | } 61 | } 62 | 63 | return AssetReportAddOns.ENUM_UNKNOWN; 64 | } 65 | 66 | public static class Adapter extends TypeAdapter { 67 | @Override 68 | public void write(final JsonWriter jsonWriter, final AssetReportAddOns enumeration) throws IOException { 69 | jsonWriter.value(enumeration.getValue()); 70 | } 71 | 72 | @Override 73 | public AssetReportAddOns read(final JsonReader jsonReader) throws IOException { 74 | String value = jsonReader.nextString(); 75 | return AssetReportAddOns.fromValue(value); 76 | } 77 | } 78 | } 79 | 80 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/AssetReportType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * Indicates either a Fast Asset Report, which will contain only current identity and balance information, or a Full Asset Report, which will also contain historical balance information and transaction data. 29 | */ 30 | @JsonAdapter(AssetReportType.Adapter.class) 31 | public enum AssetReportType { 32 | 33 | FULL("FULL"), 34 | 35 | FAST("FAST"), 36 | 37 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 38 | // Try upgrading your client-library version. 39 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 40 | 41 | private String value; 42 | 43 | AssetReportType(String value) { 44 | this.value = value; 45 | } 46 | 47 | public String getValue() { 48 | return value; 49 | } 50 | 51 | @Override 52 | public String toString() { 53 | return String.valueOf(value); 54 | } 55 | 56 | public static AssetReportType fromValue(String value) { 57 | for (AssetReportType b : AssetReportType.values()) { 58 | if (b.value.equals(value)) { 59 | return b; 60 | } 61 | } 62 | 63 | return AssetReportType.ENUM_UNKNOWN; 64 | } 65 | 66 | public static class Adapter extends TypeAdapter { 67 | @Override 68 | public void write(final JsonWriter jsonWriter, final AssetReportType enumeration) throws IOException { 69 | jsonWriter.value(enumeration.getValue()); 70 | } 71 | 72 | @Override 73 | public AssetReportType read(final JsonReader jsonReader) throws IOException { 74 | String value = jsonReader.nextString(); 75 | return AssetReportType.fromValue(value); 76 | } 77 | } 78 | } 79 | 80 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/AssetTransactionType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * Asset Transaction Type. 29 | */ 30 | @JsonAdapter(AssetTransactionType.Adapter.class) 31 | public enum AssetTransactionType { 32 | 33 | CREDIT("Credit"), 34 | 35 | DEBIT("Debit"), 36 | 37 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 38 | // Try upgrading your client-library version. 39 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 40 | 41 | private String value; 42 | 43 | AssetTransactionType(String value) { 44 | this.value = value; 45 | } 46 | 47 | public String getValue() { 48 | return value; 49 | } 50 | 51 | @Override 52 | public String toString() { 53 | return String.valueOf(value); 54 | } 55 | 56 | public static AssetTransactionType fromValue(String value) { 57 | for (AssetTransactionType b : AssetTransactionType.values()) { 58 | if (b.value.equals(value)) { 59 | return b; 60 | } 61 | } 62 | 63 | return AssetTransactionType.ENUM_UNKNOWN; 64 | } 65 | 66 | public static class Adapter extends TypeAdapter { 67 | @Override 68 | public void write(final JsonWriter jsonWriter, final AssetTransactionType enumeration) throws IOException { 69 | jsonWriter.value(enumeration.getValue()); 70 | } 71 | 72 | @Override 73 | public AssetTransactionType read(final JsonReader jsonReader) throws IOException { 74 | String value = jsonReader.nextString(); 75 | return AssetTransactionType.fromValue(value); 76 | } 77 | } 78 | } 79 | 80 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/AuthUpdateTypes.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The possible types of auth data that may have changed. 29 | */ 30 | @JsonAdapter(AuthUpdateTypes.Adapter.class) 31 | public enum AuthUpdateTypes { 32 | 33 | ACCOUNT_NUMBER("ACCOUNT_NUMBER"), 34 | 35 | ROUTING_NUMBER("ROUTING_NUMBER"), 36 | 37 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 38 | // Try upgrading your client-library version. 39 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 40 | 41 | private String value; 42 | 43 | AuthUpdateTypes(String value) { 44 | this.value = value; 45 | } 46 | 47 | public String getValue() { 48 | return value; 49 | } 50 | 51 | @Override 52 | public String toString() { 53 | return String.valueOf(value); 54 | } 55 | 56 | public static AuthUpdateTypes fromValue(String value) { 57 | for (AuthUpdateTypes b : AuthUpdateTypes.values()) { 58 | if (b.value.equals(value)) { 59 | return b; 60 | } 61 | } 62 | 63 | return AuthUpdateTypes.ENUM_UNKNOWN; 64 | } 65 | 66 | public static class Adapter extends TypeAdapter { 67 | @Override 68 | public void write(final JsonWriter jsonWriter, final AuthUpdateTypes enumeration) throws IOException { 69 | jsonWriter.value(enumeration.getValue()); 70 | } 71 | 72 | @Override 73 | public AuthUpdateTypes read(final JsonReader jsonReader) throws IOException { 74 | String value = jsonReader.nextString(); 75 | return AuthUpdateTypes.fromValue(value); 76 | } 77 | } 78 | } 79 | 80 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/BankTransferDirection.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * Indicates the direction of the transfer: `outbound` for API-initiated transfers, or `inbound` for payments received by the FBO account. 29 | */ 30 | @JsonAdapter(BankTransferDirection.Adapter.class) 31 | public enum BankTransferDirection { 32 | 33 | OUTBOUND("outbound"), 34 | 35 | INBOUND("inbound"), 36 | 37 | NULL("null"), 38 | 39 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 40 | // Try upgrading your client-library version. 41 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 42 | 43 | private String value; 44 | 45 | BankTransferDirection(String value) { 46 | this.value = value; 47 | } 48 | 49 | public String getValue() { 50 | return value; 51 | } 52 | 53 | @Override 54 | public String toString() { 55 | return String.valueOf(value); 56 | } 57 | 58 | public static BankTransferDirection fromValue(String value) { 59 | for (BankTransferDirection b : BankTransferDirection.values()) { 60 | if (b.value.equals(value)) { 61 | return b; 62 | } 63 | } 64 | return null; } 65 | 66 | public static class Adapter extends TypeAdapter { 67 | @Override 68 | public void write(final JsonWriter jsonWriter, final BankTransferDirection enumeration) throws IOException { 69 | jsonWriter.value(enumeration.getValue()); 70 | } 71 | 72 | @Override 73 | public BankTransferDirection read(final JsonReader jsonReader) throws IOException { 74 | String value = jsonReader.nextString(); 75 | return BankTransferDirection.fromValue(value); 76 | } 77 | } 78 | } 79 | 80 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/BankTransferNetwork.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The network or rails used for the transfer. Valid options are `ach`, `same-day-ach`, or `wire`. 29 | */ 30 | @JsonAdapter(BankTransferNetwork.Adapter.class) 31 | public enum BankTransferNetwork { 32 | 33 | ACH("ach"), 34 | 35 | SAME_DAY_ACH("same-day-ach"), 36 | 37 | WIRE("wire"), 38 | 39 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 40 | // Try upgrading your client-library version. 41 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 42 | 43 | private String value; 44 | 45 | BankTransferNetwork(String value) { 46 | this.value = value; 47 | } 48 | 49 | public String getValue() { 50 | return value; 51 | } 52 | 53 | @Override 54 | public String toString() { 55 | return String.valueOf(value); 56 | } 57 | 58 | public static BankTransferNetwork fromValue(String value) { 59 | for (BankTransferNetwork b : BankTransferNetwork.values()) { 60 | if (b.value.equals(value)) { 61 | return b; 62 | } 63 | } 64 | 65 | return BankTransferNetwork.ENUM_UNKNOWN; 66 | } 67 | 68 | public static class Adapter extends TypeAdapter { 69 | @Override 70 | public void write(final JsonWriter jsonWriter, final BankTransferNetwork enumeration) throws IOException { 71 | jsonWriter.value(enumeration.getValue()); 72 | } 73 | 74 | @Override 75 | public BankTransferNetwork read(final JsonReader jsonReader) throws IOException { 76 | String value = jsonReader.nextString(); 77 | return BankTransferNetwork.fromValue(value); 78 | } 79 | } 80 | } 81 | 82 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/BankTransferStatus.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The status of the transfer. 29 | */ 30 | @JsonAdapter(BankTransferStatus.Adapter.class) 31 | public enum BankTransferStatus { 32 | 33 | PENDING("pending"), 34 | 35 | POSTED("posted"), 36 | 37 | CANCELLED("cancelled"), 38 | 39 | FAILED("failed"), 40 | 41 | REVERSED("reversed"), 42 | 43 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 44 | // Try upgrading your client-library version. 45 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 46 | 47 | private String value; 48 | 49 | BankTransferStatus(String value) { 50 | this.value = value; 51 | } 52 | 53 | public String getValue() { 54 | return value; 55 | } 56 | 57 | @Override 58 | public String toString() { 59 | return String.valueOf(value); 60 | } 61 | 62 | public static BankTransferStatus fromValue(String value) { 63 | for (BankTransferStatus b : BankTransferStatus.values()) { 64 | if (b.value.equals(value)) { 65 | return b; 66 | } 67 | } 68 | 69 | return BankTransferStatus.ENUM_UNKNOWN; 70 | } 71 | 72 | public static class Adapter extends TypeAdapter { 73 | @Override 74 | public void write(final JsonWriter jsonWriter, final BankTransferStatus enumeration) throws IOException { 75 | jsonWriter.value(enumeration.getValue()); 76 | } 77 | 78 | @Override 79 | public BankTransferStatus read(final JsonReader jsonReader) throws IOException { 80 | String value = jsonReader.nextString(); 81 | return BankTransferStatus.fromValue(value); 82 | } 83 | } 84 | } 85 | 86 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/CashflowAttributesVersion.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The version of cashflow attributes 29 | */ 30 | @JsonAdapter(CashflowAttributesVersion.Adapter.class) 31 | public enum CashflowAttributesVersion { 32 | 33 | V1_0("v1.0"), 34 | 35 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 36 | // Try upgrading your client-library version. 37 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 38 | 39 | private String value; 40 | 41 | CashflowAttributesVersion(String value) { 42 | this.value = value; 43 | } 44 | 45 | public String getValue() { 46 | return value; 47 | } 48 | 49 | @Override 50 | public String toString() { 51 | return String.valueOf(value); 52 | } 53 | 54 | public static CashflowAttributesVersion fromValue(String value) { 55 | for (CashflowAttributesVersion b : CashflowAttributesVersion.values()) { 56 | if (b.value.equals(value)) { 57 | return b; 58 | } 59 | } 60 | return null; } 61 | 62 | public static class Adapter extends TypeAdapter { 63 | @Override 64 | public void write(final JsonWriter jsonWriter, final CashflowAttributesVersion enumeration) throws IOException { 65 | jsonWriter.value(enumeration.getValue()); 66 | } 67 | 68 | @Override 69 | public CashflowAttributesVersion read(final JsonReader jsonReader) throws IOException { 70 | String value = jsonReader.nextString(); 71 | return CashflowAttributesVersion.fromValue(value); 72 | } 73 | } 74 | } 75 | 76 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/ConsentEventCode.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * Codes describing the object of a consent event. 29 | */ 30 | @JsonAdapter(ConsentEventCode.Adapter.class) 31 | public enum ConsentEventCode { 32 | 33 | USER_AGREEMENT("USER_AGREEMENT"), 34 | 35 | USE_CASES("USE_CASES"), 36 | 37 | DATA_SCOPES("DATA_SCOPES"), 38 | 39 | ACCOUNT_SCOPES("ACCOUNT_SCOPES"), 40 | 41 | REVOCATION("REVOCATION"), 42 | 43 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 44 | // Try upgrading your client-library version. 45 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 46 | 47 | private String value; 48 | 49 | ConsentEventCode(String value) { 50 | this.value = value; 51 | } 52 | 53 | public String getValue() { 54 | return value; 55 | } 56 | 57 | @Override 58 | public String toString() { 59 | return String.valueOf(value); 60 | } 61 | 62 | public static ConsentEventCode fromValue(String value) { 63 | for (ConsentEventCode b : ConsentEventCode.values()) { 64 | if (b.value.equals(value)) { 65 | return b; 66 | } 67 | } 68 | 69 | return ConsentEventCode.ENUM_UNKNOWN; 70 | } 71 | 72 | public static class Adapter extends TypeAdapter { 73 | @Override 74 | public void write(final JsonWriter jsonWriter, final ConsentEventCode enumeration) throws IOException { 75 | jsonWriter.value(enumeration.getValue()); 76 | } 77 | 78 | @Override 79 | public ConsentEventCode read(final JsonReader jsonReader) throws IOException { 80 | String value = jsonReader.nextString(); 81 | return ConsentEventCode.fromValue(value); 82 | } 83 | } 84 | } 85 | 86 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/ConsentEventInitiator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The entity that initiated collection of consent. 29 | */ 30 | @JsonAdapter(ConsentEventInitiator.Adapter.class) 31 | public enum ConsentEventInitiator { 32 | 33 | PLAID("PLAID"), 34 | 35 | DATA_PROVIDER("DATA_PROVIDER"), 36 | 37 | CUSTOMER("CUSTOMER"), 38 | 39 | END_USER("END_USER"), 40 | 41 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 42 | // Try upgrading your client-library version. 43 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 44 | 45 | private String value; 46 | 47 | ConsentEventInitiator(String value) { 48 | this.value = value; 49 | } 50 | 51 | public String getValue() { 52 | return value; 53 | } 54 | 55 | @Override 56 | public String toString() { 57 | return String.valueOf(value); 58 | } 59 | 60 | public static ConsentEventInitiator fromValue(String value) { 61 | for (ConsentEventInitiator b : ConsentEventInitiator.values()) { 62 | if (b.value.equals(value)) { 63 | return b; 64 | } 65 | } 66 | 67 | return ConsentEventInitiator.ENUM_UNKNOWN; 68 | } 69 | 70 | public static class Adapter extends TypeAdapter { 71 | @Override 72 | public void write(final JsonWriter jsonWriter, final ConsentEventInitiator enumeration) throws IOException { 73 | jsonWriter.value(enumeration.getValue()); 74 | } 75 | 76 | @Override 77 | public ConsentEventInitiator read(final JsonReader jsonReader) throws IOException { 78 | String value = jsonReader.nextString(); 79 | return ConsentEventInitiator.fromValue(value); 80 | } 81 | } 82 | } 83 | 84 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/ConsentEventType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * A broad categorization of the consent event. 29 | */ 30 | @JsonAdapter(ConsentEventType.Adapter.class) 31 | public enum ConsentEventType { 32 | 33 | GRANTED("CONSENT_GRANTED"), 34 | 35 | REVOKED("CONSENT_REVOKED"), 36 | 37 | UPDATED("CONSENT_UPDATED"), 38 | 39 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 40 | // Try upgrading your client-library version. 41 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 42 | 43 | private String value; 44 | 45 | ConsentEventType(String value) { 46 | this.value = value; 47 | } 48 | 49 | public String getValue() { 50 | return value; 51 | } 52 | 53 | @Override 54 | public String toString() { 55 | return String.valueOf(value); 56 | } 57 | 58 | public static ConsentEventType fromValue(String value) { 59 | for (ConsentEventType b : ConsentEventType.values()) { 60 | if (b.value.equals(value)) { 61 | return b; 62 | } 63 | } 64 | 65 | return ConsentEventType.ENUM_UNKNOWN; 66 | } 67 | 68 | public static class Adapter extends TypeAdapter { 69 | @Override 70 | public void write(final JsonWriter jsonWriter, final ConsentEventType enumeration) throws IOException { 71 | jsonWriter.value(enumeration.getValue()); 72 | } 73 | 74 | @Override 75 | public ConsentEventType read(final JsonReader jsonReader) throws IOException { 76 | String value = jsonReader.nextString(); 77 | return ConsentEventType.fromValue(value); 78 | } 79 | } 80 | } 81 | 82 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/ConsumerDisputeCategory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * Type of data being disputed by the consumer 29 | */ 30 | @JsonAdapter(ConsumerDisputeCategory.Adapter.class) 31 | public enum ConsumerDisputeCategory { 32 | 33 | TRANSACTION("TRANSACTION"), 34 | 35 | BALANCE("BALANCE"), 36 | 37 | IDENTITY("IDENTITY"), 38 | 39 | OTHER("OTHER"), 40 | 41 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 42 | // Try upgrading your client-library version. 43 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 44 | 45 | private String value; 46 | 47 | ConsumerDisputeCategory(String value) { 48 | this.value = value; 49 | } 50 | 51 | public String getValue() { 52 | return value; 53 | } 54 | 55 | @Override 56 | public String toString() { 57 | return String.valueOf(value); 58 | } 59 | 60 | public static ConsumerDisputeCategory fromValue(String value) { 61 | for (ConsumerDisputeCategory b : ConsumerDisputeCategory.values()) { 62 | if (b.value.equals(value)) { 63 | return b; 64 | } 65 | } 66 | 67 | return ConsumerDisputeCategory.ENUM_UNKNOWN; 68 | } 69 | 70 | public static class Adapter extends TypeAdapter { 71 | @Override 72 | public void write(final JsonWriter jsonWriter, final ConsumerDisputeCategory enumeration) throws IOException { 73 | jsonWriter.value(enumeration.getValue()); 74 | } 75 | 76 | @Override 77 | public ConsumerDisputeCategory read(final JsonReader jsonReader) throws IOException { 78 | String value = jsonReader.nextString(); 79 | return ConsumerDisputeCategory.fromValue(value); 80 | } 81 | } 82 | } 83 | 84 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/CraLoanApplicationDecision.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The decision of the loan application. 29 | */ 30 | @JsonAdapter(CraLoanApplicationDecision.Adapter.class) 31 | public enum CraLoanApplicationDecision { 32 | 33 | APPROVED("APPROVED"), 34 | 35 | DECLINED("DECLINED"), 36 | 37 | OTHER("OTHER"), 38 | 39 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 40 | // Try upgrading your client-library version. 41 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 42 | 43 | private String value; 44 | 45 | CraLoanApplicationDecision(String value) { 46 | this.value = value; 47 | } 48 | 49 | public String getValue() { 50 | return value; 51 | } 52 | 53 | @Override 54 | public String toString() { 55 | return String.valueOf(value); 56 | } 57 | 58 | public static CraLoanApplicationDecision fromValue(String value) { 59 | for (CraLoanApplicationDecision b : CraLoanApplicationDecision.values()) { 60 | if (b.value.equals(value)) { 61 | return b; 62 | } 63 | } 64 | 65 | return CraLoanApplicationDecision.ENUM_UNKNOWN; 66 | } 67 | 68 | public static class Adapter extends TypeAdapter { 69 | @Override 70 | public void write(final JsonWriter jsonWriter, final CraLoanApplicationDecision enumeration) throws IOException { 71 | jsonWriter.value(enumeration.getValue()); 72 | } 73 | 74 | @Override 75 | public CraLoanApplicationDecision read(final JsonReader jsonReader) throws IOException { 76 | String value = jsonReader.nextString(); 77 | return CraLoanApplicationDecision.fromValue(value); 78 | } 79 | } 80 | } 81 | 82 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/CraPDFAddOns.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * A list of add-ons that can be included in the PDF. `cra_income_insights`: Include Income Insights report in the PDF. 29 | */ 30 | @JsonAdapter(CraPDFAddOns.Adapter.class) 31 | public enum CraPDFAddOns { 32 | 33 | CRA_INCOME_INSIGHTS("cra_income_insights"), 34 | 35 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 36 | // Try upgrading your client-library version. 37 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 38 | 39 | private String value; 40 | 41 | CraPDFAddOns(String value) { 42 | this.value = value; 43 | } 44 | 45 | public String getValue() { 46 | return value; 47 | } 48 | 49 | @Override 50 | public String toString() { 51 | return String.valueOf(value); 52 | } 53 | 54 | public static CraPDFAddOns fromValue(String value) { 55 | for (CraPDFAddOns b : CraPDFAddOns.values()) { 56 | if (b.value.equals(value)) { 57 | return b; 58 | } 59 | } 60 | 61 | return CraPDFAddOns.ENUM_UNKNOWN; 62 | } 63 | 64 | public static class Adapter extends TypeAdapter { 65 | @Override 66 | public void write(final JsonWriter jsonWriter, final CraPDFAddOns enumeration) throws IOException { 67 | jsonWriter.value(enumeration.getValue()); 68 | } 69 | 70 | @Override 71 | public CraPDFAddOns read(final JsonReader jsonReader) throws IOException { 72 | String value = jsonReader.nextString(); 73 | return CraPDFAddOns.fromValue(value); 74 | } 75 | } 76 | } 77 | 78 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/CreditBankIncomeAccountType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The account type. This will always be `depository`. 29 | */ 30 | @JsonAdapter(CreditBankIncomeAccountType.Adapter.class) 31 | public enum CreditBankIncomeAccountType { 32 | 33 | DEPOSITORY("depository"), 34 | 35 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 36 | // Try upgrading your client-library version. 37 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 38 | 39 | private String value; 40 | 41 | CreditBankIncomeAccountType(String value) { 42 | this.value = value; 43 | } 44 | 45 | public String getValue() { 46 | return value; 47 | } 48 | 49 | @Override 50 | public String toString() { 51 | return String.valueOf(value); 52 | } 53 | 54 | public static CreditBankIncomeAccountType fromValue(String value) { 55 | for (CreditBankIncomeAccountType b : CreditBankIncomeAccountType.values()) { 56 | if (b.value.equals(value)) { 57 | return b; 58 | } 59 | } 60 | 61 | return CreditBankIncomeAccountType.ENUM_UNKNOWN; 62 | } 63 | 64 | public static class Adapter extends TypeAdapter { 65 | @Override 66 | public void write(final JsonWriter jsonWriter, final CreditBankIncomeAccountType enumeration) throws IOException { 67 | jsonWriter.value(enumeration.getValue()); 68 | } 69 | 70 | @Override 71 | public CreditBankIncomeAccountType read(final JsonReader jsonReader) throws IOException { 72 | String value = jsonReader.nextString(); 73 | return CreditBankIncomeAccountType.fromValue(value); 74 | } 75 | } 76 | } 77 | 78 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/CreditBankIncomeWarningType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The warning type which will always be `BANK_INCOME_WARNING`. 29 | */ 30 | @JsonAdapter(CreditBankIncomeWarningType.Adapter.class) 31 | public enum CreditBankIncomeWarningType { 32 | 33 | BANK_INCOME_WARNING("BANK_INCOME_WARNING"), 34 | 35 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 36 | // Try upgrading your client-library version. 37 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 38 | 39 | private String value; 40 | 41 | CreditBankIncomeWarningType(String value) { 42 | this.value = value; 43 | } 44 | 45 | public String getValue() { 46 | return value; 47 | } 48 | 49 | @Override 50 | public String toString() { 51 | return String.valueOf(value); 52 | } 53 | 54 | public static CreditBankIncomeWarningType fromValue(String value) { 55 | for (CreditBankIncomeWarningType b : CreditBankIncomeWarningType.values()) { 56 | if (b.value.equals(value)) { 57 | return b; 58 | } 59 | } 60 | 61 | return CreditBankIncomeWarningType.ENUM_UNKNOWN; 62 | } 63 | 64 | public static class Adapter extends TypeAdapter { 65 | @Override 66 | public void write(final JsonWriter jsonWriter, final CreditBankIncomeWarningType enumeration) throws IOException { 67 | jsonWriter.value(enumeration.getValue()); 68 | } 69 | 70 | @Override 71 | public CreditBankIncomeWarningType read(final JsonReader jsonReader) throws IOException { 72 | String value = jsonReader.nextString(); 73 | return CreditBankIncomeWarningType.fromValue(value); 74 | } 75 | } 76 | } 77 | 78 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/CreditPayStubPayBasisType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The explicit pay basis on the paystub (if present). 29 | */ 30 | @JsonAdapter(CreditPayStubPayBasisType.Adapter.class) 31 | public enum CreditPayStubPayBasisType { 32 | 33 | SALARY("SALARY"), 34 | 35 | HOURLY("HOURLY"), 36 | 37 | COMMISSION("COMMISSION"), 38 | 39 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 40 | // Try upgrading your client-library version. 41 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 42 | 43 | private String value; 44 | 45 | CreditPayStubPayBasisType(String value) { 46 | this.value = value; 47 | } 48 | 49 | public String getValue() { 50 | return value; 51 | } 52 | 53 | @Override 54 | public String toString() { 55 | return String.valueOf(value); 56 | } 57 | 58 | public static CreditPayStubPayBasisType fromValue(String value) { 59 | for (CreditPayStubPayBasisType b : CreditPayStubPayBasisType.values()) { 60 | if (b.value.equals(value)) { 61 | return b; 62 | } 63 | } 64 | 65 | return CreditPayStubPayBasisType.ENUM_UNKNOWN; 66 | } 67 | 68 | public static class Adapter extends TypeAdapter { 69 | @Override 70 | public void write(final JsonWriter jsonWriter, final CreditPayStubPayBasisType enumeration) throws IOException { 71 | jsonWriter.value(enumeration.getValue()); 72 | } 73 | 74 | @Override 75 | public CreditPayStubPayBasisType read(final JsonReader jsonReader) throws IOException { 76 | String value = jsonReader.nextString(); 77 | return CreditPayStubPayBasisType.fromValue(value); 78 | } 79 | } 80 | } 81 | 82 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/DashboardUserStatus.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The current status of the user. 29 | */ 30 | @JsonAdapter(DashboardUserStatus.Adapter.class) 31 | public enum DashboardUserStatus { 32 | 33 | INVITED("invited"), 34 | 35 | ACTIVE("active"), 36 | 37 | DEACTIVATED("deactivated"), 38 | 39 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 40 | // Try upgrading your client-library version. 41 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 42 | 43 | private String value; 44 | 45 | DashboardUserStatus(String value) { 46 | this.value = value; 47 | } 48 | 49 | public String getValue() { 50 | return value; 51 | } 52 | 53 | @Override 54 | public String toString() { 55 | return String.valueOf(value); 56 | } 57 | 58 | public static DashboardUserStatus fromValue(String value) { 59 | for (DashboardUserStatus b : DashboardUserStatus.values()) { 60 | if (b.value.equals(value)) { 61 | return b; 62 | } 63 | } 64 | 65 | return DashboardUserStatus.ENUM_UNKNOWN; 66 | } 67 | 68 | public static class Adapter extends TypeAdapter { 69 | @Override 70 | public void write(final JsonWriter jsonWriter, final DashboardUserStatus enumeration) throws IOException { 71 | jsonWriter.value(enumeration.getValue()); 72 | } 73 | 74 | @Override 75 | public DashboardUserStatus read(final JsonReader jsonReader) throws IOException { 76 | String value = jsonReader.nextString(); 77 | return DashboardUserStatus.fromValue(value); 78 | } 79 | } 80 | } 81 | 82 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/EmploymentSourceType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The types of source employment data that users should be able to share 29 | */ 30 | @JsonAdapter(EmploymentSourceType.Adapter.class) 31 | public enum EmploymentSourceType { 32 | 33 | BANK("bank"), 34 | 35 | PAYROLL("payroll"), 36 | 37 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 38 | // Try upgrading your client-library version. 39 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 40 | 41 | private String value; 42 | 43 | EmploymentSourceType(String value) { 44 | this.value = value; 45 | } 46 | 47 | public String getValue() { 48 | return value; 49 | } 50 | 51 | @Override 52 | public String toString() { 53 | return String.valueOf(value); 54 | } 55 | 56 | public static EmploymentSourceType fromValue(String value) { 57 | for (EmploymentSourceType b : EmploymentSourceType.values()) { 58 | if (b.value.equals(value)) { 59 | return b; 60 | } 61 | } 62 | 63 | return EmploymentSourceType.ENUM_UNKNOWN; 64 | } 65 | 66 | public static class Adapter extends TypeAdapter { 67 | @Override 68 | public void write(final JsonWriter jsonWriter, final EmploymentSourceType enumeration) throws IOException { 69 | jsonWriter.value(enumeration.getValue()); 70 | } 71 | 72 | @Override 73 | public EmploymentSourceType read(final JsonReader jsonReader) throws IOException { 74 | String value = jsonReader.nextString(); 75 | return EmploymentSourceType.fromValue(value); 76 | } 77 | } 78 | } 79 | 80 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/FDXHateoasLinkAction.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * HTTP Method to use for the request 29 | */ 30 | @JsonAdapter(FDXHateoasLinkAction.Adapter.class) 31 | public enum FDXHateoasLinkAction { 32 | 33 | GET("GET"), 34 | 35 | POST("POST"), 36 | 37 | PATCH("PATCH"), 38 | 39 | DELETE("DELETE"), 40 | 41 | PUT("PUT"), 42 | 43 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 44 | // Try upgrading your client-library version. 45 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 46 | 47 | private String value; 48 | 49 | FDXHateoasLinkAction(String value) { 50 | this.value = value; 51 | } 52 | 53 | public String getValue() { 54 | return value; 55 | } 56 | 57 | @Override 58 | public String toString() { 59 | return String.valueOf(value); 60 | } 61 | 62 | public static FDXHateoasLinkAction fromValue(String value) { 63 | for (FDXHateoasLinkAction b : FDXHateoasLinkAction.values()) { 64 | if (b.value.equals(value)) { 65 | return b; 66 | } 67 | } 68 | 69 | return FDXHateoasLinkAction.ENUM_UNKNOWN; 70 | } 71 | 72 | public static class Adapter extends TypeAdapter { 73 | @Override 74 | public void write(final JsonWriter jsonWriter, final FDXHateoasLinkAction enumeration) throws IOException { 75 | jsonWriter.value(enumeration.getValue()); 76 | } 77 | 78 | @Override 79 | public FDXHateoasLinkAction read(final JsonReader jsonReader) throws IOException { 80 | String value = jsonReader.nextString(); 81 | return FDXHateoasLinkAction.fromValue(value); 82 | } 83 | } 84 | } 85 | 86 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/FDXNotificationPriority.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * Priority of notification 29 | */ 30 | @JsonAdapter(FDXNotificationPriority.Adapter.class) 31 | public enum FDXNotificationPriority { 32 | 33 | HIGH("HIGH"), 34 | 35 | MEDIUM("MEDIUM"), 36 | 37 | LOW("LOW"), 38 | 39 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 40 | // Try upgrading your client-library version. 41 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 42 | 43 | private String value; 44 | 45 | FDXNotificationPriority(String value) { 46 | this.value = value; 47 | } 48 | 49 | public String getValue() { 50 | return value; 51 | } 52 | 53 | @Override 54 | public String toString() { 55 | return String.valueOf(value); 56 | } 57 | 58 | public static FDXNotificationPriority fromValue(String value) { 59 | for (FDXNotificationPriority b : FDXNotificationPriority.values()) { 60 | if (b.value.equals(value)) { 61 | return b; 62 | } 63 | } 64 | 65 | return FDXNotificationPriority.ENUM_UNKNOWN; 66 | } 67 | 68 | public static class Adapter extends TypeAdapter { 69 | @Override 70 | public void write(final JsonWriter jsonWriter, final FDXNotificationPriority enumeration) throws IOException { 71 | jsonWriter.value(enumeration.getValue()); 72 | } 73 | 74 | @Override 75 | public FDXNotificationPriority read(final JsonReader jsonReader) throws IOException { 76 | String value = jsonReader.nextString(); 77 | return FDXNotificationPriority.fromValue(value); 78 | } 79 | } 80 | } 81 | 82 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/FDXPartyRegistry.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The registry containing the party’s registration with name and id 29 | */ 30 | @JsonAdapter(FDXPartyRegistry.Adapter.class) 31 | public enum FDXPartyRegistry { 32 | 33 | FDX("FDX"), 34 | 35 | GLEIF("GLEIF"), 36 | 37 | ICANN("ICANN"), 38 | 39 | PRIVATE("PRIVATE"), 40 | 41 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 42 | // Try upgrading your client-library version. 43 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 44 | 45 | private String value; 46 | 47 | FDXPartyRegistry(String value) { 48 | this.value = value; 49 | } 50 | 51 | public String getValue() { 52 | return value; 53 | } 54 | 55 | @Override 56 | public String toString() { 57 | return String.valueOf(value); 58 | } 59 | 60 | public static FDXPartyRegistry fromValue(String value) { 61 | for (FDXPartyRegistry b : FDXPartyRegistry.values()) { 62 | if (b.value.equals(value)) { 63 | return b; 64 | } 65 | } 66 | 67 | return FDXPartyRegistry.ENUM_UNKNOWN; 68 | } 69 | 70 | public static class Adapter extends TypeAdapter { 71 | @Override 72 | public void write(final JsonWriter jsonWriter, final FDXPartyRegistry enumeration) throws IOException { 73 | jsonWriter.value(enumeration.getValue()); 74 | } 75 | 76 | @Override 77 | public FDXPartyRegistry read(final JsonReader jsonReader) throws IOException { 78 | String value = jsonReader.nextString(); 79 | return FDXPartyRegistry.fromValue(value); 80 | } 81 | } 82 | } 83 | 84 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/FDXPartyType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * Identifies the type of a party 29 | */ 30 | @JsonAdapter(FDXPartyType.Adapter.class) 31 | public enum FDXPartyType { 32 | 33 | DATA_ACCESS_PLATFORM("DATA_ACCESS_PLATFORM"), 34 | 35 | DATA_PROVIDER("DATA_PROVIDER"), 36 | 37 | DATA_RECIPIENT("DATA_RECIPIENT"), 38 | 39 | INDIVIDUAL("INDIVIDUAL"), 40 | 41 | MERCHANT("MERCHANT"), 42 | 43 | VENDOR("VENDOR"), 44 | 45 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 46 | // Try upgrading your client-library version. 47 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 48 | 49 | private String value; 50 | 51 | FDXPartyType(String value) { 52 | this.value = value; 53 | } 54 | 55 | public String getValue() { 56 | return value; 57 | } 58 | 59 | @Override 60 | public String toString() { 61 | return String.valueOf(value); 62 | } 63 | 64 | public static FDXPartyType fromValue(String value) { 65 | for (FDXPartyType b : FDXPartyType.values()) { 66 | if (b.value.equals(value)) { 67 | return b; 68 | } 69 | } 70 | 71 | return FDXPartyType.ENUM_UNKNOWN; 72 | } 73 | 74 | public static class Adapter extends TypeAdapter { 75 | @Override 76 | public void write(final JsonWriter jsonWriter, final FDXPartyType enumeration) throws IOException { 77 | jsonWriter.value(enumeration.getValue()); 78 | } 79 | 80 | @Override 81 | public FDXPartyType read(final JsonReader jsonReader) throws IOException { 82 | String value = jsonReader.nextString(); 83 | return FDXPartyType.fromValue(value); 84 | } 85 | } 86 | } 87 | 88 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/Form1099Type.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * Form 1099 Type 29 | */ 30 | @JsonAdapter(Form1099Type.Adapter.class) 31 | public enum Form1099Type { 32 | 33 | UNKNOWN("FORM_1099_TYPE_UNKNOWN"), 34 | 35 | MISC("FORM_1099_TYPE_MISC"), 36 | 37 | K("FORM_1099_TYPE_K"), 38 | 39 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 40 | // Try upgrading your client-library version. 41 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 42 | 43 | private String value; 44 | 45 | Form1099Type(String value) { 46 | this.value = value; 47 | } 48 | 49 | public String getValue() { 50 | return value; 51 | } 52 | 53 | @Override 54 | public String toString() { 55 | return String.valueOf(value); 56 | } 57 | 58 | public static Form1099Type fromValue(String value) { 59 | for (Form1099Type b : Form1099Type.values()) { 60 | if (b.value.equals(value)) { 61 | return b; 62 | } 63 | } 64 | 65 | return Form1099Type.ENUM_UNKNOWN; 66 | } 67 | 68 | public static class Adapter extends TypeAdapter { 69 | @Override 70 | public void write(final JsonWriter jsonWriter, final Form1099Type enumeration) throws IOException { 71 | jsonWriter.value(enumeration.getValue()); 72 | } 73 | 74 | @Override 75 | public Form1099Type read(final JsonReader jsonReader) throws IOException { 76 | String value = jsonReader.nextString(); 77 | return Form1099Type.fromValue(value); 78 | } 79 | } 80 | } 81 | 82 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/FraudCheckOutcome.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The outcome of the fraud check. 29 | */ 30 | @JsonAdapter(FraudCheckOutcome.Adapter.class) 31 | public enum FraudCheckOutcome { 32 | 33 | SUCCESS("success"), 34 | 35 | FAILED("failed"), 36 | 37 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 38 | // Try upgrading your client-library version. 39 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 40 | 41 | private String value; 42 | 43 | FraudCheckOutcome(String value) { 44 | this.value = value; 45 | } 46 | 47 | public String getValue() { 48 | return value; 49 | } 50 | 51 | @Override 52 | public String toString() { 53 | return String.valueOf(value); 54 | } 55 | 56 | public static FraudCheckOutcome fromValue(String value) { 57 | for (FraudCheckOutcome b : FraudCheckOutcome.values()) { 58 | if (b.value.equals(value)) { 59 | return b; 60 | } 61 | } 62 | 63 | return FraudCheckOutcome.ENUM_UNKNOWN; 64 | } 65 | 66 | public static class Adapter extends TypeAdapter { 67 | @Override 68 | public void write(final JsonWriter jsonWriter, final FraudCheckOutcome enumeration) throws IOException { 69 | jsonWriter.value(enumeration.getValue()); 70 | } 71 | 72 | @Override 73 | public FraudCheckOutcome read(final JsonReader jsonReader) throws IOException { 74 | String value = jsonReader.nextString(); 75 | return FraudCheckOutcome.fromValue(value); 76 | } 77 | } 78 | } 79 | 80 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/GSEReportType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The types of GSE Reports supported by the Plaid API 29 | */ 30 | @JsonAdapter(GSEReportType.Adapter.class) 31 | public enum GSEReportType { 32 | 33 | VOA("VOA"), 34 | 35 | VOE("VOE"), 36 | 37 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 38 | // Try upgrading your client-library version. 39 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 40 | 41 | private String value; 42 | 43 | GSEReportType(String value) { 44 | this.value = value; 45 | } 46 | 47 | public String getValue() { 48 | return value; 49 | } 50 | 51 | @Override 52 | public String toString() { 53 | return String.valueOf(value); 54 | } 55 | 56 | public static GSEReportType fromValue(String value) { 57 | for (GSEReportType b : GSEReportType.values()) { 58 | if (b.value.equals(value)) { 59 | return b; 60 | } 61 | } 62 | 63 | return GSEReportType.ENUM_UNKNOWN; 64 | } 65 | 66 | public static class Adapter extends TypeAdapter { 67 | @Override 68 | public void write(final JsonWriter jsonWriter, final GSEReportType enumeration) throws IOException { 69 | jsonWriter.value(enumeration.getValue()); 70 | } 71 | 72 | @Override 73 | public GSEReportType read(final JsonReader jsonReader) throws IOException { 74 | String value = jsonReader.nextString(); 75 | return GSEReportType.fromValue(value); 76 | } 77 | } 78 | } 79 | 80 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/ISOCurrencyCode.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * An ISO-4217 currency code. 29 | */ 30 | @JsonAdapter(ISOCurrencyCode.Adapter.class) 31 | public enum ISOCurrencyCode { 32 | 33 | USD("USD"), 34 | 35 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 36 | // Try upgrading your client-library version. 37 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 38 | 39 | private String value; 40 | 41 | ISOCurrencyCode(String value) { 42 | this.value = value; 43 | } 44 | 45 | public String getValue() { 46 | return value; 47 | } 48 | 49 | @Override 50 | public String toString() { 51 | return String.valueOf(value); 52 | } 53 | 54 | public static ISOCurrencyCode fromValue(String value) { 55 | for (ISOCurrencyCode b : ISOCurrencyCode.values()) { 56 | if (b.value.equals(value)) { 57 | return b; 58 | } 59 | } 60 | 61 | return ISOCurrencyCode.ENUM_UNKNOWN; 62 | } 63 | 64 | public static class Adapter extends TypeAdapter { 65 | @Override 66 | public void write(final JsonWriter jsonWriter, final ISOCurrencyCode enumeration) throws IOException { 67 | jsonWriter.value(enumeration.getValue()); 68 | } 69 | 70 | @Override 71 | public ISOCurrencyCode read(final JsonReader jsonReader) throws IOException { 72 | String value = jsonReader.nextString(); 73 | return ISOCurrencyCode.fromValue(value); 74 | } 75 | } 76 | } 77 | 78 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/IdentityUpdateTypes.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The possible types of identity data that may have changed. 29 | */ 30 | @JsonAdapter(IdentityUpdateTypes.Adapter.class) 31 | public enum IdentityUpdateTypes { 32 | 33 | PHONES("PHONES"), 34 | 35 | ADDRESSES("ADDRESSES"), 36 | 37 | EMAILS("EMAILS"), 38 | 39 | NAMES("NAMES"), 40 | 41 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 42 | // Try upgrading your client-library version. 43 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 44 | 45 | private String value; 46 | 47 | IdentityUpdateTypes(String value) { 48 | this.value = value; 49 | } 50 | 51 | public String getValue() { 52 | return value; 53 | } 54 | 55 | @Override 56 | public String toString() { 57 | return String.valueOf(value); 58 | } 59 | 60 | public static IdentityUpdateTypes fromValue(String value) { 61 | for (IdentityUpdateTypes b : IdentityUpdateTypes.values()) { 62 | if (b.value.equals(value)) { 63 | return b; 64 | } 65 | } 66 | 67 | return IdentityUpdateTypes.ENUM_UNKNOWN; 68 | } 69 | 70 | public static class Adapter extends TypeAdapter { 71 | @Override 72 | public void write(final JsonWriter jsonWriter, final IdentityUpdateTypes enumeration) throws IOException { 73 | jsonWriter.value(enumeration.getValue()); 74 | } 75 | 76 | @Override 77 | public IdentityUpdateTypes read(final JsonReader jsonReader) throws IOException { 78 | String value = jsonReader.nextString(); 79 | return IdentityUpdateTypes.fromValue(value); 80 | } 81 | } 82 | } 83 | 84 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/ImageQualityOutcome.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The outcome of the image quality check. 29 | */ 30 | @JsonAdapter(ImageQualityOutcome.Adapter.class) 31 | public enum ImageQualityOutcome { 32 | 33 | SUCCESS("success"), 34 | 35 | FAILED("failed"), 36 | 37 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 38 | // Try upgrading your client-library version. 39 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 40 | 41 | private String value; 42 | 43 | ImageQualityOutcome(String value) { 44 | this.value = value; 45 | } 46 | 47 | public String getValue() { 48 | return value; 49 | } 50 | 51 | @Override 52 | public String toString() { 53 | return String.valueOf(value); 54 | } 55 | 56 | public static ImageQualityOutcome fromValue(String value) { 57 | for (ImageQualityOutcome b : ImageQualityOutcome.values()) { 58 | if (b.value.equals(value)) { 59 | return b; 60 | } 61 | } 62 | 63 | return ImageQualityOutcome.ENUM_UNKNOWN; 64 | } 65 | 66 | public static class Adapter extends TypeAdapter { 67 | @Override 68 | public void write(final JsonWriter jsonWriter, final ImageQualityOutcome enumeration) throws IOException { 69 | jsonWriter.value(enumeration.getValue()); 70 | } 71 | 72 | @Override 73 | public ImageQualityOutcome read(final JsonReader jsonReader) throws IOException { 74 | String value = jsonReader.nextString(); 75 | return ImageQualityOutcome.fromValue(value); 76 | } 77 | } 78 | } 79 | 80 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/IncomeVerificationSourceType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The types of source income data that users should be able to share 29 | */ 30 | @JsonAdapter(IncomeVerificationSourceType.Adapter.class) 31 | public enum IncomeVerificationSourceType { 32 | 33 | BANK("bank"), 34 | 35 | PAYROLL("payroll"), 36 | 37 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 38 | // Try upgrading your client-library version. 39 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 40 | 41 | private String value; 42 | 43 | IncomeVerificationSourceType(String value) { 44 | this.value = value; 45 | } 46 | 47 | public String getValue() { 48 | return value; 49 | } 50 | 51 | @Override 52 | public String toString() { 53 | return String.valueOf(value); 54 | } 55 | 56 | public static IncomeVerificationSourceType fromValue(String value) { 57 | for (IncomeVerificationSourceType b : IncomeVerificationSourceType.values()) { 58 | if (b.value.equals(value)) { 59 | return b; 60 | } 61 | } 62 | 63 | return IncomeVerificationSourceType.ENUM_UNKNOWN; 64 | } 65 | 66 | public static class Adapter extends TypeAdapter { 67 | @Override 68 | public void write(final JsonWriter jsonWriter, final IncomeVerificationSourceType enumeration) throws IOException { 69 | jsonWriter.value(enumeration.getValue()); 70 | } 71 | 72 | @Override 73 | public IncomeVerificationSourceType read(final JsonReader jsonReader) throws IOException { 74 | String value = jsonReader.nextString(); 75 | return IncomeVerificationSourceType.fromValue(value); 76 | } 77 | } 78 | } 79 | 80 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/IssuesStatus.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The current status of the issue. 29 | */ 30 | @JsonAdapter(IssuesStatus.Adapter.class) 31 | public enum IssuesStatus { 32 | 33 | REPORTED("REPORTED"), 34 | 35 | AWAITING_RESOLUTION("AWAITING_RESOLUTION"), 36 | 37 | FIX_IN_PROGRESS("FIX_IN_PROGRESS"), 38 | 39 | FIX_PENDING_VALIDATION("FIX_PENDING_VALIDATION"), 40 | 41 | CANNOT_FIX("CANNOT_FIX"), 42 | 43 | RESOLVED("RESOLVED"), 44 | 45 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 46 | // Try upgrading your client-library version. 47 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 48 | 49 | private String value; 50 | 51 | IssuesStatus(String value) { 52 | this.value = value; 53 | } 54 | 55 | public String getValue() { 56 | return value; 57 | } 58 | 59 | @Override 60 | public String toString() { 61 | return String.valueOf(value); 62 | } 63 | 64 | public static IssuesStatus fromValue(String value) { 65 | for (IssuesStatus b : IssuesStatus.values()) { 66 | if (b.value.equals(value)) { 67 | return b; 68 | } 69 | } 70 | 71 | return IssuesStatus.ENUM_UNKNOWN; 72 | } 73 | 74 | public static class Adapter extends TypeAdapter { 75 | @Override 76 | public void write(final JsonWriter jsonWriter, final IssuesStatus enumeration) throws IOException { 77 | jsonWriter.value(enumeration.getValue()); 78 | } 79 | 80 | @Override 81 | public IssuesStatus read(final JsonReader jsonReader) throws IOException { 82 | String value = jsonReader.nextString(); 83 | return IssuesStatus.fromValue(value); 84 | } 85 | } 86 | } 87 | 88 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/ItemCreateAuthentication.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * Enum representing the entity authenticating the user. 29 | */ 30 | @JsonAdapter(ItemCreateAuthentication.Adapter.class) 31 | public enum ItemCreateAuthentication { 32 | 33 | UNKNOWN("UNKNOWN"), 34 | 35 | DATA_PARTNER("DATA_PARTNER"), 36 | 37 | PLAID("PLAID"), 38 | 39 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 40 | // Try upgrading your client-library version. 41 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 42 | 43 | private String value; 44 | 45 | ItemCreateAuthentication(String value) { 46 | this.value = value; 47 | } 48 | 49 | public String getValue() { 50 | return value; 51 | } 52 | 53 | @Override 54 | public String toString() { 55 | return String.valueOf(value); 56 | } 57 | 58 | public static ItemCreateAuthentication fromValue(String value) { 59 | for (ItemCreateAuthentication b : ItemCreateAuthentication.values()) { 60 | if (b.value.equals(value)) { 61 | return b; 62 | } 63 | } 64 | 65 | return ItemCreateAuthentication.ENUM_UNKNOWN; 66 | } 67 | 68 | public static class Adapter extends TypeAdapter { 69 | @Override 70 | public void write(final JsonWriter jsonWriter, final ItemCreateAuthentication enumeration) throws IOException { 71 | jsonWriter.value(enumeration.getValue()); 72 | } 73 | 74 | @Override 75 | public ItemCreateAuthentication read(final JsonReader jsonReader) throws IOException { 76 | String value = jsonReader.nextString(); 77 | return ItemCreateAuthentication.fromValue(value); 78 | } 79 | } 80 | } 81 | 82 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/LoanIdentifierType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * A value from a MISMO prescribed list that specifies the type of loan identifier. 29 | */ 30 | @JsonAdapter(LoanIdentifierType.Adapter.class) 31 | public enum LoanIdentifierType { 32 | 33 | LENDERLOAN("LenderLoan"), 34 | 35 | UNIVERSALLOAN("UniversalLoan"), 36 | 37 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 38 | // Try upgrading your client-library version. 39 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 40 | 41 | private String value; 42 | 43 | LoanIdentifierType(String value) { 44 | this.value = value; 45 | } 46 | 47 | public String getValue() { 48 | return value; 49 | } 50 | 51 | @Override 52 | public String toString() { 53 | return String.valueOf(value); 54 | } 55 | 56 | public static LoanIdentifierType fromValue(String value) { 57 | for (LoanIdentifierType b : LoanIdentifierType.values()) { 58 | if (b.value.equals(value)) { 59 | return b; 60 | } 61 | } 62 | return null; } 63 | 64 | public static class Adapter extends TypeAdapter { 65 | @Override 66 | public void write(final JsonWriter jsonWriter, final LoanIdentifierType enumeration) throws IOException { 67 | jsonWriter.value(enumeration.getValue()); 68 | } 69 | 70 | @Override 71 | public LoanIdentifierType read(final JsonReader jsonReader) throws IOException { 72 | String value = jsonReader.nextString(); 73 | return LoanIdentifierType.fromValue(value); 74 | } 75 | } 76 | } 77 | 78 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/MonitoringInsightsStatus.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * Enum for the status of the insights 29 | */ 30 | @JsonAdapter(MonitoringInsightsStatus.Adapter.class) 31 | public enum MonitoringInsightsStatus { 32 | 33 | AVAILABLE("AVAILABLE"), 34 | 35 | FAILED("FAILED"), 36 | 37 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 38 | // Try upgrading your client-library version. 39 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 40 | 41 | private String value; 42 | 43 | MonitoringInsightsStatus(String value) { 44 | this.value = value; 45 | } 46 | 47 | public String getValue() { 48 | return value; 49 | } 50 | 51 | @Override 52 | public String toString() { 53 | return String.valueOf(value); 54 | } 55 | 56 | public static MonitoringInsightsStatus fromValue(String value) { 57 | for (MonitoringInsightsStatus b : MonitoringInsightsStatus.values()) { 58 | if (b.value.equals(value)) { 59 | return b; 60 | } 61 | } 62 | 63 | return MonitoringInsightsStatus.ENUM_UNKNOWN; 64 | } 65 | 66 | public static class Adapter extends TypeAdapter { 67 | @Override 68 | public void write(final JsonWriter jsonWriter, final MonitoringInsightsStatus enumeration) throws IOException { 69 | jsonWriter.value(enumeration.getValue()); 70 | } 71 | 72 | @Override 73 | public MonitoringInsightsStatus read(final JsonReader jsonReader) throws IOException { 74 | String value = jsonReader.nextString(); 75 | return MonitoringInsightsStatus.fromValue(value); 76 | } 77 | } 78 | } 79 | 80 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/MonitoringItemStatusCode.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * Enum for the status of the Item's insights 29 | */ 30 | @JsonAdapter(MonitoringItemStatusCode.Adapter.class) 31 | public enum MonitoringItemStatusCode { 32 | 33 | AVAILABLE("AVAILABLE"), 34 | 35 | FAILED("FAILED"), 36 | 37 | PENDING("PENDING"), 38 | 39 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 40 | // Try upgrading your client-library version. 41 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 42 | 43 | private String value; 44 | 45 | MonitoringItemStatusCode(String value) { 46 | this.value = value; 47 | } 48 | 49 | public String getValue() { 50 | return value; 51 | } 52 | 53 | @Override 54 | public String toString() { 55 | return String.valueOf(value); 56 | } 57 | 58 | public static MonitoringItemStatusCode fromValue(String value) { 59 | for (MonitoringItemStatusCode b : MonitoringItemStatusCode.values()) { 60 | if (b.value.equals(value)) { 61 | return b; 62 | } 63 | } 64 | 65 | return MonitoringItemStatusCode.ENUM_UNKNOWN; 66 | } 67 | 68 | public static class Adapter extends TypeAdapter { 69 | @Override 70 | public void write(final JsonWriter jsonWriter, final MonitoringItemStatusCode enumeration) throws IOException { 71 | jsonWriter.value(enumeration.getValue()); 72 | } 73 | 74 | @Override 75 | public MonitoringItemStatusCode read(final JsonReader jsonReader) throws IOException { 76 | String value = jsonReader.nextString(); 77 | return MonitoringItemStatusCode.fromValue(value); 78 | } 79 | } 80 | } 81 | 82 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/NumbersIBANNullable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | 20 | /** 21 | * International Bank Account Number (IBAN). 22 | */ 23 | @ApiModel(description = "International Bank Account Number (IBAN).") 24 | @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-03T20:50:02.678462Z[Etc/UTC]") 25 | public class NumbersIBANNullable { 26 | 27 | @Override 28 | public boolean equals(Object o) { 29 | if (this == o) { 30 | return true; 31 | } 32 | if (o == null || getClass() != o.getClass()) { 33 | return false; 34 | } 35 | return true; 36 | } 37 | 38 | @Override 39 | public int hashCode() { 40 | return Objects.hash(); 41 | } 42 | 43 | @Override 44 | public String toString() { 45 | StringBuilder sb = new StringBuilder(); 46 | sb.append("class NumbersIBANNullable {\n"); 47 | sb.append("}"); 48 | return sb.toString(); 49 | } 50 | 51 | /** 52 | * Convert the given object to string with each line indented by 4 spaces 53 | * (except the first line). 54 | */ 55 | private String toIndentedString(Object o) { 56 | if (o == null) { 57 | return "null"; 58 | } 59 | return o.toString().replace("\n", "\n "); 60 | } 61 | 62 | } 63 | 64 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/PayFrequencyValue.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The frequency of the pay period. 29 | */ 30 | @JsonAdapter(PayFrequencyValue.Adapter.class) 31 | public enum PayFrequencyValue { 32 | 33 | MONTHLY("monthly"), 34 | 35 | SEMIMONTHLY("semimonthly"), 36 | 37 | WEEKLY("weekly"), 38 | 39 | BIWEEKLY("biweekly"), 40 | 41 | UNKNOWN("unknown"), 42 | 43 | NULL("null"), 44 | 45 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 46 | // Try upgrading your client-library version. 47 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 48 | 49 | private String value; 50 | 51 | PayFrequencyValue(String value) { 52 | this.value = value; 53 | } 54 | 55 | public String getValue() { 56 | return value; 57 | } 58 | 59 | @Override 60 | public String toString() { 61 | return String.valueOf(value); 62 | } 63 | 64 | public static PayFrequencyValue fromValue(String value) { 65 | for (PayFrequencyValue b : PayFrequencyValue.values()) { 66 | if (b.value.equals(value)) { 67 | return b; 68 | } 69 | } 70 | 71 | return PayFrequencyValue.ENUM_UNKNOWN; 72 | } 73 | 74 | public static class Adapter extends TypeAdapter { 75 | @Override 76 | public void write(final JsonWriter jsonWriter, final PayFrequencyValue enumeration) throws IOException { 77 | jsonWriter.value(enumeration.getValue()); 78 | } 79 | 80 | @Override 81 | public PayFrequencyValue read(final JsonReader jsonReader) throws IOException { 82 | String value = jsonReader.nextString(); 83 | return PayFrequencyValue.fromValue(value); 84 | } 85 | } 86 | } 87 | 88 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/PaymentScheduleInterval.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The frequency interval of the payment. 29 | */ 30 | @JsonAdapter(PaymentScheduleInterval.Adapter.class) 31 | public enum PaymentScheduleInterval { 32 | 33 | WEEKLY("WEEKLY"), 34 | 35 | MONTHLY("MONTHLY"), 36 | 37 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 38 | // Try upgrading your client-library version. 39 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 40 | 41 | private String value; 42 | 43 | PaymentScheduleInterval(String value) { 44 | this.value = value; 45 | } 46 | 47 | public String getValue() { 48 | return value; 49 | } 50 | 51 | @Override 52 | public String toString() { 53 | return String.valueOf(value); 54 | } 55 | 56 | public static PaymentScheduleInterval fromValue(String value) { 57 | for (PaymentScheduleInterval b : PaymentScheduleInterval.values()) { 58 | if (b.value.equals(value)) { 59 | return b; 60 | } 61 | } 62 | 63 | return PaymentScheduleInterval.ENUM_UNKNOWN; 64 | } 65 | 66 | public static class Adapter extends TypeAdapter { 67 | @Override 68 | public void write(final JsonWriter jsonWriter, final PaymentScheduleInterval enumeration) throws IOException { 69 | jsonWriter.value(enumeration.getValue()); 70 | } 71 | 72 | @Override 73 | public PaymentScheduleInterval read(final JsonReader jsonReader) throws IOException { 74 | String value = jsonReader.nextString(); 75 | return PaymentScheduleInterval.fromValue(value); 76 | } 77 | } 78 | } 79 | 80 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/PhoneType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * An enum indicating whether a phone number is a phone line or a fax line. 29 | */ 30 | @JsonAdapter(PhoneType.Adapter.class) 31 | public enum PhoneType { 32 | 33 | PHONE("phone"), 34 | 35 | FAX("fax"), 36 | 37 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 38 | // Try upgrading your client-library version. 39 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 40 | 41 | private String value; 42 | 43 | PhoneType(String value) { 44 | this.value = value; 45 | } 46 | 47 | public String getValue() { 48 | return value; 49 | } 50 | 51 | @Override 52 | public String toString() { 53 | return String.valueOf(value); 54 | } 55 | 56 | public static PhoneType fromValue(String value) { 57 | for (PhoneType b : PhoneType.values()) { 58 | if (b.value.equals(value)) { 59 | return b; 60 | } 61 | } 62 | 63 | return PhoneType.ENUM_UNKNOWN; 64 | } 65 | 66 | public static class Adapter extends TypeAdapter { 67 | @Override 68 | public void write(final JsonWriter jsonWriter, final PhoneType enumeration) throws IOException { 69 | jsonWriter.value(enumeration.getValue()); 70 | } 71 | 72 | @Override 73 | public PhoneType read(final JsonReader jsonReader) throws IOException { 74 | String value = jsonReader.nextString(); 75 | return PhoneType.fromValue(value); 76 | } 77 | } 78 | } 79 | 80 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/PlaidCheckScoreVersion.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The version of the Plaid Check Score 29 | */ 30 | @JsonAdapter(PlaidCheckScoreVersion.Adapter.class) 31 | public enum PlaidCheckScoreVersion { 32 | 33 | V1_0("v1.0"), 34 | 35 | V2_0("v2.0"), 36 | 37 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 38 | // Try upgrading your client-library version. 39 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 40 | 41 | private String value; 42 | 43 | PlaidCheckScoreVersion(String value) { 44 | this.value = value; 45 | } 46 | 47 | public String getValue() { 48 | return value; 49 | } 50 | 51 | @Override 52 | public String toString() { 53 | return String.valueOf(value); 54 | } 55 | 56 | public static PlaidCheckScoreVersion fromValue(String value) { 57 | for (PlaidCheckScoreVersion b : PlaidCheckScoreVersion.values()) { 58 | if (b.value.equals(value)) { 59 | return b; 60 | } 61 | } 62 | return null; } 63 | 64 | public static class Adapter extends TypeAdapter { 65 | @Override 66 | public void write(final JsonWriter jsonWriter, final PlaidCheckScoreVersion enumeration) throws IOException { 67 | jsonWriter.value(enumeration.getValue()); 68 | } 69 | 70 | @Override 71 | public PlaidCheckScoreVersion read(final JsonReader jsonReader) throws IOException { 72 | String value = jsonReader.nextString(); 73 | return PlaidCheckScoreVersion.fromValue(value); 74 | } 75 | } 76 | } 77 | 78 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/PrismCashScoreVersion.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The version of Prism CashScore. If not specified, will default to v3. 29 | */ 30 | @JsonAdapter(PrismCashScoreVersion.Adapter.class) 31 | public enum PrismCashScoreVersion { 32 | 33 | _3_LITE("3_lite"), 34 | 35 | _3("3"), 36 | 37 | NULL("null"), 38 | 39 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 40 | // Try upgrading your client-library version. 41 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 42 | 43 | private String value; 44 | 45 | PrismCashScoreVersion(String value) { 46 | this.value = value; 47 | } 48 | 49 | public String getValue() { 50 | return value; 51 | } 52 | 53 | @Override 54 | public String toString() { 55 | return String.valueOf(value); 56 | } 57 | 58 | public static PrismCashScoreVersion fromValue(String value) { 59 | for (PrismCashScoreVersion b : PrismCashScoreVersion.values()) { 60 | if (b.value.equals(value)) { 61 | return b; 62 | } 63 | } 64 | return null; } 65 | 66 | public static class Adapter extends TypeAdapter { 67 | @Override 68 | public void write(final JsonWriter jsonWriter, final PrismCashScoreVersion enumeration) throws IOException { 69 | jsonWriter.value(enumeration.getValue()); 70 | } 71 | 72 | @Override 73 | public PrismCashScoreVersion read(final JsonReader jsonReader) throws IOException { 74 | String value = jsonReader.nextString(); 75 | return PrismCashScoreVersion.fromValue(value); 76 | } 77 | } 78 | } 79 | 80 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/PrismDetectVersion.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The version of Prism Detect 29 | */ 30 | @JsonAdapter(PrismDetectVersion.Adapter.class) 31 | public enum PrismDetectVersion { 32 | 33 | _4("4"), 34 | 35 | NULL("null"), 36 | 37 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 38 | // Try upgrading your client-library version. 39 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 40 | 41 | private String value; 42 | 43 | PrismDetectVersion(String value) { 44 | this.value = value; 45 | } 46 | 47 | public String getValue() { 48 | return value; 49 | } 50 | 51 | @Override 52 | public String toString() { 53 | return String.valueOf(value); 54 | } 55 | 56 | public static PrismDetectVersion fromValue(String value) { 57 | for (PrismDetectVersion b : PrismDetectVersion.values()) { 58 | if (b.value.equals(value)) { 59 | return b; 60 | } 61 | } 62 | return null; } 63 | 64 | public static class Adapter extends TypeAdapter { 65 | @Override 66 | public void write(final JsonWriter jsonWriter, final PrismDetectVersion enumeration) throws IOException { 67 | jsonWriter.value(enumeration.getValue()); 68 | } 69 | 70 | @Override 71 | public PrismDetectVersion read(final JsonReader jsonReader) throws IOException { 72 | String value = jsonReader.nextString(); 73 | return PrismDetectVersion.fromValue(value); 74 | } 75 | } 76 | } 77 | 78 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/PrismExtendVersion.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The version of Prism Extend 29 | */ 30 | @JsonAdapter(PrismExtendVersion.Adapter.class) 31 | public enum PrismExtendVersion { 32 | 33 | _4("4"), 34 | 35 | NULL("null"), 36 | 37 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 38 | // Try upgrading your client-library version. 39 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 40 | 41 | private String value; 42 | 43 | PrismExtendVersion(String value) { 44 | this.value = value; 45 | } 46 | 47 | public String getValue() { 48 | return value; 49 | } 50 | 51 | @Override 52 | public String toString() { 53 | return String.valueOf(value); 54 | } 55 | 56 | public static PrismExtendVersion fromValue(String value) { 57 | for (PrismExtendVersion b : PrismExtendVersion.values()) { 58 | if (b.value.equals(value)) { 59 | return b; 60 | } 61 | } 62 | return null; } 63 | 64 | public static class Adapter extends TypeAdapter { 65 | @Override 66 | public void write(final JsonWriter jsonWriter, final PrismExtendVersion enumeration) throws IOException { 67 | jsonWriter.value(enumeration.getValue()); 68 | } 69 | 70 | @Override 71 | public PrismExtendVersion read(final JsonReader jsonReader) throws IOException { 72 | String value = jsonReader.nextString(); 73 | return PrismExtendVersion.fromValue(value); 74 | } 75 | } 76 | } 77 | 78 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/PrismFirstDetectVersion.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The version of Prism FirstDetect. If not specified, will default to v3. 29 | */ 30 | @JsonAdapter(PrismFirstDetectVersion.Adapter.class) 31 | public enum PrismFirstDetectVersion { 32 | 33 | _3("3"), 34 | 35 | NULL("null"), 36 | 37 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 38 | // Try upgrading your client-library version. 39 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 40 | 41 | private String value; 42 | 43 | PrismFirstDetectVersion(String value) { 44 | this.value = value; 45 | } 46 | 47 | public String getValue() { 48 | return value; 49 | } 50 | 51 | @Override 52 | public String toString() { 53 | return String.valueOf(value); 54 | } 55 | 56 | public static PrismFirstDetectVersion fromValue(String value) { 57 | for (PrismFirstDetectVersion b : PrismFirstDetectVersion.values()) { 58 | if (b.value.equals(value)) { 59 | return b; 60 | } 61 | } 62 | return null; } 63 | 64 | public static class Adapter extends TypeAdapter { 65 | @Override 66 | public void write(final JsonWriter jsonWriter, final PrismFirstDetectVersion enumeration) throws IOException { 67 | jsonWriter.value(enumeration.getValue()); 68 | } 69 | 70 | @Override 71 | public PrismFirstDetectVersion read(final JsonReader jsonReader) throws IOException { 72 | String value = jsonReader.nextString(); 73 | return PrismFirstDetectVersion.fromValue(value); 74 | } 75 | } 76 | } 77 | 78 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/PrismInsightsVersion.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The version of Prism Insights. If not specified, will default to v3. 29 | */ 30 | @JsonAdapter(PrismInsightsVersion.Adapter.class) 31 | public enum PrismInsightsVersion { 32 | 33 | _3("3"), 34 | 35 | NULL("null"), 36 | 37 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 38 | // Try upgrading your client-library version. 39 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 40 | 41 | private String value; 42 | 43 | PrismInsightsVersion(String value) { 44 | this.value = value; 45 | } 46 | 47 | public String getValue() { 48 | return value; 49 | } 50 | 51 | @Override 52 | public String toString() { 53 | return String.valueOf(value); 54 | } 55 | 56 | public static PrismInsightsVersion fromValue(String value) { 57 | for (PrismInsightsVersion b : PrismInsightsVersion.values()) { 58 | if (b.value.equals(value)) { 59 | return b; 60 | } 61 | } 62 | return null; } 63 | 64 | public static class Adapter extends TypeAdapter { 65 | @Override 66 | public void write(final JsonWriter jsonWriter, final PrismInsightsVersion enumeration) throws IOException { 67 | jsonWriter.value(enumeration.getValue()); 68 | } 69 | 70 | @Override 71 | public PrismInsightsVersion read(final JsonReader jsonReader) throws IOException { 72 | String value = jsonReader.nextString(); 73 | return PrismInsightsVersion.fromValue(value); 74 | } 75 | } 76 | } 77 | 78 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/PrismProduct.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The Prism products that can be returned by the Plaid API 29 | */ 30 | @JsonAdapter(PrismProduct.Adapter.class) 31 | public enum PrismProduct { 32 | 33 | INSIGHTS("insights"), 34 | 35 | SCORES("scores"), 36 | 37 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 38 | // Try upgrading your client-library version. 39 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 40 | 41 | private String value; 42 | 43 | PrismProduct(String value) { 44 | this.value = value; 45 | } 46 | 47 | public String getValue() { 48 | return value; 49 | } 50 | 51 | @Override 52 | public String toString() { 53 | return String.valueOf(value); 54 | } 55 | 56 | public static PrismProduct fromValue(String value) { 57 | for (PrismProduct b : PrismProduct.values()) { 58 | if (b.value.equals(value)) { 59 | return b; 60 | } 61 | } 62 | 63 | return PrismProduct.ENUM_UNKNOWN; 64 | } 65 | 66 | public static class Adapter extends TypeAdapter { 67 | @Override 68 | public void write(final JsonWriter jsonWriter, final PrismProduct enumeration) throws IOException { 69 | jsonWriter.value(enumeration.getValue()); 70 | } 71 | 72 | @Override 73 | public PrismProduct read(final JsonReader jsonReader) throws IOException { 74 | String value = jsonReader.nextString(); 75 | return PrismProduct.fromValue(value); 76 | } 77 | } 78 | } 79 | 80 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/RecommendationString.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The recommendation result for that date. 29 | */ 30 | @JsonAdapter(RecommendationString.Adapter.class) 31 | public enum RecommendationString { 32 | 33 | RECOMMENDED("RECOMMENDED"), 34 | 35 | NOT_RECOMMENDED("NOT_RECOMMENDED"), 36 | 37 | UNKNOWN("UNKNOWN"), 38 | 39 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 40 | // Try upgrading your client-library version. 41 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 42 | 43 | private String value; 44 | 45 | RecommendationString(String value) { 46 | this.value = value; 47 | } 48 | 49 | public String getValue() { 50 | return value; 51 | } 52 | 53 | @Override 54 | public String toString() { 55 | return String.valueOf(value); 56 | } 57 | 58 | public static RecommendationString fromValue(String value) { 59 | for (RecommendationString b : RecommendationString.values()) { 60 | if (b.value.equals(value)) { 61 | return b; 62 | } 63 | } 64 | 65 | return RecommendationString.ENUM_UNKNOWN; 66 | } 67 | 68 | public static class Adapter extends TypeAdapter { 69 | @Override 70 | public void write(final JsonWriter jsonWriter, final RecommendationString enumeration) throws IOException { 71 | jsonWriter.value(enumeration.getValue()); 72 | } 73 | 74 | @Override 75 | public RecommendationString read(final JsonReader jsonReader) throws IOException { 76 | String value = jsonReader.nextString(); 77 | return RecommendationString.fromValue(value); 78 | } 79 | } 80 | } 81 | 82 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/ReportType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The report type. It can be `asset`. Income report types are not yet supported. 29 | */ 30 | @JsonAdapter(ReportType.Adapter.class) 31 | public enum ReportType { 32 | 33 | ASSET("asset"), 34 | 35 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 36 | // Try upgrading your client-library version. 37 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 38 | 39 | private String value; 40 | 41 | ReportType(String value) { 42 | this.value = value; 43 | } 44 | 45 | public String getValue() { 46 | return value; 47 | } 48 | 49 | @Override 50 | public String toString() { 51 | return String.valueOf(value); 52 | } 53 | 54 | public static ReportType fromValue(String value) { 55 | for (ReportType b : ReportType.values()) { 56 | if (b.value.equals(value)) { 57 | return b; 58 | } 59 | } 60 | 61 | return ReportType.ENUM_UNKNOWN; 62 | } 63 | 64 | public static class Adapter extends TypeAdapter { 65 | @Override 66 | public void write(final JsonWriter jsonWriter, final ReportType enumeration) throws IOException { 67 | jsonWriter.value(enumeration.getValue()); 68 | } 69 | 70 | @Override 71 | public ReportType read(final JsonReader jsonReader) throws IOException { 72 | String value = jsonReader.nextString(); 73 | return ReportType.fromValue(value); 74 | } 75 | } 76 | } 77 | 78 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/RiskLevel.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * Risk level for the given risk check type. 29 | */ 30 | @JsonAdapter(RiskLevel.Adapter.class) 31 | public enum RiskLevel { 32 | 33 | LOW("low"), 34 | 35 | MEDIUM("medium"), 36 | 37 | HIGH("high"), 38 | 39 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 40 | // Try upgrading your client-library version. 41 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 42 | 43 | private String value; 44 | 45 | RiskLevel(String value) { 46 | this.value = value; 47 | } 48 | 49 | public String getValue() { 50 | return value; 51 | } 52 | 53 | @Override 54 | public String toString() { 55 | return String.valueOf(value); 56 | } 57 | 58 | public static RiskLevel fromValue(String value) { 59 | for (RiskLevel b : RiskLevel.values()) { 60 | if (b.value.equals(value)) { 61 | return b; 62 | } 63 | } 64 | 65 | return RiskLevel.ENUM_UNKNOWN; 66 | } 67 | 68 | public static class Adapter extends TypeAdapter { 69 | @Override 70 | public void write(final JsonWriter jsonWriter, final RiskLevel enumeration) throws IOException { 71 | jsonWriter.value(enumeration.getValue()); 72 | } 73 | 74 | @Override 75 | public RiskLevel read(final JsonReader jsonReader) throws IOException { 76 | String value = jsonReader.nextString(); 77 | return RiskLevel.fromValue(value); 78 | } 79 | } 80 | } 81 | 82 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/RiskLevelWithNoData.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * Risk level for the given risk check type, when available. 29 | */ 30 | @JsonAdapter(RiskLevelWithNoData.Adapter.class) 31 | public enum RiskLevelWithNoData { 32 | 33 | LOW("low"), 34 | 35 | MEDIUM("medium"), 36 | 37 | HIGH("high"), 38 | 39 | NO_DATA("no_data"), 40 | 41 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 42 | // Try upgrading your client-library version. 43 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 44 | 45 | private String value; 46 | 47 | RiskLevelWithNoData(String value) { 48 | this.value = value; 49 | } 50 | 51 | public String getValue() { 52 | return value; 53 | } 54 | 55 | @Override 56 | public String toString() { 57 | return String.valueOf(value); 58 | } 59 | 60 | public static RiskLevelWithNoData fromValue(String value) { 61 | for (RiskLevelWithNoData b : RiskLevelWithNoData.values()) { 62 | if (b.value.equals(value)) { 63 | return b; 64 | } 65 | } 66 | 67 | return RiskLevelWithNoData.ENUM_UNKNOWN; 68 | } 69 | 70 | public static class Adapter extends TypeAdapter { 71 | @Override 72 | public void write(final JsonWriter jsonWriter, final RiskLevelWithNoData enumeration) throws IOException { 73 | jsonWriter.value(enumeration.getValue()); 74 | } 75 | 76 | @Override 77 | public RiskLevelWithNoData read(final JsonReader jsonReader) throws IOException { 78 | String value = jsonReader.nextString(); 79 | return RiskLevelWithNoData.fromValue(value); 80 | } 81 | } 82 | } 83 | 84 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/SMSVerificationStatus.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The outcome status for the individual SMS verification. 29 | */ 30 | @JsonAdapter(SMSVerificationStatus.Adapter.class) 31 | public enum SMSVerificationStatus { 32 | 33 | PENDING("pending"), 34 | 35 | SUCCESS("success"), 36 | 37 | FAILED("failed"), 38 | 39 | CANCELED("canceled"), 40 | 41 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 42 | // Try upgrading your client-library version. 43 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 44 | 45 | private String value; 46 | 47 | SMSVerificationStatus(String value) { 48 | this.value = value; 49 | } 50 | 51 | public String getValue() { 52 | return value; 53 | } 54 | 55 | @Override 56 | public String toString() { 57 | return String.valueOf(value); 58 | } 59 | 60 | public static SMSVerificationStatus fromValue(String value) { 61 | for (SMSVerificationStatus b : SMSVerificationStatus.values()) { 62 | if (b.value.equals(value)) { 63 | return b; 64 | } 65 | } 66 | 67 | return SMSVerificationStatus.ENUM_UNKNOWN; 68 | } 69 | 70 | public static class Adapter extends TypeAdapter { 71 | @Override 72 | public void write(final JsonWriter jsonWriter, final SMSVerificationStatus enumeration) throws IOException { 73 | jsonWriter.value(enumeration.getValue()); 74 | } 75 | 76 | @Override 77 | public SMSVerificationStatus read(final JsonReader jsonReader) throws IOException { 78 | String value = jsonReader.nextString(); 79 | return SMSVerificationStatus.fromValue(value); 80 | } 81 | } 82 | } 83 | 84 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/SelfieCheckStatus.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The outcome status for the associated Identity Verification attempt's `selfie_check` step. This field will always have the same value as `steps.selfie_check`. 29 | */ 30 | @JsonAdapter(SelfieCheckStatus.Adapter.class) 31 | public enum SelfieCheckStatus { 32 | 33 | SUCCESS("success"), 34 | 35 | FAILED("failed"), 36 | 37 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 38 | // Try upgrading your client-library version. 39 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 40 | 41 | private String value; 42 | 43 | SelfieCheckStatus(String value) { 44 | this.value = value; 45 | } 46 | 47 | public String getValue() { 48 | return value; 49 | } 50 | 51 | @Override 52 | public String toString() { 53 | return String.valueOf(value); 54 | } 55 | 56 | public static SelfieCheckStatus fromValue(String value) { 57 | for (SelfieCheckStatus b : SelfieCheckStatus.values()) { 58 | if (b.value.equals(value)) { 59 | return b; 60 | } 61 | } 62 | 63 | return SelfieCheckStatus.ENUM_UNKNOWN; 64 | } 65 | 66 | public static class Adapter extends TypeAdapter { 67 | @Override 68 | public void write(final JsonWriter jsonWriter, final SelfieCheckStatus enumeration) throws IOException { 69 | jsonWriter.value(enumeration.getValue()); 70 | } 71 | 72 | @Override 73 | public SelfieCheckStatus read(final JsonReader jsonReader) throws IOException { 74 | String value = jsonReader.nextString(); 75 | return SelfieCheckStatus.fromValue(value); 76 | } 77 | } 78 | } 79 | 80 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/SelfieStatus.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * An outcome status for this specific selfie. Distinct from the overall `selfie_check.status` that summarizes the verification outcome from one or more selfies. 29 | */ 30 | @JsonAdapter(SelfieStatus.Adapter.class) 31 | public enum SelfieStatus { 32 | 33 | SUCCESS("success"), 34 | 35 | FAILED("failed"), 36 | 37 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 38 | // Try upgrading your client-library version. 39 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 40 | 41 | private String value; 42 | 43 | SelfieStatus(String value) { 44 | this.value = value; 45 | } 46 | 47 | public String getValue() { 48 | return value; 49 | } 50 | 51 | @Override 52 | public String toString() { 53 | return String.valueOf(value); 54 | } 55 | 56 | public static SelfieStatus fromValue(String value) { 57 | for (SelfieStatus b : SelfieStatus.values()) { 58 | if (b.value.equals(value)) { 59 | return b; 60 | } 61 | } 62 | 63 | return SelfieStatus.ENUM_UNKNOWN; 64 | } 65 | 66 | public static class Adapter extends TypeAdapter { 67 | @Override 68 | public void write(final JsonWriter jsonWriter, final SelfieStatus enumeration) throws IOException { 69 | jsonWriter.value(enumeration.getValue()); 70 | } 71 | 72 | @Override 73 | public SelfieStatus read(final JsonReader jsonReader) throws IOException { 74 | String value = jsonReader.nextString(); 75 | return SelfieStatus.fromValue(value); 76 | } 77 | } 78 | } 79 | 80 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/Source.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * A type indicating whether a dashboard user, an API-based user, or Plaid last touched this object. 29 | */ 30 | @JsonAdapter(Source.Adapter.class) 31 | public enum Source { 32 | 33 | DASHBOARD("dashboard"), 34 | 35 | LINK("link"), 36 | 37 | API("api"), 38 | 39 | SYSTEM("system"), 40 | 41 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 42 | // Try upgrading your client-library version. 43 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 44 | 45 | private String value; 46 | 47 | Source(String value) { 48 | this.value = value; 49 | } 50 | 51 | public String getValue() { 52 | return value; 53 | } 54 | 55 | @Override 56 | public String toString() { 57 | return String.valueOf(value); 58 | } 59 | 60 | public static Source fromValue(String value) { 61 | for (Source b : Source.values()) { 62 | if (b.value.equals(value)) { 63 | return b; 64 | } 65 | } 66 | 67 | return Source.ENUM_UNKNOWN; 68 | } 69 | 70 | public static class Adapter extends TypeAdapter { 71 | @Override 72 | public void write(final JsonWriter jsonWriter, final Source enumeration) throws IOException { 73 | jsonWriter.value(enumeration.getValue()); 74 | } 75 | 76 | @Override 77 | public Source read(final JsonReader jsonReader) throws IOException { 78 | String value = jsonReader.nextString(); 79 | return Source.fromValue(value); 80 | } 81 | } 82 | } 83 | 84 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/TransactionsRuleField.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * Transaction field for which the rule is defined. 29 | */ 30 | @JsonAdapter(TransactionsRuleField.Adapter.class) 31 | public enum TransactionsRuleField { 32 | 33 | TRANSACTION_ID("TRANSACTION_ID"), 34 | 35 | NAME("NAME"), 36 | 37 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 38 | // Try upgrading your client-library version. 39 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 40 | 41 | private String value; 42 | 43 | TransactionsRuleField(String value) { 44 | this.value = value; 45 | } 46 | 47 | public String getValue() { 48 | return value; 49 | } 50 | 51 | @Override 52 | public String toString() { 53 | return String.valueOf(value); 54 | } 55 | 56 | public static TransactionsRuleField fromValue(String value) { 57 | for (TransactionsRuleField b : TransactionsRuleField.values()) { 58 | if (b.value.equals(value)) { 59 | return b; 60 | } 61 | } 62 | 63 | return TransactionsRuleField.ENUM_UNKNOWN; 64 | } 65 | 66 | public static class Adapter extends TypeAdapter { 67 | @Override 68 | public void write(final JsonWriter jsonWriter, final TransactionsRuleField enumeration) throws IOException { 69 | jsonWriter.value(enumeration.getValue()); 70 | } 71 | 72 | @Override 73 | public TransactionsRuleField read(final JsonReader jsonReader) throws IOException { 74 | String value = jsonReader.nextString(); 75 | return TransactionsRuleField.fromValue(value); 76 | } 77 | } 78 | } 79 | 80 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/TransactionsRuleType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * Transaction rule's match type. For TRANSACTION_ID field, EXACT_MATCH is available. Matches are case sensitive. 29 | */ 30 | @JsonAdapter(TransactionsRuleType.Adapter.class) 31 | public enum TransactionsRuleType { 32 | 33 | EXACT_MATCH("EXACT_MATCH"), 34 | 35 | SUBSTRING_MATCH("SUBSTRING_MATCH"), 36 | 37 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 38 | // Try upgrading your client-library version. 39 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 40 | 41 | private String value; 42 | 43 | TransactionsRuleType(String value) { 44 | this.value = value; 45 | } 46 | 47 | public String getValue() { 48 | return value; 49 | } 50 | 51 | @Override 52 | public String toString() { 53 | return String.valueOf(value); 54 | } 55 | 56 | public static TransactionsRuleType fromValue(String value) { 57 | for (TransactionsRuleType b : TransactionsRuleType.values()) { 58 | if (b.value.equals(value)) { 59 | return b; 60 | } 61 | } 62 | 63 | return TransactionsRuleType.ENUM_UNKNOWN; 64 | } 65 | 66 | public static class Adapter extends TypeAdapter { 67 | @Override 68 | public void write(final JsonWriter jsonWriter, final TransactionsRuleType enumeration) throws IOException { 69 | jsonWriter.value(enumeration.getValue()); 70 | } 71 | 72 | @Override 73 | public TransactionsRuleType read(final JsonReader jsonReader) throws IOException { 74 | String value = jsonReader.nextString(); 75 | return TransactionsRuleType.fromValue(value); 76 | } 77 | } 78 | } 79 | 80 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/TransferDocumentPurpose.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * Specifies the purpose of the uploaded file. `\"DUE_DILIGENCE\"` - The transfer due diligence document of the originator. 29 | */ 30 | @JsonAdapter(TransferDocumentPurpose.Adapter.class) 31 | public enum TransferDocumentPurpose { 32 | 33 | DUE_DILIGENCE("DUE_DILIGENCE"), 34 | 35 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 36 | // Try upgrading your client-library version. 37 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 38 | 39 | private String value; 40 | 41 | TransferDocumentPurpose(String value) { 42 | this.value = value; 43 | } 44 | 45 | public String getValue() { 46 | return value; 47 | } 48 | 49 | @Override 50 | public String toString() { 51 | return String.valueOf(value); 52 | } 53 | 54 | public static TransferDocumentPurpose fromValue(String value) { 55 | for (TransferDocumentPurpose b : TransferDocumentPurpose.values()) { 56 | if (b.value.equals(value)) { 57 | return b; 58 | } 59 | } 60 | 61 | return TransferDocumentPurpose.ENUM_UNKNOWN; 62 | } 63 | 64 | public static class Adapter extends TypeAdapter { 65 | @Override 66 | public void write(final JsonWriter jsonWriter, final TransferDocumentPurpose enumeration) throws IOException { 67 | jsonWriter.value(enumeration.getValue()); 68 | } 69 | 70 | @Override 71 | public TransferDocumentPurpose read(final JsonReader jsonReader) throws IOException { 72 | String value = jsonReader.nextString(); 73 | return TransferDocumentPurpose.fromValue(value); 74 | } 75 | } 76 | } 77 | 78 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/TransferRecurringNetwork.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * Networks eligible for recurring transfers. 29 | */ 30 | @JsonAdapter(TransferRecurringNetwork.Adapter.class) 31 | public enum TransferRecurringNetwork { 32 | 33 | ACH("ach"), 34 | 35 | SAME_DAY_ACH("same-day-ach"), 36 | 37 | RTP("rtp"), 38 | 39 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 40 | // Try upgrading your client-library version. 41 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 42 | 43 | private String value; 44 | 45 | TransferRecurringNetwork(String value) { 46 | this.value = value; 47 | } 48 | 49 | public String getValue() { 50 | return value; 51 | } 52 | 53 | @Override 54 | public String toString() { 55 | return String.valueOf(value); 56 | } 57 | 58 | public static TransferRecurringNetwork fromValue(String value) { 59 | for (TransferRecurringNetwork b : TransferRecurringNetwork.values()) { 60 | if (b.value.equals(value)) { 61 | return b; 62 | } 63 | } 64 | 65 | return TransferRecurringNetwork.ENUM_UNKNOWN; 66 | } 67 | 68 | public static class Adapter extends TypeAdapter { 69 | @Override 70 | public void write(final JsonWriter jsonWriter, final TransferRecurringNetwork enumeration) throws IOException { 71 | jsonWriter.value(enumeration.getValue()); 72 | } 73 | 74 | @Override 75 | public TransferRecurringNetwork read(final JsonReader jsonReader) throws IOException { 76 | String value = jsonReader.nextString(); 77 | return TransferRecurringNetwork.fromValue(value); 78 | } 79 | } 80 | } 81 | 82 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/TransferScheduleIntervalUnit.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The unit of the recurring interval. 29 | */ 30 | @JsonAdapter(TransferScheduleIntervalUnit.Adapter.class) 31 | public enum TransferScheduleIntervalUnit { 32 | 33 | WEEK("week"), 34 | 35 | MONTH("month"), 36 | 37 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 38 | // Try upgrading your client-library version. 39 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 40 | 41 | private String value; 42 | 43 | TransferScheduleIntervalUnit(String value) { 44 | this.value = value; 45 | } 46 | 47 | public String getValue() { 48 | return value; 49 | } 50 | 51 | @Override 52 | public String toString() { 53 | return String.valueOf(value); 54 | } 55 | 56 | public static TransferScheduleIntervalUnit fromValue(String value) { 57 | for (TransferScheduleIntervalUnit b : TransferScheduleIntervalUnit.values()) { 58 | if (b.value.equals(value)) { 59 | return b; 60 | } 61 | } 62 | 63 | return TransferScheduleIntervalUnit.ENUM_UNKNOWN; 64 | } 65 | 66 | public static class Adapter extends TypeAdapter { 67 | @Override 68 | public void write(final JsonWriter jsonWriter, final TransferScheduleIntervalUnit enumeration) throws IOException { 69 | jsonWriter.value(enumeration.getValue()); 70 | } 71 | 72 | @Override 73 | public TransferScheduleIntervalUnit read(final JsonReader jsonReader) throws IOException { 74 | String value = jsonReader.nextString(); 75 | return TransferScheduleIntervalUnit.fromValue(value); 76 | } 77 | } 78 | } 79 | 80 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/TransferType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The type of transfer. This will be either `debit` or `credit`. A `debit` indicates a transfer of money into the origination account; a `credit` indicates a transfer of money out of the origination account. 29 | */ 30 | @JsonAdapter(TransferType.Adapter.class) 31 | public enum TransferType { 32 | 33 | DEBIT("debit"), 34 | 35 | CREDIT("credit"), 36 | 37 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 38 | // Try upgrading your client-library version. 39 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 40 | 41 | private String value; 42 | 43 | TransferType(String value) { 44 | this.value = value; 45 | } 46 | 47 | public String getValue() { 48 | return value; 49 | } 50 | 51 | @Override 52 | public String toString() { 53 | return String.valueOf(value); 54 | } 55 | 56 | public static TransferType fromValue(String value) { 57 | for (TransferType b : TransferType.values()) { 58 | if (b.value.equals(value)) { 59 | return b; 60 | } 61 | } 62 | 63 | return TransferType.ENUM_UNKNOWN; 64 | } 65 | 66 | public static class Adapter extends TypeAdapter { 67 | @Override 68 | public void write(final JsonWriter jsonWriter, final TransferType enumeration) throws IOException { 69 | jsonWriter.value(enumeration.getValue()); 70 | } 71 | 72 | @Override 73 | public TransferType read(final JsonReader jsonReader) throws IOException { 74 | String value = jsonReader.nextString(); 75 | return TransferType.fromValue(value); 76 | } 77 | } 78 | } 79 | 80 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/WalletISOCurrencyCode.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * An ISO-4217 currency code, used with e-wallets and transactions. 29 | */ 30 | @JsonAdapter(WalletISOCurrencyCode.Adapter.class) 31 | public enum WalletISOCurrencyCode { 32 | 33 | GBP("GBP"), 34 | 35 | EUR("EUR"), 36 | 37 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 38 | // Try upgrading your client-library version. 39 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 40 | 41 | private String value; 42 | 43 | WalletISOCurrencyCode(String value) { 44 | this.value = value; 45 | } 46 | 47 | public String getValue() { 48 | return value; 49 | } 50 | 51 | @Override 52 | public String toString() { 53 | return String.valueOf(value); 54 | } 55 | 56 | public static WalletISOCurrencyCode fromValue(String value) { 57 | for (WalletISOCurrencyCode b : WalletISOCurrencyCode.values()) { 58 | if (b.value.equals(value)) { 59 | return b; 60 | } 61 | } 62 | 63 | return WalletISOCurrencyCode.ENUM_UNKNOWN; 64 | } 65 | 66 | public static class Adapter extends TypeAdapter { 67 | @Override 68 | public void write(final JsonWriter jsonWriter, final WalletISOCurrencyCode enumeration) throws IOException { 69 | jsonWriter.value(enumeration.getValue()); 70 | } 71 | 72 | @Override 73 | public WalletISOCurrencyCode read(final JsonReader jsonReader) throws IOException { 74 | String value = jsonReader.nextString(); 75 | return WalletISOCurrencyCode.fromValue(value); 76 | } 77 | } 78 | } 79 | 80 | -------------------------------------------------------------------------------- /src/main/java/com/plaid/client/model/WebhookEnvironmentValues.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The Plaid API 3 | * The Plaid REST API. Please see https://plaid.com/docs/api for more details. 4 | * 5 | * The version of the OpenAPI document: 2020-09-14_1.641.1 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package com.plaid.client.model; 15 | 16 | import java.util.Objects; 17 | import java.util.Arrays; 18 | import io.swagger.annotations.ApiModel; 19 | import com.google.gson.annotations.SerializedName; 20 | 21 | import java.io.IOException; 22 | import com.google.gson.TypeAdapter; 23 | import com.google.gson.annotations.JsonAdapter; 24 | import com.google.gson.stream.JsonReader; 25 | import com.google.gson.stream.JsonWriter; 26 | 27 | /** 28 | * The Plaid environment the webhook was sent from 29 | */ 30 | @JsonAdapter(WebhookEnvironmentValues.Adapter.class) 31 | public enum WebhookEnvironmentValues { 32 | 33 | SANDBOX("sandbox"), 34 | 35 | PRODUCTION("production"), 36 | 37 | // This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file. 38 | // Try upgrading your client-library version. 39 | ENUM_UNKNOWN("ENUM_UNKNOWN"); 40 | 41 | private String value; 42 | 43 | WebhookEnvironmentValues(String value) { 44 | this.value = value; 45 | } 46 | 47 | public String getValue() { 48 | return value; 49 | } 50 | 51 | @Override 52 | public String toString() { 53 | return String.valueOf(value); 54 | } 55 | 56 | public static WebhookEnvironmentValues fromValue(String value) { 57 | for (WebhookEnvironmentValues b : WebhookEnvironmentValues.values()) { 58 | if (b.value.equals(value)) { 59 | return b; 60 | } 61 | } 62 | 63 | return WebhookEnvironmentValues.ENUM_UNKNOWN; 64 | } 65 | 66 | public static class Adapter extends TypeAdapter { 67 | @Override 68 | public void write(final JsonWriter jsonWriter, final WebhookEnvironmentValues enumeration) throws IOException { 69 | jsonWriter.value(enumeration.getValue()); 70 | } 71 | 72 | @Override 73 | public WebhookEnvironmentValues read(final JsonReader jsonReader) throws IOException { 74 | String value = jsonReader.nextString(); 75 | return WebhookEnvironmentValues.fromValue(value); 76 | } 77 | } 78 | } 79 | 80 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/AssetReportAuditCopyCreateTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration; 2 | 3 | import com.plaid.client.model.AssetReportAuditCopyCreateRequest; 4 | import com.plaid.client.model.Products; 5 | import com.plaid.client.model.AssetReportAuditCopyCreateResponse; 6 | import com.plaid.client.model.AssetReportCreateResponse; 7 | import org.junit.Test; 8 | import retrofit2.Response; 9 | 10 | import java.util.Arrays; 11 | import java.util.List; 12 | 13 | import static org.junit.Assert.assertNotNull; 14 | 15 | public class AssetReportAuditCopyCreateTest extends AbstractItemIntegrationTest { 16 | 17 | @Override 18 | protected List setupItemProducts() { 19 | return Arrays.asList(Products.ASSETS); 20 | } 21 | 22 | @Override 23 | protected String setupItemInstitutionId() { 24 | return TARTAN_BANK_INSTITUTION_ID; 25 | } 26 | 27 | @Test 28 | public void testAssetReportAuditCopyCreateSuccess() throws Exception { 29 | // Create asset report to get an asset report token 30 | List accessTokens = Arrays.asList(getItemPublicTokenExchangeResponse().getAccessToken()); 31 | Response createResponse = AssetReportCreateTest.createAssetReport(client(), accessTokens); 32 | String assetReportToken = createResponse.body().getAssetReportToken(); 33 | 34 | AssetReportGetTest.waitTillReady(client(), assetReportToken); 35 | 36 | AssetReportAuditCopyCreateRequest request = new AssetReportAuditCopyCreateRequest() 37 | .assetReportToken(assetReportToken) 38 | .auditorId("fannie_mae"); 39 | 40 | Response response = client().assetReportAuditCopyCreate(request).execute(); 41 | assertNotNull(response.body().getAuditCopyToken()); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/AssetReportAuditCopyRemoveTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration; 2 | 3 | import static org.junit.Assert.assertTrue; 4 | 5 | // import com.plaid.client.PlaidClient; 6 | import com.plaid.client.model.AssetReportAuditCopyCreateRequest; 7 | import com.plaid.client.model.AssetReportAuditCopyCreateResponse; 8 | import com.plaid.client.model.AssetReportAuditCopyRemoveRequest; 9 | import com.plaid.client.model.AssetReportAuditCopyRemoveResponse; 10 | import com.plaid.client.model.AssetReportCreateResponse; 11 | import com.plaid.client.model.Products; 12 | import java.util.Arrays; 13 | import java.util.List; 14 | import org.junit.Test; 15 | import retrofit2.Response; 16 | 17 | public class AssetReportAuditCopyRemoveTest 18 | extends AbstractItemIntegrationTest { 19 | 20 | @Override 21 | protected List setupItemProducts() { 22 | return Arrays.asList(Products.ASSETS); 23 | } 24 | 25 | @Override 26 | protected String setupItemInstitutionId() { 27 | return TARTAN_BANK_INSTITUTION_ID; 28 | } 29 | 30 | @Test 31 | public void testAssetReportAuditCopyRemoveSuccess() throws Exception { 32 | // Create asset report to get an asset report token 33 | List accessTokens = Arrays.asList( 34 | getItemPublicTokenExchangeResponse().getAccessToken() 35 | ); 36 | Response createResponse = AssetReportCreateTest.createAssetReport( 37 | client(), 38 | accessTokens 39 | ); 40 | String assetReportToken = createResponse.body().getAssetReportToken(); 41 | 42 | AssetReportGetTest.waitTillReady(client(), assetReportToken); 43 | 44 | AssetReportAuditCopyCreateRequest auditCopyCreateRequest = new AssetReportAuditCopyCreateRequest() 45 | .assetReportToken(assetReportToken) 46 | .auditorId("fannie_mae"); 47 | 48 | Response auditCopyCreateResponse = client() 49 | .assetReportAuditCopyCreate(auditCopyCreateRequest) 50 | .execute(); 51 | String auditCopyToken = auditCopyCreateResponse.body().getAuditCopyToken(); 52 | 53 | AssetReportAuditCopyRemoveRequest request = new AssetReportAuditCopyRemoveRequest() 54 | .auditCopyToken(auditCopyToken); 55 | 56 | Response response = client() 57 | .assetReportAuditCopyRemove(request) 58 | .execute(); 59 | assertTrue(response.body().getRemoved()); 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/AssetReportPdfGetTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration; 2 | 3 | import static org.junit.Assert.assertTrue; 4 | 5 | import com.plaid.client.model.AssetReportCreateResponse; 6 | import com.plaid.client.model.AssetReportPDFGetRequest; 7 | import com.plaid.client.model.Products; 8 | import java.util.Arrays; 9 | import java.util.List; 10 | import okhttp3.ResponseBody; 11 | import org.junit.Test; 12 | import retrofit2.Response; 13 | 14 | public class AssetReportPdfGetTest extends AbstractItemIntegrationTest { 15 | 16 | @Override 17 | protected List setupItemProducts() { 18 | return Arrays.asList(Products.ASSETS); 19 | } 20 | 21 | @Override 22 | protected String setupItemInstitutionId() { 23 | return TARTAN_BANK_INSTITUTION_ID; 24 | } 25 | 26 | @Test 27 | public void testAssetReportPdfGetSuccess() throws Exception { 28 | // Create asset report to get an asset report token 29 | List accessTokens = Arrays.asList( 30 | getItemPublicTokenExchangeResponse().getAccessToken() 31 | ); 32 | Response createResponse = AssetReportCreateTest.createAssetReport( 33 | client(), 34 | accessTokens 35 | ); 36 | String assetReportToken = createResponse.body().getAssetReportToken(); 37 | 38 | AssetReportGetTest.waitTillReady(client(), assetReportToken); 39 | 40 | AssetReportPDFGetRequest assetReportPdfGet = new AssetReportPDFGetRequest() 41 | .assetReportToken(assetReportToken); 42 | 43 | Response response = client() 44 | .assetReportPdfGet(assetReportPdfGet) 45 | .execute(); 46 | assertTrue(response.body().bytes().length > 0); 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/AssetReportRemoveTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration; 2 | 3 | import static org.junit.Assert.assertTrue; 4 | 5 | import com.plaid.client.model.AssetReportCreateResponse; 6 | import com.plaid.client.model.AssetReportRemoveRequest; 7 | import com.plaid.client.model.AssetReportRemoveResponse; 8 | import com.plaid.client.model.Products; 9 | import java.util.Arrays; 10 | import java.util.List; 11 | import org.junit.Test; 12 | import retrofit2.Response; 13 | 14 | public class AssetReportRemoveTest extends AbstractItemIntegrationTest { 15 | 16 | @Override 17 | protected List setupItemProducts() { 18 | return Arrays.asList(Products.ASSETS); 19 | } 20 | 21 | @Override 22 | protected String setupItemInstitutionId() { 23 | return TARTAN_BANK_INSTITUTION_ID; 24 | } 25 | 26 | @Test 27 | public void testAssetReportRemoveSuccess() throws Exception { 28 | // Create asset report to get an asset report token 29 | List accessTokens = Arrays.asList( 30 | getItemPublicTokenExchangeResponse().getAccessToken() 31 | ); 32 | Response createResponse = AssetReportCreateTest.createAssetReport( 33 | client(), 34 | accessTokens 35 | ); 36 | String assetReportToken = createResponse.body().getAssetReportToken(); 37 | 38 | // Poll Plaid till report is ready 39 | AssetReportGetTest.waitTillReady(client(), assetReportToken); 40 | AssetReportRemoveRequest assetReportRemoveRequest = new AssetReportRemoveRequest() 41 | .assetReportToken(assetReportToken); 42 | 43 | Response response = client() 44 | .assetReportRemove(assetReportRemoveRequest) 45 | .execute(); 46 | 47 | assertTrue(response.body().getRemoved()); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/CategoriesGetTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration; 2 | 3 | // Empty class for constructing request 4 | import com.plaid.client.model.Category; 5 | import com.plaid.client.model.CategoriesGetResponse; 6 | import org.junit.Test; 7 | import retrofit2.Response; 8 | import java.util.Arrays; 9 | 10 | import static org.junit.Assert.assertEquals; 11 | import static org.junit.Assert.assertFalse; 12 | 13 | public class CategoriesGetTest extends AbstractIntegrationTest { 14 | 15 | @Test 16 | public void testSuccess() throws Exception { 17 | Response response = client().categoriesGet(new Object()).execute(); 18 | assertSuccessResponse(response); 19 | assertFalse(response.body().getCategories().isEmpty()); 20 | 21 | Category category = response.body().getCategories().get(0); 22 | assertEquals("10000000", category.getCategoryId()); 23 | assertEquals("special", category.getGroup()); 24 | assertEquals(Arrays.asList("Bank Fees"), category.getHierarchy()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/IncomeVerificationPaystubsGetTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration; 2 | 3 | import static org.junit.Assert.*; 4 | 5 | import com.plaid.client.integration.AbstractIntegrationTest; 6 | import com.plaid.client.model.*; 7 | 8 | import java.time.LocalDate; 9 | import java.util.Arrays; 10 | import java.util.HashMap; 11 | import java.util.List; 12 | 13 | import org.junit.Before; 14 | import org.junit.Ignore; 15 | import org.junit.Test; 16 | import retrofit2.Response; 17 | 18 | public class IncomeVerificationPaystubsGetTest extends AbstractIntegrationTest { 19 | 20 | private String accessToken; 21 | 22 | @Before 23 | public void setUp() throws Exception { 24 | SandboxPublicTokenCreateRequest request = new SandboxPublicTokenCreateRequest() 25 | .institutionId(INCOME_INSTITUTION_ID) 26 | .initialProducts(Arrays.asList(Products.INCOME_VERIFICATION)); 27 | 28 | Response createResponse = client() 29 | .sandboxPublicTokenCreate(request) 30 | .execute(); 31 | 32 | assertSuccessResponse(createResponse); 33 | 34 | ItemPublicTokenExchangeRequest exchangeRequest = new ItemPublicTokenExchangeRequest() 35 | .publicToken(createResponse.body().getPublicToken()); 36 | 37 | Response response = client() 38 | .itemPublicTokenExchange(exchangeRequest) 39 | .execute(); 40 | 41 | assertSuccessResponse(response); 42 | 43 | this.accessToken = response.body().getAccessToken(); 44 | } 45 | 46 | @Test 47 | // @Ignore 48 | public void testIncomeVerificationPaystubsGet() throws Exception { 49 | IncomeVerificationPaystubsGetRequest request = new IncomeVerificationPaystubsGetRequest() 50 | .accessToken(this.accessToken); 51 | 52 | Response apiResponse = client().incomeVerificationPaystubsGet(request).execute(); 53 | 54 | IncomeVerificationPaystubsGetResponse paystubsResponse = apiResponse.body(); 55 | assertNotNull(paystubsResponse); 56 | assertNull(paystubsResponse.getError()); 57 | assertTrue(paystubsResponse.getPaystubs().size() > 0); 58 | assertTrue(paystubsResponse.getDocumentMetadata().size() > 0); 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/IncomeVerificationSummaryGetTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration; 2 | 3 | import static org.junit.Assert.*; 4 | 5 | import com.plaid.client.integration.AbstractIntegrationTest; 6 | import com.plaid.client.model.*; 7 | 8 | import java.time.LocalDate; 9 | import java.util.Arrays; 10 | import java.util.HashMap; 11 | import java.util.List; 12 | 13 | import org.junit.Before; 14 | import org.junit.Test; 15 | import retrofit2.Response; 16 | 17 | public class IncomeVerificationSummaryGetTest extends AbstractIntegrationTest { 18 | 19 | private String accessToken; 20 | 21 | @Before 22 | public void setUp() throws Exception { 23 | SandboxPublicTokenCreateRequest request = new SandboxPublicTokenCreateRequest() 24 | .institutionId(INCOME_INSTITUTION_ID) 25 | .initialProducts(Arrays.asList(Products.INCOME_VERIFICATION)); 26 | 27 | Response createResponse = client() 28 | .sandboxPublicTokenCreate(request) 29 | .execute(); 30 | 31 | assertSuccessResponse(createResponse); 32 | 33 | ItemPublicTokenExchangeRequest exchangeRequest = new ItemPublicTokenExchangeRequest() 34 | .publicToken(createResponse.body().getPublicToken()); 35 | 36 | Response response = client() 37 | .itemPublicTokenExchange(exchangeRequest) 38 | .execute(); 39 | 40 | assertSuccessResponse(response); 41 | 42 | this.accessToken = response.body().getAccessToken(); 43 | } 44 | 45 | } 46 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/IncomeVerificationTaxformsGetTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration; 2 | 3 | import static org.junit.Assert.*; 4 | 5 | import com.plaid.client.integration.AbstractIntegrationTest; 6 | import com.plaid.client.model.*; 7 | 8 | import java.time.LocalDate; 9 | import java.util.Arrays; 10 | import java.util.HashMap; 11 | import java.util.List; 12 | 13 | import org.junit.Before; 14 | import org.junit.Test; 15 | import retrofit2.Response; 16 | 17 | public class IncomeVerificationTaxformsGetTest extends AbstractIntegrationTest { 18 | 19 | private String accessToken; 20 | 21 | @Before 22 | public void setUp() throws Exception { 23 | SandboxPublicTokenCreateRequest request = new SandboxPublicTokenCreateRequest() 24 | .institutionId(INCOME_INSTITUTION_ID) 25 | .initialProducts(Arrays.asList(Products.INCOME_VERIFICATION)); 26 | 27 | Response createResponse = client() 28 | .sandboxPublicTokenCreate(request) 29 | .execute(); 30 | 31 | assertSuccessResponse(createResponse); 32 | 33 | ItemPublicTokenExchangeRequest exchangeRequest = new ItemPublicTokenExchangeRequest() 34 | .publicToken(createResponse.body().getPublicToken()); 35 | 36 | Response response = client() 37 | .itemPublicTokenExchange(exchangeRequest) 38 | .execute(); 39 | 40 | assertSuccessResponse(response); 41 | 42 | this.accessToken = response.body().getAccessToken(); 43 | } 44 | 45 | @Test 46 | public void testIncomeVerificationTaxformsGet() throws Exception { 47 | IncomeVerificationTaxformsGetRequest request = new IncomeVerificationTaxformsGetRequest() 48 | .accessToken(this.accessToken); 49 | 50 | Response apiResponse = client().incomeVerificationTaxformsGet(request).execute(); 51 | 52 | IncomeVerificationTaxformsGetResponse taxformsResponse = apiResponse.body(); 53 | assertNotNull(taxformsResponse); 54 | assertNull(taxformsResponse.getError()); 55 | assertTrue(taxformsResponse.getTaxforms().size() > 0); 56 | assertTrue(taxformsResponse.getDocumentMetadata().size() > 0); 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/ItemAccessTokenInvalidateTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration; 2 | 3 | import static org.junit.Assert.assertNotEquals; 4 | import static org.junit.Assert.assertNotNull; 5 | 6 | import com.plaid.client.model.PlaidError; 7 | import com.plaid.client.model.PlaidErrorType; 8 | import com.plaid.client.model.ItemAccessTokenInvalidateRequest; 9 | import com.plaid.client.model.ItemAccessTokenInvalidateResponse; 10 | import com.plaid.client.model.Products; 11 | import java.util.Arrays; 12 | import java.util.List; 13 | import org.junit.Test; 14 | import retrofit2.Response; 15 | 16 | public class ItemAccessTokenInvalidateTest extends AbstractItemIntegrationTest { 17 | 18 | @Override 19 | protected List setupItemProducts() { 20 | return Arrays.asList(Products.AUTH); 21 | } 22 | 23 | @Override 24 | protected String setupItemInstitutionId() { 25 | return TARTAN_BANK_INSTITUTION_ID; 26 | } 27 | 28 | @Test 29 | public void testSuccess() throws Exception { 30 | ItemAccessTokenInvalidateRequest request = new ItemAccessTokenInvalidateRequest() 31 | .accessToken(getItemPublicTokenExchangeResponse().getAccessToken()); 32 | 33 | Response response = client() 34 | .itemAccessTokenInvalidate(request) 35 | .execute(); 36 | 37 | assertSuccessResponse(response); 38 | assertNotNull(response.body().getNewAccessToken()); 39 | assertNotEquals( 40 | getItemPublicTokenExchangeResponse().getAccessToken(), 41 | response.body().getNewAccessToken() 42 | ); 43 | } 44 | 45 | @Test 46 | public void testInvalidAccessToken() throws Exception { 47 | ItemAccessTokenInvalidateRequest request = new ItemAccessTokenInvalidateRequest() 48 | .accessToken("not-real"); 49 | 50 | Response response = client() 51 | .itemAccessTokenInvalidate(request) 52 | .execute(); 53 | 54 | assertErrorResponse( 55 | response, 56 | PlaidErrorType.INVALID_INPUT, 57 | "INVALID_ACCESS_TOKEN" 58 | ); 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/ItemApexProcessorTokenCreateTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration; 2 | 3 | import static org.junit.Assert.*; 4 | 5 | import com.plaid.client.model.PlaidError; 6 | import com.plaid.client.model.PlaidErrorType; 7 | import com.plaid.client.model.ProcessorApexProcessorTokenCreateRequest; 8 | import com.plaid.client.model.ProcessorTokenCreateResponse; 9 | import com.plaid.client.model.Products; 10 | import java.util.Arrays; 11 | import java.util.Date; 12 | import java.util.List; 13 | import org.junit.Test; 14 | import retrofit2.Response; 15 | 16 | public class ItemApexProcessorTokenCreateTest 17 | extends AbstractItemIntegrationTest { 18 | 19 | @Override 20 | protected List setupItemProducts() { 21 | return Arrays.asList(Products.AUTH); 22 | } 23 | 24 | @Override 25 | protected String setupItemInstitutionId() { 26 | return TARTAN_BANK_INSTITUTION_ID; 27 | } 28 | 29 | @Test 30 | public void testError() throws Exception { 31 | ProcessorApexProcessorTokenCreateRequest request = new ProcessorApexProcessorTokenCreateRequest() 32 | .accessToken(getItemPublicTokenExchangeResponse().getAccessToken()) 33 | .accountId("FooBarAccountId"); 34 | 35 | Response response = client() 36 | .processorApexProcessorTokenCreate(request) 37 | .execute(); 38 | // Just assert that some error was returned - due to the nature of the 39 | // integration and required configuration at the API key level, we don't 40 | // know the exact error code to expect. 41 | 42 | assertErrorResponse( 43 | response, 44 | PlaidErrorType.INVALID_REQUEST, 45 | "INVALID_FIELD" 46 | ); 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/ItemDwollaProcessorTokenCreateTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration; 2 | 3 | import static org.junit.Assert.*; 4 | 5 | import com.plaid.client.model.PlaidError; 6 | import com.plaid.client.model.PlaidErrorType; 7 | import com.plaid.client.model.ProcessorTokenCreateRequest; 8 | import com.plaid.client.model.ProcessorTokenCreateResponse; 9 | import com.plaid.client.model.Products; 10 | import java.util.Arrays; 11 | import java.util.Date; 12 | import java.util.List; 13 | import org.junit.Test; 14 | import retrofit2.Response; 15 | 16 | public class ItemDwollaProcessorTokenCreateTest 17 | extends AbstractItemIntegrationTest { 18 | 19 | @Override 20 | protected List setupItemProducts() { 21 | return Arrays.asList(Products.AUTH); 22 | } 23 | 24 | @Override 25 | protected String setupItemInstitutionId() { 26 | return TARTAN_BANK_INSTITUTION_ID; 27 | } 28 | 29 | @Test 30 | public void testError() throws Exception { 31 | ProcessorTokenCreateRequest request = new ProcessorTokenCreateRequest() 32 | .accessToken(getItemPublicTokenExchangeResponse().getAccessToken()) 33 | .processor(ProcessorTokenCreateRequest.ProcessorEnum.DWOLLA) 34 | .accountId("FooBarAccountId"); 35 | 36 | Response response = client() 37 | .processorTokenCreate(request) 38 | .execute(); 39 | 40 | // Just assert that some error was returned - due to the nature of the 41 | // integration and required configuration at the API key level, we don't 42 | // know the exact error code to expect. 43 | assertErrorResponse( 44 | response, 45 | PlaidErrorType.INVALID_REQUEST, 46 | "INVALID_FIELD" 47 | ); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/ItemImportTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration; 2 | 3 | import static org.junit.Assert.*; 4 | 5 | import com.plaid.client.model.ItemImportRequest; 6 | import com.plaid.client.model.ItemImportRequestUserAuth; 7 | import com.plaid.client.model.ItemImportRequestOptions; 8 | import com.plaid.client.model.ItemImportResponse; 9 | import com.plaid.client.model.Products; 10 | import java.util.Arrays; 11 | import java.util.HashMap; 12 | import org.junit.Test; 13 | import retrofit2.Response; 14 | 15 | public class ItemImportTest extends AbstractIntegrationTest { 16 | 17 | @Test 18 | public void testSuccess() throws Exception { 19 | ItemImportRequestOptions options = new ItemImportRequestOptions() 20 | .webhook("https://some.webhook.example.com"); 21 | 22 | ItemImportRequestUserAuth itemImportRequestUserAuth = new ItemImportRequestUserAuth() 23 | .userId("user_good") 24 | .authToken("pass_good"); 25 | 26 | ItemImportRequest request = new ItemImportRequest() 27 | .products(Arrays.asList(Products.IDENTITY, Products.AUTH)) 28 | .userAuth(itemImportRequestUserAuth) 29 | .options(options); 30 | 31 | Response response = client() 32 | .itemImport(request) 33 | .execute(); 34 | assertSuccessResponse(response); 35 | assertNotNull(response.body().getAccessToken()); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/ItemPublicTokenExchangeTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration; 2 | 3 | import static org.junit.Assert.assertNotNull; 4 | 5 | import com.plaid.client.model.PlaidError; 6 | import com.plaid.client.model.PlaidErrorType; 7 | import com.plaid.client.model.ItemPublicTokenExchangeRequest; 8 | import com.plaid.client.model.ItemPublicTokenExchangeResponse; 9 | import com.plaid.client.model.Products; 10 | import com.plaid.client.model.SandboxPublicTokenCreateRequest; 11 | import com.plaid.client.model.SandboxPublicTokenCreateResponse; 12 | import java.util.Arrays; 13 | import java.util.HashMap; 14 | import org.junit.Before; 15 | import org.junit.Test; 16 | import retrofit2.Response; 17 | 18 | public class ItemPublicTokenExchangeTest extends AbstractIntegrationTest { 19 | 20 | private String publicToken; 21 | 22 | @Before 23 | public void setUp() throws Exception { 24 | SandboxPublicTokenCreateRequest request = new SandboxPublicTokenCreateRequest() 25 | .institutionId(TARTAN_BANK_INSTITUTION_ID) 26 | .initialProducts(Arrays.asList(Products.AUTH)); 27 | 28 | Response response = client() 29 | .sandboxPublicTokenCreate(request) 30 | .execute(); 31 | 32 | assertSuccessResponse(response); 33 | publicToken = response.body().getPublicToken(); 34 | } 35 | 36 | @Test 37 | public void testSuccess() throws Exception { 38 | ItemPublicTokenExchangeRequest request = new ItemPublicTokenExchangeRequest() 39 | .publicToken(publicToken); 40 | 41 | Response response = client() 42 | .itemPublicTokenExchange(request) 43 | .execute(); 44 | 45 | assertSuccessResponse(response); 46 | assertNotNull(response.body().getAccessToken()); 47 | assertNotNull(response.body().getItemId()); 48 | } 49 | 50 | @Test 51 | public void testInvalidTokenFailure() throws Exception { 52 | ItemPublicTokenExchangeRequest request = new ItemPublicTokenExchangeRequest() 53 | 54 | .publicToken("not-real"); 55 | Response response = client() 56 | .itemPublicTokenExchange(request) 57 | .execute(); 58 | 59 | assertErrorResponse( 60 | response, 61 | PlaidErrorType.INVALID_INPUT, 62 | "INVALID_PUBLIC_TOKEN" 63 | ); 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/ItemRemoveTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration; 2 | 3 | import static org.junit.Assert.assertTrue; 4 | 5 | import com.plaid.client.model.ItemRemoveRequest; 6 | import com.plaid.client.model.ItemRemoveResponse; 7 | import com.plaid.client.model.Products; 8 | import java.util.Arrays; 9 | import java.util.List; 10 | import org.junit.Test; 11 | import retrofit2.Response; 12 | 13 | public class ItemRemoveTest extends AbstractItemIntegrationTest { 14 | 15 | @Override 16 | protected List setupItemProducts() { 17 | return Arrays.asList(Products.AUTH); 18 | } 19 | 20 | @Override 21 | protected String setupItemInstitutionId() { 22 | return TARTAN_BANK_INSTITUTION_ID; 23 | } 24 | 25 | @Test 26 | public void testSuccess() throws Exception { 27 | ItemRemoveRequest request = new ItemRemoveRequest() 28 | .accessToken(getItemPublicTokenExchangeResponse().getAccessToken()); 29 | 30 | Response response = client() 31 | .itemRemove(request) 32 | .execute(); 33 | 34 | assertSuccessResponse(response); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/ItemStripeTokenCreateTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration; 2 | 3 | import static org.junit.Assert.*; 4 | 5 | import com.plaid.client.model.PlaidError; 6 | import com.plaid.client.model.PlaidErrorType; 7 | import com.plaid.client.model.ProcessorStripeBankAccountTokenCreateRequest; 8 | import com.plaid.client.model.ProcessorStripeBankAccountTokenCreateResponse; 9 | import com.plaid.client.model.Products; 10 | import java.util.Arrays; 11 | import java.util.Date; 12 | import java.util.List; 13 | import org.junit.Test; 14 | import retrofit2.Response; 15 | 16 | public class ItemStripeTokenCreateTest extends AbstractItemIntegrationTest { 17 | 18 | @Override 19 | protected List setupItemProducts() { 20 | return Arrays.asList(Products.AUTH); 21 | } 22 | 23 | @Override 24 | protected String setupItemInstitutionId() { 25 | return TARTAN_BANK_INSTITUTION_ID; 26 | } 27 | 28 | @Test 29 | public void testError() throws Exception { 30 | ProcessorStripeBankAccountTokenCreateRequest request = new ProcessorStripeBankAccountTokenCreateRequest() 31 | .accessToken(getItemPublicTokenExchangeResponse().getAccessToken()) 32 | .accountId("FooBarAccountId"); 33 | 34 | Response response = client() 35 | .processorStripeBankAccountTokenCreate(request) 36 | .execute(); 37 | // Just assert that some error was returned - due to the nature of the 38 | // integration and required configuration at the API key level, we don't 39 | // know the exact error code to expect. 40 | assertErrorResponse( 41 | response, 42 | PlaidErrorType.INVALID_REQUEST, 43 | "INVALID_FIELD" 44 | ); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/ItemWebhookUpdateTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration; 2 | 3 | import static org.junit.Assert.assertEquals; 4 | 5 | import com.plaid.client.model.PlaidError; 6 | import com.plaid.client.model.PlaidErrorType; 7 | import com.plaid.client.model.Item; 8 | import com.plaid.client.model.ItemWebhookUpdateRequest; 9 | import com.plaid.client.model.ItemWebhookUpdateResponse; 10 | import com.plaid.client.model.Products; 11 | import java.util.Arrays; 12 | import java.util.List; 13 | import org.junit.Test; 14 | import retrofit2.Response; 15 | 16 | public class ItemWebhookUpdateTest extends AbstractItemIntegrationTest { 17 | 18 | @Override 19 | protected List setupItemProducts() { 20 | return Arrays.asList(Products.TRANSACTIONS); 21 | } 22 | 23 | @Override 24 | protected String setupItemInstitutionId() { 25 | return TARTAN_BANK_INSTITUTION_ID; 26 | } 27 | 28 | @Test 29 | public void testSuccess() throws Exception { 30 | // Update the webhook 31 | String webhook = "https://baz.xyz/foo-test-hook"; 32 | ItemWebhookUpdateRequest request = new ItemWebhookUpdateRequest() 33 | .accessToken(getItemPublicTokenExchangeResponse().getAccessToken()) 34 | .webhook(webhook); 35 | 36 | Response webhookResponse = client() 37 | .itemWebhookUpdate(request) 38 | .execute(); 39 | 40 | assertSuccessResponse(webhookResponse); 41 | Item item = webhookResponse.body().getItem(); 42 | assertEquals(item.getWebhook(), webhook); 43 | } 44 | 45 | @Test 46 | public void testFailure() throws Exception { 47 | // Invalid webhook URL provided 48 | ItemWebhookUpdateRequest request = new ItemWebhookUpdateRequest() 49 | .accessToken(getItemPublicTokenExchangeResponse().getAccessToken()) 50 | .webhook("invalid-hook"); 51 | 52 | Response webhookResponse = client() 53 | .itemWebhookUpdate(request) 54 | .execute(); 55 | 56 | assertErrorResponse( 57 | webhookResponse, 58 | PlaidErrorType.INVALID_REQUEST, 59 | "INVALID_FIELD" 60 | ); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/PaymentCreateTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration; 2 | 3 | import static org.junit.Assert.assertNotNull; 4 | 5 | import com.plaid.client.integration.RecipientCreateTest; 6 | import com.plaid.client.model.PaymentAmount; 7 | import com.plaid.client.model.PaymentAmountCurrency; 8 | import com.plaid.client.model.PaymentInitiationPaymentCreateRequest; 9 | import com.plaid.client.model.PaymentInitiationPaymentCreateResponse; 10 | import com.plaid.client.model.PaymentInitiationPaymentCreateResponse; 11 | import com.plaid.client.model.PaymentInitiationRecipientCreateResponse; 12 | import com.plaid.client.request.PlaidApi; 13 | import org.junit.Test; 14 | import retrofit2.Response; 15 | 16 | public class PaymentCreateTest extends AbstractIntegrationTest { 17 | 18 | /** 19 | * Utility method that creates a paymentinitiation. 20 | * Used by other integration tests to set up. 21 | */ 22 | public static Response createPayment( 23 | PlaidApi client 24 | ) 25 | throws Exception { 26 | Response createRecipientResponse = RecipientCreateTest.createRecipientWithIban( 27 | client 28 | ); 29 | String recipientId = createRecipientResponse.body().getRecipientId(); 30 | assertNotNull(recipientId); 31 | 32 | PaymentAmount amount = new PaymentAmount() 33 | .currency(PaymentAmountCurrency.GBP) 34 | .value(999.99); 35 | 36 | PaymentInitiationPaymentCreateRequest paymentCreateRequest = new PaymentInitiationPaymentCreateRequest() 37 | .recipientId(recipientId) 38 | .reference("reference") 39 | .amount(amount); 40 | 41 | Response response = client 42 | .paymentInitiationPaymentCreate(paymentCreateRequest) 43 | .execute(); 44 | 45 | return response; 46 | } 47 | 48 | @Test 49 | public void testPaymentCreateSuccess() throws Exception { 50 | Response response = createPayment( 51 | client() 52 | ); 53 | assertSuccessResponse(response); 54 | assertNotNull(response.body().getPaymentId()); 55 | assertNotNull(response.body().getStatus()); 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/PaymentListTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration; 2 | 3 | import static org.junit.Assert.assertNotNull; 4 | import static org.junit.Assert.assertTrue; 5 | 6 | import com.plaid.client.integration.PaymentCreateTest; 7 | import com.plaid.client.model.PaymentInitiationPaymentCreateResponse; 8 | import com.plaid.client.model.PaymentInitiationPaymentListRequest; 9 | import com.plaid.client.model.PaymentInitiationPaymentListResponse; 10 | import org.junit.Test; 11 | import retrofit2.Response; 12 | 13 | import java.time.OffsetDateTime; 14 | 15 | public class PaymentListTest extends AbstractIntegrationTest { 16 | 17 | @Test 18 | public void testPaymentListSuccess() throws Exception { 19 | Response createPaymentResponse = PaymentCreateTest.createPayment( 20 | client() 21 | ); 22 | String paymentId = createPaymentResponse.body().getPaymentId(); 23 | assertNotNull(paymentId); 24 | 25 | PaymentInitiationPaymentListRequest request = new PaymentInitiationPaymentListRequest() 26 | .count(10); 27 | 28 | Response listPaymentResponse = client() 29 | .paymentInitiationPaymentList(request) 30 | .execute(); 31 | 32 | assertSuccessResponse(listPaymentResponse); 33 | assertTrue(listPaymentResponse.body().getPayments().size() > 0); 34 | 35 | if (listPaymentResponse.body().getNextCursor() != null) { 36 | OffsetDateTime nextCursor = listPaymentResponse.body().getNextCursor(); 37 | PaymentInitiationPaymentListRequest cursorReq = new PaymentInitiationPaymentListRequest() 38 | .cursor(nextCursor); 39 | 40 | Response listPaymentResponseWithCursor = client() 41 | .paymentInitiationPaymentList(cursorReq) 42 | .execute(); 43 | assertSuccessResponse(listPaymentResponseWithCursor); 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/PlaidClientTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration; 2 | 3 | import static org.junit.Assert.*; 4 | 5 | import com.plaid.client.model.CountryCode; 6 | import com.plaid.client.model.PlaidError; 7 | import com.plaid.client.model.PlaidErrorType; 8 | import com.plaid.client.model.InstitutionsSearchRequest; 9 | import com.plaid.client.model.InstitutionsSearchResponse; 10 | import com.plaid.client.model.Products; 11 | 12 | import java.util.Arrays; 13 | import org.junit.Test; 14 | import retrofit2.Response; 15 | 16 | public class PlaidClientTest extends AbstractIntegrationTest { 17 | 18 | @Test 19 | public void testFailedRequest() throws Exception { 20 | InstitutionsSearchRequest request = new InstitutionsSearchRequest() 21 | .products(Arrays.asList(Products.ASSETS)) 22 | .countryCodes(Arrays.asList(CountryCode.US)) 23 | .query(""); 24 | 25 | Response response = client() 26 | .institutionsSearch(request) 27 | .execute(); 28 | 29 | assertErrorResponse(response, PlaidErrorType.INVALID_REQUEST, "INVALID_FIELD"); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/RecipientListTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration; 2 | 3 | import static org.junit.Assert.assertNotNull; 4 | import static org.junit.Assert.assertTrue; 5 | 6 | import com.plaid.client.integration.RecipientCreateTest; 7 | import com.plaid.client.model.PaymentInitiationRecipientCreateResponse; 8 | import com.plaid.client.model.PaymentInitiationRecipientListRequest; 9 | import com.plaid.client.model.PaymentInitiationRecipientListResponse; 10 | import java.util.Arrays; 11 | import org.junit.Test; 12 | import retrofit2.Response; 13 | 14 | public class RecipientListTest extends AbstractIntegrationTest { 15 | 16 | @Test 17 | public void testRecipientListSuccess() throws Exception { 18 | Response createRecipientResponse = RecipientCreateTest.createRecipientWithIban( 19 | client() 20 | ); 21 | assertNotNull(createRecipientResponse.body().getRecipientId()); 22 | 23 | PaymentInitiationRecipientListRequest request = new PaymentInitiationRecipientListRequest(); 24 | 25 | Response listRecipientResponse = client() 26 | .paymentInitiationRecipientList(request) 27 | .execute(); 28 | assertSuccessResponse(listRecipientResponse); 29 | assertTrue(listRecipientResponse.body().getRecipients().size() > 0); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/SandboxItemFireWebhookTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration; 2 | 3 | import static org.junit.Assert.assertTrue; 4 | 5 | import com.plaid.client.model.PlaidError; 6 | import com.plaid.client.model.ItemWebhookUpdateRequest; 7 | import com.plaid.client.model.ItemWebhookUpdateResponse; 8 | import com.plaid.client.model.Products; 9 | import com.plaid.client.model.SandboxItemFireWebhookRequest; 10 | import com.plaid.client.model.SandboxItemFireWebhookResponse; 11 | import com.plaid.client.model.WebhookType; 12 | import java.util.Arrays; 13 | import java.util.List; 14 | import org.junit.Test; 15 | import retrofit2.Response; 16 | 17 | public class SandboxItemFireWebhookTest extends AbstractItemIntegrationTest { 18 | 19 | @Override 20 | protected List setupItemProducts() { 21 | return Arrays.asList(Products.TRANSACTIONS); 22 | } 23 | 24 | @Override 25 | protected String setupItemInstitutionId() { 26 | return TARTAN_BANK_INSTITUTION_ID; 27 | } 28 | 29 | @Test 30 | public void testSuccess() throws Exception { 31 | // Set a webhook 32 | ItemWebhookUpdateRequest request = new ItemWebhookUpdateRequest() 33 | .accessToken(getItemPublicTokenExchangeResponse().getAccessToken()) 34 | .webhook("https://baz.xyz/foo-test-hook"); 35 | 36 | Response webhookResponse = client() 37 | .itemWebhookUpdate(request) 38 | .execute(); 39 | 40 | // Fire a webhook 41 | SandboxItemFireWebhookRequest fireRequest = new SandboxItemFireWebhookRequest() 42 | .accessToken(getItemPublicTokenExchangeResponse().getAccessToken()) 43 | .webhookCode( 44 | SandboxItemFireWebhookRequest.WebhookCodeEnum.DEFAULT_UPDATE 45 | ) 46 | .webhookType(WebhookType.TRANSACTIONS); 47 | 48 | Response response = client() 49 | .sandboxItemFireWebhook(fireRequest) 50 | .execute(); 51 | 52 | assertSuccessResponse(response); 53 | assertTrue(response.body().getWebhookFired()); 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/SandboxItemResetLoginTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration; 2 | 3 | import static org.junit.Assert.assertTrue; 4 | 5 | import com.plaid.client.model.PlaidError; 6 | import com.plaid.client.model.Products; 7 | import com.plaid.client.model.SandboxItemResetLoginRequest; 8 | import com.plaid.client.model.SandboxItemResetLoginResponse; 9 | import java.util.Arrays; 10 | import java.util.List; 11 | import org.junit.Test; 12 | import retrofit2.Response; 13 | 14 | public class SandboxItemResetLoginTest extends AbstractItemIntegrationTest { 15 | 16 | @Override 17 | protected List setupItemProducts() { 18 | return Arrays.asList(Products.AUTH); 19 | } 20 | 21 | @Override 22 | protected String setupItemInstitutionId() { 23 | return TARTAN_BANK_INSTITUTION_ID; 24 | } 25 | 26 | @Test 27 | public void testSuccess() throws Exception { 28 | SandboxItemResetLoginRequest request = new SandboxItemResetLoginRequest() 29 | .accessToken(getItemPublicTokenExchangeResponse().getAccessToken()); 30 | 31 | Response response = client() 32 | .sandboxItemResetLogin(request) 33 | .execute(); 34 | 35 | assertSuccessResponse(response); 36 | assertTrue(response.body().getResetLogin()); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/SandboxPublicTokenCreateTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration; 2 | 3 | import static org.junit.Assert.assertNotNull; 4 | 5 | import com.plaid.client.model.PlaidError; 6 | import com.plaid.client.model.ItemPublicTokenExchangeRequest; 7 | import com.plaid.client.model.ItemPublicTokenExchangeResponse; 8 | import com.plaid.client.model.Products; 9 | import com.plaid.client.model.SandboxPublicTokenCreateRequest; 10 | import com.plaid.client.model.SandboxPublicTokenCreateResponse; 11 | import java.util.Arrays; 12 | import java.util.List; 13 | import org.junit.Test; 14 | import retrofit2.Response; 15 | 16 | public class SandboxPublicTokenCreateTest extends AbstractIntegrationTest { 17 | 18 | @Test 19 | public void testSuccess() throws Exception { 20 | SandboxPublicTokenCreateRequest request = new SandboxPublicTokenCreateRequest() 21 | .institutionId(TARTAN_BANK_INSTITUTION_ID) 22 | .initialProducts(Arrays.asList(Products.AUTH)); 23 | 24 | Response createResponse = client() 25 | .sandboxPublicTokenCreate(request) 26 | .execute(); 27 | 28 | assertSuccessResponse(createResponse); 29 | assertNotNull(createResponse.body().getPublicToken()); 30 | 31 | ItemPublicTokenExchangeRequest exchangeRequest = new ItemPublicTokenExchangeRequest() 32 | .publicToken(createResponse.body().getPublicToken()); 33 | 34 | Response response = client() 35 | .itemPublicTokenExchange(exchangeRequest) 36 | .execute(); 37 | 38 | assertSuccessResponse(response); 39 | assertNotNull(response.body().getAccessToken()); 40 | assertNotNull(response.body().getItemId()); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/TransactionsRefreshTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration; 2 | 3 | import com.plaid.client.model.PlaidError; 4 | import com.plaid.client.model.PlaidErrorType; 5 | import com.plaid.client.model.Products; 6 | import com.plaid.client.model.TransactionsRefreshRequest; 7 | import com.plaid.client.model.TransactionsRefreshResponse; 8 | import java.util.Collections; 9 | import java.util.List; 10 | import org.junit.Test; 11 | import retrofit2.Response; 12 | 13 | public class TransactionsRefreshTest extends AbstractItemIntegrationTest { 14 | 15 | @Override 16 | protected List setupItemProducts() { 17 | return Collections.singletonList(Products.TRANSACTIONS); 18 | } 19 | 20 | @Override 21 | protected String setupItemInstitutionId() { 22 | return TARTAN_BANK_INSTITUTION_ID; 23 | } 24 | 25 | @Test 26 | public void testSuccess() throws Exception { 27 | TransactionsRefreshRequest request = new TransactionsRefreshRequest() 28 | .accessToken(getItemPublicTokenExchangeResponse().getAccessToken()); 29 | 30 | Response response = client() 31 | .transactionsRefresh(request) 32 | .execute(); 33 | assertSuccessResponse(response); 34 | } 35 | 36 | @Test 37 | public void testInvalidAccessKey() throws Exception { 38 | TransactionsRefreshRequest request = new TransactionsRefreshRequest() 39 | .accessToken("Bad Token"); 40 | 41 | Response response = client() 42 | .transactionsRefresh(request) 43 | .execute(); 44 | 45 | assertErrorResponse( 46 | response, 47 | PlaidErrorType.INVALID_INPUT, 48 | "INVALID_ACCESS_TOKEN" 49 | ); 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/WebhookVerificationKeyGetTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration; 2 | 3 | import static org.junit.Assert.assertNotNull; 4 | 5 | import com.plaid.client.model.PlaidError; 6 | import com.plaid.client.model.PlaidErrorType; 7 | import com.plaid.client.model.WebhookVerificationKeyGetRequest; 8 | import com.plaid.client.model.WebhookVerificationKeyGetResponse; 9 | import org.junit.Test; 10 | import retrofit2.Response; 11 | 12 | public class WebhookVerificationKeyGetTest extends AbstractIntegrationTest { 13 | 14 | @Test 15 | public void testWebhookVerificationKeyGetSuccess() throws Exception { 16 | WebhookVerificationKeyGetRequest request = new WebhookVerificationKeyGetRequest() 17 | .keyId("6c5516e1-92dc-479e-a8ff-5a51992e0001"); 18 | 19 | Response getWebhookVerificationKeyResponse = client() 20 | .webhookVerificationKeyGet(request) 21 | .execute(); 22 | assertSuccessResponse(getWebhookVerificationKeyResponse); 23 | assertNotNull(getWebhookVerificationKeyResponse.body().getKey()); 24 | assertNotNull(getWebhookVerificationKeyResponse.body().getKey().getAlg()); 25 | assertNotNull( 26 | getWebhookVerificationKeyResponse.body().getKey().getCreatedAt() 27 | ); 28 | assertNotNull(getWebhookVerificationKeyResponse.body().getKey().getCrv()); 29 | assertNotNull(getWebhookVerificationKeyResponse.body().getKey().getKid()); 30 | assertNotNull(getWebhookVerificationKeyResponse.body().getKey().getKty()); 31 | assertNotNull(getWebhookVerificationKeyResponse.body().getKey().getUse()); 32 | assertNotNull(getWebhookVerificationKeyResponse.body().getKey().getX()); 33 | assertNotNull(getWebhookVerificationKeyResponse.body().getKey().getY()); 34 | } 35 | 36 | @Test 37 | public void testWebhookVerificationKeyGetFailure() throws Exception { 38 | WebhookVerificationKeyGetRequest request = new WebhookVerificationKeyGetRequest() 39 | .keyId("not-a-key-id"); 40 | 41 | Response response = client() 42 | .webhookVerificationKeyGet(request) 43 | .execute(); 44 | 45 | assertErrorResponse( 46 | response, 47 | PlaidErrorType.INVALID_INPUT, 48 | "INVALID_WEBHOOK_VERIFICATION_KEY_ID" 49 | ); 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/banktransfer/BankTransferBalanceGetTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration.banktransfer; 2 | 3 | import static org.junit.Assert.assertFalse; 4 | import static org.junit.Assert.assertNotNull; 5 | 6 | import com.plaid.client.integration.AbstractIntegrationTest; 7 | import com.plaid.client.model.BankTransferBalanceGetRequest; 8 | import com.plaid.client.model.BankTransferBalanceGetResponse; 9 | import org.junit.Test; 10 | import retrofit2.Response; 11 | 12 | public class BankTransferBalanceGetTest extends AbstractIntegrationTest { 13 | 14 | @Test 15 | public void testBankTransferBalanceGet() throws Exception { 16 | BankTransferBalanceGetRequest request = new BankTransferBalanceGetRequest(); 17 | 18 | Response response = client() 19 | .bankTransferBalanceGet(request) 20 | .execute(); 21 | assertSuccessResponse(response); 22 | assertNotNull(response.body().getBalance()); 23 | assertFalse(response.body().getBalance().getAvailable().isEmpty()); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/banktransfer/BankTransferCancelFailureTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration.banktransfer; 2 | 3 | import static org.junit.Assert.*; 4 | 5 | import com.google.gson.Gson; 6 | import com.plaid.client.model.BankTransferCancelRequest; 7 | import com.plaid.client.model.BankTransferCancelResponse; 8 | import com.plaid.client.model.BankTransferFailure; 9 | import com.plaid.client.model.PlaidError; 10 | import com.plaid.client.model.PlaidErrorType; 11 | import com.plaid.client.model.SandboxBankTransferSimulateRequest; 12 | import com.plaid.client.model.SandboxBankTransferSimulateResponse; 13 | import retrofit2.Response; 14 | 15 | public class BankTransferCancelFailureTest extends AbstractBankTransferTest { 16 | 17 | @Override 18 | protected void bankTransferTest() throws AssertionError, Exception { 19 | SandboxBankTransferSimulateRequest request = new SandboxBankTransferSimulateRequest() 20 | .bankTransferId(getBankTransfer().getId()) 21 | .eventType("failed"); 22 | 23 | Response simulateResponse = client() 24 | .sandboxBankTransferSimulate(request) 25 | .execute(); 26 | 27 | assertSuccessResponse(simulateResponse); 28 | 29 | BankTransferCancelRequest cancelRequest = new BankTransferCancelRequest() 30 | .bankTransferId(getBankTransfer().getId()); 31 | 32 | Response cancelResponse = client() 33 | .bankTransferCancel(cancelRequest) 34 | .execute(); 35 | 36 | Gson gson = new Gson(); 37 | PlaidError error = gson.fromJson( 38 | cancelResponse.errorBody().string(), 39 | PlaidError.class 40 | ); 41 | assertNotNull(error); 42 | assertNotNull(error.getRequestId()); 43 | assertEquals(PlaidErrorType.BANK_TRANSFER_ERROR, error.getErrorType()); 44 | assertEquals("BANK_TRANSFER_NOT_CANCELLABLE", error.getErrorCode()); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/banktransfer/BankTransferCancelSuccessTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration.banktransfer; 2 | 3 | import com.plaid.client.model.BankTransferCancelRequest; 4 | import com.plaid.client.model.BankTransferCancelResponse; 5 | import retrofit2.Response; 6 | 7 | public class BankTransferCancelSuccessTest extends AbstractBankTransferTest { 8 | 9 | @Override 10 | protected void bankTransferTest() throws AssertionError, Exception { 11 | BankTransferCancelRequest cancelRequest = new BankTransferCancelRequest() 12 | .bankTransferId(getBankTransfer().getId()); 13 | 14 | Response response = client() 15 | .bankTransferCancel(cancelRequest) 16 | .execute(); 17 | assertSuccessResponse(response); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/banktransfer/BankTransferCreateTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration.banktransfer; 2 | 3 | import static org.junit.Assert.assertNotNull; 4 | 5 | public class BankTransferCreateTest extends AbstractBankTransferTest { 6 | @Override 7 | protected void bankTransferTest() throws AssertionError { 8 | assertNotNull(getBankTransfer().getId()); 9 | } 10 | }; -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/banktransfer/BankTransferEventListTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration.banktransfer; 2 | 3 | import static org.junit.Assert.assertEquals; 4 | 5 | import com.plaid.client.model.BankTransferEventListRequest; 6 | import com.plaid.client.model.BankTransferEventListResponse; 7 | import com.plaid.client.model.SandboxBankTransferSimulateRequest; 8 | import com.plaid.client.model.SandboxBankTransferSimulateResponse; 9 | import com.plaid.client.model.BankTransferEvent; 10 | import java.util.List; 11 | import retrofit2.Response; 12 | 13 | public class BankTransferEventListTest extends AbstractBankTransferTest { 14 | 15 | @Override 16 | protected void bankTransferTest() throws AssertionError, Exception { 17 | SandboxBankTransferSimulateRequest request = new SandboxBankTransferSimulateRequest() 18 | .bankTransferId(getBankTransfer().getId()) 19 | .eventType("posted"); 20 | 21 | Response simulateResponse = client() 22 | .sandboxBankTransferSimulate(request) 23 | .execute(); 24 | assertSuccessResponse(simulateResponse); 25 | 26 | BankTransferEventListRequest listRequest = new BankTransferEventListRequest() 27 | .bankTransferId(getBankTransfer().getId()); 28 | 29 | Response eventListResponse = client() 30 | .bankTransferEventList(listRequest) 31 | .execute(); 32 | assertSuccessResponse(eventListResponse); 33 | List bankTransferEvents = eventListResponse 34 | .body() 35 | .getBankTransferEvents(); 36 | assertEquals(1, bankTransferEvents.size()); 37 | for (BankTransferEvent e : bankTransferEvents) { 38 | assertEquals(getBankTransfer().getId(), e.getBankTransferId()); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/banktransfer/BankTransferEventSyncTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration.banktransfer; 2 | 3 | import static org.junit.Assert.assertTrue; 4 | 5 | import com.plaid.client.model.BankTransferEventSyncRequest; 6 | import com.plaid.client.model.BankTransferEventSyncResponse; 7 | import com.plaid.client.model.SandboxBankTransferSimulateRequest; 8 | import com.plaid.client.model.SandboxBankTransferSimulateResponse; 9 | import retrofit2.Response; 10 | 11 | public class BankTransferEventSyncTest extends AbstractBankTransferTest { 12 | 13 | @Override 14 | protected void bankTransferTest() throws AssertionError, Exception { 15 | SandboxBankTransferSimulateRequest request = new SandboxBankTransferSimulateRequest() 16 | .bankTransferId(getBankTransfer().getId()) 17 | .eventType("posted"); 18 | 19 | Response simulateResponse = client() 20 | .sandboxBankTransferSimulate(request) 21 | .execute(); 22 | assertSuccessResponse(simulateResponse); 23 | 24 | BankTransferEventSyncRequest syncRequest = new BankTransferEventSyncRequest() 25 | .afterId(0); 26 | 27 | Response eventSyncResponse = client() 28 | .bankTransferEventSync(syncRequest) 29 | .execute(); 30 | assertSuccessResponse(eventSyncResponse); 31 | assertTrue(eventSyncResponse.body().getBankTransferEvents().size() >= 2); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/banktransfer/BankTransferGetTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration.banktransfer; 2 | 3 | import static org.junit.Assert.assertEquals; 4 | 5 | import com.plaid.client.model.BankTransferGetRequest; 6 | import com.plaid.client.model.BankTransferGetResponse; 7 | import retrofit2.Response; 8 | 9 | public class BankTransferGetTest extends AbstractBankTransferTest { 10 | 11 | @Override 12 | protected void bankTransferTest() throws AssertionError, Exception { 13 | BankTransferGetRequest request = new BankTransferGetRequest() 14 | .bankTransferId(getBankTransfer().getId()); 15 | 16 | Response response = client() 17 | .bankTransferGet(request) 18 | .execute(); 19 | assertSuccessResponse(response); 20 | assertEquals(getBankTransfer(), response.body().getBankTransfer()); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/banktransfer/BankTransferListTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration.banktransfer; 2 | 3 | import static org.junit.Assert.assertEquals; 4 | 5 | import com.plaid.client.model.BankTransferListRequest; 6 | import com.plaid.client.model.BankTransferListResponse; 7 | import retrofit2.Response; 8 | 9 | public class BankTransferListTest extends AbstractBankTransferTest { 10 | 11 | @Override 12 | protected void bankTransferTest() throws AssertionError, Exception { 13 | BankTransferListRequest request = new BankTransferListRequest() 14 | .count(1); 15 | 16 | Response response = client() 17 | .bankTransferList(request) 18 | .execute(); 19 | assertSuccessResponse(response); 20 | assertEquals(1, response.body().getBankTransfers().size()); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/test/java/com/plaid/client/integration/banktransfer/BankTransferMigrateAccountTest.java: -------------------------------------------------------------------------------- 1 | package com.plaid.client.integration.banktransfer; 2 | 3 | import static org.junit.Assert.assertFalse; 4 | 5 | import com.plaid.client.integration.AbstractIntegrationTest; 6 | import com.plaid.client.model.BankTransferMigrateAccountRequest; 7 | import com.plaid.client.model.BankTransferMigrateAccountResponse; 8 | import org.junit.Test; 9 | import retrofit2.Response; 10 | 11 | public class BankTransferMigrateAccountTest extends AbstractIntegrationTest { 12 | 13 | @Test 14 | public void testBankTransferMigrateAccount() throws Exception { 15 | BankTransferMigrateAccountRequest request = new BankTransferMigrateAccountRequest() 16 | .accountNumber("100000000") 17 | .routingNumber("121122676") 18 | .accountType("checking"); 19 | 20 | Response response = client() 21 | .bankTransferMigrateAccount(request) 22 | .execute(); 23 | 24 | assertSuccessResponse(response); 25 | assertFalse(response.body().getAccessToken().isEmpty()); 26 | assertFalse(response.body().getAccountId().isEmpty()); 27 | } 28 | } 29 | --------------------------------------------------------------------------------