repo stringclasses 1k values | file_url stringlengths 96 373 | file_path stringlengths 11 294 | content stringlengths 0 32.8k | language stringclasses 1 value | license stringclasses 6 values | commit_sha stringclasses 1k values | retrieved_at stringdate 2026-01-04 14:45:56 2026-01-04 18:30:23 | truncated bool 2 classes |
|---|---|---|---|---|---|---|---|---|
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/test/java/com/plaid/client/integration/ItemRemoveTest.java | src/test/java/com/plaid/client/integration/ItemRemoveTest.java | package com.plaid.client.integration;
import static org.junit.Assert.assertTrue;
import com.plaid.client.model.ItemRemoveRequest;
import com.plaid.client.model.ItemRemoveResponse;
import com.plaid.client.model.Products;
import java.util.Arrays;
import java.util.List;
import org.junit.Test;
import retrofit2.Response;
public class ItemRemoveTest extends AbstractItemIntegrationTest {
@Override
protected List<Products> setupItemProducts() {
return Arrays.asList(Products.AUTH);
}
@Override
protected String setupItemInstitutionId() {
return TARTAN_BANK_INSTITUTION_ID;
}
@Test
public void testSuccess() throws Exception {
ItemRemoveRequest request = new ItemRemoveRequest()
.accessToken(getItemPublicTokenExchangeResponse().getAccessToken());
Response<ItemRemoveResponse> response = client()
.itemRemove(request)
.execute();
assertSuccessResponse(response);
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/test/java/com/plaid/client/integration/AccountsBalanceGetTest.java | src/test/java/com/plaid/client/integration/AccountsBalanceGetTest.java | package com.plaid.client.integration;
import static com.plaid.client.integration.AbstractItemIntegrationTest.*;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import com.plaid.client.model.AccountBase;
import com.plaid.client.model.AccountSubtype;
import com.plaid.client.model.AccountType;
import com.plaid.client.model.AccountsBalanceGetRequest;
import com.plaid.client.model.AccountsBalanceGetRequestOptions;
import com.plaid.client.model.AccountsGetResponse;
import com.plaid.client.model.PlaidError;
import com.plaid.client.model.PlaidErrorType;
import com.plaid.client.model.Item;
import com.plaid.client.model.ItemStatus;
import com.plaid.client.model.Products;
import java.util.Arrays;
import java.util.List;
import org.junit.Ignore;
import org.junit.Test;
import retrofit2.Response;
public class AccountsBalanceGetTest extends AbstractItemIntegrationTest {
@Override
protected List<Products> setupItemProducts() {
return Arrays.asList(Products.TRANSACTIONS);
}
@Override
protected String setupItemInstitutionId() {
return TARTAN_BANK_INSTITUTION_ID;
}
@Test
public void testAccountsBalanceGetSuccess() throws Exception {
AccountsBalanceGetRequest request = new AccountsBalanceGetRequest()
.accessToken(getItemPublicTokenExchangeResponse().getAccessToken());
Response<AccountsGetResponse> response = client()
.accountsBalanceGet(request)
.execute();
assertSuccessResponse(response);
assertNotNull(response.body().getRequestId());
// item should be the same one we created
assertItemEquals(getItem(), response.body().getItem());
// sandbox should return expected accounts
List<AccountBase> accounts = response.body().getAccounts();
assertTrue(accounts.size() > 1);
assertAccount(
accounts.get(0),
AccountType.DEPOSITORY,
AccountSubtype.CHECKING,
100d,
110d,
null,
"Plaid Checking",
"0000",
"Plaid Gold Standard 0% Interest Checking"
);
assertAccount(
accounts.get(1),
AccountType.DEPOSITORY,
AccountSubtype.SAVINGS,
200d,
210d,
null,
"Plaid Saving",
"1111",
"Plaid Silver Standard 0.1% Interest Saving"
);
assertAccount(
accounts.get(2),
AccountType.DEPOSITORY,
AccountSubtype.CD,
null,
1000d,
null,
"Plaid CD",
"2222",
"Plaid Bronze Standard 0.2% Interest CD"
);
assertAccount(
accounts.get(3),
AccountType.CREDIT,
AccountSubtype.CREDIT_CARD,
null,
410d,
2000d,
"Plaid Credit Card",
"3333",
"Plaid Diamond 12.5% APR Interest Credit Card"
);
}
@Test
public void testAccountsBalanceGetWithAccountId() throws Exception {
// first call to get an account ID
AccountsBalanceGetRequest request = new AccountsBalanceGetRequest()
.accessToken(getItemPublicTokenExchangeResponse().getAccessToken());
Response<AccountsGetResponse> response = client()
.accountsBalanceGet(request)
.execute();
assertSuccessResponse(response);
assertNotNull(response.body().getRequestId());
String accountId = response.body().getAccounts().get(1).getAccountId();
// call under test
AccountsBalanceGetRequest accountsBalanceRequest = new AccountsBalanceGetRequest()
.accessToken(getItemPublicTokenExchangeResponse().getAccessToken());
AccountsBalanceGetRequestOptions options = new AccountsBalanceGetRequestOptions()
.accountIds(Arrays.asList(accountId));
accountsBalanceRequest.setOptions(options);
response = client().accountsBalanceGet(accountsBalanceRequest).execute();
assertSuccessResponse(response);
assertNotNull(response.body().getRequestId());
// item should be the same one we created
assertItemEquals(getItem(), response.body().getItem());
// sandbox should return expected accounts
List<AccountBase> accounts = response.body().getAccounts();
assertEquals(1, accounts.size());
assertAccount(
accounts.get(0),
AccountType.DEPOSITORY,
AccountSubtype.SAVINGS,
200d,
210d,
null,
"Plaid Saving",
"1111",
"Plaid Silver Standard 0.1% Interest Saving"
);
}
@Test
public void testAccountsBalanceGetInvalidAccountId() throws Exception {
AccountsBalanceGetRequest request = new AccountsBalanceGetRequest()
.accessToken(getItemPublicTokenExchangeResponse().getAccessToken());
AccountsBalanceGetRequestOptions options = new AccountsBalanceGetRequestOptions()
.accountIds(Arrays.asList("not-real"));
request.setOptions(options);
Response<AccountsGetResponse> response = client()
.accountsBalanceGet(request)
.execute();
assertErrorResponse(
response,
PlaidErrorType.INVALID_REQUEST,
"INVALID_FIELD"
);
}
@Test
public void testAccountsBalanceGetInvalidAccessToken() throws Exception {
AccountsBalanceGetRequest request = new AccountsBalanceGetRequest()
.accessToken("notreal");
Response<AccountsGetResponse> response = client()
.accountsBalanceGet(request)
.execute();
assertErrorResponse(
response,
PlaidErrorType.INVALID_INPUT,
"INVALID_ACCESS_TOKEN"
);
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/test/java/com/plaid/client/integration/AssetReportCreateTest.java | src/test/java/com/plaid/client/integration/AssetReportCreateTest.java | package com.plaid.client.integration;
import static org.junit.Assert.assertNotNull;
import com.plaid.client.model.AssetReportCreateRequest;
import com.plaid.client.model.AssetReportCreateRequestOptions;
import com.plaid.client.model.AssetReportCreateResponse;
import com.plaid.client.model.AssetReportUser;
import com.plaid.client.model.Products;
import com.plaid.client.request.PlaidApi;
import java.util.Arrays;
import java.util.List;
import org.junit.Test;
import retrofit2.Response;
public class AssetReportCreateTest extends AbstractItemIntegrationTest {
/**
* Utility method that creates an asset report given a client and a list of
* access tokens. Used by other integration tests (ex.
* {@link AssetReportGetTest}) to set up.
*/
public static Response<AssetReportCreateResponse> createAssetReport(
PlaidApi client,
List<String> accessTokens
)
throws Exception {
String webhookUrl = "https://some.webook.example.com";
AssetReportCreateRequest assetReportCreateRequest = new AssetReportCreateRequest()
.accessTokens(accessTokens)
.daysRequested(365);
AssetReportUser assetReportUser = new AssetReportUser()
.firstName("Alberta")
.middleName("Bobbeth")
.lastName("Charleson");
AssetReportCreateRequestOptions assetReportCreateOptions = new AssetReportCreateRequestOptions()
.user(assetReportUser)
.webhook(webhookUrl);
assetReportCreateRequest.options(assetReportCreateOptions);
Response<AssetReportCreateResponse> response = client
.assetReportCreate(assetReportCreateRequest)
.execute();
return response;
}
@Override
protected List<Products> setupItemProducts() {
return Arrays.asList(Products.ASSETS);
}
@Override
protected String setupItemInstitutionId() {
return TARTAN_BANK_INSTITUTION_ID;
}
@Test
public void testAssetReportCreateSuccess() throws Exception {
List<String> accessTokens = Arrays.asList(
getItemPublicTokenExchangeResponse().getAccessToken()
);
Response<AssetReportCreateResponse> response = createAssetReport(
client(),
accessTokens
);
assertSuccessResponse(response);
assertNotNull(response.body().getAssetReportId());
assertNotNull(response.body().getAssetReportToken());
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/test/java/com/plaid/client/integration/ItemGetTest.java | src/test/java/com/plaid/client/integration/ItemGetTest.java | package com.plaid.client.integration;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import com.plaid.client.model.PlaidError;
import com.plaid.client.model.PlaidErrorType;
import com.plaid.client.model.ItemGetRequest;
import com.plaid.client.model.ItemGetResponse;
import com.plaid.client.model.ItemStatusInvestments;
import com.plaid.client.model.ItemStatusLastWebhook;
import com.plaid.client.model.ItemStatusTransactions;
import com.plaid.client.model.Products;
import java.util.Arrays;
import java.util.List;
import org.junit.Test;
import retrofit2.Response;
public class ItemGetTest extends AbstractItemIntegrationTest {
@Override
protected List<Products> setupItemProducts() {
return Arrays.asList(Products.TRANSACTIONS, Products.INVESTMENTS);
}
@Override
protected String setupItemInstitutionId() {
return TARTAN_BANK_INSTITUTION_ID;
}
@Test
public void testSuccess() throws Exception {
ItemGetRequest request = new ItemGetRequest()
.accessToken(getItemPublicTokenExchangeResponse().getAccessToken());
Response<ItemGetResponse> response = client().itemGet(request).execute();
assertSuccessResponse(response);
assertItemEquals(getItem(), getItemFromItemWithConsentFields(response.body().getItem()));
}
@Test
public void testSuccessWithStatus() throws Exception {
ItemGetRequest request = new ItemGetRequest()
.accessToken(getItemPublicTokenExchangeResponse().getAccessToken());
Response<ItemGetResponse> response = client().itemGet(request).execute();
for (int i = 0; i < 10; i++) {
ItemStatusTransactions transactions = response
.body()
.getStatus()
.getTransactions();
ItemStatusInvestments investments = response
.body()
.getStatus()
.getInvestments();
if (transactions.getLastSuccessfulUpdate() != null && investments.getLastSuccessfulUpdate() != null) {
break;
}
Thread.sleep(1000);
response = client().itemGet(request).execute();
}
assertSuccessResponse(response);
assertItemEquals(getItem(), getItemFromItemWithConsentFields(response.body().getItem()));
ItemStatusTransactions transactions = response
.body()
.getStatus()
.getTransactions();
assertNotNull(transactions.getLastSuccessfulUpdate());
ItemStatusInvestments investments = response
.body()
.getStatus()
.getInvestments();
assertNotNull(investments.getLastSuccessfulUpdate());
ItemStatusLastWebhook webhook = response
.body()
.getStatus()
.getLastWebhook();
assertNull(webhook);
}
@Test
public void testFailure() throws Exception {
ItemGetRequest request = new ItemGetRequest()
.accessToken("not-a-token");
Response<ItemGetResponse> response = client().itemGet(request).execute();
assertErrorResponse(
response,
PlaidErrorType.INVALID_INPUT,
"INVALID_ACCESS_TOKEN"
);
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/test/java/com/plaid/client/integration/AssetReportPdfGetTest.java | src/test/java/com/plaid/client/integration/AssetReportPdfGetTest.java | package com.plaid.client.integration;
import static org.junit.Assert.assertTrue;
import com.plaid.client.model.AssetReportCreateResponse;
import com.plaid.client.model.AssetReportPDFGetRequest;
import com.plaid.client.model.Products;
import java.util.Arrays;
import java.util.List;
import okhttp3.ResponseBody;
import org.junit.Test;
import retrofit2.Response;
public class AssetReportPdfGetTest extends AbstractItemIntegrationTest {
@Override
protected List<Products> setupItemProducts() {
return Arrays.asList(Products.ASSETS);
}
@Override
protected String setupItemInstitutionId() {
return TARTAN_BANK_INSTITUTION_ID;
}
@Test
public void testAssetReportPdfGetSuccess() throws Exception {
// Create asset report to get an asset report token
List<String> accessTokens = Arrays.asList(
getItemPublicTokenExchangeResponse().getAccessToken()
);
Response<AssetReportCreateResponse> createResponse = AssetReportCreateTest.createAssetReport(
client(),
accessTokens
);
String assetReportToken = createResponse.body().getAssetReportToken();
AssetReportGetTest.waitTillReady(client(), assetReportToken);
AssetReportPDFGetRequest assetReportPdfGet = new AssetReportPDFGetRequest()
.assetReportToken(assetReportToken);
Response<ResponseBody> response = client()
.assetReportPdfGet(assetReportPdfGet)
.execute();
assertTrue(response.body().bytes().length > 0);
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/test/java/com/plaid/client/integration/AssetReportFilterTest.java | src/test/java/com/plaid/client/integration/AssetReportFilterTest.java | package com.plaid.client.integration;
import static com.plaid.client.integration.AssetReportCreateTest.createAssetReport;
import static com.plaid.client.integration.AssetReportGetTest.waitTillReady;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import com.plaid.client.model.AccountAssets;
import com.plaid.client.model.AssetReport;
import com.plaid.client.model.AssetReportCreateRequest;
import com.plaid.client.model.AssetReportCreateResponse;
import com.plaid.client.model.AssetReportFilterRequest;
import com.plaid.client.model.AssetReportFilterResponse;
import com.plaid.client.model.AssetReportGetResponse;
import com.plaid.client.model.AssetReportItem;
import com.plaid.client.model.Products;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.junit.Test;
import retrofit2.Response;
public class AssetReportFilterTest extends AbstractItemIntegrationTest {
@Override
protected List<Products> setupItemProducts() {
return Arrays.asList(Products.ASSETS);
}
private Response<AssetReportFilterResponse> filterAssetReport(
AssetReportFilterRequest assetReportFilterRequest
)
throws Exception {
Response<AssetReportFilterResponse> response = client()
.assetReportFilter(assetReportFilterRequest)
.execute();
return response;
}
@Override
protected String setupItemInstitutionId() {
return TARTAN_BANK_INSTITUTION_ID;
}
@Test
public void testAssetReportFilterSuccess() throws Exception {
// Create asset report to get an asset report token
List<String> accessTokens = Arrays.asList(
getItemPublicTokenExchangeResponse().getAccessToken()
);
Response<AssetReportCreateResponse> createResponse = AssetReportCreateTest.createAssetReport(
client(),
accessTokens
);
String assetReportToken = createResponse.body().getAssetReportToken();
// Wait till asset report is ready
Response<AssetReportGetResponse> response = waitTillReady(
client(),
assetReportToken
);
// Validate the responses
AssetReportGetResponse respBody = response.body();
assertSuccessResponse(response);
assertNotNull(respBody.getReport());
assertNotNull(respBody.getReport().getUser());
assertFalse(respBody.getReport().getItems().isEmpty());
assertNotNull(respBody.getReport().getAssetReportId());
// To test filtering, we exclude an account id
List<String> accountIdsToExclude = new ArrayList<>();
accountIdsToExclude.add(
respBody.getReport().getItems().get(0).getAccounts().get(0).getAccountId()
);
// create a filtered report
AssetReportFilterRequest assetReportFilterRequest = new AssetReportFilterRequest()
.assetReportToken(assetReportToken)
.accountIdsToExclude(accountIdsToExclude);
Response<AssetReportFilterResponse> assetReportFilterResponse = filterAssetReport(
assetReportFilterRequest
);
String assetReportFilterToken = assetReportFilterResponse
.body()
.getAssetReportToken();
// wait till the filtered asset reponse is ready
Response<AssetReportGetResponse> filteredReportResponse = waitTillReady(
client(),
assetReportFilterToken
);
Set<String> filteredAssetReportIds = getAssetReportAccountIds(
filteredReportResponse.body().getReport()
);
Set<String> unfilteredAssetReportIds = getAssetReportAccountIds(
respBody.getReport()
);
assertEquals(
unfilteredAssetReportIds.size() - 1,
filteredAssetReportIds.size()
);
// add back the account id we excluded and ensure the sets are equal
filteredAssetReportIds.add(accountIdsToExclude.get(0));
assertEquals(unfilteredAssetReportIds, filteredAssetReportIds);
}
private Set<String> getAssetReportAccountIds(AssetReport assetReport) {
Set<String> assetReportAccounts = new HashSet<>();
for (AssetReportItem item : assetReport.getItems()) {
for (AccountAssets account : item.getAccounts()) {
assetReportAccounts.add(account.getAccountId());
}
}
return assetReportAccounts;
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/test/java/com/plaid/client/integration/PaymentGetTest.java | src/test/java/com/plaid/client/integration/PaymentGetTest.java | package com.plaid.client.integration;
import static org.junit.Assert.assertNotNull;
import com.plaid.client.integration.PaymentCreateTest;
import com.plaid.client.model.CountryCode;
import com.plaid.client.model.LinkTokenCreateRequest;
import com.plaid.client.model.LinkTokenCreateRequestPaymentInitiation;
import com.plaid.client.model.LinkTokenCreateRequestUser;
import com.plaid.client.model.LinkTokenCreateResponse;
import com.plaid.client.model.PaymentInitiationPaymentCreateResponse;
import com.plaid.client.model.PaymentInitiationPaymentGetRequest;
import com.plaid.client.model.PaymentInitiationPaymentGetResponse;
import com.plaid.client.model.Products;
import java.util.Arrays;
import java.util.Collections;
import java.util.Date;
import org.junit.Test;
import retrofit2.Response;
public class PaymentGetTest extends AbstractIntegrationTest {
@Test
public void testPaymentGetSuccess() throws Exception {
Response<PaymentInitiationPaymentCreateResponse> createPaymentResponse = PaymentCreateTest.createPayment(
client()
);
String paymentId = createPaymentResponse.body().getPaymentId();
assertNotNull(paymentId);
String clientUserId = Long.toString((new Date()).getTime());
LinkTokenCreateRequestUser user = new LinkTokenCreateRequestUser()
.clientUserId(clientUserId);
LinkTokenCreateRequestPaymentInitiation paymentInitiation = new LinkTokenCreateRequestPaymentInitiation()
.paymentId(paymentId);
LinkTokenCreateRequest request = new LinkTokenCreateRequest()
.user(user)
.clientName("client name")
.products(Arrays.asList(Products.PAYMENT_INITIATION))
.countryCodes(Arrays.asList(CountryCode.US))
.language("en")
.paymentInitiation(paymentInitiation);
Response<LinkTokenCreateResponse> response = client()
.linkTokenCreate(request)
.execute();
assertSuccessResponse(response);
PaymentInitiationPaymentGetRequest payRequest = new PaymentInitiationPaymentGetRequest()
.paymentId(paymentId);
Response<PaymentInitiationPaymentGetResponse> getPaymentResponse = client()
.paymentInitiationPaymentGet(payRequest)
.execute();
assertSuccessResponse(getPaymentResponse);
assertNotNull(getPaymentResponse.body().getPaymentId());
assertNotNull(getPaymentResponse.body().getReference());
assertNotNull(getPaymentResponse.body().getAmount());
assertNotNull(getPaymentResponse.body().getStatus());
assertNotNull(getPaymentResponse.body().getLastStatusUpdate());
assertNotNull(getPaymentResponse.body().getRecipientId());
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/test/java/com/plaid/client/integration/StatementsTest.java | src/test/java/com/plaid/client/integration/StatementsTest.java | package com.plaid.client.integration;
import static org.junit.Assert.*;
import com.google.gson.Gson;
import com.plaid.client.model.*;
import com.plaid.client.request.PlaidApi;
import okhttp3.ResponseBody;
import java.security.NoSuchAlgorithmException;
import java.time.LocalDate;
import java.util.*;
import org.json.JSONObject;
import org.junit.Test;
import retrofit2.Response;
import java.security.MessageDigest;
public class StatementsTest extends AbstractItemIntegrationTest {
@Override
protected List<Products> setupItemProducts() {
return Arrays.asList(Products.STATEMENTS);
}
@Override
protected String setupItemInstitutionId() {
return FIRST_PLATYPUS_BANK_INSTITUTION_ID;
}
@Override
protected SandboxPublicTokenCreateRequestOptions setupOptions() {
SandboxPublicTokenCreateRequestOptionsStatements statementsOptions = new SandboxPublicTokenCreateRequestOptionsStatements()
.startDate(LocalDate.parse("2023-11-01"))
.endDate(LocalDate.parse("2023-12-01"));
SandboxPublicTokenCreateRequestOptions options = new SandboxPublicTokenCreateRequestOptions()
.statements(statementsOptions);
return options;
}
@Test
public void testStatementsFullFlow() throws Exception {
String accessToken = getItemPublicTokenExchangeResponse().getAccessToken();
// /statements/list
Response<StatementsListResponse> listStatementsResponse = pollListStatements(client(), accessToken);
assertNotNull(listStatementsResponse.body());
List<StatementsAccount> accounts = listStatementsResponse.body().getAccounts();
assertFalse(accounts.isEmpty());
assertFalse(accounts.get(0).getStatements().isEmpty());
// /statements/download
for (StatementsAccount account : accounts) {
for (StatementsStatement statement : account.getStatements()) {
Response<ResponseBody> downloadStatementResponse = downloadStatement(
client(),
accessToken,
statement.getStatementId()
);
assertNotNull(downloadStatementResponse.body());
assertEquals("application/pdf", downloadStatementResponse.headers().get("Content-Type"));
String actualHash = getSha256Checksum(downloadStatementResponse.body().bytes());
assertEquals(downloadStatementResponse.headers().get("Plaid-Content-Hash"), actualHash);
}
}
// /statements/refresh
Response<StatementsRefreshResponse> statementsRefreshResponse = refreshStatements(
client(),
accessToken,
"2024-01-01",
"2024-02-01"
);
assertNotNull(statementsRefreshResponse.body());
assertFalse(statementsRefreshResponse.body().getRequestId().isEmpty());
// /statements/list
listStatementsResponse = pollListStatements(client(), accessToken);
assertNotNull(listStatementsResponse.body());
accounts = listStatementsResponse.body().getAccounts();
assertFalse(accounts.isEmpty());
assertFalse(accounts.get(0).getStatements().isEmpty());
}
public String getSha256Checksum(byte[] bytes) {
try {
MessageDigest digest = MessageDigest.getInstance("SHA-256");
byte[] hash = digest.digest(bytes);
// Convert byte array to hex string
StringBuilder hexString = new StringBuilder();
for (byte b : hash) {
String hex = Integer.toHexString(0xff & b);
if (hex.length() == 1) {
hexString.append('0');
}
hexString.append(hex);
}
return hexString.toString();
} catch (NoSuchAlgorithmException e) {
e.printStackTrace();
return null;
}
}
// While this method makes use of polling, Plaid recommends using webhooks in your integration.
public static Response<StatementsListResponse> pollListStatements(
PlaidApi client,
String accessToken
) throws Exception {
int NUM_RETRIES = 20;
int INTER_REQUEST_SLEEP = 2000; // millis
int attempt = 0;
Response<StatementsListResponse> response;
JSONObject errorResponse = new JSONObject();
PlaidError error = new PlaidError();
do {
StatementsListRequest statementsListRequest = new StatementsListRequest()
.accessToken(accessToken);
response = client.statementsList(statementsListRequest).execute();
try {
Gson gson = new Gson();
error = gson.fromJson(response.errorBody().string(), PlaidError.class);
} catch (Exception e) {
// Dont' want to throw here.
}
attempt++;
Thread.sleep(INTER_REQUEST_SLEEP);
} while (
!response.isSuccessful() &&
response.errorBody() != null &&
error.getErrorCode().equals("PRODUCT_NOT_READY") &&
attempt < NUM_RETRIES
);
assertSuccessResponse(response);
return response;
}
public static Response<ResponseBody> downloadStatement(
PlaidApi client,
String accessToken,
String statementID
)
throws Exception {
Response<ResponseBody> response;
JSONObject errorResponse = new JSONObject();
StatementsDownloadRequest statementsDownloadRequest = new StatementsDownloadRequest()
.accessToken(accessToken)
.statementId(statementID);
response = client.statementsDownload(statementsDownloadRequest).execute();
assertSuccessResponse(response);
return response;
}
public static Response<StatementsRefreshResponse> refreshStatements(
PlaidApi client,
String accessToken,
String startDate,
String endDate
)
throws Exception {
Response<StatementsRefreshResponse> response;
JSONObject errorResponse = new JSONObject();
StatementsRefreshRequest statementsRefreshRequest = new StatementsRefreshRequest()
.accessToken(accessToken)
.startDate(LocalDate.parse(startDate))
.endDate(LocalDate.parse(endDate));
response = client.statementsRefresh(statementsRefreshRequest).execute();
assertSuccessResponse(response);
return response;
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/test/java/com/plaid/client/integration/ItemDwollaProcessorTokenCreateTest.java | src/test/java/com/plaid/client/integration/ItemDwollaProcessorTokenCreateTest.java | package com.plaid.client.integration;
import static org.junit.Assert.*;
import com.plaid.client.model.PlaidError;
import com.plaid.client.model.PlaidErrorType;
import com.plaid.client.model.ProcessorTokenCreateRequest;
import com.plaid.client.model.ProcessorTokenCreateResponse;
import com.plaid.client.model.Products;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import org.junit.Test;
import retrofit2.Response;
public class ItemDwollaProcessorTokenCreateTest
extends AbstractItemIntegrationTest {
@Override
protected List<Products> setupItemProducts() {
return Arrays.asList(Products.AUTH);
}
@Override
protected String setupItemInstitutionId() {
return TARTAN_BANK_INSTITUTION_ID;
}
@Test
public void testError() throws Exception {
ProcessorTokenCreateRequest request = new ProcessorTokenCreateRequest()
.accessToken(getItemPublicTokenExchangeResponse().getAccessToken())
.processor(ProcessorTokenCreateRequest.ProcessorEnum.DWOLLA)
.accountId("FooBarAccountId");
Response<ProcessorTokenCreateResponse> response = client()
.processorTokenCreate(request)
.execute();
// Just assert that some error was returned - due to the nature of the
// integration and required configuration at the API key level, we don't
// know the exact error code to expect.
assertErrorResponse(
response,
PlaidErrorType.INVALID_REQUEST,
"INVALID_FIELD"
);
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/test/java/com/plaid/client/integration/TransactionsGetTest.java | src/test/java/com/plaid/client/integration/TransactionsGetTest.java | package com.plaid.client.integration;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import com.google.gson.Gson;
import com.plaid.client.model.AccountsGetRequest;
import com.plaid.client.model.AccountsGetResponse;
import com.plaid.client.model.PlaidError;
import com.plaid.client.model.PlaidErrorType;
import com.plaid.client.model.ItemPublicTokenExchangeRequest;
import com.plaid.client.model.ItemPublicTokenExchangeResponse;
import com.plaid.client.model.Products;
import com.plaid.client.model.SandboxPublicTokenCreateRequest;
import com.plaid.client.model.SandboxPublicTokenCreateResponse;
import com.plaid.client.model.Transaction;
import com.plaid.client.model.TransactionsGetRequest;
import com.plaid.client.model.TransactionsGetRequestOptions;
import com.plaid.client.model.TransactionsGetResponse;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.util.Arrays;
import java.util.List;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import retrofit2.Response;
public class TransactionsGetTest extends AbstractIntegrationTest {
private String accessToken;
private LocalDate startDate;
private LocalDate endDate;
@Before
public void setUp() throws Exception {
SandboxPublicTokenCreateRequest request = new SandboxPublicTokenCreateRequest()
.institutionId(TARTAN_BANK_INSTITUTION_ID)
.initialProducts(Arrays.asList(Products.TRANSACTIONS));
Response<SandboxPublicTokenCreateResponse> createResponse = client()
.sandboxPublicTokenCreate(request)
.execute();
assertSuccessResponse(createResponse);
ItemPublicTokenExchangeRequest exchangeRequest = new ItemPublicTokenExchangeRequest()
.publicToken(createResponse.body().getPublicToken());
Response<ItemPublicTokenExchangeResponse> response = client()
.itemPublicTokenExchange(exchangeRequest)
.execute();
assertSuccessResponse(response);
this.accessToken = response.body().getAccessToken();
startDate = LocalDate.now().minusDays(365 * 2);
endDate = LocalDate.now();
}
@Test
public void testSuccess() throws Exception {
TransactionsGetRequestOptions options = new TransactionsGetRequestOptions()
.count(100);
TransactionsGetRequest request = new TransactionsGetRequest()
.accessToken(accessToken)
.startDate(startDate)
.endDate(endDate)
.options(options);
Response<TransactionsGetResponse> apiResponse = null;
for (int i = 0; i < 5; i++) {
apiResponse = client().transactionsGet(request).execute();
if (apiResponse.isSuccessful()) {
break;
} else {
try {
assertErrorResponse(
apiResponse,
PlaidErrorType.ITEM_ERROR,
"PRODUCT_NOT_READY"
);
Thread.sleep(3000);
} catch (Exception e) {}
}
}
assertSuccessResponse(apiResponse);
TransactionsGetResponse transactionResponse = apiResponse.body();
assertNotNull(transactionResponse);
assertNotNull(transactionResponse.getTotalTransactions());
assertNotNull(transactionResponse.getItem());
assertNotNull(transactionResponse.getAccounts());
assertFalse(transactionResponse.getAccounts().isEmpty());
assertTrue(transactionResponse.getTransactions().size() > 0);
for (Transaction txn : transactionResponse.getTransactions()) {
assertNotNull(txn.getTransactionId());
assertNotNull(txn.getAccountId());
assertNotNull(txn.getPending());
assertNotNull(txn.getTransactionType());
assertNotNull(txn.getPaymentMeta());
assertNotNull(txn.getDate());
assertNotNull(txn.getName());
assertNotNull(txn.getAmount());
assertNotNull(txn.getLocation());
assertNotNull(txn.getPaymentChannel());
}
}
@Test
public void testFullyLoadedRequest() throws Exception {
// get some account info
AccountsGetRequest agRequest = new AccountsGetRequest()
.accessToken(accessToken);
Response<AccountsGetResponse> accountsGetResponse = client()
.accountsGet(agRequest)
.execute();
assertSuccessResponse(accountsGetResponse);
String someAccountId = accountsGetResponse
.body()
.getAccounts()
.get(0)
.getAccountId();
// actual test
int numTxns = 2;
TransactionsGetRequestOptions options = new TransactionsGetRequestOptions()
.accountIds(Arrays.asList(someAccountId))
.count(numTxns)
.offset(1);
TransactionsGetRequest request = new TransactionsGetRequest()
.accessToken(accessToken)
.startDate(startDate)
.endDate(endDate)
.options(options);
Response<TransactionsGetResponse> apiResponse = null;
for (int i = 0; i < 5; i++) {
apiResponse = client().transactionsGet(request).execute();
if (apiResponse.isSuccessful()) {
break;
} else {
try {
assertErrorResponse(
apiResponse,
PlaidErrorType.ITEM_ERROR,
"PRODUCT_NOT_READY"
);
Thread.sleep(3000);
} catch (Exception e) {}
}
}
assertSuccessResponse(apiResponse);
assertTrue(apiResponse.body().getTotalTransactions() > numTxns);
assertEquals(numTxns, apiResponse.body().getTransactions().size());
}
@Test
public void testBadAccessToken() throws Exception {
TransactionsGetRequest request = new TransactionsGetRequest()
.accessToken("totally-invalid-stuff")
.startDate(LocalDate.now())
.endDate(LocalDate.now());
Response<TransactionsGetResponse> response = client()
.transactionsGet(request)
.execute();
assertErrorResponse(
response,
PlaidErrorType.INVALID_INPUT,
"INVALID_ACCESS_TOKEN"
);
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/test/java/com/plaid/client/integration/ItemStripeTokenCreateTest.java | src/test/java/com/plaid/client/integration/ItemStripeTokenCreateTest.java | package com.plaid.client.integration;
import static org.junit.Assert.*;
import com.plaid.client.model.PlaidError;
import com.plaid.client.model.PlaidErrorType;
import com.plaid.client.model.ProcessorStripeBankAccountTokenCreateRequest;
import com.plaid.client.model.ProcessorStripeBankAccountTokenCreateResponse;
import com.plaid.client.model.Products;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import org.junit.Test;
import retrofit2.Response;
public class ItemStripeTokenCreateTest extends AbstractItemIntegrationTest {
@Override
protected List<Products> setupItemProducts() {
return Arrays.asList(Products.AUTH);
}
@Override
protected String setupItemInstitutionId() {
return TARTAN_BANK_INSTITUTION_ID;
}
@Test
public void testError() throws Exception {
ProcessorStripeBankAccountTokenCreateRequest request = new ProcessorStripeBankAccountTokenCreateRequest()
.accessToken(getItemPublicTokenExchangeResponse().getAccessToken())
.accountId("FooBarAccountId");
Response<ProcessorStripeBankAccountTokenCreateResponse> response = client()
.processorStripeBankAccountTokenCreate(request)
.execute();
// Just assert that some error was returned - due to the nature of the
// integration and required configuration at the API key level, we don't
// know the exact error code to expect.
assertErrorResponse(
response,
PlaidErrorType.INVALID_REQUEST,
"INVALID_FIELD"
);
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/test/java/com/plaid/client/integration/banktransfer/BankTransferGetTest.java | src/test/java/com/plaid/client/integration/banktransfer/BankTransferGetTest.java | package com.plaid.client.integration.banktransfer;
import static org.junit.Assert.assertEquals;
import com.plaid.client.model.BankTransferGetRequest;
import com.plaid.client.model.BankTransferGetResponse;
import retrofit2.Response;
public class BankTransferGetTest extends AbstractBankTransferTest {
@Override
protected void bankTransferTest() throws AssertionError, Exception {
BankTransferGetRequest request = new BankTransferGetRequest()
.bankTransferId(getBankTransfer().getId());
Response<BankTransferGetResponse> response = client()
.bankTransferGet(request)
.execute();
assertSuccessResponse(response);
assertEquals(getBankTransfer(), response.body().getBankTransfer());
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/test/java/com/plaid/client/integration/banktransfer/BankTransferCancelSuccessTest.java | src/test/java/com/plaid/client/integration/banktransfer/BankTransferCancelSuccessTest.java | package com.plaid.client.integration.banktransfer;
import com.plaid.client.model.BankTransferCancelRequest;
import com.plaid.client.model.BankTransferCancelResponse;
import retrofit2.Response;
public class BankTransferCancelSuccessTest extends AbstractBankTransferTest {
@Override
protected void bankTransferTest() throws AssertionError, Exception {
BankTransferCancelRequest cancelRequest = new BankTransferCancelRequest()
.bankTransferId(getBankTransfer().getId());
Response<BankTransferCancelResponse> response = client()
.bankTransferCancel(cancelRequest)
.execute();
assertSuccessResponse(response);
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/test/java/com/plaid/client/integration/banktransfer/BankTransferCancelFailureTest.java | src/test/java/com/plaid/client/integration/banktransfer/BankTransferCancelFailureTest.java | package com.plaid.client.integration.banktransfer;
import static org.junit.Assert.*;
import com.google.gson.Gson;
import com.plaid.client.model.BankTransferCancelRequest;
import com.plaid.client.model.BankTransferCancelResponse;
import com.plaid.client.model.BankTransferFailure;
import com.plaid.client.model.PlaidError;
import com.plaid.client.model.PlaidErrorType;
import com.plaid.client.model.SandboxBankTransferSimulateRequest;
import com.plaid.client.model.SandboxBankTransferSimulateResponse;
import retrofit2.Response;
public class BankTransferCancelFailureTest extends AbstractBankTransferTest {
@Override
protected void bankTransferTest() throws AssertionError, Exception {
SandboxBankTransferSimulateRequest request = new SandboxBankTransferSimulateRequest()
.bankTransferId(getBankTransfer().getId())
.eventType("failed");
Response<SandboxBankTransferSimulateResponse> simulateResponse = client()
.sandboxBankTransferSimulate(request)
.execute();
assertSuccessResponse(simulateResponse);
BankTransferCancelRequest cancelRequest = new BankTransferCancelRequest()
.bankTransferId(getBankTransfer().getId());
Response<BankTransferCancelResponse> cancelResponse = client()
.bankTransferCancel(cancelRequest)
.execute();
Gson gson = new Gson();
PlaidError error = gson.fromJson(
cancelResponse.errorBody().string(),
PlaidError.class
);
assertNotNull(error);
assertNotNull(error.getRequestId());
assertEquals(PlaidErrorType.BANK_TRANSFER_ERROR, error.getErrorType());
assertEquals("BANK_TRANSFER_NOT_CANCELLABLE", error.getErrorCode());
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/test/java/com/plaid/client/integration/banktransfer/BankTransferEventSyncTest.java | src/test/java/com/plaid/client/integration/banktransfer/BankTransferEventSyncTest.java | package com.plaid.client.integration.banktransfer;
import static org.junit.Assert.assertTrue;
import com.plaid.client.model.BankTransferEventSyncRequest;
import com.plaid.client.model.BankTransferEventSyncResponse;
import com.plaid.client.model.SandboxBankTransferSimulateRequest;
import com.plaid.client.model.SandboxBankTransferSimulateResponse;
import retrofit2.Response;
public class BankTransferEventSyncTest extends AbstractBankTransferTest {
@Override
protected void bankTransferTest() throws AssertionError, Exception {
SandboxBankTransferSimulateRequest request = new SandboxBankTransferSimulateRequest()
.bankTransferId(getBankTransfer().getId())
.eventType("posted");
Response<SandboxBankTransferSimulateResponse> simulateResponse = client()
.sandboxBankTransferSimulate(request)
.execute();
assertSuccessResponse(simulateResponse);
BankTransferEventSyncRequest syncRequest = new BankTransferEventSyncRequest()
.afterId(0);
Response<BankTransferEventSyncResponse> eventSyncResponse = client()
.bankTransferEventSync(syncRequest)
.execute();
assertSuccessResponse(eventSyncResponse);
assertTrue(eventSyncResponse.body().getBankTransferEvents().size() >= 2);
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/test/java/com/plaid/client/integration/banktransfer/BankTransferCreateTest.java | src/test/java/com/plaid/client/integration/banktransfer/BankTransferCreateTest.java | package com.plaid.client.integration.banktransfer;
import static org.junit.Assert.assertNotNull;
public class BankTransferCreateTest extends AbstractBankTransferTest {
@Override
protected void bankTransferTest() throws AssertionError {
assertNotNull(getBankTransfer().getId());
}
}; | java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/test/java/com/plaid/client/integration/banktransfer/BankTransferListTest.java | src/test/java/com/plaid/client/integration/banktransfer/BankTransferListTest.java | package com.plaid.client.integration.banktransfer;
import static org.junit.Assert.assertEquals;
import com.plaid.client.model.BankTransferListRequest;
import com.plaid.client.model.BankTransferListResponse;
import retrofit2.Response;
public class BankTransferListTest extends AbstractBankTransferTest {
@Override
protected void bankTransferTest() throws AssertionError, Exception {
BankTransferListRequest request = new BankTransferListRequest()
.count(1);
Response<BankTransferListResponse> response = client()
.bankTransferList(request)
.execute();
assertSuccessResponse(response);
assertEquals(1, response.body().getBankTransfers().size());
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/test/java/com/plaid/client/integration/banktransfer/BankTransferEventListTest.java | src/test/java/com/plaid/client/integration/banktransfer/BankTransferEventListTest.java | package com.plaid.client.integration.banktransfer;
import static org.junit.Assert.assertEquals;
import com.plaid.client.model.BankTransferEventListRequest;
import com.plaid.client.model.BankTransferEventListResponse;
import com.plaid.client.model.SandboxBankTransferSimulateRequest;
import com.plaid.client.model.SandboxBankTransferSimulateResponse;
import com.plaid.client.model.BankTransferEvent;
import java.util.List;
import retrofit2.Response;
public class BankTransferEventListTest extends AbstractBankTransferTest {
@Override
protected void bankTransferTest() throws AssertionError, Exception {
SandboxBankTransferSimulateRequest request = new SandboxBankTransferSimulateRequest()
.bankTransferId(getBankTransfer().getId())
.eventType("posted");
Response<SandboxBankTransferSimulateResponse> simulateResponse = client()
.sandboxBankTransferSimulate(request)
.execute();
assertSuccessResponse(simulateResponse);
BankTransferEventListRequest listRequest = new BankTransferEventListRequest()
.bankTransferId(getBankTransfer().getId());
Response<BankTransferEventListResponse> eventListResponse = client()
.bankTransferEventList(listRequest)
.execute();
assertSuccessResponse(eventListResponse);
List<BankTransferEvent> bankTransferEvents = eventListResponse
.body()
.getBankTransferEvents();
assertEquals(1, bankTransferEvents.size());
for (BankTransferEvent e : bankTransferEvents) {
assertEquals(getBankTransfer().getId(), e.getBankTransferId());
}
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/test/java/com/plaid/client/integration/banktransfer/BankTransferMigrateAccountTest.java | src/test/java/com/plaid/client/integration/banktransfer/BankTransferMigrateAccountTest.java | package com.plaid.client.integration.banktransfer;
import static org.junit.Assert.assertFalse;
import com.plaid.client.integration.AbstractIntegrationTest;
import com.plaid.client.model.BankTransferMigrateAccountRequest;
import com.plaid.client.model.BankTransferMigrateAccountResponse;
import org.junit.Test;
import retrofit2.Response;
public class BankTransferMigrateAccountTest extends AbstractIntegrationTest {
@Test
public void testBankTransferMigrateAccount() throws Exception {
BankTransferMigrateAccountRequest request = new BankTransferMigrateAccountRequest()
.accountNumber("100000000")
.routingNumber("121122676")
.accountType("checking");
Response<BankTransferMigrateAccountResponse> response = client()
.bankTransferMigrateAccount(request)
.execute();
assertSuccessResponse(response);
assertFalse(response.body().getAccessToken().isEmpty());
assertFalse(response.body().getAccountId().isEmpty());
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/test/java/com/plaid/client/integration/banktransfer/AbstractBankTransferTest.java | src/test/java/com/plaid/client/integration/banktransfer/AbstractBankTransferTest.java | package com.plaid.client.integration.banktransfer;
import com.plaid.client.integration.AbstractItemIntegrationTest;
import com.plaid.client.model.ACHClass;
import com.plaid.client.model.AccountsGetRequest;
import com.plaid.client.model.AccountsGetResponse;
import com.plaid.client.model.BankTransfer;
import com.plaid.client.model.BankTransferCreateRequest;
import com.plaid.client.model.BankTransferCreateResponse;
import com.plaid.client.model.BankTransferNetwork;
import com.plaid.client.model.BankTransferType;
import com.plaid.client.model.BankTransferUser;
import com.plaid.client.model.Products;
import java.util.Arrays;
import java.util.List;
import org.junit.Before;
import org.junit.Test;
import retrofit2.Response;
/**
* For tests where a bank transfer is required.
* <p>
* Subclasses must implement the institution and products desired by implementing.
* {@link #setupItemProducts()} and {@link #setupItemInstitutionId()}
*/
public abstract class AbstractBankTransferTest
extends AbstractItemIntegrationTest {
private BankTransfer bankTransfer;
@Override
protected List<Products> setupItemProducts() {
return Arrays.asList(Products.AUTH);
}
@Override
protected String setupItemInstitutionId() {
return TARTAN_BANK_INSTITUTION_ID;
}
@Before
public void setUpBankTransfer() throws Exception {
AccountsGetRequest request = new AccountsGetRequest()
.accessToken(getItemPublicTokenExchangeResponse().getAccessToken());
Response<AccountsGetResponse> response = client()
.accountsGet(request)
.execute();
assertSuccessResponse(response);
String accountId = response.body().getAccounts().get(0).getAccountId();
BankTransferUser user = new BankTransferUser().legalName("First Last");
BankTransferCreateRequest bankRequest = new BankTransferCreateRequest()
.accessToken(getItemPublicTokenExchangeResponse().getAccessToken())
.idempotencyKey(String.valueOf(Math.random()))
.accountId(accountId)
.type(BankTransferType.CREDIT)
.network(BankTransferNetwork.ACH)
.amount("1.00")
.isoCurrencyCode("USD")
.description("testdesc")
.user(user)
.achClass(ACHClass.PPD);
Response<BankTransferCreateResponse> createResponse = client()
.bankTransferCreate(bankRequest)
.execute();
assertSuccessResponse(createResponse);
this.bankTransfer = createResponse.body().getBankTransfer();
}
protected abstract void bankTransferTest() throws AssertionError, Exception;
@Test
public void runWithRetries() throws Exception {
int maxRetries = 3;
for (int i = 0; i < maxRetries; i++) {
try {
this.bankTransferTest();
break;
} catch (AssertionError e) {
// Rethrow error on final retry
if (i == maxRetries - 1) {
throw e;
}
Thread.sleep(1000);
}
}
}
public BankTransfer getBankTransfer() {
return bankTransfer;
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/test/java/com/plaid/client/integration/banktransfer/BankTransferBalanceGetTest.java | src/test/java/com/plaid/client/integration/banktransfer/BankTransferBalanceGetTest.java | package com.plaid.client.integration.banktransfer;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import com.plaid.client.integration.AbstractIntegrationTest;
import com.plaid.client.model.BankTransferBalanceGetRequest;
import com.plaid.client.model.BankTransferBalanceGetResponse;
import org.junit.Test;
import retrofit2.Response;
public class BankTransferBalanceGetTest extends AbstractIntegrationTest {
@Test
public void testBankTransferBalanceGet() throws Exception {
BankTransferBalanceGetRequest request = new BankTransferBalanceGetRequest();
Response<BankTransferBalanceGetResponse> response = client()
.bankTransferBalanceGet(request)
.execute();
assertSuccessResponse(response);
assertNotNull(response.body().getBalance());
assertFalse(response.body().getBalance().getAvailable().isEmpty());
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/StringUtil.java | src/main/java/com/plaid/client/StringUtil.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client;
import java.util.Collection;
import java.util.Iterator;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class StringUtil {
/**
* Check if the given array contains the given value (with case-insensitive comparison).
*
* @param array The array
* @param value The value to search
* @return true if the array contains the value
*/
public static boolean containsIgnoreCase(String[] array, String value) {
for (String str : array) {
if (value == null && str == null) {
return true;
}
if (value != null && value.equalsIgnoreCase(str)) {
return true;
}
}
return false;
}
/**
* Join an array of strings with the given separator.
* <p>
* Note: This might be replaced by utility method from commons-lang or guava someday
* if one of those libraries is added as dependency.
* </p>
*
* @param array The array of strings
* @param separator The separator
* @return the resulting string
*/
public static String join(String[] array, String separator) {
int len = array.length;
if (len == 0) {
return "";
}
StringBuilder out = new StringBuilder();
out.append(array[0]);
for (int i = 1; i < len; i++) {
out.append(separator).append(array[i]);
}
return out.toString();
}
/**
* Join a list of strings with the given separator.
*
* @param list The list of strings
* @param separator The separator
* @return the resulting string
*/
public static String join(Collection<String> list, String separator) {
Iterator<String> iterator = list.iterator();
StringBuilder out = new StringBuilder();
if (iterator.hasNext()) {
out.append(iterator.next());
}
while (iterator.hasNext()) {
out.append(separator).append(iterator.next());
}
return out.toString();
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/ServerVariable.java | src/main/java/com/plaid/client/ServerVariable.java | package com.plaid.client;
import java.util.HashSet;
/**
* Representing a Server Variable for server URL template substitution.
*/
public class ServerVariable {
public String description;
public String defaultValue;
public HashSet<String> enumValues = null;
/**
* @param description A description for the server variable.
* @param defaultValue The default value to use for substitution.
* @param enumValues An enumeration of string values to be used if the substitution options are from a limited set.
*/
public ServerVariable(String description, String defaultValue, HashSet<String> enumValues) {
this.description = description;
this.defaultValue = defaultValue;
this.enumValues = enumValues;
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/CollectionFormats.java | src/main/java/com/plaid/client/CollectionFormats.java | package com.plaid.client;
import java.util.Arrays;
import java.util.List;
public class CollectionFormats {
public static class CSVParams {
protected List<String> params;
public CSVParams() {
}
public CSVParams(List<String> params) {
this.params = params;
}
public CSVParams(String... params) {
this.params = Arrays.asList(params);
}
public List<String> getParams() {
return params;
}
public void setParams(List<String> params) {
this.params = params;
}
@Override
public String toString() {
return StringUtil.join(params.toArray(new String[0]), ",");
}
}
public static class SPACEParams extends SSVParams {
}
public static class SSVParams extends CSVParams {
public SSVParams() {
}
public SSVParams(List<String> params) {
super(params);
}
public SSVParams(String... params) {
super(params);
}
@Override
public String toString() {
return StringUtil.join(params.toArray(new String[0]), " ");
}
}
public static class TSVParams extends CSVParams {
public TSVParams() {
}
public TSVParams(List<String> params) {
super(params);
}
public TSVParams(String... params) {
super(params);
}
@Override
public String toString() {
return StringUtil.join( params.toArray(new String[0]), "\t");
}
}
public static class PIPESParams extends CSVParams {
public PIPESParams() {
}
public PIPESParams(List<String> params) {
super(params);
}
public PIPESParams(String... params) {
super(params);
}
@Override
public String toString() {
return StringUtil.join(params.toArray(new String[0]), "|");
}
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/JSON.java | src/main/java/com/plaid/client/JSON.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonParseException;
import com.google.gson.TypeAdapter;
import com.google.gson.internal.bind.util.ISO8601Utils;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.google.gson.JsonElement;
import io.gsonfire.GsonFireBuilder;
import io.gsonfire.TypeSelector;
import com.plaid.client.model.*;
import java.io.IOException;
import java.io.StringReader;
import java.lang.reflect.Type;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.ParsePosition;
import java.time.LocalDate;
import java.time.OffsetDateTime;
import java.time.format.DateTimeFormatter;
import java.util.Date;
import java.util.Locale;
import java.util.Map;
import java.util.HashMap;
public class JSON {
private Gson gson;
private DateTypeAdapter dateTypeAdapter = new DateTypeAdapter();
private SqlDateTypeAdapter sqlDateTypeAdapter = new SqlDateTypeAdapter();
private OffsetDateTimeTypeAdapter offsetDateTimeTypeAdapter = new OffsetDateTimeTypeAdapter();
private LocalDateTypeAdapter localDateTypeAdapter = new LocalDateTypeAdapter();
public static GsonBuilder createGson() {
GsonFireBuilder fireBuilder = new GsonFireBuilder()
;
return fireBuilder.createGsonBuilder();
}
private static String getDiscriminatorValue(JsonElement readElement, String discriminatorField) {
JsonElement element = readElement.getAsJsonObject().get(discriminatorField);
if(null == element) {
throw new IllegalArgumentException("missing discriminator field: <" + discriminatorField + ">");
}
return element.getAsString();
}
private static Class getClassByDiscriminator(Map classByDiscriminatorValue, String discriminatorValue) {
Class clazz = (Class) classByDiscriminatorValue.get(discriminatorValue.toUpperCase(Locale.ROOT));
if(null == clazz) {
throw new IllegalArgumentException("cannot determine model class of name: <" + discriminatorValue + ">");
}
return clazz;
}
public JSON() {
gson = createGson()
.registerTypeAdapter(Date.class, dateTypeAdapter)
.registerTypeAdapter(java.sql.Date.class, sqlDateTypeAdapter)
.registerTypeAdapter(OffsetDateTime.class, offsetDateTimeTypeAdapter)
.registerTypeAdapter(LocalDate.class, localDateTypeAdapter)
.create();
}
/**
* Get Gson.
*
* @return Gson
*/
public Gson getGson() {
return gson;
}
/**
* Set Gson.
*
* @param gson Gson
* @return JSON
*/
public JSON setGson(Gson gson) {
this.gson = gson;
return this;
}
/**
* Gson TypeAdapter for JSR310 OffsetDateTime type
*/
public static class OffsetDateTimeTypeAdapter extends TypeAdapter<OffsetDateTime> {
private DateTimeFormatter formatter;
public OffsetDateTimeTypeAdapter() {
this(DateTimeFormatter.ISO_OFFSET_DATE_TIME);
}
public OffsetDateTimeTypeAdapter(DateTimeFormatter formatter) {
this.formatter = formatter;
}
public void setFormat(DateTimeFormatter dateFormat) {
this.formatter = dateFormat;
}
@Override
public void write(JsonWriter out, OffsetDateTime date) throws IOException {
if (date == null) {
out.nullValue();
} else {
out.value(formatter.format(date));
}
}
@Override
public OffsetDateTime read(JsonReader in) throws IOException {
switch (in.peek()) {
case NULL:
in.nextNull();
return null;
default:
String date = in.nextString();
if (date.endsWith("+0000")) {
date = date.substring(0, date.length()-5) + "Z";
}
return OffsetDateTime.parse(date, formatter);
}
}
}
/**
* Gson TypeAdapter for JSR310 LocalDate type
*/
public class LocalDateTypeAdapter extends TypeAdapter<LocalDate> {
private DateTimeFormatter formatter;
public LocalDateTypeAdapter() {
this(DateTimeFormatter.ISO_LOCAL_DATE);
}
public LocalDateTypeAdapter(DateTimeFormatter formatter) {
this.formatter = formatter;
}
public void setFormat(DateTimeFormatter dateFormat) {
this.formatter = dateFormat;
}
@Override
public void write(JsonWriter out, LocalDate date) throws IOException {
if (date == null) {
out.nullValue();
} else {
out.value(formatter.format(date));
}
}
@Override
public LocalDate read(JsonReader in) throws IOException {
switch (in.peek()) {
case NULL:
in.nextNull();
return null;
default:
String date = in.nextString();
return LocalDate.parse(date, formatter);
}
}
}
public JSON setOffsetDateTimeFormat(DateTimeFormatter dateFormat) {
offsetDateTimeTypeAdapter.setFormat(dateFormat);
return this;
}
public JSON setLocalDateFormat(DateTimeFormatter dateFormat) {
localDateTypeAdapter.setFormat(dateFormat);
return this;
}
/**
* Gson TypeAdapter for java.sql.Date type
* If the dateFormat is null, a simple "yyyy-MM-dd" format will be used
* (more efficient than SimpleDateFormat).
*/
public static class SqlDateTypeAdapter extends TypeAdapter<java.sql.Date> {
private DateFormat dateFormat;
public SqlDateTypeAdapter() {
}
public SqlDateTypeAdapter(DateFormat dateFormat) {
this.dateFormat = dateFormat;
}
public void setFormat(DateFormat dateFormat) {
this.dateFormat = dateFormat;
}
@Override
public void write(JsonWriter out, java.sql.Date date) throws IOException {
if (date == null) {
out.nullValue();
} else {
String value;
if (dateFormat != null) {
value = dateFormat.format(date);
} else {
value = date.toString();
}
out.value(value);
}
}
@Override
public java.sql.Date read(JsonReader in) throws IOException {
switch (in.peek()) {
case NULL:
in.nextNull();
return null;
default:
String date = in.nextString();
try {
if (dateFormat != null) {
return new java.sql.Date(dateFormat.parse(date).getTime());
}
return new java.sql.Date(ISO8601Utils.parse(date, new ParsePosition(0)).getTime());
} catch (ParseException e) {
throw new JsonParseException(e);
}
}
}
}
/**
* Gson TypeAdapter for java.util.Date type
* If the dateFormat is null, ISO8601Utils will be used.
*/
public static class DateTypeAdapter extends TypeAdapter<Date> {
private DateFormat dateFormat;
public DateTypeAdapter() {
}
public DateTypeAdapter(DateFormat dateFormat) {
this.dateFormat = dateFormat;
}
public void setFormat(DateFormat dateFormat) {
this.dateFormat = dateFormat;
}
@Override
public void write(JsonWriter out, Date date) throws IOException {
if (date == null) {
out.nullValue();
} else {
String value;
if (dateFormat != null) {
value = dateFormat.format(date);
} else {
value = ISO8601Utils.format(date, true);
}
out.value(value);
}
}
@Override
public Date read(JsonReader in) throws IOException {
try {
switch (in.peek()) {
case NULL:
in.nextNull();
return null;
default:
String date = in.nextString();
try {
if (dateFormat != null) {
return dateFormat.parse(date);
}
return ISO8601Utils.parse(date, new ParsePosition(0));
} catch (ParseException e) {
throw new JsonParseException(e);
}
}
} catch (IllegalArgumentException e) {
throw new JsonParseException(e);
}
}
}
public JSON setDateFormat(DateFormat dateFormat) {
dateTypeAdapter.setFormat(dateFormat);
return this;
}
public JSON setSqlDateFormat(DateFormat dateFormat) {
sqlDateTypeAdapter.setFormat(dateFormat);
return this;
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/ServerConfiguration.java | src/main/java/com/plaid/client/ServerConfiguration.java | package com.plaid.client;
import java.util.Map;
/**
* Representing a Server configuration.
*/
public class ServerConfiguration {
public String URL;
public String description;
public Map<String, ServerVariable> variables;
/**
* @param URL A URL to the target host.
* @param description A describtion of the host designated by the URL.
* @param variables A map between a variable name and its value. The value is used for substitution in the server's URL template.
*/
public ServerConfiguration(String URL, String description, Map<String, ServerVariable> variables) {
this.URL = URL;
this.description = description;
this.variables = variables;
}
/**
* Format URL template using given variables.
*
* @param variables A map between a variable name and its value.
* @return Formatted URL.
*/
public String URL(Map<String, String> variables) {
String url = this.URL;
// go through variables and replace placeholders
for (Map.Entry<String, ServerVariable> variable: this.variables.entrySet()) {
String name = variable.getKey();
ServerVariable serverVariable = variable.getValue();
String value = serverVariable.defaultValue;
if (variables != null && variables.containsKey(name)) {
value = variables.get(name);
if (serverVariable.enumValues.size() > 0 && !serverVariable.enumValues.contains(value)) {
throw new RuntimeException("The variable " + name + " in the server URL has invalid value " + value + ".");
}
}
url = url.replaceAll("\\{" + name + "\\}", value);
}
return url;
}
/**
* Format URL template using default server variables.
*
* @return Formatted URL.
*/
public String URL() {
return URL(null);
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/ApiClient.java | src/main/java/com/plaid/client/ApiClient.java | package com.plaid.client;
import com.google.gson.Gson;
import com.google.gson.JsonParseException;
import com.google.gson.JsonElement;
import okhttp3.Interceptor;
import okhttp3.OkHttpClient;
import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import okhttp3.Request;
import okhttp3.Response;
import retrofit2.Converter;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
import retrofit2.converter.scalars.ScalarsConverterFactory;
import com.plaid.client.auth.HttpBasicAuth;
import com.plaid.client.auth.HttpBearerAuth;
import com.plaid.client.auth.ApiKeyAuth;
import java.io.IOException;
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;
import java.text.DateFormat;
import java.time.format.DateTimeFormatter;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.HashMap;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.TimeUnit;
public class ApiClient {
private Map<String, Interceptor> apiAuthorizations;
private OkHttpClient.Builder okBuilder;
private Retrofit.Builder adapterBuilder;
private JSON json;
private OkHttpClient okHttpClient;
public static final String Production = "https://production.plaid.com";
public static final String Sandbox = "https://sandbox.plaid.com";
public ApiClient() {
apiAuthorizations = new LinkedHashMap<String, Interceptor>();
createDefaultAdapter();
okBuilder = new OkHttpClient.Builder()
.readTimeout(60, TimeUnit.SECONDS).connectTimeout(60, TimeUnit.SECONDS)
.addInterceptor(new Interceptor() {
@Override
public Response intercept(Chain chain) throws IOException {
Request originalRequest = chain.request();
Request requestWithUserAgent = originalRequest.newBuilder()
.header("User-Agent", "Plaid Java v39.0.0")
.header("Plaid-Version", "2020-09-14")
.build();
return chain.proceed(requestWithUserAgent);
}
});
}
public ApiClient(OkHttpClient client){
apiAuthorizations = new LinkedHashMap<String, Interceptor>();
createDefaultAdapter();
okHttpClient = client;
}
public ApiClient(String[] authNames) {
this();
for(String authName : authNames) {
Interceptor auth;
if ("clientId".equals(authName)) {
auth = new ApiKeyAuth("header", "PLAID-CLIENT-ID");
} else if ("plaidVersion".equals(authName)) {
auth = new ApiKeyAuth("header", "Plaid-Version");
} else if ("secret".equals(authName)) {
auth = new ApiKeyAuth("header", "PLAID-SECRET");
} else {
throw new RuntimeException("auth name \"" + authName + "\" not found in available auth names");
}
addAuthorization(authName, auth);
}
}
/**
* Helper constructor for multiple api keys. Preferred constructor
*/
public ApiClient(Map<String, String> apiKeys) {
this();
for(String authName : apiKeys.keySet()) {
Interceptor auth;
if ("clientId".equals(authName)) {
ApiKeyAuth apiKeyAuth = new ApiKeyAuth("header", "PLAID-CLIENT-ID");
apiKeyAuth.setApiKey(apiKeys.get(authName));
auth = (Interceptor) apiKeyAuth;
} else if ("plaidVersion".equals(authName)) {
ApiKeyAuth apiKeyAuth = new ApiKeyAuth("header", "Plaid-Version");
apiKeyAuth.setApiKey(apiKeys.get(authName));
auth = (Interceptor) apiKeyAuth;
} else if ("secret".equals(authName)) {
ApiKeyAuth apiKeyAuth = new ApiKeyAuth("header", "PLAID-SECRET");
apiKeyAuth.setApiKey(apiKeys.get(authName));
auth = (Interceptor) apiKeyAuth;
} else {
throw new RuntimeException("auth name \"" + authName + "\" not found in available auth names");
}
addAuthorization(authName, auth);
}
}
/**
* Basic constructor for single auth name
* @param authName Authentication name
*/
public ApiClient(String authName) {
this(new String[]{authName});
}
/**
* Helper constructor for single api key
* @param authName Authentication name
* @param apiKey API key
*/
public ApiClient(String authName, String apiKey) {
this(authName);
this.setApiKey(apiKey);
}
/**
* Helper constructor for single basic auth or password oauth2
* @param authName Authentication name
* @param username Username
* @param password Password
*/
public ApiClient(String authName, String username, String password) {
this(authName);
this.setCredentials(username, password);
}
public void createDefaultAdapter() {
json = new JSON();
String baseUrl = "https://production.plaid.com";
if (!baseUrl.endsWith("/"))
baseUrl = baseUrl + "/";
adapterBuilder = new Retrofit
.Builder()
.baseUrl(baseUrl)
.addConverterFactory(ScalarsConverterFactory.create())
.addConverterFactory(GsonCustomConverterFactory.create(json.getGson()));
}
public void setPlaidAdapter(String baseUrl) {
json = new JSON();
List<String> PLAID_ENVS = Arrays.asList("https://sandbox.plaid.com", "https://production.plaid.com");
if(!PLAID_ENVS.contains(baseUrl)) {
System.out.println("baseUrl not found in PLAID_ENVS, must be one of the following: https://sandbox.plaid.com, https://production.plaid.com");
}
if (!baseUrl.endsWith("/"))
baseUrl = baseUrl + "/";
adapterBuilder = new Retrofit
.Builder()
.baseUrl(baseUrl)
.addConverterFactory(ScalarsConverterFactory.create())
.addConverterFactory(GsonCustomConverterFactory.create(json.getGson()));
}
/**
* Helper to set a specific timeout for read and connect
* @param overrideTimeout timeout in seconds
*/
public void setTimeout(int overrideTimeout) {
okBuilder.readTimeout(overrideTimeout, TimeUnit.SECONDS).connectTimeout(overrideTimeout, TimeUnit.SECONDS);
}
public <S> S createService(Class<S> serviceClass) {
if (okHttpClient != null) {
return adapterBuilder.client(okHttpClient).build().create(serviceClass);
} else {
return adapterBuilder.client(okBuilder.build()).build().create(serviceClass);
}
}
public ApiClient setDateFormat(DateFormat dateFormat) {
this.json.setDateFormat(dateFormat);
return this;
}
public ApiClient setSqlDateFormat(DateFormat dateFormat) {
this.json.setSqlDateFormat(dateFormat);
return this;
}
public ApiClient setOffsetDateTimeFormat(DateTimeFormatter dateFormat) {
this.json.setOffsetDateTimeFormat(dateFormat);
return this;
}
public ApiClient setLocalDateFormat(DateTimeFormatter dateFormat) {
this.json.setLocalDateFormat(dateFormat);
return this;
}
/**
* Helper method to configure the first api key found
* @param apiKey API key
* @return ApiClient
*/
public ApiClient setApiKey(String apiKey) {
for(Interceptor apiAuthorization : apiAuthorizations.values()) {
if (apiAuthorization instanceof ApiKeyAuth) {
ApiKeyAuth keyAuth = (ApiKeyAuth) apiAuthorization;
keyAuth.setApiKey(apiKey);
return this;
}
}
return this;
}
/**
* Helper method to set token for the first Http Bearer authentication found.
* @param bearerToken Bearer token
* @return ApiClient
*/
public ApiClient setBearerToken(String bearerToken) {
for (Interceptor apiAuthorization : apiAuthorizations.values()) {
if (apiAuthorization instanceof HttpBearerAuth) {
((HttpBearerAuth) apiAuthorization).setBearerToken(bearerToken);
return this;
}
}
return this;
}
/**
* Helper method to configure the username/password for basic auth or password oauth
* @param username Username
* @param password Password
* @return ApiClient
*/
public ApiClient setCredentials(String username, String password) {
for(Interceptor apiAuthorization : apiAuthorizations.values()) {
if (apiAuthorization instanceof HttpBasicAuth) {
HttpBasicAuth basicAuth = (HttpBasicAuth) apiAuthorization;
basicAuth.setCredentials(username, password);
return this;
}
}
return this;
}
/**
* Adds an authorization to be used by the client
* @param authName Authentication name
* @param authorization Authorization interceptor
* @return ApiClient
*/
public ApiClient addAuthorization(String authName, Interceptor authorization) {
if (apiAuthorizations.containsKey(authName)) {
throw new RuntimeException("auth name \"" + authName + "\" already in api authorizations");
}
apiAuthorizations.put(authName, authorization);
if(okBuilder == null){
throw new RuntimeException("The ApiClient was created with a built OkHttpClient so it's not possible to add an authorization interceptor to it");
}
okBuilder.addInterceptor(authorization);
return this;
}
public Map<String, Interceptor> getApiAuthorizations() {
return apiAuthorizations;
}
public ApiClient setApiAuthorizations(Map<String, Interceptor> apiAuthorizations) {
this.apiAuthorizations = apiAuthorizations;
return this;
}
public Retrofit.Builder getAdapterBuilder() {
return adapterBuilder;
}
public ApiClient setAdapterBuilder(Retrofit.Builder adapterBuilder) {
this.adapterBuilder = adapterBuilder;
return this;
}
public OkHttpClient.Builder getOkBuilder() {
return okBuilder;
}
public void addAuthsToOkBuilder(OkHttpClient.Builder okBuilder) {
for(Interceptor apiAuthorization : apiAuthorizations.values()) {
okBuilder.addInterceptor(apiAuthorization);
}
}
/**
* Clones the okBuilder given in parameter, adds the auth interceptors and uses it to configure the Retrofit
* @param okClient An instance of OK HTTP client
*/
public void configureFromOkclient(OkHttpClient okClient) {
this.okBuilder = okClient.newBuilder();
addAuthsToOkBuilder(this.okBuilder);
}
}
/**
* This wrapper is to take care of this case:
* when the deserialization fails due to JsonParseException and the
* expected type is String, then just return the body string.
*/
class GsonResponseBodyConverterToString<T> implements Converter<ResponseBody, T> {
private final Gson gson;
private final Type type;
GsonResponseBodyConverterToString(Gson gson, Type type) {
this.gson = gson;
this.type = type;
}
@Override public T convert(ResponseBody value) throws IOException {
String returned = value.string();
try {
return gson.fromJson(returned, type);
}
catch (JsonParseException e) {
return (T) returned;
}
}
}
class GsonCustomConverterFactory extends Converter.Factory
{
private final Gson gson;
private final GsonConverterFactory gsonConverterFactory;
public static GsonCustomConverterFactory create(Gson gson) {
return new GsonCustomConverterFactory(gson);
}
private GsonCustomConverterFactory(Gson gson) {
if (gson == null)
throw new NullPointerException("gson == null");
this.gson = gson;
this.gsonConverterFactory = GsonConverterFactory.create(gson);
}
@Override
public Converter<ResponseBody, ?> responseBodyConverter(Type type, Annotation[] annotations, Retrofit retrofit) {
if (type.equals(String.class))
return new GsonResponseBodyConverterToString<Object>(gson, type);
else
return gsonConverterFactory.responseBodyConverter(type, annotations, retrofit);
}
@Override
public Converter<?, RequestBody> requestBodyConverter(Type type, Annotation[] parameterAnnotations, Annotation[] methodAnnotations, Retrofit retrofit) {
return gsonConverterFactory.requestBodyConverter(type, parameterAnnotations, methodAnnotations, retrofit);
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/auth/HttpBearerAuth.java | src/main/java/com/plaid/client/auth/HttpBearerAuth.java | package com.plaid.client.auth;
import java.io.IOException;
import okhttp3.Interceptor;
import okhttp3.Request;
import okhttp3.Response;
public class HttpBearerAuth implements Interceptor {
private final String scheme;
private String bearerToken;
public HttpBearerAuth(String scheme) {
this.scheme = scheme;
}
public String getBearerToken() {
return bearerToken;
}
public void setBearerToken(String bearerToken) {
this.bearerToken = bearerToken;
}
@Override
public Response intercept(Chain chain) throws IOException {
Request request = chain.request();
// If the request already have an authorization (eg. Basic auth), do nothing
if (request.header("Authorization") == null && bearerToken != null) {
request = request.newBuilder()
.addHeader("Authorization", (scheme != null ? upperCaseBearer(scheme) + " " : "") + bearerToken)
.build();
}
return chain.proceed(request);
}
private static String upperCaseBearer(String scheme) {
return ("bearer".equalsIgnoreCase(scheme)) ? "Bearer" : scheme;
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/auth/ApiKeyAuth.java | src/main/java/com/plaid/client/auth/ApiKeyAuth.java | package com.plaid.client.auth;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import okhttp3.Interceptor;
import okhttp3.Request;
import okhttp3.Response;
public class ApiKeyAuth implements Interceptor {
private final String location;
private final String paramName;
private String apiKey;
public ApiKeyAuth(String location, String paramName) {
this.location = location;
this.paramName = paramName;
}
public String getLocation() {
return location;
}
public String getParamName() {
return paramName;
}
public String getApiKey() {
return apiKey;
}
public void setApiKey(String apiKey) {
this.apiKey = apiKey;
}
@Override
public Response intercept(Chain chain) throws IOException {
String paramValue;
Request request = chain.request();
if ("query".equals(location)) {
String newQuery = request.url().uri().getQuery();
paramValue = paramName + "=" + apiKey;
if (newQuery == null) {
newQuery = paramValue;
} else {
newQuery += "&" + paramValue;
}
URI newUri;
try {
newUri = new URI(request.url().uri().getScheme(), request.url().uri().getAuthority(),
request.url().uri().getPath(), newQuery, request.url().uri().getFragment());
} catch (URISyntaxException e) {
throw new IOException(e);
}
request = request.newBuilder().url(newUri.toURL()).build();
} else if ("header".equals(location)) {
request = request.newBuilder()
.addHeader(paramName, apiKey)
.build();
} else if ("cookie".equals(location)) {
request = request.newBuilder()
.addHeader("Cookie", String.format("%s=%s", paramName, apiKey))
.build();
}
return chain.proceed(request);
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/auth/OAuthOkHttpClient.java | src/main/java/com/plaid/client/auth/OAuthOkHttpClient.java | package com.plaid.client.auth;
import java.io.IOException;
import java.util.Map;
import java.util.Map.Entry;
import org.apache.oltu.oauth2.client.HttpClient;
import org.apache.oltu.oauth2.client.request.OAuthClientRequest;
import org.apache.oltu.oauth2.client.response.OAuthClientResponse;
import org.apache.oltu.oauth2.client.response.OAuthClientResponseFactory;
import org.apache.oltu.oauth2.common.exception.OAuthProblemException;
import org.apache.oltu.oauth2.common.exception.OAuthSystemException;
import okhttp3.Interceptor;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Request.Builder;
import okhttp3.Response;
import okhttp3.MediaType;
import okhttp3.RequestBody;
public class OAuthOkHttpClient implements HttpClient {
private OkHttpClient client;
public OAuthOkHttpClient() {
this.client = new OkHttpClient();
}
public OAuthOkHttpClient(OkHttpClient client) {
this.client = client;
}
public <T extends OAuthClientResponse> T execute(OAuthClientRequest request, Map<String, String> headers,
String requestMethod, Class<T> responseClass)
throws OAuthSystemException, OAuthProblemException {
MediaType mediaType = MediaType.parse("application/json");
Request.Builder requestBuilder = new Request.Builder().url(request.getLocationUri());
if(headers != null) {
for (Entry<String, String> entry : headers.entrySet()) {
if (entry.getKey().equalsIgnoreCase("Content-Type")) {
mediaType = MediaType.parse(entry.getValue());
} else {
requestBuilder.addHeader(entry.getKey(), entry.getValue());
}
}
}
RequestBody body = request.getBody() != null ? RequestBody.create(mediaType, request.getBody()) : null;
requestBuilder.method(requestMethod, body);
try {
Response response = client.newCall(requestBuilder.build()).execute();
return OAuthClientResponseFactory.createCustomResponse(
response.body().string(),
response.body().contentType().toString(),
response.code(),
responseClass);
} catch (IOException e) {
throw new OAuthSystemException(e);
}
}
public void shutdown() {
// Nothing to do here
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/auth/HttpBasicAuth.java | src/main/java/com/plaid/client/auth/HttpBasicAuth.java | package com.plaid.client.auth;
import java.io.IOException;
import okhttp3.Interceptor;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import okhttp3.Credentials;
public class HttpBasicAuth implements Interceptor {
private String username;
private String password;
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public void setCredentials(String username, String password) {
this.username = username;
this.password = password;
}
@Override
public Response intercept(Chain chain) throws IOException {
Request request = chain.request();
// If the request already have an authorization (eg. Basic auth), do nothing
if (request.header("Authorization") == null) {
String credentials = Credentials.basic(username, password);
request = request.newBuilder()
.addHeader("Authorization", credentials)
.build();
}
return chain.proceed(request);
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/IdentityGetRequest.java | src/main/java/com/plaid/client/model/IdentityGetRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.IdentityGetRequestOptions;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* IdentityGetRequest defines the request schema for `/identity/get`
*/
@ApiModel(description = "IdentityGetRequest defines the request schema for `/identity/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class IdentityGetRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_ACCESS_TOKEN = "access_token";
@SerializedName(SERIALIZED_NAME_ACCESS_TOKEN)
private String accessToken;
public static final String SERIALIZED_NAME_OPTIONS = "options";
@SerializedName(SERIALIZED_NAME_OPTIONS)
private IdentityGetRequestOptions options;
public IdentityGetRequest clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.
* @return clientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.")
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public IdentityGetRequest secret(String secret) {
this.secret = secret;
return this;
}
/**
* Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.
* @return secret
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.")
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
public IdentityGetRequest accessToken(String accessToken) {
this.accessToken = accessToken;
return this;
}
/**
* The access token associated with the Item data is being requested for.
* @return accessToken
**/
@ApiModelProperty(required = true, value = "The access token associated with the Item data is being requested for.")
public String getAccessToken() {
return accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
}
public IdentityGetRequest options(IdentityGetRequestOptions options) {
this.options = options;
return this;
}
/**
* Get options
* @return options
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public IdentityGetRequestOptions getOptions() {
return options;
}
public void setOptions(IdentityGetRequestOptions options) {
this.options = options;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
IdentityGetRequest identityGetRequest = (IdentityGetRequest) o;
return Objects.equals(this.clientId, identityGetRequest.clientId) &&
Objects.equals(this.secret, identityGetRequest.secret) &&
Objects.equals(this.accessToken, identityGetRequest.accessToken) &&
Objects.equals(this.options, identityGetRequest.options);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, accessToken, options);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IdentityGetRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" accessToken: ").append(toIndentedString(accessToken)).append("\n");
sb.append(" options: ").append(toIndentedString(options)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/AssetReportRefreshResponse.java | src/main/java/com/plaid/client/model/AssetReportRefreshResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* AssetReportRefreshResponse defines the response schema for `/asset_report/refresh`
*/
@ApiModel(description = "AssetReportRefreshResponse defines the response schema for `/asset_report/refresh`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class AssetReportRefreshResponse {
public static final String SERIALIZED_NAME_ASSET_REPORT_ID = "asset_report_id";
@SerializedName(SERIALIZED_NAME_ASSET_REPORT_ID)
private String assetReportId;
public static final String SERIALIZED_NAME_ASSET_REPORT_TOKEN = "asset_report_token";
@SerializedName(SERIALIZED_NAME_ASSET_REPORT_TOKEN)
private String assetReportToken;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public AssetReportRefreshResponse assetReportId(String assetReportId) {
this.assetReportId = assetReportId;
return this;
}
/**
* A unique ID identifying an Asset Report. Like all Plaid identifiers, this ID is case sensitive.
* @return assetReportId
**/
@ApiModelProperty(required = true, value = "A unique ID identifying an Asset Report. Like all Plaid identifiers, this ID is case sensitive.")
public String getAssetReportId() {
return assetReportId;
}
public void setAssetReportId(String assetReportId) {
this.assetReportId = assetReportId;
}
public AssetReportRefreshResponse assetReportToken(String assetReportToken) {
this.assetReportToken = assetReportToken;
return this;
}
/**
* A token that can be provided to endpoints such as `/asset_report/get` or `/asset_report/pdf/get` to fetch or update an Asset Report.
* @return assetReportToken
**/
@ApiModelProperty(required = true, value = "A token that can be provided to endpoints such as `/asset_report/get` or `/asset_report/pdf/get` to fetch or update an Asset Report.")
public String getAssetReportToken() {
return assetReportToken;
}
public void setAssetReportToken(String assetReportToken) {
this.assetReportToken = assetReportToken;
}
public AssetReportRefreshResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AssetReportRefreshResponse assetReportRefreshResponse = (AssetReportRefreshResponse) o;
return Objects.equals(this.assetReportId, assetReportRefreshResponse.assetReportId) &&
Objects.equals(this.assetReportToken, assetReportRefreshResponse.assetReportToken) &&
Objects.equals(this.requestId, assetReportRefreshResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(assetReportId, assetReportToken, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AssetReportRefreshResponse {\n");
sb.append(" assetReportId: ").append(toIndentedString(assetReportId)).append("\n");
sb.append(" assetReportToken: ").append(toIndentedString(assetReportToken)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CreditPayStubEarnings.java | src/main/java/com/plaid/client/model/CreditPayStubEarnings.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.PayStubEarningsBreakdown;
import com.plaid.client.model.PayStubEarningsTotal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* An object representing both a breakdown of earnings on a pay stub and the total earnings.
*/
@ApiModel(description = "An object representing both a breakdown of earnings on a pay stub and the total earnings.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditPayStubEarnings {
public static final String SERIALIZED_NAME_BREAKDOWN = "breakdown";
@SerializedName(SERIALIZED_NAME_BREAKDOWN)
private List<PayStubEarningsBreakdown> breakdown = new ArrayList<>();
public static final String SERIALIZED_NAME_TOTAL = "total";
@SerializedName(SERIALIZED_NAME_TOTAL)
private PayStubEarningsTotal total;
public CreditPayStubEarnings breakdown(List<PayStubEarningsBreakdown> breakdown) {
this.breakdown = breakdown;
return this;
}
public CreditPayStubEarnings addBreakdownItem(PayStubEarningsBreakdown breakdownItem) {
this.breakdown.add(breakdownItem);
return this;
}
/**
* Get breakdown
* @return breakdown
**/
@ApiModelProperty(required = true, value = "")
public List<PayStubEarningsBreakdown> getBreakdown() {
return breakdown;
}
public void setBreakdown(List<PayStubEarningsBreakdown> breakdown) {
this.breakdown = breakdown;
}
public CreditPayStubEarnings total(PayStubEarningsTotal total) {
this.total = total;
return this;
}
/**
* Get total
* @return total
**/
@ApiModelProperty(required = true, value = "")
public PayStubEarningsTotal getTotal() {
return total;
}
public void setTotal(PayStubEarningsTotal total) {
this.total = total;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreditPayStubEarnings creditPayStubEarnings = (CreditPayStubEarnings) o;
return Objects.equals(this.breakdown, creditPayStubEarnings.breakdown) &&
Objects.equals(this.total, creditPayStubEarnings.total);
}
@Override
public int hashCode() {
return Objects.hash(breakdown, total);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditPayStubEarnings {\n");
sb.append(" breakdown: ").append(toIndentedString(breakdown)).append("\n");
sb.append(" total: ").append(toIndentedString(total)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CraCheckReportCreateBaseReportOptions.java | src/main/java/com/plaid/client/model/CraCheckReportCreateBaseReportOptions.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.CraCheckReportGSEOptions;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines configuration options to generate a Base Report
*/
@ApiModel(description = "Defines configuration options to generate a Base Report")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraCheckReportCreateBaseReportOptions {
public static final String SERIALIZED_NAME_CLIENT_REPORT_ID = "client_report_id";
@SerializedName(SERIALIZED_NAME_CLIENT_REPORT_ID)
private String clientReportId;
public static final String SERIALIZED_NAME_GSE_OPTIONS = "gse_options";
@SerializedName(SERIALIZED_NAME_GSE_OPTIONS)
private CraCheckReportGSEOptions gseOptions;
public static final String SERIALIZED_NAME_REQUIRE_IDENTITY = "require_identity";
@SerializedName(SERIALIZED_NAME_REQUIRE_IDENTITY)
private Boolean requireIdentity;
public CraCheckReportCreateBaseReportOptions clientReportId(String clientReportId) {
this.clientReportId = clientReportId;
return this;
}
/**
* Client-generated identifier, which can be used by lenders to track loan applications. This field is deprecated. Use the `client_report_id` field at the top level of the request instead.
* @return clientReportId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Client-generated identifier, which can be used by lenders to track loan applications. This field is deprecated. Use the `client_report_id` field at the top level of the request instead.")
public String getClientReportId() {
return clientReportId;
}
public void setClientReportId(String clientReportId) {
this.clientReportId = clientReportId;
}
public CraCheckReportCreateBaseReportOptions gseOptions(CraCheckReportGSEOptions gseOptions) {
this.gseOptions = gseOptions;
return this;
}
/**
* Get gseOptions
* @return gseOptions
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public CraCheckReportGSEOptions getGseOptions() {
return gseOptions;
}
public void setGseOptions(CraCheckReportGSEOptions gseOptions) {
this.gseOptions = gseOptions;
}
public CraCheckReportCreateBaseReportOptions requireIdentity(Boolean requireIdentity) {
this.requireIdentity = requireIdentity;
return this;
}
/**
* Indicates that the report must include identity information. If identity information is not available, the report will fail.
* @return requireIdentity
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Indicates that the report must include identity information. If identity information is not available, the report will fail.")
public Boolean getRequireIdentity() {
return requireIdentity;
}
public void setRequireIdentity(Boolean requireIdentity) {
this.requireIdentity = requireIdentity;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CraCheckReportCreateBaseReportOptions craCheckReportCreateBaseReportOptions = (CraCheckReportCreateBaseReportOptions) o;
return Objects.equals(this.clientReportId, craCheckReportCreateBaseReportOptions.clientReportId) &&
Objects.equals(this.gseOptions, craCheckReportCreateBaseReportOptions.gseOptions) &&
Objects.equals(this.requireIdentity, craCheckReportCreateBaseReportOptions.requireIdentity);
}
@Override
public int hashCode() {
return Objects.hash(clientReportId, gseOptions, requireIdentity);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraCheckReportCreateBaseReportOptions {\n");
sb.append(" clientReportId: ").append(toIndentedString(clientReportId)).append("\n");
sb.append(" gseOptions: ").append(toIndentedString(gseOptions)).append("\n");
sb.append(" requireIdentity: ").append(toIndentedString(requireIdentity)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/PartnerEndCustomerBillingContact.java | src/main/java/com/plaid/client/model/PartnerEndCustomerBillingContact.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The billing contact for the end customer. Defaults to partner's billing contact if omitted.
*/
@ApiModel(description = "The billing contact for the end customer. Defaults to partner's billing contact if omitted.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PartnerEndCustomerBillingContact {
public static final String SERIALIZED_NAME_GIVEN_NAME = "given_name";
@SerializedName(SERIALIZED_NAME_GIVEN_NAME)
private String givenName;
public static final String SERIALIZED_NAME_FAMILY_NAME = "family_name";
@SerializedName(SERIALIZED_NAME_FAMILY_NAME)
private String familyName;
public static final String SERIALIZED_NAME_EMAIL = "email";
@SerializedName(SERIALIZED_NAME_EMAIL)
private String email;
public PartnerEndCustomerBillingContact givenName(String givenName) {
this.givenName = givenName;
return this;
}
/**
* Get givenName
* @return givenName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getGivenName() {
return givenName;
}
public void setGivenName(String givenName) {
this.givenName = givenName;
}
public PartnerEndCustomerBillingContact familyName(String familyName) {
this.familyName = familyName;
return this;
}
/**
* Get familyName
* @return familyName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getFamilyName() {
return familyName;
}
public void setFamilyName(String familyName) {
this.familyName = familyName;
}
public PartnerEndCustomerBillingContact email(String email) {
this.email = email;
return this;
}
/**
* Get email
* @return email
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PartnerEndCustomerBillingContact partnerEndCustomerBillingContact = (PartnerEndCustomerBillingContact) o;
return Objects.equals(this.givenName, partnerEndCustomerBillingContact.givenName) &&
Objects.equals(this.familyName, partnerEndCustomerBillingContact.familyName) &&
Objects.equals(this.email, partnerEndCustomerBillingContact.email);
}
@Override
public int hashCode() {
return Objects.hash(givenName, familyName, email);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PartnerEndCustomerBillingContact {\n");
sb.append(" givenName: ").append(toIndentedString(givenName)).append("\n");
sb.append(" familyName: ").append(toIndentedString(familyName)).append("\n");
sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CreditBankEmploymentReport.java | src/main/java/com/plaid/client/model/CreditBankEmploymentReport.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.CreditBankEmploymentItem;
import com.plaid.client.model.CreditBankEmploymentWarning;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.List;
/**
* The report of the Bank Employment data for an end user.
*/
@ApiModel(description = "The report of the Bank Employment data for an end user.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditBankEmploymentReport {
public static final String SERIALIZED_NAME_BANK_EMPLOYMENT_REPORT_ID = "bank_employment_report_id";
@SerializedName(SERIALIZED_NAME_BANK_EMPLOYMENT_REPORT_ID)
private String bankEmploymentReportId;
public static final String SERIALIZED_NAME_GENERATED_TIME = "generated_time";
@SerializedName(SERIALIZED_NAME_GENERATED_TIME)
private OffsetDateTime generatedTime;
public static final String SERIALIZED_NAME_DAYS_REQUESTED = "days_requested";
@SerializedName(SERIALIZED_NAME_DAYS_REQUESTED)
private Integer daysRequested;
public static final String SERIALIZED_NAME_ITEMS = "items";
@SerializedName(SERIALIZED_NAME_ITEMS)
private List<CreditBankEmploymentItem> items = new ArrayList<>();
public static final String SERIALIZED_NAME_WARNINGS = "warnings";
@SerializedName(SERIALIZED_NAME_WARNINGS)
private List<CreditBankEmploymentWarning> warnings = new ArrayList<>();
public CreditBankEmploymentReport bankEmploymentReportId(String bankEmploymentReportId) {
this.bankEmploymentReportId = bankEmploymentReportId;
return this;
}
/**
* The unique identifier associated with the Bank Employment Report.
* @return bankEmploymentReportId
**/
@ApiModelProperty(required = true, value = "The unique identifier associated with the Bank Employment Report.")
public String getBankEmploymentReportId() {
return bankEmploymentReportId;
}
public void setBankEmploymentReportId(String bankEmploymentReportId) {
this.bankEmploymentReportId = bankEmploymentReportId;
}
public CreditBankEmploymentReport generatedTime(OffsetDateTime generatedTime) {
this.generatedTime = generatedTime;
return this;
}
/**
* The time when the Bank Employment Report was generated, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (e.g. \"2018-04-12T03:32:11Z\").
* @return generatedTime
**/
@ApiModelProperty(required = true, value = "The time when the Bank Employment Report was generated, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (e.g. \"2018-04-12T03:32:11Z\").")
public OffsetDateTime getGeneratedTime() {
return generatedTime;
}
public void setGeneratedTime(OffsetDateTime generatedTime) {
this.generatedTime = generatedTime;
}
public CreditBankEmploymentReport daysRequested(Integer daysRequested) {
this.daysRequested = daysRequested;
return this;
}
/**
* The number of days requested by the customer for the Bank Employment Report.
* @return daysRequested
**/
@ApiModelProperty(required = true, value = "The number of days requested by the customer for the Bank Employment Report.")
public Integer getDaysRequested() {
return daysRequested;
}
public void setDaysRequested(Integer daysRequested) {
this.daysRequested = daysRequested;
}
public CreditBankEmploymentReport items(List<CreditBankEmploymentItem> items) {
this.items = items;
return this;
}
public CreditBankEmploymentReport addItemsItem(CreditBankEmploymentItem itemsItem) {
this.items.add(itemsItem);
return this;
}
/**
* The list of Items in the report along with the associated metadata about the Item.
* @return items
**/
@ApiModelProperty(required = true, value = "The list of Items in the report along with the associated metadata about the Item.")
public List<CreditBankEmploymentItem> getItems() {
return items;
}
public void setItems(List<CreditBankEmploymentItem> items) {
this.items = items;
}
public CreditBankEmploymentReport warnings(List<CreditBankEmploymentWarning> warnings) {
this.warnings = warnings;
return this;
}
public CreditBankEmploymentReport addWarningsItem(CreditBankEmploymentWarning warningsItem) {
this.warnings.add(warningsItem);
return this;
}
/**
* If data from the Bank Employment report was unable to be retrieved, the warnings will contain information about the error that caused the data to be incomplete.
* @return warnings
**/
@ApiModelProperty(required = true, value = "If data from the Bank Employment report was unable to be retrieved, the warnings will contain information about the error that caused the data to be incomplete.")
public List<CreditBankEmploymentWarning> getWarnings() {
return warnings;
}
public void setWarnings(List<CreditBankEmploymentWarning> warnings) {
this.warnings = warnings;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreditBankEmploymentReport creditBankEmploymentReport = (CreditBankEmploymentReport) o;
return Objects.equals(this.bankEmploymentReportId, creditBankEmploymentReport.bankEmploymentReportId) &&
Objects.equals(this.generatedTime, creditBankEmploymentReport.generatedTime) &&
Objects.equals(this.daysRequested, creditBankEmploymentReport.daysRequested) &&
Objects.equals(this.items, creditBankEmploymentReport.items) &&
Objects.equals(this.warnings, creditBankEmploymentReport.warnings);
}
@Override
public int hashCode() {
return Objects.hash(bankEmploymentReportId, generatedTime, daysRequested, items, warnings);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditBankEmploymentReport {\n");
sb.append(" bankEmploymentReportId: ").append(toIndentedString(bankEmploymentReportId)).append("\n");
sb.append(" generatedTime: ").append(toIndentedString(generatedTime)).append("\n");
sb.append(" daysRequested: ").append(toIndentedString(daysRequested)).append("\n");
sb.append(" items: ").append(toIndentedString(items)).append("\n");
sb.append(" warnings: ").append(toIndentedString(warnings)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ItemStatus.java | src/main/java/com/plaid/client/model/ItemStatus.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.ItemStatusInvestments;
import com.plaid.client.model.ItemStatusLastWebhook;
import com.plaid.client.model.ItemStatusTransactions;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* An object with information about the status of the Item.
*/
@ApiModel(description = "An object with information about the status of the Item.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ItemStatus {
public static final String SERIALIZED_NAME_INVESTMENTS = "investments";
@SerializedName(SERIALIZED_NAME_INVESTMENTS)
private ItemStatusInvestments investments;
public static final String SERIALIZED_NAME_TRANSACTIONS = "transactions";
@SerializedName(SERIALIZED_NAME_TRANSACTIONS)
private ItemStatusTransactions transactions;
public static final String SERIALIZED_NAME_LAST_WEBHOOK = "last_webhook";
@SerializedName(SERIALIZED_NAME_LAST_WEBHOOK)
private ItemStatusLastWebhook lastWebhook;
public ItemStatus investments(ItemStatusInvestments investments) {
this.investments = investments;
return this;
}
/**
* Get investments
* @return investments
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ItemStatusInvestments getInvestments() {
return investments;
}
public void setInvestments(ItemStatusInvestments investments) {
this.investments = investments;
}
public ItemStatus transactions(ItemStatusTransactions transactions) {
this.transactions = transactions;
return this;
}
/**
* Get transactions
* @return transactions
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ItemStatusTransactions getTransactions() {
return transactions;
}
public void setTransactions(ItemStatusTransactions transactions) {
this.transactions = transactions;
}
public ItemStatus lastWebhook(ItemStatusLastWebhook lastWebhook) {
this.lastWebhook = lastWebhook;
return this;
}
/**
* Get lastWebhook
* @return lastWebhook
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ItemStatusLastWebhook getLastWebhook() {
return lastWebhook;
}
public void setLastWebhook(ItemStatusLastWebhook lastWebhook) {
this.lastWebhook = lastWebhook;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ItemStatus itemStatus = (ItemStatus) o;
return Objects.equals(this.investments, itemStatus.investments) &&
Objects.equals(this.transactions, itemStatus.transactions) &&
Objects.equals(this.lastWebhook, itemStatus.lastWebhook);
}
@Override
public int hashCode() {
return Objects.hash(investments, transactions, lastWebhook);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ItemStatus {\n");
sb.append(" investments: ").append(toIndentedString(investments)).append("\n");
sb.append(" transactions: ").append(toIndentedString(transactions)).append("\n");
sb.append(" lastWebhook: ").append(toIndentedString(lastWebhook)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/Issue.java | src/main/java/com/plaid/client/model/Issue.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.IssuesStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.List;
/**
* Information on an issue encountered with financial institutions interactions with financial institutions during Linking.
*/
@ApiModel(description = "Information on an issue encountered with financial institutions interactions with financial institutions during Linking.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class Issue {
public static final String SERIALIZED_NAME_ISSUE_ID = "issue_id";
@SerializedName(SERIALIZED_NAME_ISSUE_ID)
private String issueId;
public static final String SERIALIZED_NAME_INSTITUTION_NAMES = "institution_names";
@SerializedName(SERIALIZED_NAME_INSTITUTION_NAMES)
private List<String> institutionNames = null;
public static final String SERIALIZED_NAME_INSTITUTION_IDS = "institution_ids";
@SerializedName(SERIALIZED_NAME_INSTITUTION_IDS)
private List<String> institutionIds = null;
public static final String SERIALIZED_NAME_CREATED_AT = "created_at";
@SerializedName(SERIALIZED_NAME_CREATED_AT)
private OffsetDateTime createdAt;
public static final String SERIALIZED_NAME_SUMMARY = "summary";
@SerializedName(SERIALIZED_NAME_SUMMARY)
private String summary;
public static final String SERIALIZED_NAME_DETAILED_DESCRIPTION = "detailed_description";
@SerializedName(SERIALIZED_NAME_DETAILED_DESCRIPTION)
private String detailedDescription;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private IssuesStatus status;
public Issue issueId(String issueId) {
this.issueId = issueId;
return this;
}
/**
* The unique identifier of the issue.
* @return issueId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The unique identifier of the issue.")
public String getIssueId() {
return issueId;
}
public void setIssueId(String issueId) {
this.issueId = issueId;
}
public Issue institutionNames(List<String> institutionNames) {
this.institutionNames = institutionNames;
return this;
}
public Issue addInstitutionNamesItem(String institutionNamesItem) {
if (this.institutionNames == null) {
this.institutionNames = new ArrayList<>();
}
this.institutionNames.add(institutionNamesItem);
return this;
}
/**
* A list of names of the financial institutions affected.
* @return institutionNames
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A list of names of the financial institutions affected.")
public List<String> getInstitutionNames() {
return institutionNames;
}
public void setInstitutionNames(List<String> institutionNames) {
this.institutionNames = institutionNames;
}
public Issue institutionIds(List<String> institutionIds) {
this.institutionIds = institutionIds;
return this;
}
public Issue addInstitutionIdsItem(String institutionIdsItem) {
if (this.institutionIds == null) {
this.institutionIds = new ArrayList<>();
}
this.institutionIds.add(institutionIdsItem);
return this;
}
/**
* A list of ids of the financial institutions affected.
* @return institutionIds
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A list of ids of the financial institutions affected.")
public List<String> getInstitutionIds() {
return institutionIds;
}
public void setInstitutionIds(List<String> institutionIds) {
this.institutionIds = institutionIds;
}
public Issue createdAt(OffsetDateTime createdAt) {
this.createdAt = createdAt;
return this;
}
/**
* The creation time of the record tracking this issue.
* @return createdAt
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The creation time of the record tracking this issue.")
public OffsetDateTime getCreatedAt() {
return createdAt;
}
public void setCreatedAt(OffsetDateTime createdAt) {
this.createdAt = createdAt;
}
public Issue summary(String summary) {
this.summary = summary;
return this;
}
/**
* A simple summary of the error for the end user.
* @return summary
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A simple summary of the error for the end user.")
public String getSummary() {
return summary;
}
public void setSummary(String summary) {
this.summary = summary;
}
public Issue detailedDescription(String detailedDescription) {
this.detailedDescription = detailedDescription;
return this;
}
/**
* A more detailed description for the customer.
* @return detailedDescription
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A more detailed description for the customer.")
public String getDetailedDescription() {
return detailedDescription;
}
public void setDetailedDescription(String detailedDescription) {
this.detailedDescription = detailedDescription;
}
public Issue status(IssuesStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public IssuesStatus getStatus() {
return status;
}
public void setStatus(IssuesStatus status) {
this.status = status;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Issue issue = (Issue) o;
return Objects.equals(this.issueId, issue.issueId) &&
Objects.equals(this.institutionNames, issue.institutionNames) &&
Objects.equals(this.institutionIds, issue.institutionIds) &&
Objects.equals(this.createdAt, issue.createdAt) &&
Objects.equals(this.summary, issue.summary) &&
Objects.equals(this.detailedDescription, issue.detailedDescription) &&
Objects.equals(this.status, issue.status);
}
@Override
public int hashCode() {
return Objects.hash(issueId, institutionNames, institutionIds, createdAt, summary, detailedDescription, status);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Issue {\n");
sb.append(" issueId: ").append(toIndentedString(issueId)).append("\n");
sb.append(" institutionNames: ").append(toIndentedString(institutionNames)).append("\n");
sb.append(" institutionIds: ").append(toIndentedString(institutionIds)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" summary: ").append(toIndentedString(summary)).append("\n");
sb.append(" detailedDescription: ").append(toIndentedString(detailedDescription)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/InvestmentsDefaultUpdateWebhook.java | src/main/java/com/plaid/client/model/InvestmentsDefaultUpdateWebhook.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.PlaidError;
import com.plaid.client.model.WebhookEnvironmentValues;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.math.BigDecimal;
/**
* Fired when new transactions have been detected on an investment account.
*/
@ApiModel(description = "Fired when new transactions have been detected on an investment account.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class InvestmentsDefaultUpdateWebhook {
public static final String SERIALIZED_NAME_WEBHOOK_TYPE = "webhook_type";
@SerializedName(SERIALIZED_NAME_WEBHOOK_TYPE)
private String webhookType;
public static final String SERIALIZED_NAME_WEBHOOK_CODE = "webhook_code";
@SerializedName(SERIALIZED_NAME_WEBHOOK_CODE)
private String webhookCode;
public static final String SERIALIZED_NAME_ITEM_ID = "item_id";
@SerializedName(SERIALIZED_NAME_ITEM_ID)
private String itemId;
public static final String SERIALIZED_NAME_ERROR = "error";
@SerializedName(SERIALIZED_NAME_ERROR)
private PlaidError error;
public static final String SERIALIZED_NAME_NEW_INVESTMENTS_TRANSACTIONS = "new_investments_transactions";
@SerializedName(SERIALIZED_NAME_NEW_INVESTMENTS_TRANSACTIONS)
private Double newInvestmentsTransactions;
public static final String SERIALIZED_NAME_CANCELED_INVESTMENTS_TRANSACTIONS = "canceled_investments_transactions";
@SerializedName(SERIALIZED_NAME_CANCELED_INVESTMENTS_TRANSACTIONS)
private Double canceledInvestmentsTransactions;
public static final String SERIALIZED_NAME_ENVIRONMENT = "environment";
@SerializedName(SERIALIZED_NAME_ENVIRONMENT)
private WebhookEnvironmentValues environment;
public InvestmentsDefaultUpdateWebhook webhookType(String webhookType) {
this.webhookType = webhookType;
return this;
}
/**
* `INVESTMENTS_TRANSACTIONS`
* @return webhookType
**/
@ApiModelProperty(required = true, value = "`INVESTMENTS_TRANSACTIONS`")
public String getWebhookType() {
return webhookType;
}
public void setWebhookType(String webhookType) {
this.webhookType = webhookType;
}
public InvestmentsDefaultUpdateWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `DEFAULT_UPDATE`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`DEFAULT_UPDATE`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public InvestmentsDefaultUpdateWebhook itemId(String itemId) {
this.itemId = itemId;
return this;
}
/**
* The `item_id` of the Item associated with this webhook, warning, or error
* @return itemId
**/
@ApiModelProperty(required = true, value = "The `item_id` of the Item associated with this webhook, warning, or error")
public String getItemId() {
return itemId;
}
public void setItemId(String itemId) {
this.itemId = itemId;
}
public InvestmentsDefaultUpdateWebhook error(PlaidError error) {
this.error = error;
return this;
}
/**
* Get error
* @return error
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PlaidError getError() {
return error;
}
public void setError(PlaidError error) {
this.error = error;
}
public InvestmentsDefaultUpdateWebhook newInvestmentsTransactions(Double newInvestmentsTransactions) {
this.newInvestmentsTransactions = newInvestmentsTransactions;
return this;
}
/**
* The number of new transactions reported since the last time this webhook was fired.
* @return newInvestmentsTransactions
**/
@ApiModelProperty(required = true, value = "The number of new transactions reported since the last time this webhook was fired.")
public Double getNewInvestmentsTransactions() {
return newInvestmentsTransactions;
}
public void setNewInvestmentsTransactions(Double newInvestmentsTransactions) {
this.newInvestmentsTransactions = newInvestmentsTransactions;
}
public InvestmentsDefaultUpdateWebhook canceledInvestmentsTransactions(Double canceledInvestmentsTransactions) {
this.canceledInvestmentsTransactions = canceledInvestmentsTransactions;
return this;
}
/**
* The number of canceled transactions reported since the last time this webhook was fired.
* @return canceledInvestmentsTransactions
**/
@ApiModelProperty(required = true, value = "The number of canceled transactions reported since the last time this webhook was fired.")
public Double getCanceledInvestmentsTransactions() {
return canceledInvestmentsTransactions;
}
public void setCanceledInvestmentsTransactions(Double canceledInvestmentsTransactions) {
this.canceledInvestmentsTransactions = canceledInvestmentsTransactions;
}
public InvestmentsDefaultUpdateWebhook environment(WebhookEnvironmentValues environment) {
this.environment = environment;
return this;
}
/**
* Get environment
* @return environment
**/
@ApiModelProperty(required = true, value = "")
public WebhookEnvironmentValues getEnvironment() {
return environment;
}
public void setEnvironment(WebhookEnvironmentValues environment) {
this.environment = environment;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
InvestmentsDefaultUpdateWebhook investmentsDefaultUpdateWebhook = (InvestmentsDefaultUpdateWebhook) o;
return Objects.equals(this.webhookType, investmentsDefaultUpdateWebhook.webhookType) &&
Objects.equals(this.webhookCode, investmentsDefaultUpdateWebhook.webhookCode) &&
Objects.equals(this.itemId, investmentsDefaultUpdateWebhook.itemId) &&
Objects.equals(this.error, investmentsDefaultUpdateWebhook.error) &&
Objects.equals(this.newInvestmentsTransactions, investmentsDefaultUpdateWebhook.newInvestmentsTransactions) &&
Objects.equals(this.canceledInvestmentsTransactions, investmentsDefaultUpdateWebhook.canceledInvestmentsTransactions) &&
Objects.equals(this.environment, investmentsDefaultUpdateWebhook.environment);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, itemId, error, newInvestmentsTransactions, canceledInvestmentsTransactions, environment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class InvestmentsDefaultUpdateWebhook {\n");
sb.append(" webhookType: ").append(toIndentedString(webhookType)).append("\n");
sb.append(" webhookCode: ").append(toIndentedString(webhookCode)).append("\n");
sb.append(" itemId: ").append(toIndentedString(itemId)).append("\n");
sb.append(" error: ").append(toIndentedString(error)).append("\n");
sb.append(" newInvestmentsTransactions: ").append(toIndentedString(newInvestmentsTransactions)).append("\n");
sb.append(" canceledInvestmentsTransactions: ").append(toIndentedString(canceledInvestmentsTransactions)).append("\n");
sb.append(" environment: ").append(toIndentedString(environment)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/IncomeVerificationPaystubsGetRequest.java | src/main/java/com/plaid/client/model/IncomeVerificationPaystubsGetRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* IncomeVerificationPaystubsGetRequest defines the request schema for `/income/verification/paystubs/get`.
*/
@ApiModel(description = "IncomeVerificationPaystubsGetRequest defines the request schema for `/income/verification/paystubs/get`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class IncomeVerificationPaystubsGetRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_INCOME_VERIFICATION_ID = "income_verification_id";
@SerializedName(SERIALIZED_NAME_INCOME_VERIFICATION_ID)
private String incomeVerificationId;
public static final String SERIALIZED_NAME_ACCESS_TOKEN = "access_token";
@SerializedName(SERIALIZED_NAME_ACCESS_TOKEN)
private String accessToken;
public IncomeVerificationPaystubsGetRequest clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.
* @return clientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.")
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public IncomeVerificationPaystubsGetRequest secret(String secret) {
this.secret = secret;
return this;
}
/**
* Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.
* @return secret
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.")
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
public IncomeVerificationPaystubsGetRequest incomeVerificationId(String incomeVerificationId) {
this.incomeVerificationId = incomeVerificationId;
return this;
}
/**
* The ID of the verification for which to get paystub information.
* @return incomeVerificationId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The ID of the verification for which to get paystub information.")
public String getIncomeVerificationId() {
return incomeVerificationId;
}
public void setIncomeVerificationId(String incomeVerificationId) {
this.incomeVerificationId = incomeVerificationId;
}
public IncomeVerificationPaystubsGetRequest accessToken(String accessToken) {
this.accessToken = accessToken;
return this;
}
/**
* The access token associated with the Item data is being requested for.
* @return accessToken
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The access token associated with the Item data is being requested for.")
public String getAccessToken() {
return accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
IncomeVerificationPaystubsGetRequest incomeVerificationPaystubsGetRequest = (IncomeVerificationPaystubsGetRequest) o;
return Objects.equals(this.clientId, incomeVerificationPaystubsGetRequest.clientId) &&
Objects.equals(this.secret, incomeVerificationPaystubsGetRequest.secret) &&
Objects.equals(this.incomeVerificationId, incomeVerificationPaystubsGetRequest.incomeVerificationId) &&
Objects.equals(this.accessToken, incomeVerificationPaystubsGetRequest.accessToken);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, incomeVerificationId, accessToken);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IncomeVerificationPaystubsGetRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" incomeVerificationId: ").append(toIndentedString(incomeVerificationId)).append("\n");
sb.append(" accessToken: ").append(toIndentedString(accessToken)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/FDXLifecycleEvent.java | src/main/java/com/plaid/client/model/FDXLifecycleEvent.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.FDXEventStatus;
import com.plaid.client.model.FDXPartyType;
import com.plaid.client.model.FDXUpdateReason;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
/**
* Details of consent or payment network identifier or other entity's revocation request or other lifecycle status change event
*/
@ApiModel(description = "Details of consent or payment network identifier or other entity's revocation request or other lifecycle status change event")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class FDXLifecycleEvent {
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private FDXEventStatus status;
public static final String SERIALIZED_NAME_REASON = "reason";
@SerializedName(SERIALIZED_NAME_REASON)
private FDXUpdateReason reason;
public static final String SERIALIZED_NAME_OTHER_REASON = "otherReason";
@SerializedName(SERIALIZED_NAME_OTHER_REASON)
private String otherReason;
public static final String SERIALIZED_NAME_INITIATOR = "initiator";
@SerializedName(SERIALIZED_NAME_INITIATOR)
private FDXPartyType initiator;
public static final String SERIALIZED_NAME_UPDATED_TIME = "updatedTime";
@SerializedName(SERIALIZED_NAME_UPDATED_TIME)
private OffsetDateTime updatedTime;
public FDXLifecycleEvent status(FDXEventStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public FDXEventStatus getStatus() {
return status;
}
public void setStatus(FDXEventStatus status) {
this.status = status;
}
public FDXLifecycleEvent reason(FDXUpdateReason reason) {
this.reason = reason;
return this;
}
/**
* Get reason
* @return reason
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public FDXUpdateReason getReason() {
return reason;
}
public void setReason(FDXUpdateReason reason) {
this.reason = reason;
}
public FDXLifecycleEvent otherReason(String otherReason) {
this.otherReason = otherReason;
return this;
}
/**
* Additional information or description of an `OTHER` reason
* @return otherReason
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Additional information or description of an `OTHER` reason")
public String getOtherReason() {
return otherReason;
}
public void setOtherReason(String otherReason) {
this.otherReason = otherReason;
}
public FDXLifecycleEvent initiator(FDXPartyType initiator) {
this.initiator = initiator;
return this;
}
/**
* Get initiator
* @return initiator
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public FDXPartyType getInitiator() {
return initiator;
}
public void setInitiator(FDXPartyType initiator) {
this.initiator = initiator;
}
public FDXLifecycleEvent updatedTime(OffsetDateTime updatedTime) {
this.updatedTime = updatedTime;
return this;
}
/**
* ISO 8601 date-time in format 'YYYY-MM-DDThh:mm:ss.nnn[Z|[+|-]hh:mm]' according to [IETF RFC3339](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14)
* @return updatedTime
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "2021-07-15T14:46:41.375Z", value = "ISO 8601 date-time in format 'YYYY-MM-DDThh:mm:ss.nnn[Z|[+|-]hh:mm]' according to [IETF RFC3339](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14)")
public OffsetDateTime getUpdatedTime() {
return updatedTime;
}
public void setUpdatedTime(OffsetDateTime updatedTime) {
this.updatedTime = updatedTime;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
FDXLifecycleEvent fdXLifecycleEvent = (FDXLifecycleEvent) o;
return Objects.equals(this.status, fdXLifecycleEvent.status) &&
Objects.equals(this.reason, fdXLifecycleEvent.reason) &&
Objects.equals(this.otherReason, fdXLifecycleEvent.otherReason) &&
Objects.equals(this.initiator, fdXLifecycleEvent.initiator) &&
Objects.equals(this.updatedTime, fdXLifecycleEvent.updatedTime);
}
@Override
public int hashCode() {
return Objects.hash(status, reason, otherReason, initiator, updatedTime);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FDXLifecycleEvent {\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" reason: ").append(toIndentedString(reason)).append("\n");
sb.append(" otherReason: ").append(toIndentedString(otherReason)).append("\n");
sb.append(" initiator: ").append(toIndentedString(initiator)).append("\n");
sb.append(" updatedTime: ").append(toIndentedString(updatedTime)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/RecurringTransferSkippedWebhook.java | src/main/java/com/plaid/client/model/RecurringTransferSkippedWebhook.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.TransferAuthorizationDecision;
import com.plaid.client.model.TransferAuthorizationDecisionRationaleCode;
import com.plaid.client.model.WebhookEnvironmentValues;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
/**
* Fired when Plaid is unable to originate a new ACH transaction of the recurring transfer on the planned date.
*/
@ApiModel(description = "Fired when Plaid is unable to originate a new ACH transaction of the recurring transfer on the planned date.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class RecurringTransferSkippedWebhook {
public static final String SERIALIZED_NAME_WEBHOOK_TYPE = "webhook_type";
@SerializedName(SERIALIZED_NAME_WEBHOOK_TYPE)
private String webhookType;
public static final String SERIALIZED_NAME_WEBHOOK_CODE = "webhook_code";
@SerializedName(SERIALIZED_NAME_WEBHOOK_CODE)
private String webhookCode;
public static final String SERIALIZED_NAME_RECURRING_TRANSFER_ID = "recurring_transfer_id";
@SerializedName(SERIALIZED_NAME_RECURRING_TRANSFER_ID)
private String recurringTransferId;
public static final String SERIALIZED_NAME_AUTHORIZATION_DECISION = "authorization_decision";
@SerializedName(SERIALIZED_NAME_AUTHORIZATION_DECISION)
private TransferAuthorizationDecision authorizationDecision;
public static final String SERIALIZED_NAME_AUTHORIZATION_DECISION_RATIONALE_CODE = "authorization_decision_rationale_code";
@SerializedName(SERIALIZED_NAME_AUTHORIZATION_DECISION_RATIONALE_CODE)
private TransferAuthorizationDecisionRationaleCode authorizationDecisionRationaleCode;
public static final String SERIALIZED_NAME_SKIPPED_ORIGINATION_DATE = "skipped_origination_date";
@SerializedName(SERIALIZED_NAME_SKIPPED_ORIGINATION_DATE)
private LocalDate skippedOriginationDate;
public static final String SERIALIZED_NAME_ENVIRONMENT = "environment";
@SerializedName(SERIALIZED_NAME_ENVIRONMENT)
private WebhookEnvironmentValues environment;
public RecurringTransferSkippedWebhook webhookType(String webhookType) {
this.webhookType = webhookType;
return this;
}
/**
* `TRANSFER`
* @return webhookType
**/
@ApiModelProperty(required = true, value = "`TRANSFER`")
public String getWebhookType() {
return webhookType;
}
public void setWebhookType(String webhookType) {
this.webhookType = webhookType;
}
public RecurringTransferSkippedWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `RECURRING_TRANSFER_SKIPPED`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`RECURRING_TRANSFER_SKIPPED`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public RecurringTransferSkippedWebhook recurringTransferId(String recurringTransferId) {
this.recurringTransferId = recurringTransferId;
return this;
}
/**
* Plaid’s unique identifier for a recurring transfer.
* @return recurringTransferId
**/
@ApiModelProperty(required = true, value = "Plaid’s unique identifier for a recurring transfer.")
public String getRecurringTransferId() {
return recurringTransferId;
}
public void setRecurringTransferId(String recurringTransferId) {
this.recurringTransferId = recurringTransferId;
}
public RecurringTransferSkippedWebhook authorizationDecision(TransferAuthorizationDecision authorizationDecision) {
this.authorizationDecision = authorizationDecision;
return this;
}
/**
* Get authorizationDecision
* @return authorizationDecision
**/
@ApiModelProperty(required = true, value = "")
public TransferAuthorizationDecision getAuthorizationDecision() {
return authorizationDecision;
}
public void setAuthorizationDecision(TransferAuthorizationDecision authorizationDecision) {
this.authorizationDecision = authorizationDecision;
}
public RecurringTransferSkippedWebhook authorizationDecisionRationaleCode(TransferAuthorizationDecisionRationaleCode authorizationDecisionRationaleCode) {
this.authorizationDecisionRationaleCode = authorizationDecisionRationaleCode;
return this;
}
/**
* Get authorizationDecisionRationaleCode
* @return authorizationDecisionRationaleCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public TransferAuthorizationDecisionRationaleCode getAuthorizationDecisionRationaleCode() {
return authorizationDecisionRationaleCode;
}
public void setAuthorizationDecisionRationaleCode(TransferAuthorizationDecisionRationaleCode authorizationDecisionRationaleCode) {
this.authorizationDecisionRationaleCode = authorizationDecisionRationaleCode;
}
public RecurringTransferSkippedWebhook skippedOriginationDate(LocalDate skippedOriginationDate) {
this.skippedOriginationDate = skippedOriginationDate;
return this;
}
/**
* The planned date on which Plaid is unable to originate a new ACH transaction of the recurring transfer. This will be of the form YYYY-MM-DD.
* @return skippedOriginationDate
**/
@ApiModelProperty(required = true, value = "The planned date on which Plaid is unable to originate a new ACH transaction of the recurring transfer. This will be of the form YYYY-MM-DD.")
public LocalDate getSkippedOriginationDate() {
return skippedOriginationDate;
}
public void setSkippedOriginationDate(LocalDate skippedOriginationDate) {
this.skippedOriginationDate = skippedOriginationDate;
}
public RecurringTransferSkippedWebhook environment(WebhookEnvironmentValues environment) {
this.environment = environment;
return this;
}
/**
* Get environment
* @return environment
**/
@ApiModelProperty(required = true, value = "")
public WebhookEnvironmentValues getEnvironment() {
return environment;
}
public void setEnvironment(WebhookEnvironmentValues environment) {
this.environment = environment;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
RecurringTransferSkippedWebhook recurringTransferSkippedWebhook = (RecurringTransferSkippedWebhook) o;
return Objects.equals(this.webhookType, recurringTransferSkippedWebhook.webhookType) &&
Objects.equals(this.webhookCode, recurringTransferSkippedWebhook.webhookCode) &&
Objects.equals(this.recurringTransferId, recurringTransferSkippedWebhook.recurringTransferId) &&
Objects.equals(this.authorizationDecision, recurringTransferSkippedWebhook.authorizationDecision) &&
Objects.equals(this.authorizationDecisionRationaleCode, recurringTransferSkippedWebhook.authorizationDecisionRationaleCode) &&
Objects.equals(this.skippedOriginationDate, recurringTransferSkippedWebhook.skippedOriginationDate) &&
Objects.equals(this.environment, recurringTransferSkippedWebhook.environment);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, recurringTransferId, authorizationDecision, authorizationDecisionRationaleCode, skippedOriginationDate, environment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class RecurringTransferSkippedWebhook {\n");
sb.append(" webhookType: ").append(toIndentedString(webhookType)).append("\n");
sb.append(" webhookCode: ").append(toIndentedString(webhookCode)).append("\n");
sb.append(" recurringTransferId: ").append(toIndentedString(recurringTransferId)).append("\n");
sb.append(" authorizationDecision: ").append(toIndentedString(authorizationDecision)).append("\n");
sb.append(" authorizationDecisionRationaleCode: ").append(toIndentedString(authorizationDecisionRationaleCode)).append("\n");
sb.append(" skippedOriginationDate: ").append(toIndentedString(skippedOriginationDate)).append("\n");
sb.append(" environment: ").append(toIndentedString(environment)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/InvestmentTransactionType.java | src/main/java/com/plaid/client/model/InvestmentTransactionType.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* Value is one of the following: `buy`: Buying an investment `sell`: Selling an investment `cancel`: A cancellation of a pending transaction `cash`: Activity that modifies a cash position `fee`: A fee on the account `transfer`: Activity which modifies a position, but not through buy/sell activity e.g. options exercise, portfolio transfer For descriptions of possible transaction types and subtypes, see the [Investment transaction types schema](https://plaid.com/docs/api/accounts/#investment-transaction-types-schema).
*/
@JsonAdapter(InvestmentTransactionType.Adapter.class)
public enum InvestmentTransactionType {
BUY("buy"),
SELL("sell"),
CANCEL("cancel"),
CASH("cash"),
FEE("fee"),
TRANSFER("transfer"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
InvestmentTransactionType(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static InvestmentTransactionType fromValue(String value) {
for (InvestmentTransactionType b : InvestmentTransactionType.values()) {
if (b.value.equals(value)) {
return b;
}
}
return InvestmentTransactionType.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<InvestmentTransactionType> {
@Override
public void write(final JsonWriter jsonWriter, final InvestmentTransactionType enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public InvestmentTransactionType read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return InvestmentTransactionType.fromValue(value);
}
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/SandboxPublicTokenCreateRequestOptionsStatements.java | src/main/java/com/plaid/client/model/SandboxPublicTokenCreateRequestOptionsStatements.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
/**
* An optional set of parameters corresponding to statements options.
*/
@ApiModel(description = "An optional set of parameters corresponding to statements options.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SandboxPublicTokenCreateRequestOptionsStatements {
public static final String SERIALIZED_NAME_START_DATE = "start_date";
@SerializedName(SERIALIZED_NAME_START_DATE)
private LocalDate startDate;
public static final String SERIALIZED_NAME_END_DATE = "end_date";
@SerializedName(SERIALIZED_NAME_END_DATE)
private LocalDate endDate;
public SandboxPublicTokenCreateRequestOptionsStatements startDate(LocalDate startDate) {
this.startDate = startDate;
return this;
}
/**
* The earliest date for which to fetch statements history. Dates should be formatted as YYYY-MM-DD.
* @return startDate
**/
@ApiModelProperty(required = true, value = "The earliest date for which to fetch statements history. Dates should be formatted as YYYY-MM-DD.")
public LocalDate getStartDate() {
return startDate;
}
public void setStartDate(LocalDate startDate) {
this.startDate = startDate;
}
public SandboxPublicTokenCreateRequestOptionsStatements endDate(LocalDate endDate) {
this.endDate = endDate;
return this;
}
/**
* The most recent date for which to fetch statements history. Dates should be formatted as YYYY-MM-DD.
* @return endDate
**/
@ApiModelProperty(required = true, value = "The most recent date for which to fetch statements history. Dates should be formatted as YYYY-MM-DD.")
public LocalDate getEndDate() {
return endDate;
}
public void setEndDate(LocalDate endDate) {
this.endDate = endDate;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SandboxPublicTokenCreateRequestOptionsStatements sandboxPublicTokenCreateRequestOptionsStatements = (SandboxPublicTokenCreateRequestOptionsStatements) o;
return Objects.equals(this.startDate, sandboxPublicTokenCreateRequestOptionsStatements.startDate) &&
Objects.equals(this.endDate, sandboxPublicTokenCreateRequestOptionsStatements.endDate);
}
@Override
public int hashCode() {
return Objects.hash(startDate, endDate);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SandboxPublicTokenCreateRequestOptionsStatements {\n");
sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n");
sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransferLedgerGetResponse.java | src/main/java/com/plaid/client/model/TransferLedgerGetResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.TransferLedgerBalance;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines the response schema for `/transfer/ledger/get`
*/
@ApiModel(description = "Defines the response schema for `/transfer/ledger/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferLedgerGetResponse {
public static final String SERIALIZED_NAME_LEDGER_ID = "ledger_id";
@SerializedName(SERIALIZED_NAME_LEDGER_ID)
private String ledgerId;
public static final String SERIALIZED_NAME_BALANCE = "balance";
@SerializedName(SERIALIZED_NAME_BALANCE)
private TransferLedgerBalance balance;
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public static final String SERIALIZED_NAME_IS_DEFAULT = "is_default";
@SerializedName(SERIALIZED_NAME_IS_DEFAULT)
private Boolean isDefault;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public TransferLedgerGetResponse ledgerId(String ledgerId) {
this.ledgerId = ledgerId;
return this;
}
/**
* The unique identifier of the Ledger that was returned.
* @return ledgerId
**/
@ApiModelProperty(required = true, value = "The unique identifier of the Ledger that was returned.")
public String getLedgerId() {
return ledgerId;
}
public void setLedgerId(String ledgerId) {
this.ledgerId = ledgerId;
}
public TransferLedgerGetResponse balance(TransferLedgerBalance balance) {
this.balance = balance;
return this;
}
/**
* Get balance
* @return balance
**/
@ApiModelProperty(required = true, value = "")
public TransferLedgerBalance getBalance() {
return balance;
}
public void setBalance(TransferLedgerBalance balance) {
this.balance = balance;
}
public TransferLedgerGetResponse name(String name) {
this.name = name;
return this;
}
/**
* The name of the Ledger
* @return name
**/
@ApiModelProperty(required = true, value = "The name of the Ledger")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public TransferLedgerGetResponse isDefault(Boolean isDefault) {
this.isDefault = isDefault;
return this;
}
/**
* Whether this Ledger is the client's default ledger.
* @return isDefault
**/
@ApiModelProperty(required = true, value = "Whether this Ledger is the client's default ledger.")
public Boolean getIsDefault() {
return isDefault;
}
public void setIsDefault(Boolean isDefault) {
this.isDefault = isDefault;
}
public TransferLedgerGetResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferLedgerGetResponse transferLedgerGetResponse = (TransferLedgerGetResponse) o;
return Objects.equals(this.ledgerId, transferLedgerGetResponse.ledgerId) &&
Objects.equals(this.balance, transferLedgerGetResponse.balance) &&
Objects.equals(this.name, transferLedgerGetResponse.name) &&
Objects.equals(this.isDefault, transferLedgerGetResponse.isDefault) &&
Objects.equals(this.requestId, transferLedgerGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(ledgerId, balance, name, isDefault, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferLedgerGetResponse {\n");
sb.append(" ledgerId: ").append(toIndentedString(ledgerId)).append("\n");
sb.append(" balance: ").append(toIndentedString(balance)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" isDefault: ").append(toIndentedString(isDefault)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ItemImportRequestOptions.java | src/main/java/com/plaid/client/model/ItemImportRequestOptions.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* An optional object to configure `/item/import` request.
*/
@ApiModel(description = "An optional object to configure `/item/import` request.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ItemImportRequestOptions {
public static final String SERIALIZED_NAME_WEBHOOK = "webhook";
@SerializedName(SERIALIZED_NAME_WEBHOOK)
private String webhook;
public ItemImportRequestOptions webhook(String webhook) {
this.webhook = webhook;
return this;
}
/**
* Specifies a webhook URL to associate with an Item. Plaid fires a webhook if credentials fail.
* @return webhook
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Specifies a webhook URL to associate with an Item. Plaid fires a webhook if credentials fail. ")
public String getWebhook() {
return webhook;
}
public void setWebhook(String webhook) {
this.webhook = webhook;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ItemImportRequestOptions itemImportRequestOptions = (ItemImportRequestOptions) o;
return Objects.equals(this.webhook, itemImportRequestOptions.webhook);
}
@Override
public int hashCode() {
return Objects.hash(webhook);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ItemImportRequestOptions {\n");
sb.append(" webhook: ").append(toIndentedString(webhook)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/SweepFailure.java | src/main/java/com/plaid/client/model/SweepFailure.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The failure reason if the status for a sweep is `\"failed\"` or `\"returned\"`. Null value otherwise.
*/
@ApiModel(description = "The failure reason if the status for a sweep is `\"failed\"` or `\"returned\"`. Null value otherwise.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SweepFailure {
public static final String SERIALIZED_NAME_FAILURE_CODE = "failure_code";
@SerializedName(SERIALIZED_NAME_FAILURE_CODE)
private String failureCode;
public static final String SERIALIZED_NAME_DESCRIPTION = "description";
@SerializedName(SERIALIZED_NAME_DESCRIPTION)
private String description;
public SweepFailure failureCode(String failureCode) {
this.failureCode = failureCode;
return this;
}
/**
* The failure code, e.g. `R01`. A failure code will be provided if and only if the sweep status is `returned`. See [ACH return codes](https://plaid.com/docs/errors/transfer/#ach-return-codes) for a full listing of ACH return codes and [RTP/RfP error codes](https://plaid.com/docs/errors/transfer/#rtprfp-error-codes) for RTP error codes.
* @return failureCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The failure code, e.g. `R01`. A failure code will be provided if and only if the sweep status is `returned`. See [ACH return codes](https://plaid.com/docs/errors/transfer/#ach-return-codes) for a full listing of ACH return codes and [RTP/RfP error codes](https://plaid.com/docs/errors/transfer/#rtprfp-error-codes) for RTP error codes.")
public String getFailureCode() {
return failureCode;
}
public void setFailureCode(String failureCode) {
this.failureCode = failureCode;
}
public SweepFailure description(String description) {
this.description = description;
return this;
}
/**
* A human-readable description of the reason for the failure or reversal.
* @return description
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A human-readable description of the reason for the failure or reversal.")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SweepFailure sweepFailure = (SweepFailure) o;
return Objects.equals(this.failureCode, sweepFailure.failureCode) &&
Objects.equals(this.description, sweepFailure.description);
}
@Override
public int hashCode() {
return Objects.hash(failureCode, description);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SweepFailure {\n");
sb.append(" failureCode: ").append(toIndentedString(failureCode)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/OverrideAccountType.java | src/main/java/com/plaid/client/model/OverrideAccountType.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* `investment:` Investment account. `credit:` Credit card `depository:` Depository account `loan:` Loan account `payroll:` Payroll account `other:` Non-specified account type See the [Account type schema](https://plaid.com/docs/api/accounts#account-type-schema) for a full listing of account types and corresponding subtypes.
*/
@JsonAdapter(OverrideAccountType.Adapter.class)
public enum OverrideAccountType {
INVESTMENT("investment"),
CREDIT("credit"),
DEPOSITORY("depository"),
LOAN("loan"),
PAYROLL("payroll"),
OTHER("other"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
OverrideAccountType(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static OverrideAccountType fromValue(String value) {
for (OverrideAccountType b : OverrideAccountType.values()) {
if (b.value.equals(value)) {
return b;
}
}
return OverrideAccountType.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<OverrideAccountType> {
@Override
public void write(final JsonWriter jsonWriter, final OverrideAccountType enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public OverrideAccountType read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return OverrideAccountType.fromValue(value);
}
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/IdentityRefreshRequest.java | src/main/java/com/plaid/client/model/IdentityRefreshRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* IdentityRefreshRequest defines the request schema for `/identity/refresh`
*/
@ApiModel(description = "IdentityRefreshRequest defines the request schema for `/identity/refresh`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class IdentityRefreshRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_ACCESS_TOKEN = "access_token";
@SerializedName(SERIALIZED_NAME_ACCESS_TOKEN)
private String accessToken;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public IdentityRefreshRequest clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.
* @return clientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.")
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public IdentityRefreshRequest accessToken(String accessToken) {
this.accessToken = accessToken;
return this;
}
/**
* The access token associated with the Item data is being requested for.
* @return accessToken
**/
@ApiModelProperty(required = true, value = "The access token associated with the Item data is being requested for.")
public String getAccessToken() {
return accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
}
public IdentityRefreshRequest secret(String secret) {
this.secret = secret;
return this;
}
/**
* Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.
* @return secret
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.")
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
IdentityRefreshRequest identityRefreshRequest = (IdentityRefreshRequest) o;
return Objects.equals(this.clientId, identityRefreshRequest.clientId) &&
Objects.equals(this.accessToken, identityRefreshRequest.accessToken) &&
Objects.equals(this.secret, identityRefreshRequest.secret);
}
@Override
public int hashCode() {
return Objects.hash(clientId, accessToken, secret);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IdentityRefreshRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" accessToken: ").append(toIndentedString(accessToken)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CashFlowUpdatesNSFWebhook.java | src/main/java/com/plaid/client/model/CashFlowUpdatesNSFWebhook.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.MonitoringInsightsStatus;
import com.plaid.client.model.WebhookEnvironmentValues;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* For each user's item enabled for Cash Flow Updates, this webhook will fire when an update includes an NSF overdraft transaction. Upon receiving the webhook, call `/cra/monitoring_insights/get` to retrieve the updated insights.
*/
@ApiModel(description = "For each user's item enabled for Cash Flow Updates, this webhook will fire when an update includes an NSF overdraft transaction. Upon receiving the webhook, call `/cra/monitoring_insights/get` to retrieve the updated insights.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CashFlowUpdatesNSFWebhook {
public static final String SERIALIZED_NAME_WEBHOOK_TYPE = "webhook_type";
@SerializedName(SERIALIZED_NAME_WEBHOOK_TYPE)
private String webhookType;
public static final String SERIALIZED_NAME_WEBHOOK_CODE = "webhook_code";
@SerializedName(SERIALIZED_NAME_WEBHOOK_CODE)
private String webhookCode;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private MonitoringInsightsStatus status;
public static final String SERIALIZED_NAME_USER_ID = "user_id";
@SerializedName(SERIALIZED_NAME_USER_ID)
private String userId;
public static final String SERIALIZED_NAME_ENVIRONMENT = "environment";
@SerializedName(SERIALIZED_NAME_ENVIRONMENT)
private WebhookEnvironmentValues environment;
public CashFlowUpdatesNSFWebhook webhookType(String webhookType) {
this.webhookType = webhookType;
return this;
}
/**
* `CASH_FLOW_UPDATES`
* @return webhookType
**/
@ApiModelProperty(required = true, value = "`CASH_FLOW_UPDATES`")
public String getWebhookType() {
return webhookType;
}
public void setWebhookType(String webhookType) {
this.webhookType = webhookType;
}
public CashFlowUpdatesNSFWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `NSF_OVERDRAFT_DETECTED`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`NSF_OVERDRAFT_DETECTED`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public CashFlowUpdatesNSFWebhook status(MonitoringInsightsStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@ApiModelProperty(required = true, value = "")
public MonitoringInsightsStatus getStatus() {
return status;
}
public void setStatus(MonitoringInsightsStatus status) {
this.status = status;
}
public CashFlowUpdatesNSFWebhook userId(String userId) {
this.userId = userId;
return this;
}
/**
* The `user_id` that the report is associated with
* @return userId
**/
@ApiModelProperty(required = true, value = "The `user_id` that the report is associated with")
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public CashFlowUpdatesNSFWebhook environment(WebhookEnvironmentValues environment) {
this.environment = environment;
return this;
}
/**
* Get environment
* @return environment
**/
@ApiModelProperty(required = true, value = "")
public WebhookEnvironmentValues getEnvironment() {
return environment;
}
public void setEnvironment(WebhookEnvironmentValues environment) {
this.environment = environment;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CashFlowUpdatesNSFWebhook cashFlowUpdatesNSFWebhook = (CashFlowUpdatesNSFWebhook) o;
return Objects.equals(this.webhookType, cashFlowUpdatesNSFWebhook.webhookType) &&
Objects.equals(this.webhookCode, cashFlowUpdatesNSFWebhook.webhookCode) &&
Objects.equals(this.status, cashFlowUpdatesNSFWebhook.status) &&
Objects.equals(this.userId, cashFlowUpdatesNSFWebhook.userId) &&
Objects.equals(this.environment, cashFlowUpdatesNSFWebhook.environment);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, status, userId, environment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CashFlowUpdatesNSFWebhook {\n");
sb.append(" webhookType: ").append(toIndentedString(webhookType)).append("\n");
sb.append(" webhookCode: ").append(toIndentedString(webhookCode)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" userId: ").append(toIndentedString(userId)).append("\n");
sb.append(" environment: ").append(toIndentedString(environment)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ProcessorSignalDecisionReportResponse.java | src/main/java/com/plaid/client/model/ProcessorSignalDecisionReportResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* ProcessorSignalDecisionReportResponse defines the response schema for `/processor/signal/decision/report`
*/
@ApiModel(description = "ProcessorSignalDecisionReportResponse defines the response schema for `/processor/signal/decision/report`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ProcessorSignalDecisionReportResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public ProcessorSignalDecisionReportResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ProcessorSignalDecisionReportResponse processorSignalDecisionReportResponse = (ProcessorSignalDecisionReportResponse) o;
return Objects.equals(this.requestId, processorSignalDecisionReportResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProcessorSignalDecisionReportResponse {\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/DeductionsTotal.java | src/main/java/com/plaid/client/model/DeductionsTotal.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* An object representing the total deductions for the pay period
*/
@ApiModel(description = "An object representing the total deductions for the pay period")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class DeductionsTotal {
public static final String SERIALIZED_NAME_CURRENT_AMOUNT = "current_amount";
@SerializedName(SERIALIZED_NAME_CURRENT_AMOUNT)
private Double currentAmount;
public static final String SERIALIZED_NAME_ISO_CURRENCY_CODE = "iso_currency_code";
@SerializedName(SERIALIZED_NAME_ISO_CURRENCY_CODE)
private String isoCurrencyCode;
public static final String SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE = "unofficial_currency_code";
@SerializedName(SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE)
private String unofficialCurrencyCode;
public static final String SERIALIZED_NAME_YTD_AMOUNT = "ytd_amount";
@SerializedName(SERIALIZED_NAME_YTD_AMOUNT)
private Double ytdAmount;
public DeductionsTotal currentAmount(Double currentAmount) {
this.currentAmount = currentAmount;
return this;
}
/**
* Raw amount of the deduction
* @return currentAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Raw amount of the deduction")
public Double getCurrentAmount() {
return currentAmount;
}
public void setCurrentAmount(Double currentAmount) {
this.currentAmount = currentAmount;
}
public DeductionsTotal isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The ISO-4217 currency code of the line item. Always `null` if `unofficial_currency_code` is non-null.
* @return isoCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The ISO-4217 currency code of the line item. Always `null` if `unofficial_currency_code` is non-null.")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public DeductionsTotal unofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
return this;
}
/**
* The unofficial currency code associated with the line item. Always `null` if `iso_currency_code` is non-`null`. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `iso_currency_code`s.
* @return unofficialCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The unofficial currency code associated with the line item. Always `null` if `iso_currency_code` is non-`null`. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `iso_currency_code`s.")
public String getUnofficialCurrencyCode() {
return unofficialCurrencyCode;
}
public void setUnofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
}
public DeductionsTotal ytdAmount(Double ytdAmount) {
this.ytdAmount = ytdAmount;
return this;
}
/**
* The year-to-date total amount of the deductions
* @return ytdAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The year-to-date total amount of the deductions")
public Double getYtdAmount() {
return ytdAmount;
}
public void setYtdAmount(Double ytdAmount) {
this.ytdAmount = ytdAmount;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DeductionsTotal deductionsTotal = (DeductionsTotal) o;
return Objects.equals(this.currentAmount, deductionsTotal.currentAmount) &&
Objects.equals(this.isoCurrencyCode, deductionsTotal.isoCurrencyCode) &&
Objects.equals(this.unofficialCurrencyCode, deductionsTotal.unofficialCurrencyCode) &&
Objects.equals(this.ytdAmount, deductionsTotal.ytdAmount);
}
@Override
public int hashCode() {
return Objects.hash(currentAmount, isoCurrencyCode, unofficialCurrencyCode, ytdAmount);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DeductionsTotal {\n");
sb.append(" currentAmount: ").append(toIndentedString(currentAmount)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" unofficialCurrencyCode: ").append(toIndentedString(unofficialCurrencyCode)).append("\n");
sb.append(" ytdAmount: ").append(toIndentedString(ytdAmount)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BankTransferGetRequest.java | src/main/java/com/plaid/client/model/BankTransferGetRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines the request schema for `/bank_transfer/get`
*/
@ApiModel(description = "Defines the request schema for `/bank_transfer/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BankTransferGetRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_BANK_TRANSFER_ID = "bank_transfer_id";
@SerializedName(SERIALIZED_NAME_BANK_TRANSFER_ID)
private String bankTransferId;
public BankTransferGetRequest clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.
* @return clientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.")
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public BankTransferGetRequest secret(String secret) {
this.secret = secret;
return this;
}
/**
* Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.
* @return secret
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.")
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
public BankTransferGetRequest bankTransferId(String bankTransferId) {
this.bankTransferId = bankTransferId;
return this;
}
/**
* Plaid’s unique identifier for a bank transfer.
* @return bankTransferId
**/
@ApiModelProperty(required = true, value = "Plaid’s unique identifier for a bank transfer.")
public String getBankTransferId() {
return bankTransferId;
}
public void setBankTransferId(String bankTransferId) {
this.bankTransferId = bankTransferId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BankTransferGetRequest bankTransferGetRequest = (BankTransferGetRequest) o;
return Objects.equals(this.clientId, bankTransferGetRequest.clientId) &&
Objects.equals(this.secret, bankTransferGetRequest.secret) &&
Objects.equals(this.bankTransferId, bankTransferGetRequest.bankTransferId);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, bankTransferId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BankTransferGetRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" bankTransferId: ").append(toIndentedString(bankTransferId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/SignalScores.java | src/main/java/com/plaid/client/model/SignalScores.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.BankInitiatedReturnRisk;
import com.plaid.client.model.CustomerInitiatedReturnRisk;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Risk scoring details broken down by risk category. When using a Balance-only ruleset, this object will not be returned.
*/
@ApiModel(description = "Risk scoring details broken down by risk category. When using a Balance-only ruleset, this object will not be returned.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SignalScores {
public static final String SERIALIZED_NAME_CUSTOMER_INITIATED_RETURN_RISK = "customer_initiated_return_risk";
@SerializedName(SERIALIZED_NAME_CUSTOMER_INITIATED_RETURN_RISK)
private CustomerInitiatedReturnRisk customerInitiatedReturnRisk;
public static final String SERIALIZED_NAME_BANK_INITIATED_RETURN_RISK = "bank_initiated_return_risk";
@SerializedName(SERIALIZED_NAME_BANK_INITIATED_RETURN_RISK)
private BankInitiatedReturnRisk bankInitiatedReturnRisk;
public SignalScores customerInitiatedReturnRisk(CustomerInitiatedReturnRisk customerInitiatedReturnRisk) {
this.customerInitiatedReturnRisk = customerInitiatedReturnRisk;
return this;
}
/**
* Get customerInitiatedReturnRisk
* @return customerInitiatedReturnRisk
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public CustomerInitiatedReturnRisk getCustomerInitiatedReturnRisk() {
return customerInitiatedReturnRisk;
}
public void setCustomerInitiatedReturnRisk(CustomerInitiatedReturnRisk customerInitiatedReturnRisk) {
this.customerInitiatedReturnRisk = customerInitiatedReturnRisk;
}
public SignalScores bankInitiatedReturnRisk(BankInitiatedReturnRisk bankInitiatedReturnRisk) {
this.bankInitiatedReturnRisk = bankInitiatedReturnRisk;
return this;
}
/**
* Get bankInitiatedReturnRisk
* @return bankInitiatedReturnRisk
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public BankInitiatedReturnRisk getBankInitiatedReturnRisk() {
return bankInitiatedReturnRisk;
}
public void setBankInitiatedReturnRisk(BankInitiatedReturnRisk bankInitiatedReturnRisk) {
this.bankInitiatedReturnRisk = bankInitiatedReturnRisk;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SignalScores signalScores = (SignalScores) o;
return Objects.equals(this.customerInitiatedReturnRisk, signalScores.customerInitiatedReturnRisk) &&
Objects.equals(this.bankInitiatedReturnRisk, signalScores.bankInitiatedReturnRisk);
}
@Override
public int hashCode() {
return Objects.hash(customerInitiatedReturnRisk, bankInitiatedReturnRisk);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SignalScores {\n");
sb.append(" customerInitiatedReturnRisk: ").append(toIndentedString(customerInitiatedReturnRisk)).append("\n");
sb.append(" bankInitiatedReturnRisk: ").append(toIndentedString(bankInitiatedReturnRisk)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CraEmploymentRefreshReportItem.java | src/main/java/com/plaid/client/model/CraEmploymentRefreshReportItem.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.CraEmploymentRefreshReportAccount;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.List;
/**
* A representation of an Item within an Employment Refresh Report.
*/
@ApiModel(description = "A representation of an Item within an Employment Refresh Report.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraEmploymentRefreshReportItem {
public static final String SERIALIZED_NAME_ACCOUNTS = "accounts";
@SerializedName(SERIALIZED_NAME_ACCOUNTS)
private List<CraEmploymentRefreshReportAccount> accounts = new ArrayList<>();
public static final String SERIALIZED_NAME_INSTITUTION_NAME = "institution_name";
@SerializedName(SERIALIZED_NAME_INSTITUTION_NAME)
private String institutionName;
public static final String SERIALIZED_NAME_INSTITUTION_ID = "institution_id";
@SerializedName(SERIALIZED_NAME_INSTITUTION_ID)
private String institutionId;
public static final String SERIALIZED_NAME_ITEM_ID = "item_id";
@SerializedName(SERIALIZED_NAME_ITEM_ID)
private String itemId;
public static final String SERIALIZED_NAME_LAST_UPDATE_TIME = "last_update_time";
@SerializedName(SERIALIZED_NAME_LAST_UPDATE_TIME)
private OffsetDateTime lastUpdateTime;
public CraEmploymentRefreshReportItem accounts(List<CraEmploymentRefreshReportAccount> accounts) {
this.accounts = accounts;
return this;
}
public CraEmploymentRefreshReportItem addAccountsItem(CraEmploymentRefreshReportAccount accountsItem) {
this.accounts.add(accountsItem);
return this;
}
/**
* Data about each of the accounts open on the Item.
* @return accounts
**/
@ApiModelProperty(required = true, value = "Data about each of the accounts open on the Item.")
public List<CraEmploymentRefreshReportAccount> getAccounts() {
return accounts;
}
public void setAccounts(List<CraEmploymentRefreshReportAccount> accounts) {
this.accounts = accounts;
}
public CraEmploymentRefreshReportItem institutionName(String institutionName) {
this.institutionName = institutionName;
return this;
}
/**
* The full financial institution name associated with the Item.
* @return institutionName
**/
@ApiModelProperty(required = true, value = "The full financial institution name associated with the Item.")
public String getInstitutionName() {
return institutionName;
}
public void setInstitutionName(String institutionName) {
this.institutionName = institutionName;
}
public CraEmploymentRefreshReportItem institutionId(String institutionId) {
this.institutionId = institutionId;
return this;
}
/**
* The id of the financial institution associated with the Item.
* @return institutionId
**/
@ApiModelProperty(required = true, value = "The id of the financial institution associated with the Item.")
public String getInstitutionId() {
return institutionId;
}
public void setInstitutionId(String institutionId) {
this.institutionId = institutionId;
}
public CraEmploymentRefreshReportItem itemId(String itemId) {
this.itemId = itemId;
return this;
}
/**
* The `item_id` of the Item associated with this webhook, warning, or error
* @return itemId
**/
@ApiModelProperty(required = true, value = "The `item_id` of the Item associated with this webhook, warning, or error")
public String getItemId() {
return itemId;
}
public void setItemId(String itemId) {
this.itemId = itemId;
}
public CraEmploymentRefreshReportItem lastUpdateTime(OffsetDateTime lastUpdateTime) {
this.lastUpdateTime = lastUpdateTime;
return this;
}
/**
* The date and time when this Item’s data was last retrieved from the financial institution, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
* @return lastUpdateTime
**/
@ApiModelProperty(required = true, value = "The date and time when this Item’s data was last retrieved from the financial institution, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.")
public OffsetDateTime getLastUpdateTime() {
return lastUpdateTime;
}
public void setLastUpdateTime(OffsetDateTime lastUpdateTime) {
this.lastUpdateTime = lastUpdateTime;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CraEmploymentRefreshReportItem craEmploymentRefreshReportItem = (CraEmploymentRefreshReportItem) o;
return Objects.equals(this.accounts, craEmploymentRefreshReportItem.accounts) &&
Objects.equals(this.institutionName, craEmploymentRefreshReportItem.institutionName) &&
Objects.equals(this.institutionId, craEmploymentRefreshReportItem.institutionId) &&
Objects.equals(this.itemId, craEmploymentRefreshReportItem.itemId) &&
Objects.equals(this.lastUpdateTime, craEmploymentRefreshReportItem.lastUpdateTime);
}
@Override
public int hashCode() {
return Objects.hash(accounts, institutionName, institutionId, itemId, lastUpdateTime);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraEmploymentRefreshReportItem {\n");
sb.append(" accounts: ").append(toIndentedString(accounts)).append("\n");
sb.append(" institutionName: ").append(toIndentedString(institutionName)).append("\n");
sb.append(" institutionId: ").append(toIndentedString(institutionId)).append("\n");
sb.append(" itemId: ").append(toIndentedString(itemId)).append("\n");
sb.append(" lastUpdateTime: ").append(toIndentedString(lastUpdateTime)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/SignalScheduleDefaultPaymentMethod.java | src/main/java/com/plaid/client/model/SignalScheduleDefaultPaymentMethod.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* The payment method specified in the `default_payment_method` field directly impacts the timing recommendations provided by the API for submitting the debit entry to your processor or ODFI. If unspecified, defaults to `STANDARD_ACH`. `SAME_DAY_ACH`: Same Day ACH (as defined by Nacha). The API assumes the settlement will occur on the same business day if the `/signal/schedule` request is submitted by 6:00 PM UTC. Note: The actual cutoff time can vary depending on your payment processor or ODFI. Nacha has established three processing windows for Same Day ACH (UTC): 2:30 PM, 6:45 PM, and 8:45 PM. `STANDARD_ACH`: Standard ACH (as defined by Nacha), typically settled one to three business days after submission. `MULTIPLE_PAYMENT_METHODS`: Indicates that there is no default debit rail or multiple payment methods are available, and the transaction could use any of them based on customer policy or availability.
*/
@JsonAdapter(SignalScheduleDefaultPaymentMethod.Adapter.class)
public enum SignalScheduleDefaultPaymentMethod {
SAME_DAY_ACH("SAME_DAY_ACH"),
STANDARD_ACH("STANDARD_ACH"),
MULTIPLE_PAYMENT_METHODS("MULTIPLE_PAYMENT_METHODS"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
SignalScheduleDefaultPaymentMethod(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static SignalScheduleDefaultPaymentMethod fromValue(String value) {
for (SignalScheduleDefaultPaymentMethod b : SignalScheduleDefaultPaymentMethod.values()) {
if (b.value.equals(value)) {
return b;
}
}
return SignalScheduleDefaultPaymentMethod.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<SignalScheduleDefaultPaymentMethod> {
@Override
public void write(final JsonWriter jsonWriter, final SignalScheduleDefaultPaymentMethod enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public SignalScheduleDefaultPaymentMethod read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return SignalScheduleDefaultPaymentMethod.fromValue(value);
}
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ConsumerReportPDFGetRequest.java | src/main/java/com/plaid/client/model/ConsumerReportPDFGetRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* ConsumerReportPDFGetRequest defines the request schema for `/consumer_report/pdf/get`
*/
@ApiModel(description = "ConsumerReportPDFGetRequest defines the request schema for `/consumer_report/pdf/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ConsumerReportPDFGetRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_USER_TOKEN = "user_token";
@SerializedName(SERIALIZED_NAME_USER_TOKEN)
private String userToken;
public ConsumerReportPDFGetRequest clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.
* @return clientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.")
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public ConsumerReportPDFGetRequest secret(String secret) {
this.secret = secret;
return this;
}
/**
* Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.
* @return secret
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.")
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
public ConsumerReportPDFGetRequest userToken(String userToken) {
this.userToken = userToken;
return this;
}
/**
* The user token associated with the User data is being requested for. This field is used only by customers with pre-existing integrations that already use the `user_token` field. All other customers should use the `user_id` instead. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis).
* @return userToken
**/
@ApiModelProperty(required = true, value = "The user token associated with the User data is being requested for. This field is used only by customers with pre-existing integrations that already use the `user_token` field. All other customers should use the `user_id` instead. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis).")
public String getUserToken() {
return userToken;
}
public void setUserToken(String userToken) {
this.userToken = userToken;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ConsumerReportPDFGetRequest consumerReportPDFGetRequest = (ConsumerReportPDFGetRequest) o;
return Objects.equals(this.clientId, consumerReportPDFGetRequest.clientId) &&
Objects.equals(this.secret, consumerReportPDFGetRequest.secret) &&
Objects.equals(this.userToken, consumerReportPDFGetRequest.userToken);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, userToken);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ConsumerReportPDFGetRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" userToken: ").append(toIndentedString(userToken)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CraLoansUnregisterRequest.java | src/main/java/com/plaid/client/model/CraLoansUnregisterRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.CraLoanUnregister;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* CraLoansUnregisterRequest defines the request schema for `/cra/loans/unregister`
*/
@ApiModel(description = "CraLoansUnregisterRequest defines the request schema for `/cra/loans/unregister`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraLoansUnregisterRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_LOANS = "loans";
@SerializedName(SERIALIZED_NAME_LOANS)
private List<CraLoanUnregister> loans = new ArrayList<>();
public CraLoansUnregisterRequest clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.
* @return clientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.")
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public CraLoansUnregisterRequest secret(String secret) {
this.secret = secret;
return this;
}
/**
* Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.
* @return secret
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.")
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
public CraLoansUnregisterRequest loans(List<CraLoanUnregister> loans) {
this.loans = loans;
return this;
}
public CraLoansUnregisterRequest addLoansItem(CraLoanUnregister loansItem) {
this.loans.add(loansItem);
return this;
}
/**
* A list of loans to unregister.
* @return loans
**/
@ApiModelProperty(required = true, value = "A list of loans to unregister.")
public List<CraLoanUnregister> getLoans() {
return loans;
}
public void setLoans(List<CraLoanUnregister> loans) {
this.loans = loans;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CraLoansUnregisterRequest craLoansUnregisterRequest = (CraLoansUnregisterRequest) o;
return Objects.equals(this.clientId, craLoansUnregisterRequest.clientId) &&
Objects.equals(this.secret, craLoansUnregisterRequest.secret) &&
Objects.equals(this.loans, craLoansUnregisterRequest.loans);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, loans);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraLoansUnregisterRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" loans: ").append(toIndentedString(loans)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CraVoaReport.java | src/main/java/com/plaid/client/model/CraVoaReport.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.CraVoaReportAttributes;
import com.plaid.client.model.CraVoaReportItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.math.BigDecimal;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.List;
/**
* An object representing a VOA report.
*/
@ApiModel(description = "An object representing a VOA report.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraVoaReport {
public static final String SERIALIZED_NAME_GENERATED_TIME = "generated_time";
@SerializedName(SERIALIZED_NAME_GENERATED_TIME)
private OffsetDateTime generatedTime;
public static final String SERIALIZED_NAME_DAYS_REQUESTED = "days_requested";
@SerializedName(SERIALIZED_NAME_DAYS_REQUESTED)
private Double daysRequested;
public static final String SERIALIZED_NAME_ITEMS = "items";
@SerializedName(SERIALIZED_NAME_ITEMS)
private List<CraVoaReportItem> items = new ArrayList<>();
public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes";
@SerializedName(SERIALIZED_NAME_ATTRIBUTES)
private CraVoaReportAttributes attributes;
public CraVoaReport generatedTime(OffsetDateTime generatedTime) {
this.generatedTime = generatedTime;
return this;
}
/**
* The date and time when the VOA Report was created, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (e.g. \"2018-04-12T03:32:11Z\").
* @return generatedTime
**/
@ApiModelProperty(required = true, value = "The date and time when the VOA Report was created, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (e.g. \"2018-04-12T03:32:11Z\").")
public OffsetDateTime getGeneratedTime() {
return generatedTime;
}
public void setGeneratedTime(OffsetDateTime generatedTime) {
this.generatedTime = generatedTime;
}
public CraVoaReport daysRequested(Double daysRequested) {
this.daysRequested = daysRequested;
return this;
}
/**
* The number of days of transaction history that the VOA report covers.
* @return daysRequested
**/
@ApiModelProperty(required = true, value = "The number of days of transaction history that the VOA report covers.")
public Double getDaysRequested() {
return daysRequested;
}
public void setDaysRequested(Double daysRequested) {
this.daysRequested = daysRequested;
}
public CraVoaReport items(List<CraVoaReportItem> items) {
this.items = items;
return this;
}
public CraVoaReport addItemsItem(CraVoaReportItem itemsItem) {
this.items.add(itemsItem);
return this;
}
/**
* Data returned by Plaid about each of the Items included in the Base Report.
* @return items
**/
@ApiModelProperty(required = true, value = "Data returned by Plaid about each of the Items included in the Base Report.")
public List<CraVoaReportItem> getItems() {
return items;
}
public void setItems(List<CraVoaReportItem> items) {
this.items = items;
}
public CraVoaReport attributes(CraVoaReportAttributes attributes) {
this.attributes = attributes;
return this;
}
/**
* Get attributes
* @return attributes
**/
@ApiModelProperty(required = true, value = "")
public CraVoaReportAttributes getAttributes() {
return attributes;
}
public void setAttributes(CraVoaReportAttributes attributes) {
this.attributes = attributes;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CraVoaReport craVoaReport = (CraVoaReport) o;
return Objects.equals(this.generatedTime, craVoaReport.generatedTime) &&
Objects.equals(this.daysRequested, craVoaReport.daysRequested) &&
Objects.equals(this.items, craVoaReport.items) &&
Objects.equals(this.attributes, craVoaReport.attributes);
}
@Override
public int hashCode() {
return Objects.hash(generatedTime, daysRequested, items, attributes);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraVoaReport {\n");
sb.append(" generatedTime: ").append(toIndentedString(generatedTime)).append("\n");
sb.append(" daysRequested: ").append(toIndentedString(daysRequested)).append("\n");
sb.append(" items: ").append(toIndentedString(items)).append("\n");
sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/PaystubOverrideEarningsTotal.java | src/main/java/com/plaid/client/model/PaystubOverrideEarningsTotal.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.math.BigDecimal;
/**
* An object representing both the current pay period and year to date amount for an earning category.
*/
@ApiModel(description = "An object representing both the current pay period and year to date amount for an earning category.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PaystubOverrideEarningsTotal {
public static final String SERIALIZED_NAME_HOURS = "hours";
@SerializedName(SERIALIZED_NAME_HOURS)
private Double hours;
public static final String SERIALIZED_NAME_CURRENCY = "currency";
@SerializedName(SERIALIZED_NAME_CURRENCY)
private String currency;
public static final String SERIALIZED_NAME_YTD_AMOUNT = "ytd_amount";
@SerializedName(SERIALIZED_NAME_YTD_AMOUNT)
private Double ytdAmount;
public PaystubOverrideEarningsTotal hours(Double hours) {
this.hours = hours;
return this;
}
/**
* Total number of hours worked for this pay period
* @return hours
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Total number of hours worked for this pay period")
public Double getHours() {
return hours;
}
public void setHours(Double hours) {
this.hours = hours;
}
public PaystubOverrideEarningsTotal currency(String currency) {
this.currency = currency;
return this;
}
/**
* The ISO-4217 currency code of the line item
* @return currency
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The ISO-4217 currency code of the line item")
public String getCurrency() {
return currency;
}
public void setCurrency(String currency) {
this.currency = currency;
}
public PaystubOverrideEarningsTotal ytdAmount(Double ytdAmount) {
this.ytdAmount = ytdAmount;
return this;
}
/**
* The year-to-date amount for the total earnings
* @return ytdAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The year-to-date amount for the total earnings")
public Double getYtdAmount() {
return ytdAmount;
}
public void setYtdAmount(Double ytdAmount) {
this.ytdAmount = ytdAmount;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PaystubOverrideEarningsTotal paystubOverrideEarningsTotal = (PaystubOverrideEarningsTotal) o;
return Objects.equals(this.hours, paystubOverrideEarningsTotal.hours) &&
Objects.equals(this.currency, paystubOverrideEarningsTotal.currency) &&
Objects.equals(this.ytdAmount, paystubOverrideEarningsTotal.ytdAmount);
}
@Override
public int hashCode() {
return Objects.hash(hours, currency, ytdAmount);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaystubOverrideEarningsTotal {\n");
sb.append(" hours: ").append(toIndentedString(hours)).append("\n");
sb.append(" currency: ").append(toIndentedString(currency)).append("\n");
sb.append(" ytdAmount: ").append(toIndentedString(ytdAmount)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/PartnerCustomerCreateRequest.java | src/main/java/com/plaid/client/model/PartnerCustomerCreateRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.PartnerEndCustomerAddress;
import com.plaid.client.model.PartnerEndCustomerAssetsUnderManagement;
import com.plaid.client.model.PartnerEndCustomerBillingContact;
import com.plaid.client.model.PartnerEndCustomerCustomerSupportInfo;
import com.plaid.client.model.PartnerEndCustomerTechnicalContact;
import com.plaid.client.model.Products;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Request schema for `/partner/customer/create`.
*/
@ApiModel(description = "Request schema for `/partner/customer/create`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PartnerCustomerCreateRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_COMPANY_NAME = "company_name";
@SerializedName(SERIALIZED_NAME_COMPANY_NAME)
private String companyName;
public static final String SERIALIZED_NAME_IS_DILIGENCE_ATTESTED = "is_diligence_attested";
@SerializedName(SERIALIZED_NAME_IS_DILIGENCE_ATTESTED)
private Boolean isDiligenceAttested;
public static final String SERIALIZED_NAME_PRODUCTS = "products";
@SerializedName(SERIALIZED_NAME_PRODUCTS)
private List<Products> products = null;
public static final String SERIALIZED_NAME_CREATE_LINK_CUSTOMIZATION = "create_link_customization";
@SerializedName(SERIALIZED_NAME_CREATE_LINK_CUSTOMIZATION)
private Boolean createLinkCustomization;
public static final String SERIALIZED_NAME_LOGO = "logo";
@SerializedName(SERIALIZED_NAME_LOGO)
private String logo;
public static final String SERIALIZED_NAME_LEGAL_ENTITY_NAME = "legal_entity_name";
@SerializedName(SERIALIZED_NAME_LEGAL_ENTITY_NAME)
private String legalEntityName;
public static final String SERIALIZED_NAME_WEBSITE = "website";
@SerializedName(SERIALIZED_NAME_WEBSITE)
private String website;
public static final String SERIALIZED_NAME_APPLICATION_NAME = "application_name";
@SerializedName(SERIALIZED_NAME_APPLICATION_NAME)
private String applicationName;
public static final String SERIALIZED_NAME_TECHNICAL_CONTACT = "technical_contact";
@SerializedName(SERIALIZED_NAME_TECHNICAL_CONTACT)
private PartnerEndCustomerTechnicalContact technicalContact;
public static final String SERIALIZED_NAME_BILLING_CONTACT = "billing_contact";
@SerializedName(SERIALIZED_NAME_BILLING_CONTACT)
private PartnerEndCustomerBillingContact billingContact;
public static final String SERIALIZED_NAME_CUSTOMER_SUPPORT_INFO = "customer_support_info";
@SerializedName(SERIALIZED_NAME_CUSTOMER_SUPPORT_INFO)
private PartnerEndCustomerCustomerSupportInfo customerSupportInfo;
public static final String SERIALIZED_NAME_ADDRESS = "address";
@SerializedName(SERIALIZED_NAME_ADDRESS)
private PartnerEndCustomerAddress address;
public static final String SERIALIZED_NAME_IS_BANK_ADDENDUM_COMPLETED = "is_bank_addendum_completed";
@SerializedName(SERIALIZED_NAME_IS_BANK_ADDENDUM_COMPLETED)
private Boolean isBankAddendumCompleted;
public static final String SERIALIZED_NAME_ASSETS_UNDER_MANAGEMENT = "assets_under_management";
@SerializedName(SERIALIZED_NAME_ASSETS_UNDER_MANAGEMENT)
private PartnerEndCustomerAssetsUnderManagement assetsUnderManagement;
public static final String SERIALIZED_NAME_REDIRECT_URIS = "redirect_uris";
@SerializedName(SERIALIZED_NAME_REDIRECT_URIS)
private List<String> redirectUris = null;
public static final String SERIALIZED_NAME_REGISTRATION_NUMBER = "registration_number";
@SerializedName(SERIALIZED_NAME_REGISTRATION_NUMBER)
private String registrationNumber;
public PartnerCustomerCreateRequest clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.
* @return clientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.")
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public PartnerCustomerCreateRequest secret(String secret) {
this.secret = secret;
return this;
}
/**
* Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.
* @return secret
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.")
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
public PartnerCustomerCreateRequest companyName(String companyName) {
this.companyName = companyName;
return this;
}
/**
* The company name of the end customer being created. This will be used to display the end customer in the Plaid Dashboard. It will not be shown to end users.
* @return companyName
**/
@ApiModelProperty(required = true, value = "The company name of the end customer being created. This will be used to display the end customer in the Plaid Dashboard. It will not be shown to end users.")
public String getCompanyName() {
return companyName;
}
public void setCompanyName(String companyName) {
this.companyName = companyName;
}
public PartnerCustomerCreateRequest isDiligenceAttested(Boolean isDiligenceAttested) {
this.isDiligenceAttested = isDiligenceAttested;
return this;
}
/**
* Denotes whether or not the partner has completed attestation of diligence for the end customer to be created.
* @return isDiligenceAttested
**/
@ApiModelProperty(required = true, value = "Denotes whether or not the partner has completed attestation of diligence for the end customer to be created.")
public Boolean getIsDiligenceAttested() {
return isDiligenceAttested;
}
public void setIsDiligenceAttested(Boolean isDiligenceAttested) {
this.isDiligenceAttested = isDiligenceAttested;
}
public PartnerCustomerCreateRequest products(List<Products> products) {
this.products = products;
return this;
}
public PartnerCustomerCreateRequest addProductsItem(Products productsItem) {
if (this.products == null) {
this.products = new ArrayList<>();
}
this.products.add(productsItem);
return this;
}
/**
* The products to be enabled for the end customer. If empty or `null`, this field will default to the products enabled for the reseller at the time this endpoint is called.
* @return products
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The products to be enabled for the end customer. If empty or `null`, this field will default to the products enabled for the reseller at the time this endpoint is called.")
public List<Products> getProducts() {
return products;
}
public void setProducts(List<Products> products) {
this.products = products;
}
public PartnerCustomerCreateRequest createLinkCustomization(Boolean createLinkCustomization) {
this.createLinkCustomization = createLinkCustomization;
return this;
}
/**
* If `true`, the end customer's default Link customization will be set to match the partner's. You can always change the end customer's Link customization in the Plaid Dashboard. See the [Link Customization docs](https://plaid.com/docs/link/customization/) for more information. If you require the ability to programmatically create end customers using multiple different Link customization profiles, contact your Plaid Account Manager for assistance. Important: Data Transparency Messaging (DTM) use cases will not be copied to the end customer's Link customization unless the **Publish changes** button is clicked after the use cases are applied. Link will not work in Production unless the end customer's DTM use cases are configured. For more details, see [Data Transparency Messaging](https://plaid.com/docs/link/data-transparency-messaging-migration-guide/).
* @return createLinkCustomization
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "If `true`, the end customer's default Link customization will be set to match the partner's. You can always change the end customer's Link customization in the Plaid Dashboard. See the [Link Customization docs](https://plaid.com/docs/link/customization/) for more information. If you require the ability to programmatically create end customers using multiple different Link customization profiles, contact your Plaid Account Manager for assistance. Important: Data Transparency Messaging (DTM) use cases will not be copied to the end customer's Link customization unless the **Publish changes** button is clicked after the use cases are applied. Link will not work in Production unless the end customer's DTM use cases are configured. For more details, see [Data Transparency Messaging](https://plaid.com/docs/link/data-transparency-messaging-migration-guide/).")
public Boolean getCreateLinkCustomization() {
return createLinkCustomization;
}
public void setCreateLinkCustomization(Boolean createLinkCustomization) {
this.createLinkCustomization = createLinkCustomization;
}
public PartnerCustomerCreateRequest logo(String logo) {
this.logo = logo;
return this;
}
/**
* Base64-encoded representation of the end customer's logo. Must be a PNG of size 1024x1024 under 4MB. The logo will be shared with financial institutions and shown to the end user during Link flows. A logo is required if `create_link_customization` is `true`. If `create_link_customization` is `false` and the logo is omitted, the partner's logo will be used if one exists, otherwise a stock logo will be used.
* @return logo
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Base64-encoded representation of the end customer's logo. Must be a PNG of size 1024x1024 under 4MB. The logo will be shared with financial institutions and shown to the end user during Link flows. A logo is required if `create_link_customization` is `true`. If `create_link_customization` is `false` and the logo is omitted, the partner's logo will be used if one exists, otherwise a stock logo will be used.")
public String getLogo() {
return logo;
}
public void setLogo(String logo) {
this.logo = logo;
}
public PartnerCustomerCreateRequest legalEntityName(String legalEntityName) {
this.legalEntityName = legalEntityName;
return this;
}
/**
* The end customer's legal name. This will be shared with financial institutions as part of the OAuth registration process. It will not be shown to end users.
* @return legalEntityName
**/
@ApiModelProperty(required = true, value = "The end customer's legal name. This will be shared with financial institutions as part of the OAuth registration process. It will not be shown to end users.")
public String getLegalEntityName() {
return legalEntityName;
}
public void setLegalEntityName(String legalEntityName) {
this.legalEntityName = legalEntityName;
}
public PartnerCustomerCreateRequest website(String website) {
this.website = website;
return this;
}
/**
* The end customer's website.
* @return website
**/
@ApiModelProperty(required = true, value = "The end customer's website.")
public String getWebsite() {
return website;
}
public void setWebsite(String website) {
this.website = website;
}
public PartnerCustomerCreateRequest applicationName(String applicationName) {
this.applicationName = applicationName;
return this;
}
/**
* The name of the end customer's application. This will be shown to end users when they go through the Plaid Link flow. The application name must be unique and cannot match the name of another application already registered with Plaid.
* @return applicationName
**/
@ApiModelProperty(required = true, value = "The name of the end customer's application. This will be shown to end users when they go through the Plaid Link flow. The application name must be unique and cannot match the name of another application already registered with Plaid.")
public String getApplicationName() {
return applicationName;
}
public void setApplicationName(String applicationName) {
this.applicationName = applicationName;
}
public PartnerCustomerCreateRequest technicalContact(PartnerEndCustomerTechnicalContact technicalContact) {
this.technicalContact = technicalContact;
return this;
}
/**
* Get technicalContact
* @return technicalContact
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PartnerEndCustomerTechnicalContact getTechnicalContact() {
return technicalContact;
}
public void setTechnicalContact(PartnerEndCustomerTechnicalContact technicalContact) {
this.technicalContact = technicalContact;
}
public PartnerCustomerCreateRequest billingContact(PartnerEndCustomerBillingContact billingContact) {
this.billingContact = billingContact;
return this;
}
/**
* Get billingContact
* @return billingContact
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PartnerEndCustomerBillingContact getBillingContact() {
return billingContact;
}
public void setBillingContact(PartnerEndCustomerBillingContact billingContact) {
this.billingContact = billingContact;
}
public PartnerCustomerCreateRequest customerSupportInfo(PartnerEndCustomerCustomerSupportInfo customerSupportInfo) {
this.customerSupportInfo = customerSupportInfo;
return this;
}
/**
* Get customerSupportInfo
* @return customerSupportInfo
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PartnerEndCustomerCustomerSupportInfo getCustomerSupportInfo() {
return customerSupportInfo;
}
public void setCustomerSupportInfo(PartnerEndCustomerCustomerSupportInfo customerSupportInfo) {
this.customerSupportInfo = customerSupportInfo;
}
public PartnerCustomerCreateRequest address(PartnerEndCustomerAddress address) {
this.address = address;
return this;
}
/**
* Get address
* @return address
**/
@ApiModelProperty(required = true, value = "")
public PartnerEndCustomerAddress getAddress() {
return address;
}
public void setAddress(PartnerEndCustomerAddress address) {
this.address = address;
}
public PartnerCustomerCreateRequest isBankAddendumCompleted(Boolean isBankAddendumCompleted) {
this.isBankAddendumCompleted = isBankAddendumCompleted;
return this;
}
/**
* Denotes whether the partner has forwarded the Plaid bank addendum to the end customer.
* @return isBankAddendumCompleted
**/
@ApiModelProperty(required = true, value = "Denotes whether the partner has forwarded the Plaid bank addendum to the end customer.")
public Boolean getIsBankAddendumCompleted() {
return isBankAddendumCompleted;
}
public void setIsBankAddendumCompleted(Boolean isBankAddendumCompleted) {
this.isBankAddendumCompleted = isBankAddendumCompleted;
}
public PartnerCustomerCreateRequest assetsUnderManagement(PartnerEndCustomerAssetsUnderManagement assetsUnderManagement) {
this.assetsUnderManagement = assetsUnderManagement;
return this;
}
/**
* Get assetsUnderManagement
* @return assetsUnderManagement
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PartnerEndCustomerAssetsUnderManagement getAssetsUnderManagement() {
return assetsUnderManagement;
}
public void setAssetsUnderManagement(PartnerEndCustomerAssetsUnderManagement assetsUnderManagement) {
this.assetsUnderManagement = assetsUnderManagement;
}
public PartnerCustomerCreateRequest redirectUris(List<String> redirectUris) {
this.redirectUris = redirectUris;
return this;
}
public PartnerCustomerCreateRequest addRedirectUrisItem(String redirectUrisItem) {
if (this.redirectUris == null) {
this.redirectUris = new ArrayList<>();
}
this.redirectUris.add(redirectUrisItem);
return this;
}
/**
* A list of URIs indicating the destination(s) where a user can be forwarded after completing the Link flow; used to support OAuth authentication flows when launching Link in the browser or another app. URIs should not contain any query parameters. When used in Production, URIs must use https. To specify any subdomain, use `*` as a wildcard character, e.g. `https://_*.example.com/oauth.html`. To modify redirect URIs for an end customer after creating them, go to the end customer's [API page](https://dashboard.plaid.com/team/api) in the Dashboard.
* @return redirectUris
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A list of URIs indicating the destination(s) where a user can be forwarded after completing the Link flow; used to support OAuth authentication flows when launching Link in the browser or another app. URIs should not contain any query parameters. When used in Production, URIs must use https. To specify any subdomain, use `*` as a wildcard character, e.g. `https://_*.example.com/oauth.html`. To modify redirect URIs for an end customer after creating them, go to the end customer's [API page](https://dashboard.plaid.com/team/api) in the Dashboard.")
public List<String> getRedirectUris() {
return redirectUris;
}
public void setRedirectUris(List<String> redirectUris) {
this.redirectUris = redirectUris;
}
public PartnerCustomerCreateRequest registrationNumber(String registrationNumber) {
this.registrationNumber = registrationNumber;
return this;
}
/**
* The unique identifier assigned to a financial institution by regulatory authorities, if applicable. For banks, this is the FDIC Certificate Number. For credit unions, this is the Credit Union Charter Number.
* @return registrationNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The unique identifier assigned to a financial institution by regulatory authorities, if applicable. For banks, this is the FDIC Certificate Number. For credit unions, this is the Credit Union Charter Number.")
public String getRegistrationNumber() {
return registrationNumber;
}
public void setRegistrationNumber(String registrationNumber) {
this.registrationNumber = registrationNumber;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PartnerCustomerCreateRequest partnerCustomerCreateRequest = (PartnerCustomerCreateRequest) o;
return Objects.equals(this.clientId, partnerCustomerCreateRequest.clientId) &&
Objects.equals(this.secret, partnerCustomerCreateRequest.secret) &&
Objects.equals(this.companyName, partnerCustomerCreateRequest.companyName) &&
Objects.equals(this.isDiligenceAttested, partnerCustomerCreateRequest.isDiligenceAttested) &&
Objects.equals(this.products, partnerCustomerCreateRequest.products) &&
Objects.equals(this.createLinkCustomization, partnerCustomerCreateRequest.createLinkCustomization) &&
Objects.equals(this.logo, partnerCustomerCreateRequest.logo) &&
Objects.equals(this.legalEntityName, partnerCustomerCreateRequest.legalEntityName) &&
Objects.equals(this.website, partnerCustomerCreateRequest.website) &&
Objects.equals(this.applicationName, partnerCustomerCreateRequest.applicationName) &&
Objects.equals(this.technicalContact, partnerCustomerCreateRequest.technicalContact) &&
Objects.equals(this.billingContact, partnerCustomerCreateRequest.billingContact) &&
Objects.equals(this.customerSupportInfo, partnerCustomerCreateRequest.customerSupportInfo) &&
Objects.equals(this.address, partnerCustomerCreateRequest.address) &&
Objects.equals(this.isBankAddendumCompleted, partnerCustomerCreateRequest.isBankAddendumCompleted) &&
Objects.equals(this.assetsUnderManagement, partnerCustomerCreateRequest.assetsUnderManagement) &&
Objects.equals(this.redirectUris, partnerCustomerCreateRequest.redirectUris) &&
Objects.equals(this.registrationNumber, partnerCustomerCreateRequest.registrationNumber);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, companyName, isDiligenceAttested, products, createLinkCustomization, logo, legalEntityName, website, applicationName, technicalContact, billingContact, customerSupportInfo, address, isBankAddendumCompleted, assetsUnderManagement, redirectUris, registrationNumber);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PartnerCustomerCreateRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" companyName: ").append(toIndentedString(companyName)).append("\n");
sb.append(" isDiligenceAttested: ").append(toIndentedString(isDiligenceAttested)).append("\n");
sb.append(" products: ").append(toIndentedString(products)).append("\n");
sb.append(" createLinkCustomization: ").append(toIndentedString(createLinkCustomization)).append("\n");
sb.append(" logo: ").append(toIndentedString(logo)).append("\n");
sb.append(" legalEntityName: ").append(toIndentedString(legalEntityName)).append("\n");
sb.append(" website: ").append(toIndentedString(website)).append("\n");
sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n");
sb.append(" technicalContact: ").append(toIndentedString(technicalContact)).append("\n");
sb.append(" billingContact: ").append(toIndentedString(billingContact)).append("\n");
sb.append(" customerSupportInfo: ").append(toIndentedString(customerSupportInfo)).append("\n");
sb.append(" address: ").append(toIndentedString(address)).append("\n");
sb.append(" isBankAddendumCompleted: ").append(toIndentedString(isBankAddendumCompleted)).append("\n");
sb.append(" assetsUnderManagement: ").append(toIndentedString(assetsUnderManagement)).append("\n");
sb.append(" redirectUris: ").append(toIndentedString(redirectUris)).append("\n");
sb.append(" registrationNumber: ").append(toIndentedString(registrationNumber)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ProcessorBalanceGetRequestOptions.java | src/main/java/com/plaid/client/model/ProcessorBalanceGetRequestOptions.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
/**
* Optional parameters to `/processor/balance/get`.
*/
@ApiModel(description = "Optional parameters to `/processor/balance/get`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ProcessorBalanceGetRequestOptions {
public static final String SERIALIZED_NAME_MIN_LAST_UPDATED_DATETIME = "min_last_updated_datetime";
@SerializedName(SERIALIZED_NAME_MIN_LAST_UPDATED_DATETIME)
private OffsetDateTime minLastUpdatedDatetime;
public ProcessorBalanceGetRequestOptions minLastUpdatedDatetime(OffsetDateTime minLastUpdatedDatetime) {
this.minLastUpdatedDatetime = minLastUpdatedDatetime;
return this;
}
/**
* Timestamp in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:mm:ssZ`) indicating the oldest acceptable balance when making a request to `/accounts/balance/get`. This field is only necessary when the institution is `ins_128026` (Capital One), *and* one or more account types being requested is a non-depository account (such as a credit card) as Capital One does not provide real-time balance for non-depository accounts. In this case, a value must be provided or an `INVALID_REQUEST` error with the code of `INVALID_FIELD` will be returned. For all other institutions, as well as for depository accounts at Capital One (including all checking and savings accounts) this field is ignored and real-time balance information will be fetched. If this field is not ignored, and no acceptable balance is available, an `INVALID_RESULT` error with the code `LAST_UPDATED_DATETIME_OUT_OF_RANGE` will be returned.
* @return minLastUpdatedDatetime
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Timestamp in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:mm:ssZ`) indicating the oldest acceptable balance when making a request to `/accounts/balance/get`. This field is only necessary when the institution is `ins_128026` (Capital One), *and* one or more account types being requested is a non-depository account (such as a credit card) as Capital One does not provide real-time balance for non-depository accounts. In this case, a value must be provided or an `INVALID_REQUEST` error with the code of `INVALID_FIELD` will be returned. For all other institutions, as well as for depository accounts at Capital One (including all checking and savings accounts) this field is ignored and real-time balance information will be fetched. If this field is not ignored, and no acceptable balance is available, an `INVALID_RESULT` error with the code `LAST_UPDATED_DATETIME_OUT_OF_RANGE` will be returned.")
public OffsetDateTime getMinLastUpdatedDatetime() {
return minLastUpdatedDatetime;
}
public void setMinLastUpdatedDatetime(OffsetDateTime minLastUpdatedDatetime) {
this.minLastUpdatedDatetime = minLastUpdatedDatetime;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ProcessorBalanceGetRequestOptions processorBalanceGetRequestOptions = (ProcessorBalanceGetRequestOptions) o;
return Objects.equals(this.minLastUpdatedDatetime, processorBalanceGetRequestOptions.minLastUpdatedDatetime);
}
@Override
public int hashCode() {
return Objects.hash(minLastUpdatedDatetime);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProcessorBalanceGetRequestOptions {\n");
sb.append(" minLastUpdatedDatetime: ").append(toIndentedString(minLastUpdatedDatetime)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TrustedDeviceData.java | src/main/java/com/plaid/client/model/TrustedDeviceData.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.DeviceId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Trusted Device data associated with the previous Link session.
*/
@ApiModel(description = "Trusted Device data associated with the previous Link session.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TrustedDeviceData {
public static final String SERIALIZED_NAME_TRUST_LEVEL = "trust_level";
@SerializedName(SERIALIZED_NAME_TRUST_LEVEL)
private Integer trustLevel;
public static final String SERIALIZED_NAME_DEVICE_ID = "device_id";
@SerializedName(SERIALIZED_NAME_DEVICE_ID)
private DeviceId deviceId;
public TrustedDeviceData trustLevel(Integer trustLevel) {
this.trustLevel = trustLevel;
return this;
}
/**
* Get trustLevel
* @return trustLevel
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer getTrustLevel() {
return trustLevel;
}
public void setTrustLevel(Integer trustLevel) {
this.trustLevel = trustLevel;
}
public TrustedDeviceData deviceId(DeviceId deviceId) {
this.deviceId = deviceId;
return this;
}
/**
* Get deviceId
* @return deviceId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public DeviceId getDeviceId() {
return deviceId;
}
public void setDeviceId(DeviceId deviceId) {
this.deviceId = deviceId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TrustedDeviceData trustedDeviceData = (TrustedDeviceData) o;
return Objects.equals(this.trustLevel, trustedDeviceData.trustLevel) &&
Objects.equals(this.deviceId, trustedDeviceData.deviceId);
}
@Override
public int hashCode() {
return Objects.hash(trustLevel, deviceId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TrustedDeviceData {\n");
sb.append(" trustLevel: ").append(toIndentedString(trustLevel)).append("\n");
sb.append(" deviceId: ").append(toIndentedString(deviceId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransferLedgerDepositRequest.java | src/main/java/com/plaid/client/model/TransferLedgerDepositRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.TransferACHNetwork;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines the request schema for `/transfer/ledger/deposit`
*/
@ApiModel(description = "Defines the request schema for `/transfer/ledger/deposit`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferLedgerDepositRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_ORIGINATOR_CLIENT_ID = "originator_client_id";
@SerializedName(SERIALIZED_NAME_ORIGINATOR_CLIENT_ID)
private String originatorClientId;
public static final String SERIALIZED_NAME_FUNDING_ACCOUNT_ID = "funding_account_id";
@SerializedName(SERIALIZED_NAME_FUNDING_ACCOUNT_ID)
private String fundingAccountId;
public static final String SERIALIZED_NAME_LEDGER_ID = "ledger_id";
@SerializedName(SERIALIZED_NAME_LEDGER_ID)
private String ledgerId;
public static final String SERIALIZED_NAME_AMOUNT = "amount";
@SerializedName(SERIALIZED_NAME_AMOUNT)
private String amount;
public static final String SERIALIZED_NAME_DESCRIPTION = "description";
@SerializedName(SERIALIZED_NAME_DESCRIPTION)
private String description;
public static final String SERIALIZED_NAME_IDEMPOTENCY_KEY = "idempotency_key";
@SerializedName(SERIALIZED_NAME_IDEMPOTENCY_KEY)
private String idempotencyKey;
public static final String SERIALIZED_NAME_NETWORK = "network";
@SerializedName(SERIALIZED_NAME_NETWORK)
private TransferACHNetwork network;
public TransferLedgerDepositRequest clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.
* @return clientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.")
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public TransferLedgerDepositRequest secret(String secret) {
this.secret = secret;
return this;
}
/**
* Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.
* @return secret
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.")
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
public TransferLedgerDepositRequest originatorClientId(String originatorClientId) {
this.originatorClientId = originatorClientId;
return this;
}
/**
* Client ID of the customer that owns the Ledger balance. This is so Plaid knows which of your customers to payout or collect funds. Only applicable for [Platform customers](https://plaid.com/docs/transfer/application/#originators-vs-platforms). Do not include if you’re paying out to yourself.
* @return originatorClientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Client ID of the customer that owns the Ledger balance. This is so Plaid knows which of your customers to payout or collect funds. Only applicable for [Platform customers](https://plaid.com/docs/transfer/application/#originators-vs-platforms). Do not include if you’re paying out to yourself.")
public String getOriginatorClientId() {
return originatorClientId;
}
public void setOriginatorClientId(String originatorClientId) {
this.originatorClientId = originatorClientId;
}
public TransferLedgerDepositRequest fundingAccountId(String fundingAccountId) {
this.fundingAccountId = fundingAccountId;
return this;
}
/**
* Specify which funding account to use. Customers can find a list of `funding_account_id`s in the Accounts page of the Plaid Dashboard, under the \"Account ID\" column. If this field is left blank, the funding account associated with the specified Ledger will be used. If an `originator_client_id` is specified, the `funding_account_id` must belong to the specified originator.
* @return fundingAccountId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Specify which funding account to use. Customers can find a list of `funding_account_id`s in the Accounts page of the Plaid Dashboard, under the \"Account ID\" column. If this field is left blank, the funding account associated with the specified Ledger will be used. If an `originator_client_id` is specified, the `funding_account_id` must belong to the specified originator.")
public String getFundingAccountId() {
return fundingAccountId;
}
public void setFundingAccountId(String fundingAccountId) {
this.fundingAccountId = fundingAccountId;
}
public TransferLedgerDepositRequest ledgerId(String ledgerId) {
this.ledgerId = ledgerId;
return this;
}
/**
* Specify which ledger balance to deposit to. Customers can find a list of `ledger_id`s in the Accounts page of your Plaid Dashboard. If this field is left blank, this will default to id of the default ledger balance.
* @return ledgerId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Specify which ledger balance to deposit to. Customers can find a list of `ledger_id`s in the Accounts page of your Plaid Dashboard. If this field is left blank, this will default to id of the default ledger balance.")
public String getLedgerId() {
return ledgerId;
}
public void setLedgerId(String ledgerId) {
this.ledgerId = ledgerId;
}
public TransferLedgerDepositRequest amount(String amount) {
this.amount = amount;
return this;
}
/**
* A positive amount of how much will be deposited into ledger (decimal string with two digits of precision e.g. \"5.50\").
* @return amount
**/
@ApiModelProperty(required = true, value = "A positive amount of how much will be deposited into ledger (decimal string with two digits of precision e.g. \"5.50\").")
public String getAmount() {
return amount;
}
public void setAmount(String amount) {
this.amount = amount;
}
public TransferLedgerDepositRequest description(String description) {
this.description = description;
return this;
}
/**
* The description of the deposit that will be passed to the receiving bank (up to 10 characters). Note that banks utilize this field differently, and may or may not show it on the bank statement.
* @return description
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The description of the deposit that will be passed to the receiving bank (up to 10 characters). Note that banks utilize this field differently, and may or may not show it on the bank statement.")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public TransferLedgerDepositRequest idempotencyKey(String idempotencyKey) {
this.idempotencyKey = idempotencyKey;
return this;
}
/**
* A unique key provided by the client, per unique ledger deposit. Maximum of 50 characters. The API supports idempotency for safely retrying the request without accidentally performing the same operation twice. For example, if a request to create a ledger deposit fails due to a network connection error, you can retry the request with the same idempotency key to guarantee that only a single deposit is created.
* @return idempotencyKey
**/
@ApiModelProperty(required = true, value = "A unique key provided by the client, per unique ledger deposit. Maximum of 50 characters. The API supports idempotency for safely retrying the request without accidentally performing the same operation twice. For example, if a request to create a ledger deposit fails due to a network connection error, you can retry the request with the same idempotency key to guarantee that only a single deposit is created.")
public String getIdempotencyKey() {
return idempotencyKey;
}
public void setIdempotencyKey(String idempotencyKey) {
this.idempotencyKey = idempotencyKey;
}
public TransferLedgerDepositRequest network(TransferACHNetwork network) {
this.network = network;
return this;
}
/**
* Get network
* @return network
**/
@ApiModelProperty(required = true, value = "")
public TransferACHNetwork getNetwork() {
return network;
}
public void setNetwork(TransferACHNetwork network) {
this.network = network;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferLedgerDepositRequest transferLedgerDepositRequest = (TransferLedgerDepositRequest) o;
return Objects.equals(this.clientId, transferLedgerDepositRequest.clientId) &&
Objects.equals(this.secret, transferLedgerDepositRequest.secret) &&
Objects.equals(this.originatorClientId, transferLedgerDepositRequest.originatorClientId) &&
Objects.equals(this.fundingAccountId, transferLedgerDepositRequest.fundingAccountId) &&
Objects.equals(this.ledgerId, transferLedgerDepositRequest.ledgerId) &&
Objects.equals(this.amount, transferLedgerDepositRequest.amount) &&
Objects.equals(this.description, transferLedgerDepositRequest.description) &&
Objects.equals(this.idempotencyKey, transferLedgerDepositRequest.idempotencyKey) &&
Objects.equals(this.network, transferLedgerDepositRequest.network);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, originatorClientId, fundingAccountId, ledgerId, amount, description, idempotencyKey, network);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferLedgerDepositRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" originatorClientId: ").append(toIndentedString(originatorClientId)).append("\n");
sb.append(" fundingAccountId: ").append(toIndentedString(fundingAccountId)).append("\n");
sb.append(" ledgerId: ").append(toIndentedString(ledgerId)).append("\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" idempotencyKey: ").append(toIndentedString(idempotencyKey)).append("\n");
sb.append(" network: ").append(toIndentedString(network)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CreditBankIncomePayFrequency.java | src/main/java/com/plaid/client/model/CreditBankIncomePayFrequency.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* The income pay frequency.
*/
@JsonAdapter(CreditBankIncomePayFrequency.Adapter.class)
public enum CreditBankIncomePayFrequency {
WEEKLY("WEEKLY"),
BIWEEKLY("BIWEEKLY"),
SEMI_MONTHLY("SEMI_MONTHLY"),
MONTHLY("MONTHLY"),
DAILY("DAILY"),
UNKNOWN("UNKNOWN"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
CreditBankIncomePayFrequency(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static CreditBankIncomePayFrequency fromValue(String value) {
for (CreditBankIncomePayFrequency b : CreditBankIncomePayFrequency.values()) {
if (b.value.equals(value)) {
return b;
}
}
return CreditBankIncomePayFrequency.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<CreditBankIncomePayFrequency> {
@Override
public void write(final JsonWriter jsonWriter, final CreditBankIncomePayFrequency enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public CreditBankIncomePayFrequency read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return CreditBankIncomePayFrequency.fromValue(value);
}
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/PaymentInitiationPaymentCreateRequest.java | src/main/java/com/plaid/client/model/PaymentInitiationPaymentCreateRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.ExternalPaymentOptions;
import com.plaid.client.model.ExternalPaymentScheduleRequest;
import com.plaid.client.model.PaymentAmount;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* PaymentInitiationPaymentCreateRequest defines the request schema for `/payment_initiation/payment/create`
*/
@ApiModel(description = "PaymentInitiationPaymentCreateRequest defines the request schema for `/payment_initiation/payment/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PaymentInitiationPaymentCreateRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_RECIPIENT_ID = "recipient_id";
@SerializedName(SERIALIZED_NAME_RECIPIENT_ID)
private String recipientId;
public static final String SERIALIZED_NAME_REFERENCE = "reference";
@SerializedName(SERIALIZED_NAME_REFERENCE)
private String reference;
public static final String SERIALIZED_NAME_AMOUNT = "amount";
@SerializedName(SERIALIZED_NAME_AMOUNT)
private PaymentAmount amount;
public static final String SERIALIZED_NAME_SCHEDULE = "schedule";
@SerializedName(SERIALIZED_NAME_SCHEDULE)
private ExternalPaymentScheduleRequest schedule;
public static final String SERIALIZED_NAME_OPTIONS = "options";
@SerializedName(SERIALIZED_NAME_OPTIONS)
private ExternalPaymentOptions options;
public PaymentInitiationPaymentCreateRequest clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.
* @return clientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.")
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public PaymentInitiationPaymentCreateRequest secret(String secret) {
this.secret = secret;
return this;
}
/**
* Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.
* @return secret
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.")
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
public PaymentInitiationPaymentCreateRequest recipientId(String recipientId) {
this.recipientId = recipientId;
return this;
}
/**
* The ID of the recipient the payment is for.
* @return recipientId
**/
@ApiModelProperty(required = true, value = "The ID of the recipient the payment is for.")
public String getRecipientId() {
return recipientId;
}
public void setRecipientId(String recipientId) {
this.recipientId = recipientId;
}
public PaymentInitiationPaymentCreateRequest reference(String reference) {
this.reference = reference;
return this;
}
/**
* A reference for the payment. This must be an alphanumeric string with at most 18 characters and must not contain any special characters (since not all institutions support them). In order to track settlement via Payment Confirmation, each payment must have a unique reference. If the reference provided through the API is not unique, Plaid will adjust it. Some institutions may limit the reference to less than 18 characters. If necessary, Plaid will adjust the reference by truncating it to fit the institution's requirements. Both the originally provided and automatically adjusted references (if any) can be found in the `reference` and `adjusted_reference` fields, respectively.
* @return reference
**/
@ApiModelProperty(required = true, value = "A reference for the payment. This must be an alphanumeric string with at most 18 characters and must not contain any special characters (since not all institutions support them). In order to track settlement via Payment Confirmation, each payment must have a unique reference. If the reference provided through the API is not unique, Plaid will adjust it. Some institutions may limit the reference to less than 18 characters. If necessary, Plaid will adjust the reference by truncating it to fit the institution's requirements. Both the originally provided and automatically adjusted references (if any) can be found in the `reference` and `adjusted_reference` fields, respectively.")
public String getReference() {
return reference;
}
public void setReference(String reference) {
this.reference = reference;
}
public PaymentInitiationPaymentCreateRequest amount(PaymentAmount amount) {
this.amount = amount;
return this;
}
/**
* Get amount
* @return amount
**/
@ApiModelProperty(required = true, value = "")
public PaymentAmount getAmount() {
return amount;
}
public void setAmount(PaymentAmount amount) {
this.amount = amount;
}
public PaymentInitiationPaymentCreateRequest schedule(ExternalPaymentScheduleRequest schedule) {
this.schedule = schedule;
return this;
}
/**
* Get schedule
* @return schedule
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ExternalPaymentScheduleRequest getSchedule() {
return schedule;
}
public void setSchedule(ExternalPaymentScheduleRequest schedule) {
this.schedule = schedule;
}
public PaymentInitiationPaymentCreateRequest options(ExternalPaymentOptions options) {
this.options = options;
return this;
}
/**
* Get options
* @return options
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ExternalPaymentOptions getOptions() {
return options;
}
public void setOptions(ExternalPaymentOptions options) {
this.options = options;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PaymentInitiationPaymentCreateRequest paymentInitiationPaymentCreateRequest = (PaymentInitiationPaymentCreateRequest) o;
return Objects.equals(this.clientId, paymentInitiationPaymentCreateRequest.clientId) &&
Objects.equals(this.secret, paymentInitiationPaymentCreateRequest.secret) &&
Objects.equals(this.recipientId, paymentInitiationPaymentCreateRequest.recipientId) &&
Objects.equals(this.reference, paymentInitiationPaymentCreateRequest.reference) &&
Objects.equals(this.amount, paymentInitiationPaymentCreateRequest.amount) &&
Objects.equals(this.schedule, paymentInitiationPaymentCreateRequest.schedule) &&
Objects.equals(this.options, paymentInitiationPaymentCreateRequest.options);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, recipientId, reference, amount, schedule, options);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaymentInitiationPaymentCreateRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" recipientId: ").append(toIndentedString(recipientId)).append("\n");
sb.append(" reference: ").append(toIndentedString(reference)).append("\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" schedule: ").append(toIndentedString(schedule)).append("\n");
sb.append(" options: ").append(toIndentedString(options)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/PaymentInitiationRecipientCreateRequest.java | src/main/java/com/plaid/client/model/PaymentInitiationRecipientCreateRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.PaymentInitiationAddress;
import com.plaid.client.model.RecipientBACSNullable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* PaymentInitiationRecipientCreateRequest defines the request schema for `/payment_initiation/recipient/create`
*/
@ApiModel(description = "PaymentInitiationRecipientCreateRequest defines the request schema for `/payment_initiation/recipient/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PaymentInitiationRecipientCreateRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public static final String SERIALIZED_NAME_IBAN = "iban";
@SerializedName(SERIALIZED_NAME_IBAN)
private String iban;
public static final String SERIALIZED_NAME_BACS = "bacs";
@SerializedName(SERIALIZED_NAME_BACS)
private RecipientBACSNullable bacs;
public static final String SERIALIZED_NAME_ADDRESS = "address";
@SerializedName(SERIALIZED_NAME_ADDRESS)
private PaymentInitiationAddress address;
public PaymentInitiationRecipientCreateRequest clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.
* @return clientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.")
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public PaymentInitiationRecipientCreateRequest secret(String secret) {
this.secret = secret;
return this;
}
/**
* Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.
* @return secret
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.")
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
public PaymentInitiationRecipientCreateRequest name(String name) {
this.name = name;
return this;
}
/**
* The name of the recipient. We recommend using strings of length 18 or less and avoid special characters to ensure compatibility with all institutions.
* @return name
**/
@ApiModelProperty(required = true, value = "The name of the recipient. We recommend using strings of length 18 or less and avoid special characters to ensure compatibility with all institutions.")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public PaymentInitiationRecipientCreateRequest iban(String iban) {
this.iban = iban;
return this;
}
/**
* The International Bank Account Number (IBAN) for the recipient. If BACS data is not provided, an IBAN is required.
* @return iban
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The International Bank Account Number (IBAN) for the recipient. If BACS data is not provided, an IBAN is required.")
public String getIban() {
return iban;
}
public void setIban(String iban) {
this.iban = iban;
}
public PaymentInitiationRecipientCreateRequest bacs(RecipientBACSNullable bacs) {
this.bacs = bacs;
return this;
}
/**
* Get bacs
* @return bacs
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public RecipientBACSNullable getBacs() {
return bacs;
}
public void setBacs(RecipientBACSNullable bacs) {
this.bacs = bacs;
}
public PaymentInitiationRecipientCreateRequest address(PaymentInitiationAddress address) {
this.address = address;
return this;
}
/**
* Get address
* @return address
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PaymentInitiationAddress getAddress() {
return address;
}
public void setAddress(PaymentInitiationAddress address) {
this.address = address;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PaymentInitiationRecipientCreateRequest paymentInitiationRecipientCreateRequest = (PaymentInitiationRecipientCreateRequest) o;
return Objects.equals(this.clientId, paymentInitiationRecipientCreateRequest.clientId) &&
Objects.equals(this.secret, paymentInitiationRecipientCreateRequest.secret) &&
Objects.equals(this.name, paymentInitiationRecipientCreateRequest.name) &&
Objects.equals(this.iban, paymentInitiationRecipientCreateRequest.iban) &&
Objects.equals(this.bacs, paymentInitiationRecipientCreateRequest.bacs) &&
Objects.equals(this.address, paymentInitiationRecipientCreateRequest.address);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, name, iban, bacs, address);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaymentInitiationRecipientCreateRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" iban: ").append(toIndentedString(iban)).append("\n");
sb.append(" bacs: ").append(toIndentedString(bacs)).append("\n");
sb.append(" address: ").append(toIndentedString(address)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ItemImportRequest.java | src/main/java/com/plaid/client/model/ItemImportRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.ItemImportRequestOptions;
import com.plaid.client.model.ItemImportRequestUserAuth;
import com.plaid.client.model.Products;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* ItemImportRequest defines the request schema for `/item/import`
*/
@ApiModel(description = "ItemImportRequest defines the request schema for `/item/import`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ItemImportRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_INSTITUTION_ID = "institution_id";
@SerializedName(SERIALIZED_NAME_INSTITUTION_ID)
private String institutionId;
public static final String SERIALIZED_NAME_PRODUCTS = "products";
@SerializedName(SERIALIZED_NAME_PRODUCTS)
private List<Products> products = new ArrayList<>();
public static final String SERIALIZED_NAME_USER_AUTH = "user_auth";
@SerializedName(SERIALIZED_NAME_USER_AUTH)
private ItemImportRequestUserAuth userAuth;
public static final String SERIALIZED_NAME_OPTIONS = "options";
@SerializedName(SERIALIZED_NAME_OPTIONS)
private ItemImportRequestOptions options;
public ItemImportRequest clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.
* @return clientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.")
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public ItemImportRequest secret(String secret) {
this.secret = secret;
return this;
}
/**
* Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.
* @return secret
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.")
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
public ItemImportRequest institutionId(String institutionId) {
this.institutionId = institutionId;
return this;
}
/**
* The Plaid Institution ID associated with the Item.
* @return institutionId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The Plaid Institution ID associated with the Item.")
public String getInstitutionId() {
return institutionId;
}
public void setInstitutionId(String institutionId) {
this.institutionId = institutionId;
}
public ItemImportRequest products(List<Products> products) {
this.products = products;
return this;
}
public ItemImportRequest addProductsItem(Products productsItem) {
this.products.add(productsItem);
return this;
}
/**
* Array of product strings
* @return products
**/
@ApiModelProperty(required = true, value = "Array of product strings")
public List<Products> getProducts() {
return products;
}
public void setProducts(List<Products> products) {
this.products = products;
}
public ItemImportRequest userAuth(ItemImportRequestUserAuth userAuth) {
this.userAuth = userAuth;
return this;
}
/**
* Get userAuth
* @return userAuth
**/
@ApiModelProperty(required = true, value = "")
public ItemImportRequestUserAuth getUserAuth() {
return userAuth;
}
public void setUserAuth(ItemImportRequestUserAuth userAuth) {
this.userAuth = userAuth;
}
public ItemImportRequest options(ItemImportRequestOptions options) {
this.options = options;
return this;
}
/**
* Get options
* @return options
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ItemImportRequestOptions getOptions() {
return options;
}
public void setOptions(ItemImportRequestOptions options) {
this.options = options;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ItemImportRequest itemImportRequest = (ItemImportRequest) o;
return Objects.equals(this.clientId, itemImportRequest.clientId) &&
Objects.equals(this.secret, itemImportRequest.secret) &&
Objects.equals(this.institutionId, itemImportRequest.institutionId) &&
Objects.equals(this.products, itemImportRequest.products) &&
Objects.equals(this.userAuth, itemImportRequest.userAuth) &&
Objects.equals(this.options, itemImportRequest.options);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, institutionId, products, userAuth, options);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ItemImportRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" institutionId: ").append(toIndentedString(institutionId)).append("\n");
sb.append(" products: ").append(toIndentedString(products)).append("\n");
sb.append(" userAuth: ").append(toIndentedString(userAuth)).append("\n");
sb.append(" options: ").append(toIndentedString(options)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransferIntentGetRequest.java | src/main/java/com/plaid/client/model/TransferIntentGetRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines the request schema for `/transfer/intent/get`
*/
@ApiModel(description = "Defines the request schema for `/transfer/intent/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferIntentGetRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_TRANSFER_INTENT_ID = "transfer_intent_id";
@SerializedName(SERIALIZED_NAME_TRANSFER_INTENT_ID)
private String transferIntentId;
public TransferIntentGetRequest clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.
* @return clientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.")
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public TransferIntentGetRequest secret(String secret) {
this.secret = secret;
return this;
}
/**
* Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.
* @return secret
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.")
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
public TransferIntentGetRequest transferIntentId(String transferIntentId) {
this.transferIntentId = transferIntentId;
return this;
}
/**
* Plaid's unique identifier for a transfer intent object.
* @return transferIntentId
**/
@ApiModelProperty(required = true, value = "Plaid's unique identifier for a transfer intent object.")
public String getTransferIntentId() {
return transferIntentId;
}
public void setTransferIntentId(String transferIntentId) {
this.transferIntentId = transferIntentId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferIntentGetRequest transferIntentGetRequest = (TransferIntentGetRequest) o;
return Objects.equals(this.clientId, transferIntentGetRequest.clientId) &&
Objects.equals(this.secret, transferIntentGetRequest.secret) &&
Objects.equals(this.transferIntentId, transferIntentGetRequest.transferIntentId);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, transferIntentId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferIntentGetRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" transferIntentId: ").append(toIndentedString(transferIntentId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/HealthIncident.java | src/main/java/com/plaid/client/model/HealthIncident.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.IncidentUpdate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.List;
/**
* A status health incident
*/
@ApiModel(description = "A status health incident")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class HealthIncident {
public static final String SERIALIZED_NAME_START_DATE = "start_date";
@SerializedName(SERIALIZED_NAME_START_DATE)
private OffsetDateTime startDate;
public static final String SERIALIZED_NAME_END_DATE = "end_date";
@SerializedName(SERIALIZED_NAME_END_DATE)
private OffsetDateTime endDate;
public static final String SERIALIZED_NAME_TITLE = "title";
@SerializedName(SERIALIZED_NAME_TITLE)
private String title;
public static final String SERIALIZED_NAME_INCIDENT_UPDATES = "incident_updates";
@SerializedName(SERIALIZED_NAME_INCIDENT_UPDATES)
private List<IncidentUpdate> incidentUpdates = new ArrayList<>();
public HealthIncident startDate(OffsetDateTime startDate) {
this.startDate = startDate;
return this;
}
/**
* The start date of the incident, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format, e.g. `\"2020-10-30T15:26:48Z\"`.
* @return startDate
**/
@ApiModelProperty(required = true, value = "The start date of the incident, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format, e.g. `\"2020-10-30T15:26:48Z\"`.")
public OffsetDateTime getStartDate() {
return startDate;
}
public void setStartDate(OffsetDateTime startDate) {
this.startDate = startDate;
}
public HealthIncident endDate(OffsetDateTime endDate) {
this.endDate = endDate;
return this;
}
/**
* The end date of the incident, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format, e.g. `\"2020-10-30T15:26:48Z\"`.
* @return endDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The end date of the incident, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format, e.g. `\"2020-10-30T15:26:48Z\"`.")
public OffsetDateTime getEndDate() {
return endDate;
}
public void setEndDate(OffsetDateTime endDate) {
this.endDate = endDate;
}
public HealthIncident title(String title) {
this.title = title;
return this;
}
/**
* The title of the incident
* @return title
**/
@ApiModelProperty(required = true, value = "The title of the incident")
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public HealthIncident incidentUpdates(List<IncidentUpdate> incidentUpdates) {
this.incidentUpdates = incidentUpdates;
return this;
}
public HealthIncident addIncidentUpdatesItem(IncidentUpdate incidentUpdatesItem) {
this.incidentUpdates.add(incidentUpdatesItem);
return this;
}
/**
* Updates on the health incident.
* @return incidentUpdates
**/
@ApiModelProperty(required = true, value = "Updates on the health incident.")
public List<IncidentUpdate> getIncidentUpdates() {
return incidentUpdates;
}
public void setIncidentUpdates(List<IncidentUpdate> incidentUpdates) {
this.incidentUpdates = incidentUpdates;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
HealthIncident healthIncident = (HealthIncident) o;
return Objects.equals(this.startDate, healthIncident.startDate) &&
Objects.equals(this.endDate, healthIncident.endDate) &&
Objects.equals(this.title, healthIncident.title) &&
Objects.equals(this.incidentUpdates, healthIncident.incidentUpdates);
}
@Override
public int hashCode() {
return Objects.hash(startDate, endDate, title, incidentUpdates);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class HealthIncident {\n");
sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n");
sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n");
sb.append(" title: ").append(toIndentedString(title)).append("\n");
sb.append(" incidentUpdates: ").append(toIndentedString(incidentUpdates)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/WatchlistScreeningIndividualGetResponse.java | src/main/java/com/plaid/client/model/WatchlistScreeningIndividualGetResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.WatchlistScreeningAuditTrail;
import com.plaid.client.model.WatchlistScreeningSearchTerms;
import com.plaid.client.model.WatchlistScreeningStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The screening object allows you to represent a customer in your system, update their profile, and search for them on various watchlists. Note: Rejected customers will not receive new hits, regardless of program configuration.
*/
@ApiModel(description = "The screening object allows you to represent a customer in your system, update their profile, and search for them on various watchlists. Note: Rejected customers will not receive new hits, regardless of program configuration.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class WatchlistScreeningIndividualGetResponse {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
public static final String SERIALIZED_NAME_SEARCH_TERMS = "search_terms";
@SerializedName(SERIALIZED_NAME_SEARCH_TERMS)
private WatchlistScreeningSearchTerms searchTerms;
public static final String SERIALIZED_NAME_ASSIGNEE = "assignee";
@SerializedName(SERIALIZED_NAME_ASSIGNEE)
private String assignee;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private WatchlistScreeningStatus status;
public static final String SERIALIZED_NAME_CLIENT_USER_ID = "client_user_id";
@SerializedName(SERIALIZED_NAME_CLIENT_USER_ID)
private String clientUserId;
public static final String SERIALIZED_NAME_AUDIT_TRAIL = "audit_trail";
@SerializedName(SERIALIZED_NAME_AUDIT_TRAIL)
private WatchlistScreeningAuditTrail auditTrail;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public WatchlistScreeningIndividualGetResponse id(String id) {
this.id = id;
return this;
}
/**
* ID of the associated screening.
* @return id
**/
@ApiModelProperty(example = "scr_52xR9LKo77r1Np", required = true, value = "ID of the associated screening.")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public WatchlistScreeningIndividualGetResponse searchTerms(WatchlistScreeningSearchTerms searchTerms) {
this.searchTerms = searchTerms;
return this;
}
/**
* Get searchTerms
* @return searchTerms
**/
@ApiModelProperty(required = true, value = "")
public WatchlistScreeningSearchTerms getSearchTerms() {
return searchTerms;
}
public void setSearchTerms(WatchlistScreeningSearchTerms searchTerms) {
this.searchTerms = searchTerms;
}
public WatchlistScreeningIndividualGetResponse assignee(String assignee) {
this.assignee = assignee;
return this;
}
/**
* ID of the associated user. To retrieve the email address or other details of the person corresponding to this id, use `/dashboard_user/get`.
* @return assignee
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "54350110fedcbaf01234ffee", required = true, value = "ID of the associated user. To retrieve the email address or other details of the person corresponding to this id, use `/dashboard_user/get`.")
public String getAssignee() {
return assignee;
}
public void setAssignee(String assignee) {
this.assignee = assignee;
}
public WatchlistScreeningIndividualGetResponse status(WatchlistScreeningStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@ApiModelProperty(required = true, value = "")
public WatchlistScreeningStatus getStatus() {
return status;
}
public void setStatus(WatchlistScreeningStatus status) {
this.status = status;
}
public WatchlistScreeningIndividualGetResponse clientUserId(String clientUserId) {
this.clientUserId = clientUserId;
return this;
}
/**
* A unique ID that identifies the end user in your system. This ID can also be used to associate user-specific data from other Plaid products. Financial Account Matching requires this field and the `/link/token/create` `client_user_id` to be consistent. Personally identifiable information, such as an email address or phone number, should not be used in the `client_user_id`.
* @return clientUserId
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "your-db-id-3b24110", required = true, value = "A unique ID that identifies the end user in your system. This ID can also be used to associate user-specific data from other Plaid products. Financial Account Matching requires this field and the `/link/token/create` `client_user_id` to be consistent. Personally identifiable information, such as an email address or phone number, should not be used in the `client_user_id`.")
public String getClientUserId() {
return clientUserId;
}
public void setClientUserId(String clientUserId) {
this.clientUserId = clientUserId;
}
public WatchlistScreeningIndividualGetResponse auditTrail(WatchlistScreeningAuditTrail auditTrail) {
this.auditTrail = auditTrail;
return this;
}
/**
* Get auditTrail
* @return auditTrail
**/
@ApiModelProperty(required = true, value = "")
public WatchlistScreeningAuditTrail getAuditTrail() {
return auditTrail;
}
public void setAuditTrail(WatchlistScreeningAuditTrail auditTrail) {
this.auditTrail = auditTrail;
}
public WatchlistScreeningIndividualGetResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
WatchlistScreeningIndividualGetResponse watchlistScreeningIndividualGetResponse = (WatchlistScreeningIndividualGetResponse) o;
return Objects.equals(this.id, watchlistScreeningIndividualGetResponse.id) &&
Objects.equals(this.searchTerms, watchlistScreeningIndividualGetResponse.searchTerms) &&
Objects.equals(this.assignee, watchlistScreeningIndividualGetResponse.assignee) &&
Objects.equals(this.status, watchlistScreeningIndividualGetResponse.status) &&
Objects.equals(this.clientUserId, watchlistScreeningIndividualGetResponse.clientUserId) &&
Objects.equals(this.auditTrail, watchlistScreeningIndividualGetResponse.auditTrail) &&
Objects.equals(this.requestId, watchlistScreeningIndividualGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(id, searchTerms, assignee, status, clientUserId, auditTrail, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class WatchlistScreeningIndividualGetResponse {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" searchTerms: ").append(toIndentedString(searchTerms)).append("\n");
sb.append(" assignee: ").append(toIndentedString(assignee)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" clientUserId: ").append(toIndentedString(clientUserId)).append("\n");
sb.append(" auditTrail: ").append(toIndentedString(auditTrail)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/LinkTokenCreateRequestStatements.java | src/main/java/com/plaid/client/model/LinkTokenCreateRequestStatements.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
/**
* Specifies options for initializing Link for use with the Statements product. This field is required for the statements product.
*/
@ApiModel(description = "Specifies options for initializing Link for use with the Statements product. This field is required for the statements product.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkTokenCreateRequestStatements {
public static final String SERIALIZED_NAME_START_DATE = "start_date";
@SerializedName(SERIALIZED_NAME_START_DATE)
private LocalDate startDate;
public static final String SERIALIZED_NAME_END_DATE = "end_date";
@SerializedName(SERIALIZED_NAME_END_DATE)
private LocalDate endDate;
public LinkTokenCreateRequestStatements startDate(LocalDate startDate) {
this.startDate = startDate;
return this;
}
/**
* The start date for statements, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) \"YYYY-MM-DD\" format, e.g. \"2020-10-30\".
* @return startDate
**/
@ApiModelProperty(required = true, value = "The start date for statements, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) \"YYYY-MM-DD\" format, e.g. \"2020-10-30\".")
public LocalDate getStartDate() {
return startDate;
}
public void setStartDate(LocalDate startDate) {
this.startDate = startDate;
}
public LinkTokenCreateRequestStatements endDate(LocalDate endDate) {
this.endDate = endDate;
return this;
}
/**
* The end date for statements, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) \"YYYY-MM-DD\" format, e.g. \"2020-10-30\". You can request up to two years of data.
* @return endDate
**/
@ApiModelProperty(required = true, value = "The end date for statements, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) \"YYYY-MM-DD\" format, e.g. \"2020-10-30\". You can request up to two years of data.")
public LocalDate getEndDate() {
return endDate;
}
public void setEndDate(LocalDate endDate) {
this.endDate = endDate;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkTokenCreateRequestStatements linkTokenCreateRequestStatements = (LinkTokenCreateRequestStatements) o;
return Objects.equals(this.startDate, linkTokenCreateRequestStatements.startDate) &&
Objects.equals(this.endDate, linkTokenCreateRequestStatements.endDate);
}
@Override
public int hashCode() {
return Objects.hash(startDate, endDate);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkTokenCreateRequestStatements {\n");
sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n");
sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BeaconUserRequestDepositoryAccount.java | src/main/java/com/plaid/client/model/BeaconUserRequestDepositoryAccount.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Depository account information for the associated user.
*/
@ApiModel(description = "Depository account information for the associated user.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BeaconUserRequestDepositoryAccount {
public static final String SERIALIZED_NAME_ACCOUNT_NUMBER = "account_number";
@SerializedName(SERIALIZED_NAME_ACCOUNT_NUMBER)
private String accountNumber;
public static final String SERIALIZED_NAME_ROUTING_NUMBER = "routing_number";
@SerializedName(SERIALIZED_NAME_ROUTING_NUMBER)
private String routingNumber;
public BeaconUserRequestDepositoryAccount accountNumber(String accountNumber) {
this.accountNumber = accountNumber;
return this;
}
/**
* Must be a valid US Bank Account Number
* @return accountNumber
**/
@ApiModelProperty(example = "1234567890", required = true, value = "Must be a valid US Bank Account Number")
public String getAccountNumber() {
return accountNumber;
}
public void setAccountNumber(String accountNumber) {
this.accountNumber = accountNumber;
}
public BeaconUserRequestDepositoryAccount routingNumber(String routingNumber) {
this.routingNumber = routingNumber;
return this;
}
/**
* The routing number of the account.
* @return routingNumber
**/
@ApiModelProperty(example = "021000021", required = true, value = "The routing number of the account.")
public String getRoutingNumber() {
return routingNumber;
}
public void setRoutingNumber(String routingNumber) {
this.routingNumber = routingNumber;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BeaconUserRequestDepositoryAccount beaconUserRequestDepositoryAccount = (BeaconUserRequestDepositoryAccount) o;
return Objects.equals(this.accountNumber, beaconUserRequestDepositoryAccount.accountNumber) &&
Objects.equals(this.routingNumber, beaconUserRequestDepositoryAccount.routingNumber);
}
@Override
public int hashCode() {
return Objects.hash(accountNumber, routingNumber);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BeaconUserRequestDepositoryAccount {\n");
sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
sb.append(" routingNumber: ").append(toIndentedString(routingNumber)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ImageQualityDetails.java | src/main/java/com/plaid/client/model/ImageQualityDetails.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.ImageQualityOutcome;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Details about the image quality of the document.
*/
@ApiModel(description = "Details about the image quality of the document.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ImageQualityDetails {
public static final String SERIALIZED_NAME_GLARE_CHECK = "glare_check";
@SerializedName(SERIALIZED_NAME_GLARE_CHECK)
private ImageQualityOutcome glareCheck;
public static final String SERIALIZED_NAME_DIMENSIONS_CHECK = "dimensions_check";
@SerializedName(SERIALIZED_NAME_DIMENSIONS_CHECK)
private ImageQualityOutcome dimensionsCheck;
public static final String SERIALIZED_NAME_BLUR_CHECK = "blur_check";
@SerializedName(SERIALIZED_NAME_BLUR_CHECK)
private ImageQualityOutcome blurCheck;
public ImageQualityDetails glareCheck(ImageQualityOutcome glareCheck) {
this.glareCheck = glareCheck;
return this;
}
/**
* Get glareCheck
* @return glareCheck
**/
@ApiModelProperty(required = true, value = "")
public ImageQualityOutcome getGlareCheck() {
return glareCheck;
}
public void setGlareCheck(ImageQualityOutcome glareCheck) {
this.glareCheck = glareCheck;
}
public ImageQualityDetails dimensionsCheck(ImageQualityOutcome dimensionsCheck) {
this.dimensionsCheck = dimensionsCheck;
return this;
}
/**
* Get dimensionsCheck
* @return dimensionsCheck
**/
@ApiModelProperty(required = true, value = "")
public ImageQualityOutcome getDimensionsCheck() {
return dimensionsCheck;
}
public void setDimensionsCheck(ImageQualityOutcome dimensionsCheck) {
this.dimensionsCheck = dimensionsCheck;
}
public ImageQualityDetails blurCheck(ImageQualityOutcome blurCheck) {
this.blurCheck = blurCheck;
return this;
}
/**
* Get blurCheck
* @return blurCheck
**/
@ApiModelProperty(required = true, value = "")
public ImageQualityOutcome getBlurCheck() {
return blurCheck;
}
public void setBlurCheck(ImageQualityOutcome blurCheck) {
this.blurCheck = blurCheck;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ImageQualityDetails imageQualityDetails = (ImageQualityDetails) o;
return Objects.equals(this.glareCheck, imageQualityDetails.glareCheck) &&
Objects.equals(this.dimensionsCheck, imageQualityDetails.dimensionsCheck) &&
Objects.equals(this.blurCheck, imageQualityDetails.blurCheck);
}
@Override
public int hashCode() {
return Objects.hash(glareCheck, dimensionsCheck, blurCheck);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ImageQualityDetails {\n");
sb.append(" glareCheck: ").append(toIndentedString(glareCheck)).append("\n");
sb.append(" dimensionsCheck: ").append(toIndentedString(dimensionsCheck)).append("\n");
sb.append(" blurCheck: ").append(toIndentedString(blurCheck)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CreditFreddieMacAssetTransactions.java | src/main/java/com/plaid/client/model/CreditFreddieMacAssetTransactions.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.CreditFreddieMacAssetTransaction;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Documentation not found in the MISMO model viewer and not provided by Freddie Mac.
*/
@ApiModel(description = "Documentation not found in the MISMO model viewer and not provided by Freddie Mac.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditFreddieMacAssetTransactions {
public static final String SERIALIZED_NAME_A_S_S_E_T_T_R_A_N_S_A_C_T_I_O_N = "ASSET_TRANSACTION";
@SerializedName(SERIALIZED_NAME_A_S_S_E_T_T_R_A_N_S_A_C_T_I_O_N)
private List<CreditFreddieMacAssetTransaction> ASSET_TRANSACTION = new ArrayList<>();
public CreditFreddieMacAssetTransactions ASSET_TRANSACTION(List<CreditFreddieMacAssetTransaction> ASSET_TRANSACTION) {
this.ASSET_TRANSACTION = ASSET_TRANSACTION;
return this;
}
public CreditFreddieMacAssetTransactions addASSETTRANSACTIONItem(CreditFreddieMacAssetTransaction ASSET_TRANSACTIONItem) {
this.ASSET_TRANSACTION.add(ASSET_TRANSACTIONItem);
return this;
}
/**
* Get ASSET_TRANSACTION
* @return ASSET_TRANSACTION
**/
@ApiModelProperty(required = true, value = "")
public List<CreditFreddieMacAssetTransaction> getASSETTRANSACTION() {
return ASSET_TRANSACTION;
}
public void setASSETTRANSACTION(List<CreditFreddieMacAssetTransaction> ASSET_TRANSACTION) {
this.ASSET_TRANSACTION = ASSET_TRANSACTION;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreditFreddieMacAssetTransactions creditFreddieMacAssetTransactions = (CreditFreddieMacAssetTransactions) o;
return Objects.equals(this.ASSET_TRANSACTION, creditFreddieMacAssetTransactions.ASSET_TRANSACTION);
}
@Override
public int hashCode() {
return Objects.hash(ASSET_TRANSACTION);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditFreddieMacAssetTransactions {\n");
sb.append(" ASSET_TRANSACTION: ").append(toIndentedString(ASSET_TRANSACTION)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/SandboxPublicTokenCreateRequestOptions.java | src/main/java/com/plaid/client/model/SandboxPublicTokenCreateRequestOptions.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.SandboxPublicTokenCreateRequestOptionsIncomeVerification;
import com.plaid.client.model.SandboxPublicTokenCreateRequestOptionsStatements;
import com.plaid.client.model.SandboxPublicTokenCreateRequestOptionsTransactions;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* An optional set of options to be used when configuring the Item. If specified, must not be `null`.
*/
@ApiModel(description = "An optional set of options to be used when configuring the Item. If specified, must not be `null`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SandboxPublicTokenCreateRequestOptions {
public static final String SERIALIZED_NAME_WEBHOOK = "webhook";
@SerializedName(SERIALIZED_NAME_WEBHOOK)
private String webhook;
public static final String SERIALIZED_NAME_OVERRIDE_USERNAME = "override_username";
@SerializedName(SERIALIZED_NAME_OVERRIDE_USERNAME)
private String overrideUsername = "user_good";
public static final String SERIALIZED_NAME_OVERRIDE_PASSWORD = "override_password";
@SerializedName(SERIALIZED_NAME_OVERRIDE_PASSWORD)
private String overridePassword = "pass_good";
public static final String SERIALIZED_NAME_TRANSACTIONS = "transactions";
@SerializedName(SERIALIZED_NAME_TRANSACTIONS)
private SandboxPublicTokenCreateRequestOptionsTransactions transactions;
public static final String SERIALIZED_NAME_STATEMENTS = "statements";
@SerializedName(SERIALIZED_NAME_STATEMENTS)
private SandboxPublicTokenCreateRequestOptionsStatements statements;
public static final String SERIALIZED_NAME_INCOME_VERIFICATION = "income_verification";
@SerializedName(SERIALIZED_NAME_INCOME_VERIFICATION)
private SandboxPublicTokenCreateRequestOptionsIncomeVerification incomeVerification;
public SandboxPublicTokenCreateRequestOptions webhook(String webhook) {
this.webhook = webhook;
return this;
}
/**
* Specify a webhook to associate with the new Item.
* @return webhook
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Specify a webhook to associate with the new Item.")
public String getWebhook() {
return webhook;
}
public void setWebhook(String webhook) {
this.webhook = webhook;
}
public SandboxPublicTokenCreateRequestOptions overrideUsername(String overrideUsername) {
this.overrideUsername = overrideUsername;
return this;
}
/**
* Test username to use for the creation of the Sandbox Item. Default value is `user_good`.
* @return overrideUsername
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Test username to use for the creation of the Sandbox Item. Default value is `user_good`.")
public String getOverrideUsername() {
return overrideUsername;
}
public void setOverrideUsername(String overrideUsername) {
this.overrideUsername = overrideUsername;
}
public SandboxPublicTokenCreateRequestOptions overridePassword(String overridePassword) {
this.overridePassword = overridePassword;
return this;
}
/**
* Test password to use for the creation of the Sandbox Item. Default value is `pass_good`.
* @return overridePassword
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Test password to use for the creation of the Sandbox Item. Default value is `pass_good`.")
public String getOverridePassword() {
return overridePassword;
}
public void setOverridePassword(String overridePassword) {
this.overridePassword = overridePassword;
}
public SandboxPublicTokenCreateRequestOptions transactions(SandboxPublicTokenCreateRequestOptionsTransactions transactions) {
this.transactions = transactions;
return this;
}
/**
* Get transactions
* @return transactions
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public SandboxPublicTokenCreateRequestOptionsTransactions getTransactions() {
return transactions;
}
public void setTransactions(SandboxPublicTokenCreateRequestOptionsTransactions transactions) {
this.transactions = transactions;
}
public SandboxPublicTokenCreateRequestOptions statements(SandboxPublicTokenCreateRequestOptionsStatements statements) {
this.statements = statements;
return this;
}
/**
* Get statements
* @return statements
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public SandboxPublicTokenCreateRequestOptionsStatements getStatements() {
return statements;
}
public void setStatements(SandboxPublicTokenCreateRequestOptionsStatements statements) {
this.statements = statements;
}
public SandboxPublicTokenCreateRequestOptions incomeVerification(SandboxPublicTokenCreateRequestOptionsIncomeVerification incomeVerification) {
this.incomeVerification = incomeVerification;
return this;
}
/**
* Get incomeVerification
* @return incomeVerification
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public SandboxPublicTokenCreateRequestOptionsIncomeVerification getIncomeVerification() {
return incomeVerification;
}
public void setIncomeVerification(SandboxPublicTokenCreateRequestOptionsIncomeVerification incomeVerification) {
this.incomeVerification = incomeVerification;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SandboxPublicTokenCreateRequestOptions sandboxPublicTokenCreateRequestOptions = (SandboxPublicTokenCreateRequestOptions) o;
return Objects.equals(this.webhook, sandboxPublicTokenCreateRequestOptions.webhook) &&
Objects.equals(this.overrideUsername, sandboxPublicTokenCreateRequestOptions.overrideUsername) &&
Objects.equals(this.overridePassword, sandboxPublicTokenCreateRequestOptions.overridePassword) &&
Objects.equals(this.transactions, sandboxPublicTokenCreateRequestOptions.transactions) &&
Objects.equals(this.statements, sandboxPublicTokenCreateRequestOptions.statements) &&
Objects.equals(this.incomeVerification, sandboxPublicTokenCreateRequestOptions.incomeVerification);
}
@Override
public int hashCode() {
return Objects.hash(webhook, overrideUsername, overridePassword, transactions, statements, incomeVerification);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SandboxPublicTokenCreateRequestOptions {\n");
sb.append(" webhook: ").append(toIndentedString(webhook)).append("\n");
sb.append(" overrideUsername: ").append(toIndentedString(overrideUsername)).append("\n");
sb.append(" overridePassword: ").append(toIndentedString(overridePassword)).append("\n");
sb.append(" transactions: ").append(toIndentedString(transactions)).append("\n");
sb.append(" statements: ").append(toIndentedString(statements)).append("\n");
sb.append(" incomeVerification: ").append(toIndentedString(incomeVerification)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ConsentEventType.java | src/main/java/com/plaid/client/model/ConsentEventType.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* A broad categorization of the consent event.
*/
@JsonAdapter(ConsentEventType.Adapter.class)
public enum ConsentEventType {
GRANTED("CONSENT_GRANTED"),
REVOKED("CONSENT_REVOKED"),
UPDATED("CONSENT_UPDATED"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
ConsentEventType(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static ConsentEventType fromValue(String value) {
for (ConsentEventType b : ConsentEventType.values()) {
if (b.value.equals(value)) {
return b;
}
}
return ConsentEventType.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<ConsentEventType> {
@Override
public void write(final JsonWriter jsonWriter, final ConsentEventType enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public ConsentEventType read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return ConsentEventType.fromValue(value);
}
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/RecurringTransferNullable.java | src/main/java/com/plaid/client/model/RecurringTransferNullable.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.ACHClass;
import com.plaid.client.model.RecurringTransfer;
import com.plaid.client.model.TransferRecurringNetwork;
import com.plaid.client.model.TransferRecurringSchedule;
import com.plaid.client.model.TransferRecurringStatus;
import com.plaid.client.model.TransferType;
import com.plaid.client.model.TransferUserInResponse;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.List;
/**
* Represents a recurring transfer within the Transfers API.
*/
@ApiModel(description = "Represents a recurring transfer within the Transfers API.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class RecurringTransferNullable {
public static final String SERIALIZED_NAME_RECURRING_TRANSFER_ID = "recurring_transfer_id";
@SerializedName(SERIALIZED_NAME_RECURRING_TRANSFER_ID)
private String recurringTransferId;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
private OffsetDateTime created;
public static final String SERIALIZED_NAME_NEXT_ORIGINATION_DATE = "next_origination_date";
@SerializedName(SERIALIZED_NAME_NEXT_ORIGINATION_DATE)
private LocalDate nextOriginationDate;
public static final String SERIALIZED_NAME_TEST_CLOCK_ID = "test_clock_id";
@SerializedName(SERIALIZED_NAME_TEST_CLOCK_ID)
private String testClockId;
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private TransferType type;
public static final String SERIALIZED_NAME_AMOUNT = "amount";
@SerializedName(SERIALIZED_NAME_AMOUNT)
private String amount;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private TransferRecurringStatus status;
public static final String SERIALIZED_NAME_ACH_CLASS = "ach_class";
@SerializedName(SERIALIZED_NAME_ACH_CLASS)
private ACHClass achClass;
public static final String SERIALIZED_NAME_NETWORK = "network";
@SerializedName(SERIALIZED_NAME_NETWORK)
private TransferRecurringNetwork network;
public static final String SERIALIZED_NAME_ORIGINATION_ACCOUNT_ID = "origination_account_id";
@SerializedName(SERIALIZED_NAME_ORIGINATION_ACCOUNT_ID)
private String originationAccountId;
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
private String accountId;
public static final String SERIALIZED_NAME_FUNDING_ACCOUNT_ID = "funding_account_id";
@SerializedName(SERIALIZED_NAME_FUNDING_ACCOUNT_ID)
private String fundingAccountId;
public static final String SERIALIZED_NAME_ISO_CURRENCY_CODE = "iso_currency_code";
@SerializedName(SERIALIZED_NAME_ISO_CURRENCY_CODE)
private String isoCurrencyCode;
public static final String SERIALIZED_NAME_DESCRIPTION = "description";
@SerializedName(SERIALIZED_NAME_DESCRIPTION)
private String description;
public static final String SERIALIZED_NAME_TRANSFER_IDS = "transfer_ids";
@SerializedName(SERIALIZED_NAME_TRANSFER_IDS)
private List<String> transferIds = new ArrayList<>();
public static final String SERIALIZED_NAME_USER = "user";
@SerializedName(SERIALIZED_NAME_USER)
private TransferUserInResponse user;
public static final String SERIALIZED_NAME_SCHEDULE = "schedule";
@SerializedName(SERIALIZED_NAME_SCHEDULE)
private TransferRecurringSchedule schedule;
public RecurringTransferNullable recurringTransferId(String recurringTransferId) {
this.recurringTransferId = recurringTransferId;
return this;
}
/**
* Plaid’s unique identifier for a recurring transfer.
* @return recurringTransferId
**/
@ApiModelProperty(required = true, value = "Plaid’s unique identifier for a recurring transfer.")
public String getRecurringTransferId() {
return recurringTransferId;
}
public void setRecurringTransferId(String recurringTransferId) {
this.recurringTransferId = recurringTransferId;
}
public RecurringTransferNullable created(OffsetDateTime created) {
this.created = created;
return this;
}
/**
* The datetime when this transfer was created. This will be of the form `2006-01-02T15:04:05Z`
* @return created
**/
@ApiModelProperty(required = true, value = "The datetime when this transfer was created. This will be of the form `2006-01-02T15:04:05Z`")
public OffsetDateTime getCreated() {
return created;
}
public void setCreated(OffsetDateTime created) {
this.created = created;
}
public RecurringTransferNullable nextOriginationDate(LocalDate nextOriginationDate) {
this.nextOriginationDate = nextOriginationDate;
return this;
}
/**
* A date in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (YYYY-MM-DD). The next transfer origination date after bank holiday adjustment.
* @return nextOriginationDate
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "A date in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (YYYY-MM-DD). The next transfer origination date after bank holiday adjustment.")
public LocalDate getNextOriginationDate() {
return nextOriginationDate;
}
public void setNextOriginationDate(LocalDate nextOriginationDate) {
this.nextOriginationDate = nextOriginationDate;
}
public RecurringTransferNullable testClockId(String testClockId) {
this.testClockId = testClockId;
return this;
}
/**
* Plaid’s unique identifier for a test clock.
* @return testClockId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Plaid’s unique identifier for a test clock.")
public String getTestClockId() {
return testClockId;
}
public void setTestClockId(String testClockId) {
this.testClockId = testClockId;
}
public RecurringTransferNullable type(TransferType type) {
this.type = type;
return this;
}
/**
* Get type
* @return type
**/
@ApiModelProperty(required = true, value = "")
public TransferType getType() {
return type;
}
public void setType(TransferType type) {
this.type = type;
}
public RecurringTransferNullable amount(String amount) {
this.amount = amount;
return this;
}
/**
* The amount of the transfer (decimal string with two digits of precision e.g. \"10.00\"). When calling `/transfer/authorization/create`, specify the maximum amount to authorize. When calling `/transfer/create`, specify the exact amount of the transfer, up to a maximum of the amount authorized. If this field is left blank when calling `/transfer/create`, the maximum amount authorized in the `authorization_id` will be sent.
* @return amount
**/
@ApiModelProperty(required = true, value = "The amount of the transfer (decimal string with two digits of precision e.g. \"10.00\"). When calling `/transfer/authorization/create`, specify the maximum amount to authorize. When calling `/transfer/create`, specify the exact amount of the transfer, up to a maximum of the amount authorized. If this field is left blank when calling `/transfer/create`, the maximum amount authorized in the `authorization_id` will be sent.")
public String getAmount() {
return amount;
}
public void setAmount(String amount) {
this.amount = amount;
}
public RecurringTransferNullable status(TransferRecurringStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@ApiModelProperty(required = true, value = "")
public TransferRecurringStatus getStatus() {
return status;
}
public void setStatus(TransferRecurringStatus status) {
this.status = status;
}
public RecurringTransferNullable achClass(ACHClass achClass) {
this.achClass = achClass;
return this;
}
/**
* Get achClass
* @return achClass
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ACHClass getAchClass() {
return achClass;
}
public void setAchClass(ACHClass achClass) {
this.achClass = achClass;
}
public RecurringTransferNullable network(TransferRecurringNetwork network) {
this.network = network;
return this;
}
/**
* Get network
* @return network
**/
@ApiModelProperty(required = true, value = "")
public TransferRecurringNetwork getNetwork() {
return network;
}
public void setNetwork(TransferRecurringNetwork network) {
this.network = network;
}
public RecurringTransferNullable originationAccountId(String originationAccountId) {
this.originationAccountId = originationAccountId;
return this;
}
/**
* Plaid’s unique identifier for the origination account that was used for this transfer.
* @return originationAccountId
**/
@ApiModelProperty(required = true, value = "Plaid’s unique identifier for the origination account that was used for this transfer.")
public String getOriginationAccountId() {
return originationAccountId;
}
public void setOriginationAccountId(String originationAccountId) {
this.originationAccountId = originationAccountId;
}
public RecurringTransferNullable accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* The Plaid `account_id` corresponding to the end-user account that will be debited or credited.
* @return accountId
**/
@ApiModelProperty(required = true, value = "The Plaid `account_id` corresponding to the end-user account that will be debited or credited.")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public RecurringTransferNullable fundingAccountId(String fundingAccountId) {
this.fundingAccountId = fundingAccountId;
return this;
}
/**
* The id of the funding account to use, available in the Plaid Dashboard. This determines which of your business checking accounts will be credited or debited.
* @return fundingAccountId
**/
@ApiModelProperty(required = true, value = "The id of the funding account to use, available in the Plaid Dashboard. This determines which of your business checking accounts will be credited or debited.")
public String getFundingAccountId() {
return fundingAccountId;
}
public void setFundingAccountId(String fundingAccountId) {
this.fundingAccountId = fundingAccountId;
}
public RecurringTransferNullable isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The currency of the transfer amount, e.g. \"USD\"
* @return isoCurrencyCode
**/
@ApiModelProperty(required = true, value = "The currency of the transfer amount, e.g. \"USD\"")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public RecurringTransferNullable description(String description) {
this.description = description;
return this;
}
/**
* The description of the recurring transfer.
* @return description
**/
@ApiModelProperty(required = true, value = "The description of the recurring transfer.")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public RecurringTransferNullable transferIds(List<String> transferIds) {
this.transferIds = transferIds;
return this;
}
public RecurringTransferNullable addTransferIdsItem(String transferIdsItem) {
this.transferIds.add(transferIdsItem);
return this;
}
/**
* The created transfer instances associated with this `recurring_transfer_id`. If the recurring transfer has been newly created, this array will be empty.
* @return transferIds
**/
@ApiModelProperty(required = true, value = "The created transfer instances associated with this `recurring_transfer_id`. If the recurring transfer has been newly created, this array will be empty.")
public List<String> getTransferIds() {
return transferIds;
}
public void setTransferIds(List<String> transferIds) {
this.transferIds = transferIds;
}
public RecurringTransferNullable user(TransferUserInResponse user) {
this.user = user;
return this;
}
/**
* Get user
* @return user
**/
@ApiModelProperty(required = true, value = "")
public TransferUserInResponse getUser() {
return user;
}
public void setUser(TransferUserInResponse user) {
this.user = user;
}
public RecurringTransferNullable schedule(TransferRecurringSchedule schedule) {
this.schedule = schedule;
return this;
}
/**
* Get schedule
* @return schedule
**/
@ApiModelProperty(required = true, value = "")
public TransferRecurringSchedule getSchedule() {
return schedule;
}
public void setSchedule(TransferRecurringSchedule schedule) {
this.schedule = schedule;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
RecurringTransferNullable recurringTransferNullable = (RecurringTransferNullable) o;
return Objects.equals(this.recurringTransferId, recurringTransferNullable.recurringTransferId) &&
Objects.equals(this.created, recurringTransferNullable.created) &&
Objects.equals(this.nextOriginationDate, recurringTransferNullable.nextOriginationDate) &&
Objects.equals(this.testClockId, recurringTransferNullable.testClockId) &&
Objects.equals(this.type, recurringTransferNullable.type) &&
Objects.equals(this.amount, recurringTransferNullable.amount) &&
Objects.equals(this.status, recurringTransferNullable.status) &&
Objects.equals(this.achClass, recurringTransferNullable.achClass) &&
Objects.equals(this.network, recurringTransferNullable.network) &&
Objects.equals(this.originationAccountId, recurringTransferNullable.originationAccountId) &&
Objects.equals(this.accountId, recurringTransferNullable.accountId) &&
Objects.equals(this.fundingAccountId, recurringTransferNullable.fundingAccountId) &&
Objects.equals(this.isoCurrencyCode, recurringTransferNullable.isoCurrencyCode) &&
Objects.equals(this.description, recurringTransferNullable.description) &&
Objects.equals(this.transferIds, recurringTransferNullable.transferIds) &&
Objects.equals(this.user, recurringTransferNullable.user) &&
Objects.equals(this.schedule, recurringTransferNullable.schedule);
}
@Override
public int hashCode() {
return Objects.hash(recurringTransferId, created, nextOriginationDate, testClockId, type, amount, status, achClass, network, originationAccountId, accountId, fundingAccountId, isoCurrencyCode, description, transferIds, user, schedule);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class RecurringTransferNullable {\n");
sb.append(" recurringTransferId: ").append(toIndentedString(recurringTransferId)).append("\n");
sb.append(" created: ").append(toIndentedString(created)).append("\n");
sb.append(" nextOriginationDate: ").append(toIndentedString(nextOriginationDate)).append("\n");
sb.append(" testClockId: ").append(toIndentedString(testClockId)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" achClass: ").append(toIndentedString(achClass)).append("\n");
sb.append(" network: ").append(toIndentedString(network)).append("\n");
sb.append(" originationAccountId: ").append(toIndentedString(originationAccountId)).append("\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" fundingAccountId: ").append(toIndentedString(fundingAccountId)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" transferIds: ").append(toIndentedString(transferIds)).append("\n");
sb.append(" user: ").append(toIndentedString(user)).append("\n");
sb.append(" schedule: ").append(toIndentedString(schedule)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ItemAccessTokenInvalidateResponse.java | src/main/java/com/plaid/client/model/ItemAccessTokenInvalidateResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* ItemAccessTokenInvalidateResponse defines the response schema for `/item/access_token/invalidate`
*/
@ApiModel(description = "ItemAccessTokenInvalidateResponse defines the response schema for `/item/access_token/invalidate`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ItemAccessTokenInvalidateResponse {
public static final String SERIALIZED_NAME_NEW_ACCESS_TOKEN = "new_access_token";
@SerializedName(SERIALIZED_NAME_NEW_ACCESS_TOKEN)
private String newAccessToken;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public ItemAccessTokenInvalidateResponse newAccessToken(String newAccessToken) {
this.newAccessToken = newAccessToken;
return this;
}
/**
* The access token associated with the Item data is being requested for.
* @return newAccessToken
**/
@ApiModelProperty(required = true, value = "The access token associated with the Item data is being requested for.")
public String getNewAccessToken() {
return newAccessToken;
}
public void setNewAccessToken(String newAccessToken) {
this.newAccessToken = newAccessToken;
}
public ItemAccessTokenInvalidateResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ItemAccessTokenInvalidateResponse itemAccessTokenInvalidateResponse = (ItemAccessTokenInvalidateResponse) o;
return Objects.equals(this.newAccessToken, itemAccessTokenInvalidateResponse.newAccessToken) &&
Objects.equals(this.requestId, itemAccessTokenInvalidateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(newAccessToken, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ItemAccessTokenInvalidateResponse {\n");
sb.append(" newAccessToken: ").append(toIndentedString(newAccessToken)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BeaconUserStatusUpdatedWebhook.java | src/main/java/com/plaid/client/model/BeaconUserStatusUpdatedWebhook.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.WebhookEnvironmentValues;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Fired when a Beacon User status has changed, which can occur manually via the dashboard or when information is reported to the Beacon network.
*/
@ApiModel(description = "Fired when a Beacon User status has changed, which can occur manually via the dashboard or when information is reported to the Beacon network.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BeaconUserStatusUpdatedWebhook {
public static final String SERIALIZED_NAME_WEBHOOK_TYPE = "webhook_type";
@SerializedName(SERIALIZED_NAME_WEBHOOK_TYPE)
private String webhookType;
public static final String SERIALIZED_NAME_WEBHOOK_CODE = "webhook_code";
@SerializedName(SERIALIZED_NAME_WEBHOOK_CODE)
private String webhookCode;
public static final String SERIALIZED_NAME_BEACON_USER_ID = "beacon_user_id";
@SerializedName(SERIALIZED_NAME_BEACON_USER_ID)
private String beaconUserId;
public static final String SERIALIZED_NAME_ENVIRONMENT = "environment";
@SerializedName(SERIALIZED_NAME_ENVIRONMENT)
private WebhookEnvironmentValues environment;
public BeaconUserStatusUpdatedWebhook webhookType(String webhookType) {
this.webhookType = webhookType;
return this;
}
/**
* `BEACON`
* @return webhookType
**/
@ApiModelProperty(required = true, value = "`BEACON`")
public String getWebhookType() {
return webhookType;
}
public void setWebhookType(String webhookType) {
this.webhookType = webhookType;
}
public BeaconUserStatusUpdatedWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `USER_STATUS_UPDATED`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`USER_STATUS_UPDATED`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public BeaconUserStatusUpdatedWebhook beaconUserId(String beaconUserId) {
this.beaconUserId = beaconUserId;
return this;
}
/**
* The ID of the associated Beacon user.
* @return beaconUserId
**/
@ApiModelProperty(required = true, value = "The ID of the associated Beacon user.")
public String getBeaconUserId() {
return beaconUserId;
}
public void setBeaconUserId(String beaconUserId) {
this.beaconUserId = beaconUserId;
}
public BeaconUserStatusUpdatedWebhook environment(WebhookEnvironmentValues environment) {
this.environment = environment;
return this;
}
/**
* Get environment
* @return environment
**/
@ApiModelProperty(required = true, value = "")
public WebhookEnvironmentValues getEnvironment() {
return environment;
}
public void setEnvironment(WebhookEnvironmentValues environment) {
this.environment = environment;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BeaconUserStatusUpdatedWebhook beaconUserStatusUpdatedWebhook = (BeaconUserStatusUpdatedWebhook) o;
return Objects.equals(this.webhookType, beaconUserStatusUpdatedWebhook.webhookType) &&
Objects.equals(this.webhookCode, beaconUserStatusUpdatedWebhook.webhookCode) &&
Objects.equals(this.beaconUserId, beaconUserStatusUpdatedWebhook.beaconUserId) &&
Objects.equals(this.environment, beaconUserStatusUpdatedWebhook.environment);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, beaconUserId, environment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BeaconUserStatusUpdatedWebhook {\n");
sb.append(" webhookType: ").append(toIndentedString(webhookType)).append("\n");
sb.append(" webhookCode: ").append(toIndentedString(webhookCode)).append("\n");
sb.append(" beaconUserId: ").append(toIndentedString(beaconUserId)).append("\n");
sb.append(" environment: ").append(toIndentedString(environment)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/PaymentInitiationConsentType.java | src/main/java/com/plaid/client/model/PaymentInitiationConsentType.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* Payment consent type. Defines possible use case for payments made with the given consent. `SWEEPING`: Allows moving money between accounts owned by the same user. `COMMERCIAL`: Allows initiating payments from the user's account to third parties.
*/
@JsonAdapter(PaymentInitiationConsentType.Adapter.class)
public enum PaymentInitiationConsentType {
SWEEPING("SWEEPING"),
COMMERCIAL("COMMERCIAL"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
PaymentInitiationConsentType(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static PaymentInitiationConsentType fromValue(String value) {
for (PaymentInitiationConsentType b : PaymentInitiationConsentType.values()) {
if (b.value.equals(value)) {
return b;
}
}
return PaymentInitiationConsentType.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<PaymentInitiationConsentType> {
@Override
public void write(final JsonWriter jsonWriter, final PaymentInitiationConsentType enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public PaymentInitiationConsentType read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return PaymentInitiationConsentType.fromValue(value);
}
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/Strategy.java | src/main/java/com/plaid/client/model/Strategy.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* An instruction specifying what steps the new Identity Verification attempt should require the user to complete: `reset` - Restart the user at the beginning of the session, regardless of whether they successfully completed part of their previous session. `incomplete` - Start the new session at the step that the user failed in the previous session, skipping steps that have already been successfully completed. `infer` - If the most recent Identity Verification attempt associated with the given `client_user_id` has a status of `failed` or `expired`, retry using the `incomplete` strategy. Otherwise, use the `reset` strategy. `custom` - Start the new session with a custom configuration, specified by the value of the `steps` field Note: The `incomplete` strategy cannot be applied if the session's failing step is `screening` or `risk_check`. The `infer` strategy cannot be applied if the session's status is still `active`
*/
@JsonAdapter(Strategy.Adapter.class)
public enum Strategy {
RESET("reset"),
INCOMPLETE("incomplete"),
INFER("infer"),
CUSTOM("custom"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
Strategy(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static Strategy fromValue(String value) {
for (Strategy b : Strategy.values()) {
if (b.value.equals(value)) {
return b;
}
}
return Strategy.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<Strategy> {
@Override
public void write(final JsonWriter jsonWriter, final Strategy enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public Strategy read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return Strategy.fromValue(value);
}
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/PaystubYTDDetails.java | src/main/java/com/plaid/client/model/PaystubYTDDetails.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The amount of income earned year to date, as based on paystub data.
*/
@ApiModel(description = "The amount of income earned year to date, as based on paystub data.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PaystubYTDDetails {
public static final String SERIALIZED_NAME_GROSS_EARNINGS = "gross_earnings";
@SerializedName(SERIALIZED_NAME_GROSS_EARNINGS)
private Double grossEarnings;
public static final String SERIALIZED_NAME_NET_EARNINGS = "net_earnings";
@SerializedName(SERIALIZED_NAME_NET_EARNINGS)
private Double netEarnings;
public PaystubYTDDetails grossEarnings(Double grossEarnings) {
this.grossEarnings = grossEarnings;
return this;
}
/**
* Year-to-date gross earnings.
* @return grossEarnings
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Year-to-date gross earnings.")
public Double getGrossEarnings() {
return grossEarnings;
}
public void setGrossEarnings(Double grossEarnings) {
this.grossEarnings = grossEarnings;
}
public PaystubYTDDetails netEarnings(Double netEarnings) {
this.netEarnings = netEarnings;
return this;
}
/**
* Year-to-date net (take home) earnings.
* @return netEarnings
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Year-to-date net (take home) earnings.")
public Double getNetEarnings() {
return netEarnings;
}
public void setNetEarnings(Double netEarnings) {
this.netEarnings = netEarnings;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PaystubYTDDetails paystubYTDDetails = (PaystubYTDDetails) o;
return Objects.equals(this.grossEarnings, paystubYTDDetails.grossEarnings) &&
Objects.equals(this.netEarnings, paystubYTDDetails.netEarnings);
}
@Override
public int hashCode() {
return Objects.hash(grossEarnings, netEarnings);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaystubYTDDetails {\n");
sb.append(" grossEarnings: ").append(toIndentedString(grossEarnings)).append("\n");
sb.append(" netEarnings: ").append(toIndentedString(netEarnings)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CashflowReportHistoricalBalance.java | src/main/java/com/plaid/client/model/CashflowReportHistoricalBalance.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
/**
* An object representing a balance held by an account in the past
*/
@ApiModel(description = "An object representing a balance held by an account in the past")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CashflowReportHistoricalBalance {
public static final String SERIALIZED_NAME_DATE = "date";
@SerializedName(SERIALIZED_NAME_DATE)
private LocalDate date;
public static final String SERIALIZED_NAME_AMOUNT = "amount";
@SerializedName(SERIALIZED_NAME_AMOUNT)
private Double amount;
public static final String SERIALIZED_NAME_ISO_CURRENCY_CODE = "iso_currency_code";
@SerializedName(SERIALIZED_NAME_ISO_CURRENCY_CODE)
private String isoCurrencyCode;
public static final String SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE = "unofficial_currency_code";
@SerializedName(SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE)
private String unofficialCurrencyCode;
public CashflowReportHistoricalBalance date(LocalDate date) {
this.date = date;
return this;
}
/**
* The date of the calculated historical balance, in an [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (YYYY-MM-DD)
* @return date
**/
@ApiModelProperty(required = true, value = "The date of the calculated historical balance, in an [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (YYYY-MM-DD)")
public LocalDate getDate() {
return date;
}
public void setDate(LocalDate date) {
this.date = date;
}
public CashflowReportHistoricalBalance amount(Double amount) {
this.amount = amount;
return this;
}
/**
* The total amount of funds in the account, calculated from the `current` balance in the `balance` object by subtracting inflows and adding back outflows according to the posted date of each transaction. If the account has any pending transactions, historical balance amounts on or after the date of the earliest pending transaction may differ if retrieved in subsequent Asset Reports as a result of those pending transactions posting.
* @return amount
**/
@ApiModelProperty(required = true, value = "The total amount of funds in the account, calculated from the `current` balance in the `balance` object by subtracting inflows and adding back outflows according to the posted date of each transaction. If the account has any pending transactions, historical balance amounts on or after the date of the earliest pending transaction may differ if retrieved in subsequent Asset Reports as a result of those pending transactions posting.")
public Double getAmount() {
return amount;
}
public void setAmount(Double amount) {
this.amount = amount;
}
public CashflowReportHistoricalBalance isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The ISO-4217 currency code of the balance. Always `null` if `unofficial_currency_code` is non-`null`.
* @return isoCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The ISO-4217 currency code of the balance. Always `null` if `unofficial_currency_code` is non-`null`.")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public CashflowReportHistoricalBalance unofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
return this;
}
/**
* The unofficial currency code associated with the balance. Always `null` if `iso_currency_code` is non-`null`. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `unofficial_currency_code`s.
* @return unofficialCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The unofficial currency code associated with the balance. Always `null` if `iso_currency_code` is non-`null`. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `unofficial_currency_code`s.")
public String getUnofficialCurrencyCode() {
return unofficialCurrencyCode;
}
public void setUnofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CashflowReportHistoricalBalance cashflowReportHistoricalBalance = (CashflowReportHistoricalBalance) o;
return Objects.equals(this.date, cashflowReportHistoricalBalance.date) &&
Objects.equals(this.amount, cashflowReportHistoricalBalance.amount) &&
Objects.equals(this.isoCurrencyCode, cashflowReportHistoricalBalance.isoCurrencyCode) &&
Objects.equals(this.unofficialCurrencyCode, cashflowReportHistoricalBalance.unofficialCurrencyCode);
}
@Override
public int hashCode() {
return Objects.hash(date, amount, isoCurrencyCode, unofficialCurrencyCode);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CashflowReportHistoricalBalance {\n");
sb.append(" date: ").append(toIndentedString(date)).append("\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" unofficialCurrencyCode: ").append(toIndentedString(unofficialCurrencyCode)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/AssetReportFilterResponse.java | src/main/java/com/plaid/client/model/AssetReportFilterResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* AssetReportFilterResponse defines the response schema for `/asset_report/filter`
*/
@ApiModel(description = "AssetReportFilterResponse defines the response schema for `/asset_report/filter`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class AssetReportFilterResponse {
public static final String SERIALIZED_NAME_ASSET_REPORT_TOKEN = "asset_report_token";
@SerializedName(SERIALIZED_NAME_ASSET_REPORT_TOKEN)
private String assetReportToken;
public static final String SERIALIZED_NAME_ASSET_REPORT_ID = "asset_report_id";
@SerializedName(SERIALIZED_NAME_ASSET_REPORT_ID)
private String assetReportId;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public AssetReportFilterResponse assetReportToken(String assetReportToken) {
this.assetReportToken = assetReportToken;
return this;
}
/**
* A token that can be provided to endpoints such as `/asset_report/get` or `/asset_report/pdf/get` to fetch or update an Asset Report.
* @return assetReportToken
**/
@ApiModelProperty(required = true, value = "A token that can be provided to endpoints such as `/asset_report/get` or `/asset_report/pdf/get` to fetch or update an Asset Report.")
public String getAssetReportToken() {
return assetReportToken;
}
public void setAssetReportToken(String assetReportToken) {
this.assetReportToken = assetReportToken;
}
public AssetReportFilterResponse assetReportId(String assetReportId) {
this.assetReportId = assetReportId;
return this;
}
/**
* A unique ID identifying an Asset Report. Like all Plaid identifiers, this ID is case sensitive.
* @return assetReportId
**/
@ApiModelProperty(required = true, value = "A unique ID identifying an Asset Report. Like all Plaid identifiers, this ID is case sensitive.")
public String getAssetReportId() {
return assetReportId;
}
public void setAssetReportId(String assetReportId) {
this.assetReportId = assetReportId;
}
public AssetReportFilterResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AssetReportFilterResponse assetReportFilterResponse = (AssetReportFilterResponse) o;
return Objects.equals(this.assetReportToken, assetReportFilterResponse.assetReportToken) &&
Objects.equals(this.assetReportId, assetReportFilterResponse.assetReportId) &&
Objects.equals(this.requestId, assetReportFilterResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(assetReportToken, assetReportId, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AssetReportFilterResponse {\n");
sb.append(" assetReportToken: ").append(toIndentedString(assetReportToken)).append("\n");
sb.append(" assetReportId: ").append(toIndentedString(assetReportId)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/PaymentAmountCurrency.java | src/main/java/com/plaid/client/model/PaymentAmountCurrency.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* The ISO-4217 currency code of the payment. For standing orders and payment consents, `\"GBP\"` must be used. For Poland, Denmark, Sweden and Norway, only the local currency is currently supported.
*/
@JsonAdapter(PaymentAmountCurrency.Adapter.class)
public enum PaymentAmountCurrency {
GBP("GBP"),
EUR("EUR"),
PLN("PLN"),
SEK("SEK"),
DKK("DKK"),
NOK("NOK"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
PaymentAmountCurrency(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static PaymentAmountCurrency fromValue(String value) {
for (PaymentAmountCurrency b : PaymentAmountCurrency.values()) {
if (b.value.equals(value)) {
return b;
}
}
return PaymentAmountCurrency.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<PaymentAmountCurrency> {
@Override
public void write(final JsonWriter jsonWriter, final PaymentAmountCurrency enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public PaymentAmountCurrency read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return PaymentAmountCurrency.fromValue(value);
}
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CreditFreddieMacVerificationOfAsset.java | src/main/java/com/plaid/client/model/CreditFreddieMacVerificationOfAsset.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.CreditFreddieMacReportingInformation;
import com.plaid.client.model.CreditFreddieMacVerificationOfAssetResponse;
import com.plaid.client.model.ServiceProductFulfillment;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Documentation not found in the MISMO model viewer and not provided by Freddie Mac.
*/
@ApiModel(description = "Documentation not found in the MISMO model viewer and not provided by Freddie Mac.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditFreddieMacVerificationOfAsset {
public static final String SERIALIZED_NAME_R_E_P_O_R_T_I_N_G_I_N_F_O_R_M_A_T_I_O_N = "REPORTING_INFORMATION";
@SerializedName(SERIALIZED_NAME_R_E_P_O_R_T_I_N_G_I_N_F_O_R_M_A_T_I_O_N)
private CreditFreddieMacReportingInformation REPORTING_INFORMATION;
public static final String SERIALIZED_NAME_S_E_R_V_I_C_E_P_R_O_D_U_C_T_F_U_L_F_I_L_L_M_E_N_T = "SERVICE_PRODUCT_FULFILLMENT";
@SerializedName(SERIALIZED_NAME_S_E_R_V_I_C_E_P_R_O_D_U_C_T_F_U_L_F_I_L_L_M_E_N_T)
private ServiceProductFulfillment SERVICE_PRODUCT_FULFILLMENT;
public static final String SERIALIZED_NAME_V_E_R_I_F_I_C_A_T_I_O_N_O_F_A_S_S_E_T_R_E_S_P_O_N_S_E = "VERIFICATION_OF_ASSET_RESPONSE";
@SerializedName(SERIALIZED_NAME_V_E_R_I_F_I_C_A_T_I_O_N_O_F_A_S_S_E_T_R_E_S_P_O_N_S_E)
private CreditFreddieMacVerificationOfAssetResponse VERIFICATION_OF_ASSET_RESPONSE;
public CreditFreddieMacVerificationOfAsset REPORTING_INFORMATION(CreditFreddieMacReportingInformation REPORTING_INFORMATION) {
this.REPORTING_INFORMATION = REPORTING_INFORMATION;
return this;
}
/**
* Get REPORTING_INFORMATION
* @return REPORTING_INFORMATION
**/
@ApiModelProperty(required = true, value = "")
public CreditFreddieMacReportingInformation getREPORTINGINFORMATION() {
return REPORTING_INFORMATION;
}
public void setREPORTINGINFORMATION(CreditFreddieMacReportingInformation REPORTING_INFORMATION) {
this.REPORTING_INFORMATION = REPORTING_INFORMATION;
}
public CreditFreddieMacVerificationOfAsset SERVICE_PRODUCT_FULFILLMENT(ServiceProductFulfillment SERVICE_PRODUCT_FULFILLMENT) {
this.SERVICE_PRODUCT_FULFILLMENT = SERVICE_PRODUCT_FULFILLMENT;
return this;
}
/**
* Get SERVICE_PRODUCT_FULFILLMENT
* @return SERVICE_PRODUCT_FULFILLMENT
**/
@ApiModelProperty(required = true, value = "")
public ServiceProductFulfillment getSERVICEPRODUCTFULFILLMENT() {
return SERVICE_PRODUCT_FULFILLMENT;
}
public void setSERVICEPRODUCTFULFILLMENT(ServiceProductFulfillment SERVICE_PRODUCT_FULFILLMENT) {
this.SERVICE_PRODUCT_FULFILLMENT = SERVICE_PRODUCT_FULFILLMENT;
}
public CreditFreddieMacVerificationOfAsset VERIFICATION_OF_ASSET_RESPONSE(CreditFreddieMacVerificationOfAssetResponse VERIFICATION_OF_ASSET_RESPONSE) {
this.VERIFICATION_OF_ASSET_RESPONSE = VERIFICATION_OF_ASSET_RESPONSE;
return this;
}
/**
* Get VERIFICATION_OF_ASSET_RESPONSE
* @return VERIFICATION_OF_ASSET_RESPONSE
**/
@ApiModelProperty(required = true, value = "")
public CreditFreddieMacVerificationOfAssetResponse getVERIFICATIONOFASSETRESPONSE() {
return VERIFICATION_OF_ASSET_RESPONSE;
}
public void setVERIFICATIONOFASSETRESPONSE(CreditFreddieMacVerificationOfAssetResponse VERIFICATION_OF_ASSET_RESPONSE) {
this.VERIFICATION_OF_ASSET_RESPONSE = VERIFICATION_OF_ASSET_RESPONSE;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreditFreddieMacVerificationOfAsset creditFreddieMacVerificationOfAsset = (CreditFreddieMacVerificationOfAsset) o;
return Objects.equals(this.REPORTING_INFORMATION, creditFreddieMacVerificationOfAsset.REPORTING_INFORMATION) &&
Objects.equals(this.SERVICE_PRODUCT_FULFILLMENT, creditFreddieMacVerificationOfAsset.SERVICE_PRODUCT_FULFILLMENT) &&
Objects.equals(this.VERIFICATION_OF_ASSET_RESPONSE, creditFreddieMacVerificationOfAsset.VERIFICATION_OF_ASSET_RESPONSE);
}
@Override
public int hashCode() {
return Objects.hash(REPORTING_INFORMATION, SERVICE_PRODUCT_FULFILLMENT, VERIFICATION_OF_ASSET_RESPONSE);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditFreddieMacVerificationOfAsset {\n");
sb.append(" REPORTING_INFORMATION: ").append(toIndentedString(REPORTING_INFORMATION)).append("\n");
sb.append(" SERVICE_PRODUCT_FULFILLMENT: ").append(toIndentedString(SERVICE_PRODUCT_FULFILLMENT)).append("\n");
sb.append(" VERIFICATION_OF_ASSET_RESPONSE: ").append(toIndentedString(VERIFICATION_OF_ASSET_RESPONSE)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TotalReportInflowAmount30d.java | src/main/java/com/plaid/client/model/TotalReportInflowAmount30d.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.math.BigDecimal;
/**
* Total amount of debit transactions into the report's accounts in the last 30 days. This field only takes into account USD transactions from the accounts.
*/
@ApiModel(description = "Total amount of debit transactions into the report's accounts in the last 30 days. This field only takes into account USD transactions from the accounts.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TotalReportInflowAmount30d {
public static final String SERIALIZED_NAME_AMOUNT = "amount";
@SerializedName(SERIALIZED_NAME_AMOUNT)
private Double amount;
public static final String SERIALIZED_NAME_ISO_CURRENCY_CODE = "iso_currency_code";
@SerializedName(SERIALIZED_NAME_ISO_CURRENCY_CODE)
private String isoCurrencyCode;
public static final String SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE = "unofficial_currency_code";
@SerializedName(SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE)
private String unofficialCurrencyCode;
public TotalReportInflowAmount30d amount(Double amount) {
this.amount = amount;
return this;
}
/**
* Value of amount with up to 2 decimal places.
* @return amount
**/
@ApiModelProperty(required = true, value = "Value of amount with up to 2 decimal places.")
public Double getAmount() {
return amount;
}
public void setAmount(Double amount) {
this.amount = amount;
}
public TotalReportInflowAmount30d isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The ISO 4217 currency code of the amount or balance.
* @return isoCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The ISO 4217 currency code of the amount or balance.")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public TotalReportInflowAmount30d unofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
return this;
}
/**
* The unofficial currency code associated with the amount or balance. Always `null` if `iso_currency_code` is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.
* @return unofficialCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The unofficial currency code associated with the amount or balance. Always `null` if `iso_currency_code` is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.")
public String getUnofficialCurrencyCode() {
return unofficialCurrencyCode;
}
public void setUnofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TotalReportInflowAmount30d totalReportInflowAmount30d = (TotalReportInflowAmount30d) o;
return Objects.equals(this.amount, totalReportInflowAmount30d.amount) &&
Objects.equals(this.isoCurrencyCode, totalReportInflowAmount30d.isoCurrencyCode) &&
Objects.equals(this.unofficialCurrencyCode, totalReportInflowAmount30d.unofficialCurrencyCode);
}
@Override
public int hashCode() {
return Objects.hash(amount, isoCurrencyCode, unofficialCurrencyCode);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TotalReportInflowAmount30d {\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" unofficialCurrencyCode: ").append(toIndentedString(unofficialCurrencyCode)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CraLoanApplicationDecision.java | src/main/java/com/plaid/client/model/CraLoanApplicationDecision.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* The decision of the loan application.
*/
@JsonAdapter(CraLoanApplicationDecision.Adapter.class)
public enum CraLoanApplicationDecision {
APPROVED("APPROVED"),
DECLINED("DECLINED"),
OTHER("OTHER"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
CraLoanApplicationDecision(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static CraLoanApplicationDecision fromValue(String value) {
for (CraLoanApplicationDecision b : CraLoanApplicationDecision.values()) {
if (b.value.equals(value)) {
return b;
}
}
return CraLoanApplicationDecision.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<CraLoanApplicationDecision> {
@Override
public void write(final JsonWriter jsonWriter, final CraLoanApplicationDecision enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public CraLoanApplicationDecision read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return CraLoanApplicationDecision.fromValue(value);
}
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/VerificationOfAssetResponse.java | src/main/java/com/plaid/client/model/VerificationOfAssetResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.Assets;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Documentation not found in the MISMO model viewer and not provided by Freddie Mac.
*/
@ApiModel(description = "Documentation not found in the MISMO model viewer and not provided by Freddie Mac.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class VerificationOfAssetResponse {
public static final String SERIALIZED_NAME_A_S_S_E_T_S = "ASSETS";
@SerializedName(SERIALIZED_NAME_A_S_S_E_T_S)
private Assets ASSETS;
public VerificationOfAssetResponse ASSETS(Assets ASSETS) {
this.ASSETS = ASSETS;
return this;
}
/**
* Get ASSETS
* @return ASSETS
**/
@ApiModelProperty(required = true, value = "")
public Assets getASSETS() {
return ASSETS;
}
public void setASSETS(Assets ASSETS) {
this.ASSETS = ASSETS;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
VerificationOfAssetResponse verificationOfAssetResponse = (VerificationOfAssetResponse) o;
return Objects.equals(this.ASSETS, verificationOfAssetResponse.ASSETS);
}
@Override
public int hashCode() {
return Objects.hash(ASSETS);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class VerificationOfAssetResponse {\n");
sb.append(" ASSETS: ").append(toIndentedString(ASSETS)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/SelfieAnalysisLivenessCheck.java | src/main/java/com/plaid/client/model/SelfieAnalysisLivenessCheck.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* Assessment of whether the selfie capture is of a real human being, as opposed to a picture of a human on a screen, a picture of a paper cut out, someone wearing a mask, or a deepfake.
*/
@JsonAdapter(SelfieAnalysisLivenessCheck.Adapter.class)
public enum SelfieAnalysisLivenessCheck {
SUCCESS("success"),
FAILED("failed"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
SelfieAnalysisLivenessCheck(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static SelfieAnalysisLivenessCheck fromValue(String value) {
for (SelfieAnalysisLivenessCheck b : SelfieAnalysisLivenessCheck.values()) {
if (b.value.equals(value)) {
return b;
}
}
return SelfieAnalysisLivenessCheck.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<SelfieAnalysisLivenessCheck> {
@Override
public void write(final JsonWriter jsonWriter, final SelfieAnalysisLivenessCheck enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public SelfieAnalysisLivenessCheck read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return SelfieAnalysisLivenessCheck.fromValue(value);
}
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/InstitutionStatusAlertWebhook.java | src/main/java/com/plaid/client/model/InstitutionStatusAlertWebhook.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.WebhookEnvironmentValues;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Fired when institution status meets the conditions configured in the developer dashboard.
*/
@ApiModel(description = "Fired when institution status meets the conditions configured in the developer dashboard.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class InstitutionStatusAlertWebhook {
public static final String SERIALIZED_NAME_WEBHOOK_TYPE = "webhook_type";
@SerializedName(SERIALIZED_NAME_WEBHOOK_TYPE)
private String webhookType;
public static final String SERIALIZED_NAME_WEBHOOK_CODE = "webhook_code";
@SerializedName(SERIALIZED_NAME_WEBHOOK_CODE)
private String webhookCode;
public static final String SERIALIZED_NAME_INSTITUTION_ID = "institution_id";
@SerializedName(SERIALIZED_NAME_INSTITUTION_ID)
private String institutionId;
public static final String SERIALIZED_NAME_INSTITUTION_OVERALL_SUCCESS_RATE = "institution_overall_success_rate";
@SerializedName(SERIALIZED_NAME_INSTITUTION_OVERALL_SUCCESS_RATE)
private Double institutionOverallSuccessRate;
public static final String SERIALIZED_NAME_ENVIRONMENT = "environment";
@SerializedName(SERIALIZED_NAME_ENVIRONMENT)
private WebhookEnvironmentValues environment;
public InstitutionStatusAlertWebhook webhookType(String webhookType) {
this.webhookType = webhookType;
return this;
}
/**
* `DASHBOARD_CONFIGURED_ALERT`
* @return webhookType
**/
@ApiModelProperty(required = true, value = "`DASHBOARD_CONFIGURED_ALERT`")
public String getWebhookType() {
return webhookType;
}
public void setWebhookType(String webhookType) {
this.webhookType = webhookType;
}
public InstitutionStatusAlertWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `INSTITUTION_STATUS_ALERT_TRIGGERED`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`INSTITUTION_STATUS_ALERT_TRIGGERED`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public InstitutionStatusAlertWebhook institutionId(String institutionId) {
this.institutionId = institutionId;
return this;
}
/**
* The ID of the associated institution.
* @return institutionId
**/
@ApiModelProperty(required = true, value = "The ID of the associated institution.")
public String getInstitutionId() {
return institutionId;
}
public void setInstitutionId(String institutionId) {
this.institutionId = institutionId;
}
public InstitutionStatusAlertWebhook institutionOverallSuccessRate(Double institutionOverallSuccessRate) {
this.institutionOverallSuccessRate = institutionOverallSuccessRate;
return this;
}
/**
* The global success rate of the institution, calculated based on item add health.
* @return institutionOverallSuccessRate
**/
@ApiModelProperty(required = true, value = "The global success rate of the institution, calculated based on item add health.")
public Double getInstitutionOverallSuccessRate() {
return institutionOverallSuccessRate;
}
public void setInstitutionOverallSuccessRate(Double institutionOverallSuccessRate) {
this.institutionOverallSuccessRate = institutionOverallSuccessRate;
}
public InstitutionStatusAlertWebhook environment(WebhookEnvironmentValues environment) {
this.environment = environment;
return this;
}
/**
* Get environment
* @return environment
**/
@ApiModelProperty(required = true, value = "")
public WebhookEnvironmentValues getEnvironment() {
return environment;
}
public void setEnvironment(WebhookEnvironmentValues environment) {
this.environment = environment;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
InstitutionStatusAlertWebhook institutionStatusAlertWebhook = (InstitutionStatusAlertWebhook) o;
return Objects.equals(this.webhookType, institutionStatusAlertWebhook.webhookType) &&
Objects.equals(this.webhookCode, institutionStatusAlertWebhook.webhookCode) &&
Objects.equals(this.institutionId, institutionStatusAlertWebhook.institutionId) &&
Objects.equals(this.institutionOverallSuccessRate, institutionStatusAlertWebhook.institutionOverallSuccessRate) &&
Objects.equals(this.environment, institutionStatusAlertWebhook.environment);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, institutionId, institutionOverallSuccessRate, environment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class InstitutionStatusAlertWebhook {\n");
sb.append(" webhookType: ").append(toIndentedString(webhookType)).append("\n");
sb.append(" webhookCode: ").append(toIndentedString(webhookCode)).append("\n");
sb.append(" institutionId: ").append(toIndentedString(institutionId)).append("\n");
sb.append(" institutionOverallSuccessRate: ").append(toIndentedString(institutionOverallSuccessRate)).append("\n");
sb.append(" environment: ").append(toIndentedString(environment)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CreditPayrollIncomeRiskSignalsGetResponse.java | src/main/java/com/plaid/client/model/CreditPayrollIncomeRiskSignalsGetResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.PayrollRiskSignalsItem;
import com.plaid.client.model.PlaidError;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* CreditPayrollIncomeRiskSignalsGetRequest defines the response schema for `/credit/payroll_income/risk_signals/get`
*/
@ApiModel(description = "CreditPayrollIncomeRiskSignalsGetRequest defines the response schema for `/credit/payroll_income/risk_signals/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditPayrollIncomeRiskSignalsGetResponse {
public static final String SERIALIZED_NAME_ITEMS = "items";
@SerializedName(SERIALIZED_NAME_ITEMS)
private List<PayrollRiskSignalsItem> items = new ArrayList<>();
public static final String SERIALIZED_NAME_ERROR = "error";
@SerializedName(SERIALIZED_NAME_ERROR)
private PlaidError error;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public CreditPayrollIncomeRiskSignalsGetResponse items(List<PayrollRiskSignalsItem> items) {
this.items = items;
return this;
}
public CreditPayrollIncomeRiskSignalsGetResponse addItemsItem(PayrollRiskSignalsItem itemsItem) {
this.items.add(itemsItem);
return this;
}
/**
* Array of payroll items.
* @return items
**/
@ApiModelProperty(required = true, value = "Array of payroll items.")
public List<PayrollRiskSignalsItem> getItems() {
return items;
}
public void setItems(List<PayrollRiskSignalsItem> items) {
this.items = items;
}
public CreditPayrollIncomeRiskSignalsGetResponse error(PlaidError error) {
this.error = error;
return this;
}
/**
* Get error
* @return error
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PlaidError getError() {
return error;
}
public void setError(PlaidError error) {
this.error = error;
}
public CreditPayrollIncomeRiskSignalsGetResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreditPayrollIncomeRiskSignalsGetResponse creditPayrollIncomeRiskSignalsGetResponse = (CreditPayrollIncomeRiskSignalsGetResponse) o;
return Objects.equals(this.items, creditPayrollIncomeRiskSignalsGetResponse.items) &&
Objects.equals(this.error, creditPayrollIncomeRiskSignalsGetResponse.error) &&
Objects.equals(this.requestId, creditPayrollIncomeRiskSignalsGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(items, error, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditPayrollIncomeRiskSignalsGetResponse {\n");
sb.append(" items: ").append(toIndentedString(items)).append("\n");
sb.append(" error: ").append(toIndentedString(error)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/MatchSummaryCode.java | src/main/java/com/plaid/client/model/MatchSummaryCode.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* An enum indicating the match type between data provided by user and data checked against an external data source. `match` indicates that the provided input data was a strong match against external data. `partial_match` indicates the data approximately matched against external data. For example, \"Knope\" vs. \"Knope-Wyatt\" for last name. `no_match` indicates that Plaid was able to perform a check against an external data source and it did not match the provided input data. `no_data` indicates that Plaid was unable to find external data to compare against the provided input data. `no_input` indicates that Plaid was unable to perform a check because no information was provided for this field by the end user.
*/
@JsonAdapter(MatchSummaryCode.Adapter.class)
public enum MatchSummaryCode {
MATCH("match"),
PARTIAL_MATCH("partial_match"),
NO_MATCH("no_match"),
NO_DATA("no_data"),
NO_INPUT("no_input"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
MatchSummaryCode(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static MatchSummaryCode fromValue(String value) {
for (MatchSummaryCode b : MatchSummaryCode.values()) {
if (b.value.equals(value)) {
return b;
}
}
return MatchSummaryCode.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<MatchSummaryCode> {
@Override
public void write(final JsonWriter jsonWriter, final MatchSummaryCode enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public MatchSummaryCode read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return MatchSummaryCode.fromValue(value);
}
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BaseReportAverageFlowInsights.java | src/main/java/com/plaid/client/model/BaseReportAverageFlowInsights.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.CreditAmountWithCurrency;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
/**
* Average dollar amount of credit or debit transactions out of the account. This field will only be included for depository accounts.
*/
@ApiModel(description = "Average dollar amount of credit or debit transactions out of the account. This field will only be included for depository accounts.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BaseReportAverageFlowInsights {
public static final String SERIALIZED_NAME_START_DATE = "start_date";
@SerializedName(SERIALIZED_NAME_START_DATE)
private LocalDate startDate;
public static final String SERIALIZED_NAME_END_DATE = "end_date";
@SerializedName(SERIALIZED_NAME_END_DATE)
private LocalDate endDate;
public static final String SERIALIZED_NAME_TOTAL_AMOUNT = "total_amount";
@SerializedName(SERIALIZED_NAME_TOTAL_AMOUNT)
private CreditAmountWithCurrency totalAmount;
public BaseReportAverageFlowInsights startDate(LocalDate startDate) {
this.startDate = startDate;
return this;
}
/**
* The start date of this time period. The date will be returned in an ISO 8601 format (YYYY-MM-DD).
* @return startDate
**/
@ApiModelProperty(required = true, value = "The start date of this time period. The date will be returned in an ISO 8601 format (YYYY-MM-DD).")
public LocalDate getStartDate() {
return startDate;
}
public void setStartDate(LocalDate startDate) {
this.startDate = startDate;
}
public BaseReportAverageFlowInsights endDate(LocalDate endDate) {
this.endDate = endDate;
return this;
}
/**
* The end date of this time period. The date will be returned in an ISO 8601 format (YYYY-MM-DD).
* @return endDate
**/
@ApiModelProperty(required = true, value = "The end date of this time period. The date will be returned in an ISO 8601 format (YYYY-MM-DD).")
public LocalDate getEndDate() {
return endDate;
}
public void setEndDate(LocalDate endDate) {
this.endDate = endDate;
}
public BaseReportAverageFlowInsights totalAmount(CreditAmountWithCurrency totalAmount) {
this.totalAmount = totalAmount;
return this;
}
/**
* Get totalAmount
* @return totalAmount
**/
@ApiModelProperty(required = true, value = "")
public CreditAmountWithCurrency getTotalAmount() {
return totalAmount;
}
public void setTotalAmount(CreditAmountWithCurrency totalAmount) {
this.totalAmount = totalAmount;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BaseReportAverageFlowInsights baseReportAverageFlowInsights = (BaseReportAverageFlowInsights) o;
return Objects.equals(this.startDate, baseReportAverageFlowInsights.startDate) &&
Objects.equals(this.endDate, baseReportAverageFlowInsights.endDate) &&
Objects.equals(this.totalAmount, baseReportAverageFlowInsights.totalAmount);
}
@Override
public int hashCode() {
return Objects.hash(startDate, endDate, totalAmount);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BaseReportAverageFlowInsights {\n");
sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n");
sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n");
sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/MatchSummary.java | src/main/java/com/plaid/client/model/MatchSummary.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.MatchSummaryCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Summary object reflecting the match result of the associated data
*/
@ApiModel(description = "Summary object reflecting the match result of the associated data")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class MatchSummary {
public static final String SERIALIZED_NAME_SUMMARY = "summary";
@SerializedName(SERIALIZED_NAME_SUMMARY)
private MatchSummaryCode summary;
public MatchSummary summary(MatchSummaryCode summary) {
this.summary = summary;
return this;
}
/**
* Get summary
* @return summary
**/
@ApiModelProperty(required = true, value = "")
public MatchSummaryCode getSummary() {
return summary;
}
public void setSummary(MatchSummaryCode summary) {
this.summary = summary;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
MatchSummary matchSummary = (MatchSummary) o;
return Objects.equals(this.summary, matchSummary.summary);
}
@Override
public int hashCode() {
return Objects.hash(summary);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MatchSummary {\n");
sb.append(" summary: ").append(toIndentedString(summary)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/SandboxProcessorTokenCreateResponse.java | src/main/java/com/plaid/client/model/SandboxProcessorTokenCreateResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* SandboxProcessorTokenCreateResponse defines the response schema for `/sandbox/processor_token/create`
*/
@ApiModel(description = "SandboxProcessorTokenCreateResponse defines the response schema for `/sandbox/processor_token/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SandboxProcessorTokenCreateResponse {
public static final String SERIALIZED_NAME_PROCESSOR_TOKEN = "processor_token";
@SerializedName(SERIALIZED_NAME_PROCESSOR_TOKEN)
private String processorToken;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public SandboxProcessorTokenCreateResponse processorToken(String processorToken) {
this.processorToken = processorToken;
return this;
}
/**
* A processor token that can be used to call the `/processor/` endpoints.
* @return processorToken
**/
@ApiModelProperty(required = true, value = "A processor token that can be used to call the `/processor/` endpoints.")
public String getProcessorToken() {
return processorToken;
}
public void setProcessorToken(String processorToken) {
this.processorToken = processorToken;
}
public SandboxProcessorTokenCreateResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SandboxProcessorTokenCreateResponse sandboxProcessorTokenCreateResponse = (SandboxProcessorTokenCreateResponse) o;
return Objects.equals(this.processorToken, sandboxProcessorTokenCreateResponse.processorToken) &&
Objects.equals(this.requestId, sandboxProcessorTokenCreateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(processorToken, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SandboxProcessorTokenCreateResponse {\n");
sb.append(" processorToken: ").append(toIndentedString(processorToken)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BeaconBankAccounts.java | src/main/java/com/plaid/client/model/BeaconBankAccounts.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.BeaconBankAccountInsights;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* A collection of Bank Accounts linked to an Item that is associated with this Beacon User.
*/
@ApiModel(description = "A collection of Bank Accounts linked to an Item that is associated with this Beacon User.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BeaconBankAccounts {
public static final String SERIALIZED_NAME_ITEM_ID = "item_id";
@SerializedName(SERIALIZED_NAME_ITEM_ID)
private String itemId;
public static final String SERIALIZED_NAME_ACCOUNTS = "accounts";
@SerializedName(SERIALIZED_NAME_ACCOUNTS)
private List<BeaconBankAccountInsights> accounts = new ArrayList<>();
public BeaconBankAccounts itemId(String itemId) {
this.itemId = itemId;
return this;
}
/**
* The Plaid Item ID the Bank Accounts belong to.
* @return itemId
**/
@ApiModelProperty(example = "515cd85321d3649aecddc015", required = true, value = "The Plaid Item ID the Bank Accounts belong to.")
public String getItemId() {
return itemId;
}
public void setItemId(String itemId) {
this.itemId = itemId;
}
public BeaconBankAccounts accounts(List<BeaconBankAccountInsights> accounts) {
this.accounts = accounts;
return this;
}
public BeaconBankAccounts addAccountsItem(BeaconBankAccountInsights accountsItem) {
this.accounts.add(accountsItem);
return this;
}
/**
* Get accounts
* @return accounts
**/
@ApiModelProperty(required = true, value = "")
public List<BeaconBankAccountInsights> getAccounts() {
return accounts;
}
public void setAccounts(List<BeaconBankAccountInsights> accounts) {
this.accounts = accounts;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BeaconBankAccounts beaconBankAccounts = (BeaconBankAccounts) o;
return Objects.equals(this.itemId, beaconBankAccounts.itemId) &&
Objects.equals(this.accounts, beaconBankAccounts.accounts);
}
@Override
public int hashCode() {
return Objects.hash(itemId, accounts);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BeaconBankAccounts {\n");
sb.append(" itemId: ").append(toIndentedString(itemId)).append("\n");
sb.append(" accounts: ").append(toIndentedString(accounts)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BeaconReportSyndicationOriginalReport.java | src/main/java/com/plaid/client/model/BeaconReportSyndicationOriginalReport.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.BeaconReportType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
/**
* A subset of information from a Beacon Report that has been syndicated to a matching Beacon User in your program. The `id` field in the response is the ID of the original report that was syndicated. If the original report was created by your organization, the field will be filled with the ID of the report. Otherwise, the field will be `null` indicating that the original report was created by another Beacon customer.
*/
@ApiModel(description = "A subset of information from a Beacon Report that has been syndicated to a matching Beacon User in your program. The `id` field in the response is the ID of the original report that was syndicated. If the original report was created by your organization, the field will be filled with the ID of the report. Otherwise, the field will be `null` indicating that the original report was created by another Beacon customer.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BeaconReportSyndicationOriginalReport {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
public static final String SERIALIZED_NAME_CREATED_AT = "created_at";
@SerializedName(SERIALIZED_NAME_CREATED_AT)
private java.sql.Timestamp createdAt;
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private BeaconReportType type;
public static final String SERIALIZED_NAME_FRAUD_DATE = "fraud_date";
@SerializedName(SERIALIZED_NAME_FRAUD_DATE)
private LocalDate fraudDate;
public static final String SERIALIZED_NAME_EVENT_DATE = "event_date";
@SerializedName(SERIALIZED_NAME_EVENT_DATE)
private LocalDate eventDate;
public BeaconReportSyndicationOriginalReport id(String id) {
this.id = id;
return this;
}
/**
* ID of the associated Beacon Report.
* @return id
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "becrpt_11111111111111", required = true, value = "ID of the associated Beacon Report.")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public BeaconReportSyndicationOriginalReport createdAt(java.sql.Timestamp createdAt) {
this.createdAt = createdAt;
return this;
}
/**
* Get createdAt
* @return createdAt
**/
@ApiModelProperty(required = true, value = "")
public java.sql.Timestamp getCreatedAt() {
return createdAt;
}
public void setCreatedAt(java.sql.Timestamp createdAt) {
this.createdAt = createdAt;
}
public BeaconReportSyndicationOriginalReport type(BeaconReportType type) {
this.type = type;
return this;
}
/**
* Get type
* @return type
**/
@ApiModelProperty(required = true, value = "")
public BeaconReportType getType() {
return type;
}
public void setType(BeaconReportType type) {
this.type = type;
}
public BeaconReportSyndicationOriginalReport fraudDate(LocalDate fraudDate) {
this.fraudDate = fraudDate;
return this;
}
/**
* A date in the format YYYY-MM-DD (RFC 3339 Section 5.6).
* @return fraudDate
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "Tue May 29 00:00:00 UTC 1990", required = true, value = "A date in the format YYYY-MM-DD (RFC 3339 Section 5.6).")
public LocalDate getFraudDate() {
return fraudDate;
}
public void setFraudDate(LocalDate fraudDate) {
this.fraudDate = fraudDate;
}
public BeaconReportSyndicationOriginalReport eventDate(LocalDate eventDate) {
this.eventDate = eventDate;
return this;
}
/**
* A date in the format YYYY-MM-DD (RFC 3339 Section 5.6).
* @return eventDate
**/
@ApiModelProperty(example = "Tue May 29 00:00:00 UTC 1990", required = true, value = "A date in the format YYYY-MM-DD (RFC 3339 Section 5.6).")
public LocalDate getEventDate() {
return eventDate;
}
public void setEventDate(LocalDate eventDate) {
this.eventDate = eventDate;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BeaconReportSyndicationOriginalReport beaconReportSyndicationOriginalReport = (BeaconReportSyndicationOriginalReport) o;
return Objects.equals(this.id, beaconReportSyndicationOriginalReport.id) &&
Objects.equals(this.createdAt, beaconReportSyndicationOriginalReport.createdAt) &&
Objects.equals(this.type, beaconReportSyndicationOriginalReport.type) &&
Objects.equals(this.fraudDate, beaconReportSyndicationOriginalReport.fraudDate) &&
Objects.equals(this.eventDate, beaconReportSyndicationOriginalReport.eventDate);
}
@Override
public int hashCode() {
return Objects.hash(id, createdAt, type, fraudDate, eventDate);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BeaconReportSyndicationOriginalReport {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" fraudDate: ").append(toIndentedString(fraudDate)).append("\n");
sb.append(" eventDate: ").append(toIndentedString(eventDate)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.