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/main/java/com/plaid/client/model/ProcessorTransactionsGetRequestOptions.java | src/main/java/com/plaid/client/model/ProcessorTransactionsGetRequestOptions.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 be used with the request. If specified, `options` must not be `null`.
*/
@ApiModel(description = "An optional object to be used with the request. If specified, `options` must not be `null`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ProcessorTransactionsGetRequestOptions {
public static final String SERIALIZED_NAME_COUNT = "count";
@SerializedName(SERIALIZED_NAME_COUNT)
private Integer count = 100;
public static final String SERIALIZED_NAME_OFFSET = "offset";
@SerializedName(SERIALIZED_NAME_OFFSET)
private Integer offset = 0;
public static final String SERIALIZED_NAME_INCLUDE_ORIGINAL_DESCRIPTION = "include_original_description";
@SerializedName(SERIALIZED_NAME_INCLUDE_ORIGINAL_DESCRIPTION)
private Boolean includeOriginalDescription = false;
public static final String SERIALIZED_NAME_INCLUDE_PERSONAL_FINANCE_CATEGORY_BETA = "include_personal_finance_category_beta";
@SerializedName(SERIALIZED_NAME_INCLUDE_PERSONAL_FINANCE_CATEGORY_BETA)
private Boolean includePersonalFinanceCategoryBeta = false;
public static final String SERIALIZED_NAME_INCLUDE_PERSONAL_FINANCE_CATEGORY = "include_personal_finance_category";
@SerializedName(SERIALIZED_NAME_INCLUDE_PERSONAL_FINANCE_CATEGORY)
private Boolean includePersonalFinanceCategory = false;
public static final String SERIALIZED_NAME_INCLUDE_LOGO_AND_COUNTERPARTY_BETA = "include_logo_and_counterparty_beta";
@SerializedName(SERIALIZED_NAME_INCLUDE_LOGO_AND_COUNTERPARTY_BETA)
private Boolean includeLogoAndCounterpartyBeta = false;
public ProcessorTransactionsGetRequestOptions count(Integer count) {
this.count = count;
return this;
}
/**
* The number of transactions to fetch.
* minimum: 1
* maximum: 500
* @return count
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of transactions to fetch.")
public Integer getCount() {
return count;
}
public void setCount(Integer count) {
this.count = count;
}
public ProcessorTransactionsGetRequestOptions offset(Integer offset) {
this.offset = offset;
return this;
}
/**
* The number of transactions to skip. The default value is 0.
* minimum: 0
* @return offset
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of transactions to skip. The default value is 0.")
public Integer getOffset() {
return offset;
}
public void setOffset(Integer offset) {
this.offset = offset;
}
public ProcessorTransactionsGetRequestOptions includeOriginalDescription(Boolean includeOriginalDescription) {
this.includeOriginalDescription = includeOriginalDescription;
return this;
}
/**
* Include the raw unparsed transaction description from the financial institution.
* @return includeOriginalDescription
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Include the raw unparsed transaction description from the financial institution.")
public Boolean getIncludeOriginalDescription() {
return includeOriginalDescription;
}
public void setIncludeOriginalDescription(Boolean includeOriginalDescription) {
this.includeOriginalDescription = includeOriginalDescription;
}
public ProcessorTransactionsGetRequestOptions includePersonalFinanceCategoryBeta(Boolean includePersonalFinanceCategoryBeta) {
this.includePersonalFinanceCategoryBeta = includePersonalFinanceCategoryBeta;
return this;
}
/**
* Personal finance categories are now returned by default.
* @return includePersonalFinanceCategoryBeta
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Personal finance categories are now returned by default.")
public Boolean getIncludePersonalFinanceCategoryBeta() {
return includePersonalFinanceCategoryBeta;
}
public void setIncludePersonalFinanceCategoryBeta(Boolean includePersonalFinanceCategoryBeta) {
this.includePersonalFinanceCategoryBeta = includePersonalFinanceCategoryBeta;
}
public ProcessorTransactionsGetRequestOptions includePersonalFinanceCategory(Boolean includePersonalFinanceCategory) {
this.includePersonalFinanceCategory = includePersonalFinanceCategory;
return this;
}
/**
* Personal finance categories are now returned by default.
* @return includePersonalFinanceCategory
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Personal finance categories are now returned by default.")
public Boolean getIncludePersonalFinanceCategory() {
return includePersonalFinanceCategory;
}
public void setIncludePersonalFinanceCategory(Boolean includePersonalFinanceCategory) {
this.includePersonalFinanceCategory = includePersonalFinanceCategory;
}
public ProcessorTransactionsGetRequestOptions includeLogoAndCounterpartyBeta(Boolean includeLogoAndCounterpartyBeta) {
this.includeLogoAndCounterpartyBeta = includeLogoAndCounterpartyBeta;
return this;
}
/**
* Counterparties and extra merchant fields are now returned by default.
* @return includeLogoAndCounterpartyBeta
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Counterparties and extra merchant fields are now returned by default.")
public Boolean getIncludeLogoAndCounterpartyBeta() {
return includeLogoAndCounterpartyBeta;
}
public void setIncludeLogoAndCounterpartyBeta(Boolean includeLogoAndCounterpartyBeta) {
this.includeLogoAndCounterpartyBeta = includeLogoAndCounterpartyBeta;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ProcessorTransactionsGetRequestOptions processorTransactionsGetRequestOptions = (ProcessorTransactionsGetRequestOptions) o;
return Objects.equals(this.count, processorTransactionsGetRequestOptions.count) &&
Objects.equals(this.offset, processorTransactionsGetRequestOptions.offset) &&
Objects.equals(this.includeOriginalDescription, processorTransactionsGetRequestOptions.includeOriginalDescription) &&
Objects.equals(this.includePersonalFinanceCategoryBeta, processorTransactionsGetRequestOptions.includePersonalFinanceCategoryBeta) &&
Objects.equals(this.includePersonalFinanceCategory, processorTransactionsGetRequestOptions.includePersonalFinanceCategory) &&
Objects.equals(this.includeLogoAndCounterpartyBeta, processorTransactionsGetRequestOptions.includeLogoAndCounterpartyBeta);
}
@Override
public int hashCode() {
return Objects.hash(count, offset, includeOriginalDescription, includePersonalFinanceCategoryBeta, includePersonalFinanceCategory, includeLogoAndCounterpartyBeta);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProcessorTransactionsGetRequestOptions {\n");
sb.append(" count: ").append(toIndentedString(count)).append("\n");
sb.append(" offset: ").append(toIndentedString(offset)).append("\n");
sb.append(" includeOriginalDescription: ").append(toIndentedString(includeOriginalDescription)).append("\n");
sb.append(" includePersonalFinanceCategoryBeta: ").append(toIndentedString(includePersonalFinanceCategoryBeta)).append("\n");
sb.append(" includePersonalFinanceCategory: ").append(toIndentedString(includePersonalFinanceCategory)).append("\n");
sb.append(" includeLogoAndCounterpartyBeta: ").append(toIndentedString(includeLogoAndCounterpartyBeta)).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/ProcessorAuthGetRequest.java | src/main/java/com/plaid/client/model/ProcessorAuthGetRequest.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;
/**
* ProcessorAuthGetRequest defines the request schema for `/processor/auth/get`
*/
@ApiModel(description = "ProcessorAuthGetRequest defines the request schema for `/processor/auth/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ProcessorAuthGetRequest {
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_PROCESSOR_TOKEN = "processor_token";
@SerializedName(SERIALIZED_NAME_PROCESSOR_TOKEN)
private String processorToken;
public ProcessorAuthGetRequest 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 ProcessorAuthGetRequest 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 ProcessorAuthGetRequest processorToken(String processorToken) {
this.processorToken = processorToken;
return this;
}
/**
* The processor token obtained from the Plaid integration partner. Processor tokens are in the format: `processor-<environment>-<identifier>`
* @return processorToken
**/
@ApiModelProperty(required = true, value = "The processor token obtained from the Plaid integration partner. Processor tokens are in the format: `processor-<environment>-<identifier>`")
public String getProcessorToken() {
return processorToken;
}
public void setProcessorToken(String processorToken) {
this.processorToken = processorToken;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ProcessorAuthGetRequest processorAuthGetRequest = (ProcessorAuthGetRequest) o;
return Objects.equals(this.clientId, processorAuthGetRequest.clientId) &&
Objects.equals(this.secret, processorAuthGetRequest.secret) &&
Objects.equals(this.processorToken, processorAuthGetRequest.processorToken);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, processorToken);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProcessorAuthGetRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" processorToken: ").append(toIndentedString(processorToken)).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/LinkSessionResults.java | src/main/java/com/plaid/client/model/LinkSessionResults.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.CreditSessionDocumentIncomeResult;
import com.plaid.client.model.LinkSessionBankIncomeResult;
import com.plaid.client.model.LinkSessionCraDocumentUploadResult;
import com.plaid.client.model.LinkSessionCraItemAddResult;
import com.plaid.client.model.LinkSessionCraUpdateResult;
import com.plaid.client.model.LinkSessionItemAddResult;
import com.plaid.client.model.LinkSessionPayrollIncomeResult;
import com.plaid.client.model.LinkSessionProtectResult;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* The set of results for a Link session.
*/
@ApiModel(description = "The set of results for a Link session.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkSessionResults {
public static final String SERIALIZED_NAME_ITEM_ADD_RESULTS = "item_add_results";
@SerializedName(SERIALIZED_NAME_ITEM_ADD_RESULTS)
private List<LinkSessionItemAddResult> itemAddResults = new ArrayList<>();
public static final String SERIALIZED_NAME_CRA_ITEM_ADD_RESULTS = "cra_item_add_results";
@SerializedName(SERIALIZED_NAME_CRA_ITEM_ADD_RESULTS)
private List<LinkSessionCraItemAddResult> craItemAddResults = new ArrayList<>();
public static final String SERIALIZED_NAME_CRA_UPDATE_RESULTS = "cra_update_results";
@SerializedName(SERIALIZED_NAME_CRA_UPDATE_RESULTS)
private List<LinkSessionCraUpdateResult> craUpdateResults = new ArrayList<>();
public static final String SERIALIZED_NAME_BANK_INCOME_RESULTS = "bank_income_results";
@SerializedName(SERIALIZED_NAME_BANK_INCOME_RESULTS)
private List<LinkSessionBankIncomeResult> bankIncomeResults = new ArrayList<>();
public static final String SERIALIZED_NAME_PAYROLL_INCOME_RESULTS = "payroll_income_results";
@SerializedName(SERIALIZED_NAME_PAYROLL_INCOME_RESULTS)
private List<LinkSessionPayrollIncomeResult> payrollIncomeResults = new ArrayList<>();
public static final String SERIALIZED_NAME_DOCUMENT_INCOME_RESULTS = "document_income_results";
@SerializedName(SERIALIZED_NAME_DOCUMENT_INCOME_RESULTS)
private CreditSessionDocumentIncomeResult documentIncomeResults;
public static final String SERIALIZED_NAME_CRA_DOCUMENT_UPLOAD_RESULTS = "cra_document_upload_results";
@SerializedName(SERIALIZED_NAME_CRA_DOCUMENT_UPLOAD_RESULTS)
private LinkSessionCraDocumentUploadResult craDocumentUploadResults;
public static final String SERIALIZED_NAME_PROTECT_RESULTS = "protect_results";
@SerializedName(SERIALIZED_NAME_PROTECT_RESULTS)
private LinkSessionProtectResult protectResults;
public LinkSessionResults itemAddResults(List<LinkSessionItemAddResult> itemAddResults) {
this.itemAddResults = itemAddResults;
return this;
}
public LinkSessionResults addItemAddResultsItem(LinkSessionItemAddResult itemAddResultsItem) {
this.itemAddResults.add(itemAddResultsItem);
return this;
}
/**
* The set of Item adds for the Link session. If you are not receiving this field and are instead receiving the deprecated `on_success` field, contact your Account Manager to update your integration.
* @return itemAddResults
**/
@ApiModelProperty(required = true, value = "The set of Item adds for the Link session. If you are not receiving this field and are instead receiving the deprecated `on_success` field, contact your Account Manager to update your integration.")
public List<LinkSessionItemAddResult> getItemAddResults() {
return itemAddResults;
}
public void setItemAddResults(List<LinkSessionItemAddResult> itemAddResults) {
this.itemAddResults = itemAddResults;
}
public LinkSessionResults craItemAddResults(List<LinkSessionCraItemAddResult> craItemAddResults) {
this.craItemAddResults = craItemAddResults;
return this;
}
public LinkSessionResults addCraItemAddResultsItem(LinkSessionCraItemAddResult craItemAddResultsItem) {
this.craItemAddResults.add(craItemAddResultsItem);
return this;
}
/**
* The set of Plaid Check Item adds for the Link session.
* @return craItemAddResults
**/
@ApiModelProperty(required = true, value = "The set of Plaid Check Item adds for the Link session.")
public List<LinkSessionCraItemAddResult> getCraItemAddResults() {
return craItemAddResults;
}
public void setCraItemAddResults(List<LinkSessionCraItemAddResult> craItemAddResults) {
this.craItemAddResults = craItemAddResults;
}
public LinkSessionResults craUpdateResults(List<LinkSessionCraUpdateResult> craUpdateResults) {
this.craUpdateResults = craUpdateResults;
return this;
}
public LinkSessionResults addCraUpdateResultsItem(LinkSessionCraUpdateResult craUpdateResultsItem) {
this.craUpdateResults.add(craUpdateResultsItem);
return this;
}
/**
* The set of Plaid Check Item updates for the Link session.
* @return craUpdateResults
**/
@ApiModelProperty(required = true, value = "The set of Plaid Check Item updates for the Link session.")
public List<LinkSessionCraUpdateResult> getCraUpdateResults() {
return craUpdateResults;
}
public void setCraUpdateResults(List<LinkSessionCraUpdateResult> craUpdateResults) {
this.craUpdateResults = craUpdateResults;
}
public LinkSessionResults bankIncomeResults(List<LinkSessionBankIncomeResult> bankIncomeResults) {
this.bankIncomeResults = bankIncomeResults;
return this;
}
public LinkSessionResults addBankIncomeResultsItem(LinkSessionBankIncomeResult bankIncomeResultsItem) {
this.bankIncomeResults.add(bankIncomeResultsItem);
return this;
}
/**
* The set of bank income verifications for the Link session.
* @return bankIncomeResults
**/
@ApiModelProperty(required = true, value = "The set of bank income verifications for the Link session.")
public List<LinkSessionBankIncomeResult> getBankIncomeResults() {
return bankIncomeResults;
}
public void setBankIncomeResults(List<LinkSessionBankIncomeResult> bankIncomeResults) {
this.bankIncomeResults = bankIncomeResults;
}
public LinkSessionResults payrollIncomeResults(List<LinkSessionPayrollIncomeResult> payrollIncomeResults) {
this.payrollIncomeResults = payrollIncomeResults;
return this;
}
public LinkSessionResults addPayrollIncomeResultsItem(LinkSessionPayrollIncomeResult payrollIncomeResultsItem) {
this.payrollIncomeResults.add(payrollIncomeResultsItem);
return this;
}
/**
* The set of payroll income verifications for the Link session.
* @return payrollIncomeResults
**/
@ApiModelProperty(required = true, value = "The set of payroll income verifications for the Link session.")
public List<LinkSessionPayrollIncomeResult> getPayrollIncomeResults() {
return payrollIncomeResults;
}
public void setPayrollIncomeResults(List<LinkSessionPayrollIncomeResult> payrollIncomeResults) {
this.payrollIncomeResults = payrollIncomeResults;
}
public LinkSessionResults documentIncomeResults(CreditSessionDocumentIncomeResult documentIncomeResults) {
this.documentIncomeResults = documentIncomeResults;
return this;
}
/**
* Get documentIncomeResults
* @return documentIncomeResults
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public CreditSessionDocumentIncomeResult getDocumentIncomeResults() {
return documentIncomeResults;
}
public void setDocumentIncomeResults(CreditSessionDocumentIncomeResult documentIncomeResults) {
this.documentIncomeResults = documentIncomeResults;
}
public LinkSessionResults craDocumentUploadResults(LinkSessionCraDocumentUploadResult craDocumentUploadResults) {
this.craDocumentUploadResults = craDocumentUploadResults;
return this;
}
/**
* Get craDocumentUploadResults
* @return craDocumentUploadResults
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public LinkSessionCraDocumentUploadResult getCraDocumentUploadResults() {
return craDocumentUploadResults;
}
public void setCraDocumentUploadResults(LinkSessionCraDocumentUploadResult craDocumentUploadResults) {
this.craDocumentUploadResults = craDocumentUploadResults;
}
public LinkSessionResults protectResults(LinkSessionProtectResult protectResults) {
this.protectResults = protectResults;
return this;
}
/**
* Get protectResults
* @return protectResults
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public LinkSessionProtectResult getProtectResults() {
return protectResults;
}
public void setProtectResults(LinkSessionProtectResult protectResults) {
this.protectResults = protectResults;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkSessionResults linkSessionResults = (LinkSessionResults) o;
return Objects.equals(this.itemAddResults, linkSessionResults.itemAddResults) &&
Objects.equals(this.craItemAddResults, linkSessionResults.craItemAddResults) &&
Objects.equals(this.craUpdateResults, linkSessionResults.craUpdateResults) &&
Objects.equals(this.bankIncomeResults, linkSessionResults.bankIncomeResults) &&
Objects.equals(this.payrollIncomeResults, linkSessionResults.payrollIncomeResults) &&
Objects.equals(this.documentIncomeResults, linkSessionResults.documentIncomeResults) &&
Objects.equals(this.craDocumentUploadResults, linkSessionResults.craDocumentUploadResults) &&
Objects.equals(this.protectResults, linkSessionResults.protectResults);
}
@Override
public int hashCode() {
return Objects.hash(itemAddResults, craItemAddResults, craUpdateResults, bankIncomeResults, payrollIncomeResults, documentIncomeResults, craDocumentUploadResults, protectResults);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkSessionResults {\n");
sb.append(" itemAddResults: ").append(toIndentedString(itemAddResults)).append("\n");
sb.append(" craItemAddResults: ").append(toIndentedString(craItemAddResults)).append("\n");
sb.append(" craUpdateResults: ").append(toIndentedString(craUpdateResults)).append("\n");
sb.append(" bankIncomeResults: ").append(toIndentedString(bankIncomeResults)).append("\n");
sb.append(" payrollIncomeResults: ").append(toIndentedString(payrollIncomeResults)).append("\n");
sb.append(" documentIncomeResults: ").append(toIndentedString(documentIncomeResults)).append("\n");
sb.append(" craDocumentUploadResults: ").append(toIndentedString(craDocumentUploadResults)).append("\n");
sb.append(" protectResults: ").append(toIndentedString(protectResults)).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/Earnings.java | src/main/java/com/plaid/client/model/Earnings.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.EarningsBreakdown;
import com.plaid.client.model.EarningsTotal;
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 paystub and the total earnings.
*/
@ApiModel(description = "An object representing both a breakdown of earnings on a paystub and the total earnings.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class Earnings {
public static final String SERIALIZED_NAME_SUBTOTALS = "subtotals";
@SerializedName(SERIALIZED_NAME_SUBTOTALS)
private List<EarningsTotal> subtotals = null;
public static final String SERIALIZED_NAME_TOTALS = "totals";
@SerializedName(SERIALIZED_NAME_TOTALS)
private List<EarningsTotal> totals = null;
public static final String SERIALIZED_NAME_BREAKDOWN = "breakdown";
@SerializedName(SERIALIZED_NAME_BREAKDOWN)
private List<EarningsBreakdown> breakdown = null;
public static final String SERIALIZED_NAME_TOTAL = "total";
@SerializedName(SERIALIZED_NAME_TOTAL)
private EarningsTotal total;
public Earnings subtotals(List<EarningsTotal> subtotals) {
this.subtotals = subtotals;
return this;
}
public Earnings addSubtotalsItem(EarningsTotal subtotalsItem) {
if (this.subtotals == null) {
this.subtotals = new ArrayList<>();
}
this.subtotals.add(subtotalsItem);
return this;
}
/**
* Get subtotals
* @return subtotals
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<EarningsTotal> getSubtotals() {
return subtotals;
}
public void setSubtotals(List<EarningsTotal> subtotals) {
this.subtotals = subtotals;
}
public Earnings totals(List<EarningsTotal> totals) {
this.totals = totals;
return this;
}
public Earnings addTotalsItem(EarningsTotal totalsItem) {
if (this.totals == null) {
this.totals = new ArrayList<>();
}
this.totals.add(totalsItem);
return this;
}
/**
* Get totals
* @return totals
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<EarningsTotal> getTotals() {
return totals;
}
public void setTotals(List<EarningsTotal> totals) {
this.totals = totals;
}
public Earnings breakdown(List<EarningsBreakdown> breakdown) {
this.breakdown = breakdown;
return this;
}
public Earnings addBreakdownItem(EarningsBreakdown breakdownItem) {
if (this.breakdown == null) {
this.breakdown = new ArrayList<>();
}
this.breakdown.add(breakdownItem);
return this;
}
/**
* Get breakdown
* @return breakdown
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<EarningsBreakdown> getBreakdown() {
return breakdown;
}
public void setBreakdown(List<EarningsBreakdown> breakdown) {
this.breakdown = breakdown;
}
public Earnings total(EarningsTotal total) {
this.total = total;
return this;
}
/**
* Get total
* @return total
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public EarningsTotal getTotal() {
return total;
}
public void setTotal(EarningsTotal total) {
this.total = total;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Earnings earnings = (Earnings) o;
return Objects.equals(this.subtotals, earnings.subtotals) &&
Objects.equals(this.totals, earnings.totals) &&
Objects.equals(this.breakdown, earnings.breakdown) &&
Objects.equals(this.total, earnings.total);
}
@Override
public int hashCode() {
return Objects.hash(subtotals, totals, breakdown, total);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Earnings {\n");
sb.append(" subtotals: ").append(toIndentedString(subtotals)).append("\n");
sb.append(" totals: ").append(toIndentedString(totals)).append("\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/CreditRelayRemoveResponse.java | src/main/java/com/plaid/client/model/CreditRelayRemoveResponse.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;
/**
* CreditRelayRemoveResponse defines the response schema for `/credit/relay/remove`
*/
@ApiModel(description = "CreditRelayRemoveResponse defines the response schema for `/credit/relay/remove`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditRelayRemoveResponse {
public static final String SERIALIZED_NAME_REMOVED = "removed";
@SerializedName(SERIALIZED_NAME_REMOVED)
private Boolean removed;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public CreditRelayRemoveResponse removed(Boolean removed) {
this.removed = removed;
return this;
}
/**
* `true` if the relay token was successfully removed.
* @return removed
**/
@ApiModelProperty(required = true, value = "`true` if the relay token was successfully removed.")
public Boolean getRemoved() {
return removed;
}
public void setRemoved(Boolean removed) {
this.removed = removed;
}
public CreditRelayRemoveResponse 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;
}
CreditRelayRemoveResponse creditRelayRemoveResponse = (CreditRelayRemoveResponse) o;
return Objects.equals(this.removed, creditRelayRemoveResponse.removed) &&
Objects.equals(this.requestId, creditRelayRemoveResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(removed, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditRelayRemoveResponse {\n");
sb.append(" removed: ").append(toIndentedString(removed)).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/WalletTransactionRelation.java | src/main/java/com/plaid/client/model/WalletTransactionRelation.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;
/**
* Transactions are related when they have a logical connection. For example, a `PAYOUT` transaction can be returned by the sender, creating a `RETURN` transaction. Each `PAYOUT` transaction can have at most one corresponding `RETURN` transaction in case of reversal. These relationships are bi-directional, meaning that both entities have references to each other. For instance, when a transaction of type RETURN occurs, it is linked to the original transaction being returned. Likewise, the original transaction has a reference back to the RETURN transaction that represents the return. This field is only populated for transactions of type `RETURN`, `FUNDS_SWEEP`, `REFUND` and `PAYOUT`. The relationship between a `PIS_PAY_IN` payment and its corresponding `REFUND` transactions is only available through `refund_ids` property in the payment object. See[`/payment_initiation/payment/get`](https://plaid.com/docs/api/products/payment-initiation/#payment_initiation-payment-get-response-refund-ids).
*/
@ApiModel(description = "Transactions are related when they have a logical connection. For example, a `PAYOUT` transaction can be returned by the sender, creating a `RETURN` transaction. Each `PAYOUT` transaction can have at most one corresponding `RETURN` transaction in case of reversal. These relationships are bi-directional, meaning that both entities have references to each other. For instance, when a transaction of type RETURN occurs, it is linked to the original transaction being returned. Likewise, the original transaction has a reference back to the RETURN transaction that represents the return. This field is only populated for transactions of type `RETURN`, `FUNDS_SWEEP`, `REFUND` and `PAYOUT`. The relationship between a `PIS_PAY_IN` payment and its corresponding `REFUND` transactions is only available through `refund_ids` property in the payment object. See[`/payment_initiation/payment/get`](https://plaid.com/docs/api/products/payment-initiation/#payment_initiation-payment-get-response-refund-ids).")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class WalletTransactionRelation {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
/**
* The type of the transaction.
*/
@JsonAdapter(TypeEnum.Adapter.class)
public enum TypeEnum {
PAYOUT("PAYOUT"),
RETURN("RETURN"),
REFUND("REFUND"),
FUNDS_SWEEP("FUNDS_SWEEP");
private String value;
TypeEnum(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static TypeEnum fromValue(String value) {
for (TypeEnum b : TypeEnum.values()) {
if (b.value.equals(value)) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
}
public static class Adapter extends TypeAdapter<TypeEnum> {
@Override
public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public TypeEnum read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return TypeEnum.fromValue(value);
}
}
}
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private TypeEnum type;
public WalletTransactionRelation id(String id) {
this.id = id;
return this;
}
/**
* The ID of the related transaction.
* @return id
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The ID of the related transaction.")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public WalletTransactionRelation type(TypeEnum type) {
this.type = type;
return this;
}
/**
* The type of the transaction.
* @return type
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The type of the transaction.")
public TypeEnum getType() {
return type;
}
public void setType(TypeEnum type) {
this.type = type;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
WalletTransactionRelation walletTransactionRelation = (WalletTransactionRelation) o;
return Objects.equals(this.id, walletTransactionRelation.id) &&
Objects.equals(this.type, walletTransactionRelation.type);
}
@Override
public int hashCode() {
return Objects.hash(id, type);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class WalletTransactionRelation {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).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/UserAccountSessionGetRequest.java | src/main/java/com/plaid/client/model/UserAccountSessionGetRequest.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;
/**
* UserAccountSessionGetRequest defines the request schema for `/user_account/session/get`
*/
@ApiModel(description = "UserAccountSessionGetRequest defines the request schema for `/user_account/session/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class UserAccountSessionGetRequest {
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_PUBLIC_TOKEN = "public_token";
@SerializedName(SERIALIZED_NAME_PUBLIC_TOKEN)
private String publicToken;
public UserAccountSessionGetRequest 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 UserAccountSessionGetRequest 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 UserAccountSessionGetRequest publicToken(String publicToken) {
this.publicToken = publicToken;
return this;
}
/**
* The public token generated by the end user Layer session.
* @return publicToken
**/
@ApiModelProperty(required = true, value = "The public token generated by the end user Layer session.")
public String getPublicToken() {
return publicToken;
}
public void setPublicToken(String publicToken) {
this.publicToken = publicToken;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
UserAccountSessionGetRequest userAccountSessionGetRequest = (UserAccountSessionGetRequest) o;
return Objects.equals(this.clientId, userAccountSessionGetRequest.clientId) &&
Objects.equals(this.secret, userAccountSessionGetRequest.secret) &&
Objects.equals(this.publicToken, userAccountSessionGetRequest.publicToken);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, publicToken);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UserAccountSessionGetRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" publicToken: ").append(toIndentedString(publicToken)).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/AssetTransactionDescription.java | src/main/java/com/plaid/client/model/AssetTransactionDescription.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;
/**
* 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 AssetTransactionDescription {
public static final String SERIALIZED_NAME_ASSET_TRANSACTION_DESCRIPTION = "AssetTransactionDescription";
@SerializedName(SERIALIZED_NAME_ASSET_TRANSACTION_DESCRIPTION)
private String assetTransactionDescription;
public AssetTransactionDescription assetTransactionDescription(String assetTransactionDescription) {
this.assetTransactionDescription = assetTransactionDescription;
return this;
}
/**
* Asset Transaction Description String up to 3 occurances 1 required.
* @return assetTransactionDescription
**/
@ApiModelProperty(required = true, value = "Asset Transaction Description String up to 3 occurances 1 required.")
public String getAssetTransactionDescription() {
return assetTransactionDescription;
}
public void setAssetTransactionDescription(String assetTransactionDescription) {
this.assetTransactionDescription = assetTransactionDescription;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AssetTransactionDescription assetTransactionDescription = (AssetTransactionDescription) o;
return Objects.equals(this.assetTransactionDescription, assetTransactionDescription.assetTransactionDescription);
}
@Override
public int hashCode() {
return Objects.hash(assetTransactionDescription);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AssetTransactionDescription {\n");
sb.append(" assetTransactionDescription: ").append(toIndentedString(assetTransactionDescription)).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/AccountVerificationInsightsPreviousReturns.java | src/main/java/com/plaid/client/model/AccountVerificationInsightsPreviousReturns.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;
/**
* Information about known ACH returns for the account and routing number.
*/
@ApiModel(description = "Information about known ACH returns for the account and routing number.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class AccountVerificationInsightsPreviousReturns {
public static final String SERIALIZED_NAME_HAS_PREVIOUS_ADMINISTRATIVE_RETURN = "has_previous_administrative_return";
@SerializedName(SERIALIZED_NAME_HAS_PREVIOUS_ADMINISTRATIVE_RETURN)
private Boolean hasPreviousAdministrativeReturn;
public AccountVerificationInsightsPreviousReturns hasPreviousAdministrativeReturn(Boolean hasPreviousAdministrativeReturn) {
this.hasPreviousAdministrativeReturn = hasPreviousAdministrativeReturn;
return this;
}
/**
* Indicates whether Plaid's data sources include a known administrative ACH return for account and routing number.
* @return hasPreviousAdministrativeReturn
**/
@ApiModelProperty(required = true, value = "Indicates whether Plaid's data sources include a known administrative ACH return for account and routing number.")
public Boolean getHasPreviousAdministrativeReturn() {
return hasPreviousAdministrativeReturn;
}
public void setHasPreviousAdministrativeReturn(Boolean hasPreviousAdministrativeReturn) {
this.hasPreviousAdministrativeReturn = hasPreviousAdministrativeReturn;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AccountVerificationInsightsPreviousReturns accountVerificationInsightsPreviousReturns = (AccountVerificationInsightsPreviousReturns) o;
return Objects.equals(this.hasPreviousAdministrativeReturn, accountVerificationInsightsPreviousReturns.hasPreviousAdministrativeReturn);
}
@Override
public int hashCode() {
return Objects.hash(hasPreviousAdministrativeReturn);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AccountVerificationInsightsPreviousReturns {\n");
sb.append(" hasPreviousAdministrativeReturn: ").append(toIndentedString(hasPreviousAdministrativeReturn)).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/Credit1099.java | src/main/java/com/plaid/client/model/Credit1099.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.Credit1099Filer;
import com.plaid.client.model.Credit1099Payer;
import com.plaid.client.model.Credit1099Recipient;
import com.plaid.client.model.CreditDocumentMetadata;
import com.plaid.client.model.Form1099Type;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* An object representing an end user's 1099 tax form
*/
@ApiModel(description = "An object representing an end user's 1099 tax form")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class Credit1099 {
public static final String SERIALIZED_NAME_DOCUMENT_ID = "document_id";
@SerializedName(SERIALIZED_NAME_DOCUMENT_ID)
private String documentId;
public static final String SERIALIZED_NAME_DOCUMENT_METADATA = "document_metadata";
@SerializedName(SERIALIZED_NAME_DOCUMENT_METADATA)
private CreditDocumentMetadata documentMetadata;
public static final String SERIALIZED_NAME_FORM1099_TYPE = "form_1099_type";
@SerializedName(SERIALIZED_NAME_FORM1099_TYPE)
private Form1099Type form1099Type;
public static final String SERIALIZED_NAME_RECIPIENT = "recipient";
@SerializedName(SERIALIZED_NAME_RECIPIENT)
private Credit1099Recipient recipient;
public static final String SERIALIZED_NAME_PAYER = "payer";
@SerializedName(SERIALIZED_NAME_PAYER)
private Credit1099Payer payer;
public static final String SERIALIZED_NAME_FILER = "filer";
@SerializedName(SERIALIZED_NAME_FILER)
private Credit1099Filer filer;
public static final String SERIALIZED_NAME_TAX_YEAR = "tax_year";
@SerializedName(SERIALIZED_NAME_TAX_YEAR)
private String taxYear;
public static final String SERIALIZED_NAME_RENTS = "rents";
@SerializedName(SERIALIZED_NAME_RENTS)
private Double rents;
public static final String SERIALIZED_NAME_ROYALTIES = "royalties";
@SerializedName(SERIALIZED_NAME_ROYALTIES)
private Double royalties;
public static final String SERIALIZED_NAME_OTHER_INCOME = "other_income";
@SerializedName(SERIALIZED_NAME_OTHER_INCOME)
private Double otherIncome;
public static final String SERIALIZED_NAME_FEDERAL_INCOME_TAX_WITHHELD = "federal_income_tax_withheld";
@SerializedName(SERIALIZED_NAME_FEDERAL_INCOME_TAX_WITHHELD)
private Double federalIncomeTaxWithheld;
public static final String SERIALIZED_NAME_FISHING_BOAT_PROCEEDS = "fishing_boat_proceeds";
@SerializedName(SERIALIZED_NAME_FISHING_BOAT_PROCEEDS)
private Double fishingBoatProceeds;
public static final String SERIALIZED_NAME_MEDICAL_AND_HEALTHCARE_PAYMENTS = "medical_and_healthcare_payments";
@SerializedName(SERIALIZED_NAME_MEDICAL_AND_HEALTHCARE_PAYMENTS)
private Double medicalAndHealthcarePayments;
public static final String SERIALIZED_NAME_NONEMPLOYEE_COMPENSATION = "nonemployee_compensation";
@SerializedName(SERIALIZED_NAME_NONEMPLOYEE_COMPENSATION)
private Double nonemployeeCompensation;
public static final String SERIALIZED_NAME_SUBSTITUTE_PAYMENTS_IN_LIEU_OF_DIVIDENDS_OR_INTEREST = "substitute_payments_in_lieu_of_dividends_or_interest";
@SerializedName(SERIALIZED_NAME_SUBSTITUTE_PAYMENTS_IN_LIEU_OF_DIVIDENDS_OR_INTEREST)
private Double substitutePaymentsInLieuOfDividendsOrInterest;
public static final String SERIALIZED_NAME_PAYER_MADE_DIRECT_SALES_OF5000_OR_MORE_OF_CONSUMER_PRODUCTS_TO_BUYER = "payer_made_direct_sales_of_5000_or_more_of_consumer_products_to_buyer";
@SerializedName(SERIALIZED_NAME_PAYER_MADE_DIRECT_SALES_OF5000_OR_MORE_OF_CONSUMER_PRODUCTS_TO_BUYER)
private String payerMadeDirectSalesOf5000OrMoreOfConsumerProductsToBuyer;
public static final String SERIALIZED_NAME_CROP_INSURANCE_PROCEEDS = "crop_insurance_proceeds";
@SerializedName(SERIALIZED_NAME_CROP_INSURANCE_PROCEEDS)
private Double cropInsuranceProceeds;
public static final String SERIALIZED_NAME_EXCESS_GOLDEN_PARACHUTE_PAYMENTS = "excess_golden_parachute_payments";
@SerializedName(SERIALIZED_NAME_EXCESS_GOLDEN_PARACHUTE_PAYMENTS)
private Double excessGoldenParachutePayments;
public static final String SERIALIZED_NAME_GROSS_PROCEEDS_PAID_TO_AN_ATTORNEY = "gross_proceeds_paid_to_an_attorney";
@SerializedName(SERIALIZED_NAME_GROSS_PROCEEDS_PAID_TO_AN_ATTORNEY)
private Double grossProceedsPaidToAnAttorney;
public static final String SERIALIZED_NAME_SECTION409A_DEFERRALS = "section_409a_deferrals";
@SerializedName(SERIALIZED_NAME_SECTION409A_DEFERRALS)
private Double section409aDeferrals;
public static final String SERIALIZED_NAME_SECTION409A_INCOME = "section_409a_income";
@SerializedName(SERIALIZED_NAME_SECTION409A_INCOME)
private Double section409aIncome;
public static final String SERIALIZED_NAME_STATE_TAX_WITHHELD = "state_tax_withheld";
@SerializedName(SERIALIZED_NAME_STATE_TAX_WITHHELD)
private Double stateTaxWithheld;
public static final String SERIALIZED_NAME_STATE_TAX_WITHHELD_LOWER = "state_tax_withheld_lower";
@SerializedName(SERIALIZED_NAME_STATE_TAX_WITHHELD_LOWER)
private Double stateTaxWithheldLower;
public static final String SERIALIZED_NAME_PAYER_STATE_NUMBER = "payer_state_number";
@SerializedName(SERIALIZED_NAME_PAYER_STATE_NUMBER)
private String payerStateNumber;
public static final String SERIALIZED_NAME_PAYER_STATE_NUMBER_LOWER = "payer_state_number_lower";
@SerializedName(SERIALIZED_NAME_PAYER_STATE_NUMBER_LOWER)
private String payerStateNumberLower;
public static final String SERIALIZED_NAME_STATE_INCOME = "state_income";
@SerializedName(SERIALIZED_NAME_STATE_INCOME)
private Double stateIncome;
public static final String SERIALIZED_NAME_STATE_INCOME_LOWER = "state_income_lower";
@SerializedName(SERIALIZED_NAME_STATE_INCOME_LOWER)
private Double stateIncomeLower;
public static final String SERIALIZED_NAME_TRANSACTIONS_REPORTED = "transactions_reported";
@SerializedName(SERIALIZED_NAME_TRANSACTIONS_REPORTED)
private String transactionsReported;
public static final String SERIALIZED_NAME_PSE_NAME = "pse_name";
@SerializedName(SERIALIZED_NAME_PSE_NAME)
private String pseName;
public static final String SERIALIZED_NAME_PSE_TELEPHONE_NUMBER = "pse_telephone_number";
@SerializedName(SERIALIZED_NAME_PSE_TELEPHONE_NUMBER)
private String pseTelephoneNumber;
public static final String SERIALIZED_NAME_GROSS_AMOUNT = "gross_amount";
@SerializedName(SERIALIZED_NAME_GROSS_AMOUNT)
private Double grossAmount;
public static final String SERIALIZED_NAME_CARD_NOT_PRESENT_TRANSACTION = "card_not_present_transaction";
@SerializedName(SERIALIZED_NAME_CARD_NOT_PRESENT_TRANSACTION)
private Double cardNotPresentTransaction;
public static final String SERIALIZED_NAME_MERCHANT_CATEGORY_CODE = "merchant_category_code";
@SerializedName(SERIALIZED_NAME_MERCHANT_CATEGORY_CODE)
private String merchantCategoryCode;
public static final String SERIALIZED_NAME_NUMBER_OF_PAYMENT_TRANSACTIONS = "number_of_payment_transactions";
@SerializedName(SERIALIZED_NAME_NUMBER_OF_PAYMENT_TRANSACTIONS)
private String numberOfPaymentTransactions;
public static final String SERIALIZED_NAME_JANUARY_AMOUNT = "january_amount";
@SerializedName(SERIALIZED_NAME_JANUARY_AMOUNT)
private Double januaryAmount;
public static final String SERIALIZED_NAME_FEBRUARY_AMOUNT = "february_amount";
@SerializedName(SERIALIZED_NAME_FEBRUARY_AMOUNT)
private Double februaryAmount;
public static final String SERIALIZED_NAME_MARCH_AMOUNT = "march_amount";
@SerializedName(SERIALIZED_NAME_MARCH_AMOUNT)
private Double marchAmount;
public static final String SERIALIZED_NAME_APRIL_AMOUNT = "april_amount";
@SerializedName(SERIALIZED_NAME_APRIL_AMOUNT)
private Double aprilAmount;
public static final String SERIALIZED_NAME_MAY_AMOUNT = "may_amount";
@SerializedName(SERIALIZED_NAME_MAY_AMOUNT)
private Double mayAmount;
public static final String SERIALIZED_NAME_JUNE_AMOUNT = "june_amount";
@SerializedName(SERIALIZED_NAME_JUNE_AMOUNT)
private Double juneAmount;
public static final String SERIALIZED_NAME_JULY_AMOUNT = "july_amount";
@SerializedName(SERIALIZED_NAME_JULY_AMOUNT)
private Double julyAmount;
public static final String SERIALIZED_NAME_AUGUST_AMOUNT = "august_amount";
@SerializedName(SERIALIZED_NAME_AUGUST_AMOUNT)
private Double augustAmount;
public static final String SERIALIZED_NAME_SEPTEMBER_AMOUNT = "september_amount";
@SerializedName(SERIALIZED_NAME_SEPTEMBER_AMOUNT)
private Double septemberAmount;
public static final String SERIALIZED_NAME_OCTOBER_AMOUNT = "october_amount";
@SerializedName(SERIALIZED_NAME_OCTOBER_AMOUNT)
private Double octoberAmount;
public static final String SERIALIZED_NAME_NOVEMBER_AMOUNT = "november_amount";
@SerializedName(SERIALIZED_NAME_NOVEMBER_AMOUNT)
private Double novemberAmount;
public static final String SERIALIZED_NAME_DECEMBER_AMOUNT = "december_amount";
@SerializedName(SERIALIZED_NAME_DECEMBER_AMOUNT)
private Double decemberAmount;
public static final String SERIALIZED_NAME_PRIMARY_STATE = "primary_state";
@SerializedName(SERIALIZED_NAME_PRIMARY_STATE)
private String primaryState;
public static final String SERIALIZED_NAME_SECONDARY_STATE = "secondary_state";
@SerializedName(SERIALIZED_NAME_SECONDARY_STATE)
private String secondaryState;
public static final String SERIALIZED_NAME_PRIMARY_STATE_ID = "primary_state_id";
@SerializedName(SERIALIZED_NAME_PRIMARY_STATE_ID)
private String primaryStateId;
public static final String SERIALIZED_NAME_SECONDARY_STATE_ID = "secondary_state_id";
@SerializedName(SERIALIZED_NAME_SECONDARY_STATE_ID)
private String secondaryStateId;
public static final String SERIALIZED_NAME_PRIMARY_STATE_INCOME_TAX = "primary_state_income_tax";
@SerializedName(SERIALIZED_NAME_PRIMARY_STATE_INCOME_TAX)
private Double primaryStateIncomeTax;
public static final String SERIALIZED_NAME_SECONDARY_STATE_INCOME_TAX = "secondary_state_income_tax";
@SerializedName(SERIALIZED_NAME_SECONDARY_STATE_INCOME_TAX)
private Double secondaryStateIncomeTax;
public Credit1099 documentId(String documentId) {
this.documentId = documentId;
return this;
}
/**
* An identifier of the document referenced by the document metadata.
* @return documentId
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "An identifier of the document referenced by the document metadata.")
public String getDocumentId() {
return documentId;
}
public void setDocumentId(String documentId) {
this.documentId = documentId;
}
public Credit1099 documentMetadata(CreditDocumentMetadata documentMetadata) {
this.documentMetadata = documentMetadata;
return this;
}
/**
* Get documentMetadata
* @return documentMetadata
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public CreditDocumentMetadata getDocumentMetadata() {
return documentMetadata;
}
public void setDocumentMetadata(CreditDocumentMetadata documentMetadata) {
this.documentMetadata = documentMetadata;
}
public Credit1099 form1099Type(Form1099Type form1099Type) {
this.form1099Type = form1099Type;
return this;
}
/**
* Get form1099Type
* @return form1099Type
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Form1099Type getForm1099Type() {
return form1099Type;
}
public void setForm1099Type(Form1099Type form1099Type) {
this.form1099Type = form1099Type;
}
public Credit1099 recipient(Credit1099Recipient recipient) {
this.recipient = recipient;
return this;
}
/**
* Get recipient
* @return recipient
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Credit1099Recipient getRecipient() {
return recipient;
}
public void setRecipient(Credit1099Recipient recipient) {
this.recipient = recipient;
}
public Credit1099 payer(Credit1099Payer payer) {
this.payer = payer;
return this;
}
/**
* Get payer
* @return payer
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Credit1099Payer getPayer() {
return payer;
}
public void setPayer(Credit1099Payer payer) {
this.payer = payer;
}
public Credit1099 filer(Credit1099Filer filer) {
this.filer = filer;
return this;
}
/**
* Get filer
* @return filer
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Credit1099Filer getFiler() {
return filer;
}
public void setFiler(Credit1099Filer filer) {
this.filer = filer;
}
public Credit1099 taxYear(String taxYear) {
this.taxYear = taxYear;
return this;
}
/**
* Tax year of the tax form.
* @return taxYear
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Tax year of the tax form.")
public String getTaxYear() {
return taxYear;
}
public void setTaxYear(String taxYear) {
this.taxYear = taxYear;
}
public Credit1099 rents(Double rents) {
this.rents = rents;
return this;
}
/**
* Amount in rent by payer.
* @return rents
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Amount in rent by payer.")
public Double getRents() {
return rents;
}
public void setRents(Double rents) {
this.rents = rents;
}
public Credit1099 royalties(Double royalties) {
this.royalties = royalties;
return this;
}
/**
* Amount in royalties by payer.
* @return royalties
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Amount in royalties by payer.")
public Double getRoyalties() {
return royalties;
}
public void setRoyalties(Double royalties) {
this.royalties = royalties;
}
public Credit1099 otherIncome(Double otherIncome) {
this.otherIncome = otherIncome;
return this;
}
/**
* Amount in other income by payer.
* @return otherIncome
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Amount in other income by payer.")
public Double getOtherIncome() {
return otherIncome;
}
public void setOtherIncome(Double otherIncome) {
this.otherIncome = otherIncome;
}
public Credit1099 federalIncomeTaxWithheld(Double federalIncomeTaxWithheld) {
this.federalIncomeTaxWithheld = federalIncomeTaxWithheld;
return this;
}
/**
* Amount of federal income tax withheld from payer.
* @return federalIncomeTaxWithheld
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Amount of federal income tax withheld from payer.")
public Double getFederalIncomeTaxWithheld() {
return federalIncomeTaxWithheld;
}
public void setFederalIncomeTaxWithheld(Double federalIncomeTaxWithheld) {
this.federalIncomeTaxWithheld = federalIncomeTaxWithheld;
}
public Credit1099 fishingBoatProceeds(Double fishingBoatProceeds) {
this.fishingBoatProceeds = fishingBoatProceeds;
return this;
}
/**
* Amount of fishing boat proceeds from payer.
* @return fishingBoatProceeds
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Amount of fishing boat proceeds from payer.")
public Double getFishingBoatProceeds() {
return fishingBoatProceeds;
}
public void setFishingBoatProceeds(Double fishingBoatProceeds) {
this.fishingBoatProceeds = fishingBoatProceeds;
}
public Credit1099 medicalAndHealthcarePayments(Double medicalAndHealthcarePayments) {
this.medicalAndHealthcarePayments = medicalAndHealthcarePayments;
return this;
}
/**
* Amount of medical and healthcare payments from payer.
* @return medicalAndHealthcarePayments
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Amount of medical and healthcare payments from payer.")
public Double getMedicalAndHealthcarePayments() {
return medicalAndHealthcarePayments;
}
public void setMedicalAndHealthcarePayments(Double medicalAndHealthcarePayments) {
this.medicalAndHealthcarePayments = medicalAndHealthcarePayments;
}
public Credit1099 nonemployeeCompensation(Double nonemployeeCompensation) {
this.nonemployeeCompensation = nonemployeeCompensation;
return this;
}
/**
* Amount of nonemployee compensation from payer.
* @return nonemployeeCompensation
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Amount of nonemployee compensation from payer.")
public Double getNonemployeeCompensation() {
return nonemployeeCompensation;
}
public void setNonemployeeCompensation(Double nonemployeeCompensation) {
this.nonemployeeCompensation = nonemployeeCompensation;
}
public Credit1099 substitutePaymentsInLieuOfDividendsOrInterest(Double substitutePaymentsInLieuOfDividendsOrInterest) {
this.substitutePaymentsInLieuOfDividendsOrInterest = substitutePaymentsInLieuOfDividendsOrInterest;
return this;
}
/**
* Amount of substitute payments made by payer.
* @return substitutePaymentsInLieuOfDividendsOrInterest
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Amount of substitute payments made by payer.")
public Double getSubstitutePaymentsInLieuOfDividendsOrInterest() {
return substitutePaymentsInLieuOfDividendsOrInterest;
}
public void setSubstitutePaymentsInLieuOfDividendsOrInterest(Double substitutePaymentsInLieuOfDividendsOrInterest) {
this.substitutePaymentsInLieuOfDividendsOrInterest = substitutePaymentsInLieuOfDividendsOrInterest;
}
public Credit1099 payerMadeDirectSalesOf5000OrMoreOfConsumerProductsToBuyer(String payerMadeDirectSalesOf5000OrMoreOfConsumerProductsToBuyer) {
this.payerMadeDirectSalesOf5000OrMoreOfConsumerProductsToBuyer = payerMadeDirectSalesOf5000OrMoreOfConsumerProductsToBuyer;
return this;
}
/**
* Whether or not payer made direct sales over $5000 of consumer products.
* @return payerMadeDirectSalesOf5000OrMoreOfConsumerProductsToBuyer
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Whether or not payer made direct sales over $5000 of consumer products.")
public String getPayerMadeDirectSalesOf5000OrMoreOfConsumerProductsToBuyer() {
return payerMadeDirectSalesOf5000OrMoreOfConsumerProductsToBuyer;
}
public void setPayerMadeDirectSalesOf5000OrMoreOfConsumerProductsToBuyer(String payerMadeDirectSalesOf5000OrMoreOfConsumerProductsToBuyer) {
this.payerMadeDirectSalesOf5000OrMoreOfConsumerProductsToBuyer = payerMadeDirectSalesOf5000OrMoreOfConsumerProductsToBuyer;
}
public Credit1099 cropInsuranceProceeds(Double cropInsuranceProceeds) {
this.cropInsuranceProceeds = cropInsuranceProceeds;
return this;
}
/**
* Amount of crop insurance proceeds.
* @return cropInsuranceProceeds
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Amount of crop insurance proceeds.")
public Double getCropInsuranceProceeds() {
return cropInsuranceProceeds;
}
public void setCropInsuranceProceeds(Double cropInsuranceProceeds) {
this.cropInsuranceProceeds = cropInsuranceProceeds;
}
public Credit1099 excessGoldenParachutePayments(Double excessGoldenParachutePayments) {
this.excessGoldenParachutePayments = excessGoldenParachutePayments;
return this;
}
/**
* Amount of golden parachute payments made by payer.
* @return excessGoldenParachutePayments
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Amount of golden parachute payments made by payer.")
public Double getExcessGoldenParachutePayments() {
return excessGoldenParachutePayments;
}
public void setExcessGoldenParachutePayments(Double excessGoldenParachutePayments) {
this.excessGoldenParachutePayments = excessGoldenParachutePayments;
}
public Credit1099 grossProceedsPaidToAnAttorney(Double grossProceedsPaidToAnAttorney) {
this.grossProceedsPaidToAnAttorney = grossProceedsPaidToAnAttorney;
return this;
}
/**
* Amount of gross proceeds paid to an attorney by payer.
* @return grossProceedsPaidToAnAttorney
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Amount of gross proceeds paid to an attorney by payer.")
public Double getGrossProceedsPaidToAnAttorney() {
return grossProceedsPaidToAnAttorney;
}
public void setGrossProceedsPaidToAnAttorney(Double grossProceedsPaidToAnAttorney) {
this.grossProceedsPaidToAnAttorney = grossProceedsPaidToAnAttorney;
}
public Credit1099 section409aDeferrals(Double section409aDeferrals) {
this.section409aDeferrals = section409aDeferrals;
return this;
}
/**
* Amount of 409A deferrals earned by payer.
* @return section409aDeferrals
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Amount of 409A deferrals earned by payer.")
public Double getSection409aDeferrals() {
return section409aDeferrals;
}
public void setSection409aDeferrals(Double section409aDeferrals) {
this.section409aDeferrals = section409aDeferrals;
}
public Credit1099 section409aIncome(Double section409aIncome) {
this.section409aIncome = section409aIncome;
return this;
}
/**
* Amount of 409A income earned by payer.
* @return section409aIncome
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Amount of 409A income earned by payer.")
public Double getSection409aIncome() {
return section409aIncome;
}
public void setSection409aIncome(Double section409aIncome) {
this.section409aIncome = section409aIncome;
}
public Credit1099 stateTaxWithheld(Double stateTaxWithheld) {
this.stateTaxWithheld = stateTaxWithheld;
return this;
}
/**
* Amount of state tax withheld of payer for primary state.
* @return stateTaxWithheld
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Amount of state tax withheld of payer for primary state.")
public Double getStateTaxWithheld() {
return stateTaxWithheld;
}
public void setStateTaxWithheld(Double stateTaxWithheld) {
this.stateTaxWithheld = stateTaxWithheld;
}
public Credit1099 stateTaxWithheldLower(Double stateTaxWithheldLower) {
this.stateTaxWithheldLower = stateTaxWithheldLower;
return this;
}
/**
* Amount of state tax withheld of payer for secondary state.
* @return stateTaxWithheldLower
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Amount of state tax withheld of payer for secondary state.")
public Double getStateTaxWithheldLower() {
return stateTaxWithheldLower;
}
public void setStateTaxWithheldLower(Double stateTaxWithheldLower) {
this.stateTaxWithheldLower = stateTaxWithheldLower;
}
public Credit1099 payerStateNumber(String payerStateNumber) {
this.payerStateNumber = payerStateNumber;
return this;
}
/**
* Primary state ID.
* @return payerStateNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Primary state ID.")
public String getPayerStateNumber() {
return payerStateNumber;
}
public void setPayerStateNumber(String payerStateNumber) {
this.payerStateNumber = payerStateNumber;
}
public Credit1099 payerStateNumberLower(String payerStateNumberLower) {
this.payerStateNumberLower = payerStateNumberLower;
return this;
}
/**
* Secondary state ID.
* @return payerStateNumberLower
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Secondary state ID.")
public String getPayerStateNumberLower() {
return payerStateNumberLower;
}
public void setPayerStateNumberLower(String payerStateNumberLower) {
this.payerStateNumberLower = payerStateNumberLower;
}
public Credit1099 stateIncome(Double stateIncome) {
this.stateIncome = stateIncome;
return this;
}
/**
* State income reported for primary state.
* @return stateIncome
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "State income reported for primary state.")
public Double getStateIncome() {
return stateIncome;
}
public void setStateIncome(Double stateIncome) {
this.stateIncome = stateIncome;
}
public Credit1099 stateIncomeLower(Double stateIncomeLower) {
this.stateIncomeLower = stateIncomeLower;
return this;
}
/**
* State income reported for secondary state.
* @return stateIncomeLower
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "State income reported for secondary state.")
public Double getStateIncomeLower() {
return stateIncomeLower;
}
public void setStateIncomeLower(Double stateIncomeLower) {
this.stateIncomeLower = stateIncomeLower;
}
public Credit1099 transactionsReported(String transactionsReported) {
this.transactionsReported = transactionsReported;
return this;
}
/**
* One of the values will be provided Payment card Third party network
* @return transactionsReported
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "One of the values will be provided Payment card Third party network")
public String getTransactionsReported() {
return transactionsReported;
}
public void setTransactionsReported(String transactionsReported) {
this.transactionsReported = transactionsReported;
}
public Credit1099 pseName(String pseName) {
this.pseName = pseName;
return this;
}
/**
* Name of the PSE (Payment Settlement Entity).
* @return pseName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Name of the PSE (Payment Settlement Entity).")
public String getPseName() {
return pseName;
}
public void setPseName(String pseName) {
this.pseName = pseName;
}
public Credit1099 pseTelephoneNumber(String pseTelephoneNumber) {
this.pseTelephoneNumber = pseTelephoneNumber;
return this;
}
/**
* Formatted (XXX) XXX-XXXX. Phone number of the PSE (Payment Settlement Entity).
* @return pseTelephoneNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Formatted (XXX) XXX-XXXX. Phone number of the PSE (Payment Settlement Entity).")
public String getPseTelephoneNumber() {
return pseTelephoneNumber;
}
public void setPseTelephoneNumber(String pseTelephoneNumber) {
this.pseTelephoneNumber = pseTelephoneNumber;
}
public Credit1099 grossAmount(Double grossAmount) {
this.grossAmount = grossAmount;
return this;
}
/**
* Gross amount reported.
* @return grossAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Gross amount reported.")
public Double getGrossAmount() {
return grossAmount;
}
public void setGrossAmount(Double grossAmount) {
this.grossAmount = grossAmount;
}
public Credit1099 cardNotPresentTransaction(Double cardNotPresentTransaction) {
this.cardNotPresentTransaction = cardNotPresentTransaction;
return this;
}
/**
* Amount in card not present transactions.
* @return cardNotPresentTransaction
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Amount in card not present transactions.")
public Double getCardNotPresentTransaction() {
return cardNotPresentTransaction;
}
public void setCardNotPresentTransaction(Double cardNotPresentTransaction) {
this.cardNotPresentTransaction = cardNotPresentTransaction;
}
public Credit1099 merchantCategoryCode(String merchantCategoryCode) {
this.merchantCategoryCode = merchantCategoryCode;
return this;
}
/**
* Merchant category of filer.
* @return merchantCategoryCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Merchant category of filer.")
public String getMerchantCategoryCode() {
return merchantCategoryCode;
}
public void setMerchantCategoryCode(String merchantCategoryCode) {
this.merchantCategoryCode = merchantCategoryCode;
}
public Credit1099 numberOfPaymentTransactions(String numberOfPaymentTransactions) {
this.numberOfPaymentTransactions = numberOfPaymentTransactions;
return this;
}
/**
* Number of payment transactions made.
* @return numberOfPaymentTransactions
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Number of payment transactions made.")
public String getNumberOfPaymentTransactions() {
return numberOfPaymentTransactions;
}
public void setNumberOfPaymentTransactions(String numberOfPaymentTransactions) {
this.numberOfPaymentTransactions = numberOfPaymentTransactions;
}
public Credit1099 januaryAmount(Double januaryAmount) {
this.januaryAmount = januaryAmount;
return this;
}
/**
* Amount reported for January.
* @return januaryAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Amount reported for January.")
public Double getJanuaryAmount() {
return januaryAmount;
}
public void setJanuaryAmount(Double januaryAmount) {
this.januaryAmount = januaryAmount;
}
public Credit1099 februaryAmount(Double februaryAmount) {
this.februaryAmount = februaryAmount;
return this;
}
/**
* Amount reported for February.
* @return februaryAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Amount reported for February.")
public Double getFebruaryAmount() {
return februaryAmount;
}
public void setFebruaryAmount(Double februaryAmount) {
this.februaryAmount = februaryAmount;
}
public Credit1099 marchAmount(Double marchAmount) {
this.marchAmount = marchAmount;
return this;
}
/**
* Amount reported for March.
* @return marchAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Amount reported for March.")
public Double getMarchAmount() {
return marchAmount;
}
public void setMarchAmount(Double marchAmount) {
this.marchAmount = marchAmount;
}
public Credit1099 aprilAmount(Double aprilAmount) {
this.aprilAmount = aprilAmount;
return this;
}
/**
* Amount reported for April.
* @return aprilAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Amount reported for April.")
public Double getAprilAmount() {
return aprilAmount;
}
public void setAprilAmount(Double aprilAmount) {
this.aprilAmount = aprilAmount;
}
public Credit1099 mayAmount(Double mayAmount) {
this.mayAmount = mayAmount;
return this;
}
/**
* Amount reported for May.
* @return mayAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Amount reported for May.")
public Double getMayAmount() {
return mayAmount;
}
public void setMayAmount(Double mayAmount) {
this.mayAmount = mayAmount;
}
public Credit1099 juneAmount(Double juneAmount) {
this.juneAmount = juneAmount;
return this;
}
/**
* Amount reported for June.
* @return juneAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Amount reported for June.")
public Double getJuneAmount() {
return juneAmount;
}
public void setJuneAmount(Double juneAmount) {
this.juneAmount = juneAmount;
}
public Credit1099 julyAmount(Double julyAmount) {
this.julyAmount = julyAmount;
return this;
}
/**
* Amount reported for July.
* @return julyAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Amount reported for July.")
public Double getJulyAmount() {
return julyAmount;
}
public void setJulyAmount(Double julyAmount) {
this.julyAmount = julyAmount;
}
public Credit1099 augustAmount(Double augustAmount) {
this.augustAmount = augustAmount;
return this;
}
/**
* Amount reported for August.
* @return augustAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Amount reported for August.")
public Double getAugustAmount() {
return augustAmount;
}
public void setAugustAmount(Double augustAmount) {
this.augustAmount = augustAmount;
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | true |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BusinessVerificationCreateResponse.java | src/main/java/com/plaid/client/model/BusinessVerificationCreateResponse.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.BusinessKYBCheck;
import com.plaid.client.model.BusinessRiskCheck;
import com.plaid.client.model.BusinessSearchTerms;
import com.plaid.client.model.BusinessVerificationStatusOverall;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
/**
* A business verification represents a check of a business's identity and risk profile, including information collected about the business and results from third-party data providers.
*/
@ApiModel(description = "A business verification represents a check of a business's identity and risk profile, including information collected about the business and results from third-party data providers.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BusinessVerificationCreateResponse {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
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_CREATED_AT = "created_at";
@SerializedName(SERIALIZED_NAME_CREATED_AT)
private java.sql.Timestamp createdAt;
public static final String SERIALIZED_NAME_COMPLETED_AT = "completed_at";
@SerializedName(SERIALIZED_NAME_COMPLETED_AT)
private OffsetDateTime completedAt;
public static final String SERIALIZED_NAME_REDACTED_AT = "redacted_at";
@SerializedName(SERIALIZED_NAME_REDACTED_AT)
private OffsetDateTime redactedAt;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private BusinessVerificationStatusOverall status;
public static final String SERIALIZED_NAME_SEARCH_TERMS = "search_terms";
@SerializedName(SERIALIZED_NAME_SEARCH_TERMS)
private BusinessSearchTerms searchTerms;
public static final String SERIALIZED_NAME_KYB_CHECK = "kyb_check";
@SerializedName(SERIALIZED_NAME_KYB_CHECK)
private BusinessKYBCheck kybCheck;
public static final String SERIALIZED_NAME_RISK_CHECK = "risk_check";
@SerializedName(SERIALIZED_NAME_RISK_CHECK)
private BusinessRiskCheck riskCheck;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public BusinessVerificationCreateResponse id(String id) {
this.id = id;
return this;
}
/**
* ID of the associated business verification.
* @return id
**/
@ApiModelProperty(example = "busver_52xR9LKo77r1Np", required = true, value = "ID of the associated business verification.")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public BusinessVerificationCreateResponse 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
**/
@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 BusinessVerificationCreateResponse 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 BusinessVerificationCreateResponse completedAt(OffsetDateTime completedAt) {
this.completedAt = completedAt;
return this;
}
/**
* An ISO8601 formatted timestamp.
* @return completedAt
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "2020-07-24T03:26:02Z", required = true, value = "An ISO8601 formatted timestamp.")
public OffsetDateTime getCompletedAt() {
return completedAt;
}
public void setCompletedAt(OffsetDateTime completedAt) {
this.completedAt = completedAt;
}
public BusinessVerificationCreateResponse redactedAt(OffsetDateTime redactedAt) {
this.redactedAt = redactedAt;
return this;
}
/**
* An ISO8601 formatted timestamp.
* @return redactedAt
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "2020-07-24T03:26:02Z", required = true, value = "An ISO8601 formatted timestamp.")
public OffsetDateTime getRedactedAt() {
return redactedAt;
}
public void setRedactedAt(OffsetDateTime redactedAt) {
this.redactedAt = redactedAt;
}
public BusinessVerificationCreateResponse status(BusinessVerificationStatusOverall status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@ApiModelProperty(required = true, value = "")
public BusinessVerificationStatusOverall getStatus() {
return status;
}
public void setStatus(BusinessVerificationStatusOverall status) {
this.status = status;
}
public BusinessVerificationCreateResponse searchTerms(BusinessSearchTerms searchTerms) {
this.searchTerms = searchTerms;
return this;
}
/**
* Get searchTerms
* @return searchTerms
**/
@ApiModelProperty(required = true, value = "")
public BusinessSearchTerms getSearchTerms() {
return searchTerms;
}
public void setSearchTerms(BusinessSearchTerms searchTerms) {
this.searchTerms = searchTerms;
}
public BusinessVerificationCreateResponse kybCheck(BusinessKYBCheck kybCheck) {
this.kybCheck = kybCheck;
return this;
}
/**
* Get kybCheck
* @return kybCheck
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public BusinessKYBCheck getKybCheck() {
return kybCheck;
}
public void setKybCheck(BusinessKYBCheck kybCheck) {
this.kybCheck = kybCheck;
}
public BusinessVerificationCreateResponse riskCheck(BusinessRiskCheck riskCheck) {
this.riskCheck = riskCheck;
return this;
}
/**
* Get riskCheck
* @return riskCheck
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public BusinessRiskCheck getRiskCheck() {
return riskCheck;
}
public void setRiskCheck(BusinessRiskCheck riskCheck) {
this.riskCheck = riskCheck;
}
public BusinessVerificationCreateResponse 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;
}
BusinessVerificationCreateResponse businessVerificationCreateResponse = (BusinessVerificationCreateResponse) o;
return Objects.equals(this.id, businessVerificationCreateResponse.id) &&
Objects.equals(this.clientUserId, businessVerificationCreateResponse.clientUserId) &&
Objects.equals(this.createdAt, businessVerificationCreateResponse.createdAt) &&
Objects.equals(this.completedAt, businessVerificationCreateResponse.completedAt) &&
Objects.equals(this.redactedAt, businessVerificationCreateResponse.redactedAt) &&
Objects.equals(this.status, businessVerificationCreateResponse.status) &&
Objects.equals(this.searchTerms, businessVerificationCreateResponse.searchTerms) &&
Objects.equals(this.kybCheck, businessVerificationCreateResponse.kybCheck) &&
Objects.equals(this.riskCheck, businessVerificationCreateResponse.riskCheck) &&
Objects.equals(this.requestId, businessVerificationCreateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(id, clientUserId, createdAt, completedAt, redactedAt, status, searchTerms, kybCheck, riskCheck, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BusinessVerificationCreateResponse {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" clientUserId: ").append(toIndentedString(clientUserId)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" completedAt: ").append(toIndentedString(completedAt)).append("\n");
sb.append(" redactedAt: ").append(toIndentedString(redactedAt)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" searchTerms: ").append(toIndentedString(searchTerms)).append("\n");
sb.append(" kybCheck: ").append(toIndentedString(kybCheck)).append("\n");
sb.append(" riskCheck: ").append(toIndentedString(riskCheck)).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/BetaPartnerEndCustomer.java | src/main/java/com/plaid/client/model/BetaPartnerEndCustomer.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.PartnerEndCustomerRequirementDue;
import com.plaid.client.model.PartnerEndCustomerStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* The details for an end customer.
*/
@ApiModel(description = "The details for an end customer.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BetaPartnerEndCustomer {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_COMPANY_NAME = "company_name";
@SerializedName(SERIALIZED_NAME_COMPANY_NAME)
private String companyName;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private PartnerEndCustomerStatus status;
public static final String SERIALIZED_NAME_PRODUCT_STATUSES = "product_statuses";
@SerializedName(SERIALIZED_NAME_PRODUCT_STATUSES)
private Object productStatuses;
public static final String SERIALIZED_NAME_REQUIREMENTS_DUE = "requirements_due";
@SerializedName(SERIALIZED_NAME_REQUIREMENTS_DUE)
private List<PartnerEndCustomerRequirementDue> requirementsDue = null;
public BetaPartnerEndCustomer clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* The `client_id` of the end customer.
* @return clientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The `client_id` of the end customer.")
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public BetaPartnerEndCustomer companyName(String companyName) {
this.companyName = companyName;
return this;
}
/**
* The company name associated with the end customer.
* @return companyName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The company name associated with the end customer.")
public String getCompanyName() {
return companyName;
}
public void setCompanyName(String companyName) {
this.companyName = companyName;
}
public BetaPartnerEndCustomer status(PartnerEndCustomerStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PartnerEndCustomerStatus getStatus() {
return status;
}
public void setStatus(PartnerEndCustomerStatus status) {
this.status = status;
}
public BetaPartnerEndCustomer productStatuses(Object productStatuses) {
this.productStatuses = productStatuses;
return this;
}
/**
* Mapping of product names to their current status.
* @return productStatuses
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Mapping of product names to their current status.")
public Object getProductStatuses() {
return productStatuses;
}
public void setProductStatuses(Object productStatuses) {
this.productStatuses = productStatuses;
}
public BetaPartnerEndCustomer requirementsDue(List<PartnerEndCustomerRequirementDue> requirementsDue) {
this.requirementsDue = requirementsDue;
return this;
}
public BetaPartnerEndCustomer addRequirementsDueItem(PartnerEndCustomerRequirementDue requirementsDueItem) {
if (this.requirementsDue == null) {
this.requirementsDue = new ArrayList<>();
}
this.requirementsDue.add(requirementsDueItem);
return this;
}
/**
* A list of fields that are still required to be submitted.
* @return requirementsDue
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A list of fields that are still required to be submitted.")
public List<PartnerEndCustomerRequirementDue> getRequirementsDue() {
return requirementsDue;
}
public void setRequirementsDue(List<PartnerEndCustomerRequirementDue> requirementsDue) {
this.requirementsDue = requirementsDue;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BetaPartnerEndCustomer betaPartnerEndCustomer = (BetaPartnerEndCustomer) o;
return Objects.equals(this.clientId, betaPartnerEndCustomer.clientId) &&
Objects.equals(this.companyName, betaPartnerEndCustomer.companyName) &&
Objects.equals(this.status, betaPartnerEndCustomer.status) &&
Objects.equals(this.productStatuses, betaPartnerEndCustomer.productStatuses) &&
Objects.equals(this.requirementsDue, betaPartnerEndCustomer.requirementsDue);
}
@Override
public int hashCode() {
return Objects.hash(clientId, companyName, status, productStatuses, requirementsDue);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BetaPartnerEndCustomer {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" companyName: ").append(toIndentedString(companyName)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" productStatuses: ").append(toIndentedString(productStatuses)).append("\n");
sb.append(" requirementsDue: ").append(toIndentedString(requirementsDue)).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/BaseReportAccountBalances.java | src/main/java/com/plaid/client/model/BaseReportAccountBalances.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.BaseReportAverageMonthlyBalances;
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 about an account's balances.
*/
@ApiModel(description = "Information about an account's balances.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BaseReportAccountBalances {
public static final String SERIALIZED_NAME_AVAILABLE = "available";
@SerializedName(SERIALIZED_NAME_AVAILABLE)
private Double available;
public static final String SERIALIZED_NAME_CURRENT = "current";
@SerializedName(SERIALIZED_NAME_CURRENT)
private Double current;
public static final String SERIALIZED_NAME_LIMIT = "limit";
@SerializedName(SERIALIZED_NAME_LIMIT)
private Double limit;
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_LAST_UPDATED_DATETIME = "last_updated_datetime";
@SerializedName(SERIALIZED_NAME_LAST_UPDATED_DATETIME)
private OffsetDateTime lastUpdatedDatetime;
public static final String SERIALIZED_NAME_AVERAGE_BALANCE = "average_balance";
@SerializedName(SERIALIZED_NAME_AVERAGE_BALANCE)
private Double averageBalance;
public static final String SERIALIZED_NAME_AVERAGE_MONTHLY_BALANCES = "average_monthly_balances";
@SerializedName(SERIALIZED_NAME_AVERAGE_MONTHLY_BALANCES)
private List<BaseReportAverageMonthlyBalances> averageMonthlyBalances = null;
public static final String SERIALIZED_NAME_MOST_RECENT_THIRTY_DAY_AVERAGE_BALANCE = "most_recent_thirty_day_average_balance";
@SerializedName(SERIALIZED_NAME_MOST_RECENT_THIRTY_DAY_AVERAGE_BALANCE)
private Double mostRecentThirtyDayAverageBalance;
public BaseReportAccountBalances available(Double available) {
this.available = available;
return this;
}
/**
* The amount of funds available to be withdrawn from the account, as determined by the financial institution. For `credit`-type accounts, the `available` balance typically equals the `limit` less the `current` balance, less any pending outflows plus any pending inflows. For `depository`-type accounts, the `available` balance typically equals the `current` balance less any pending outflows plus any pending inflows. For `depository`-type accounts, the `available` balance does not include the overdraft limit. For `investment`-type accounts (or `brokerage`-type accounts for API versions 2018-05-22 and earlier), the `available` balance is the total cash available to withdraw as presented by the institution. Note that not all institutions calculate the `available` balance. In the event that `available` balance is unavailable, Plaid will return an `available` balance value of `null`. Available balance may be cached and is not guaranteed to be up-to-date in realtime unless the value was returned by `/accounts/balance/get`. If `current` is `null` this field is guaranteed not to be `null`.
* @return available
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The amount of funds available to be withdrawn from the account, as determined by the financial institution. For `credit`-type accounts, the `available` balance typically equals the `limit` less the `current` balance, less any pending outflows plus any pending inflows. For `depository`-type accounts, the `available` balance typically equals the `current` balance less any pending outflows plus any pending inflows. For `depository`-type accounts, the `available` balance does not include the overdraft limit. For `investment`-type accounts (or `brokerage`-type accounts for API versions 2018-05-22 and earlier), the `available` balance is the total cash available to withdraw as presented by the institution. Note that not all institutions calculate the `available` balance. In the event that `available` balance is unavailable, Plaid will return an `available` balance value of `null`. Available balance may be cached and is not guaranteed to be up-to-date in realtime unless the value was returned by `/accounts/balance/get`. If `current` is `null` this field is guaranteed not to be `null`.")
public Double getAvailable() {
return available;
}
public void setAvailable(Double available) {
this.available = available;
}
public BaseReportAccountBalances current(Double current) {
this.current = current;
return this;
}
/**
* The total amount of funds in or owed by the account. For `credit`-type accounts, a positive balance indicates the amount owed; a negative amount indicates the lender owing the account holder. For `loan`-type accounts, the current balance is the principal remaining on the loan, except in the case of student loan accounts at Sallie Mae (`ins_116944`). For Sallie Mae student loans, the account's balance includes both principal and any outstanding interest. For `investment`-type accounts (or `brokerage`-type accounts for API versions 2018-05-22 and earlier), the current balance is the total value of assets as presented by the institution. Note that balance information may be cached unless the value was returned by `/accounts/balance/get`; if the Item is enabled for Transactions, the balance will be at least as recent as the most recent Transaction update. If you require realtime balance information, use the `available` balance as provided by `/accounts/balance/get`. When returned by `/accounts/balance/get`, this field may be `null`. When this happens, `available` is guaranteed not to be `null`.
* @return current
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The total amount of funds in or owed by the account. For `credit`-type accounts, a positive balance indicates the amount owed; a negative amount indicates the lender owing the account holder. For `loan`-type accounts, the current balance is the principal remaining on the loan, except in the case of student loan accounts at Sallie Mae (`ins_116944`). For Sallie Mae student loans, the account's balance includes both principal and any outstanding interest. For `investment`-type accounts (or `brokerage`-type accounts for API versions 2018-05-22 and earlier), the current balance is the total value of assets as presented by the institution. Note that balance information may be cached unless the value was returned by `/accounts/balance/get`; if the Item is enabled for Transactions, the balance will be at least as recent as the most recent Transaction update. If you require realtime balance information, use the `available` balance as provided by `/accounts/balance/get`. When returned by `/accounts/balance/get`, this field may be `null`. When this happens, `available` is guaranteed not to be `null`.")
public Double getCurrent() {
return current;
}
public void setCurrent(Double current) {
this.current = current;
}
public BaseReportAccountBalances limit(Double limit) {
this.limit = limit;
return this;
}
/**
* For `credit`-type accounts, this represents the credit limit. For `depository`-type accounts, this represents the pre-arranged overdraft limit, which is common for current (checking) accounts in Europe. In North America, this field is typically only available for `credit`-type accounts.
* @return limit
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "For `credit`-type accounts, this represents the credit limit. For `depository`-type accounts, this represents the pre-arranged overdraft limit, which is common for current (checking) accounts in Europe. In North America, this field is typically only available for `credit`-type accounts.")
public Double getLimit() {
return limit;
}
public void setLimit(Double limit) {
this.limit = limit;
}
public BaseReportAccountBalances 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 BaseReportAccountBalances 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. 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 `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. 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 `unofficial_currency_code`s.")
public String getUnofficialCurrencyCode() {
return unofficialCurrencyCode;
}
public void setUnofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
}
public BaseReportAccountBalances lastUpdatedDatetime(OffsetDateTime lastUpdatedDatetime) {
this.lastUpdatedDatetime = lastUpdatedDatetime;
return this;
}
/**
* Timestamp in [ISO 8601](https://en.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 used and expected when the institution is `ins_128026` (Capital One) and the Item contains one or more accounts with a non-depository account type, in which case a value must be provided or an `INVALID_REQUEST` error with the code of `INVALID_FIELD` will be returned. For Capital One depository accounts as well as all other account types on all other institutions, this field is ignored. See [account type schema](https://plaid.com/docs/api/accounts/#account-type-schema) for a full list of account types. If the balance that is pulled is older than the given timestamp for Items with this field required, an `INVALID_REQUEST` error with the code of `LAST_UPDATED_DATETIME_OUT_OF_RANGE` will be returned with the most recent timestamp for the requested account contained in the response.
* @return lastUpdatedDatetime
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Timestamp in [ISO 8601](https://en.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 used and expected when the institution is `ins_128026` (Capital One) and the Item contains one or more accounts with a non-depository account type, in which case a value must be provided or an `INVALID_REQUEST` error with the code of `INVALID_FIELD` will be returned. For Capital One depository accounts as well as all other account types on all other institutions, this field is ignored. See [account type schema](https://plaid.com/docs/api/accounts/#account-type-schema) for a full list of account types. If the balance that is pulled is older than the given timestamp for Items with this field required, an `INVALID_REQUEST` error with the code of `LAST_UPDATED_DATETIME_OUT_OF_RANGE` will be returned with the most recent timestamp for the requested account contained in the response.")
public OffsetDateTime getLastUpdatedDatetime() {
return lastUpdatedDatetime;
}
public void setLastUpdatedDatetime(OffsetDateTime lastUpdatedDatetime) {
this.lastUpdatedDatetime = lastUpdatedDatetime;
}
public BaseReportAccountBalances averageBalance(Double averageBalance) {
this.averageBalance = averageBalance;
return this;
}
/**
* The average historical balance for the entire report
* @return averageBalance
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The average historical balance for the entire report")
public Double getAverageBalance() {
return averageBalance;
}
public void setAverageBalance(Double averageBalance) {
this.averageBalance = averageBalance;
}
public BaseReportAccountBalances averageMonthlyBalances(List<BaseReportAverageMonthlyBalances> averageMonthlyBalances) {
this.averageMonthlyBalances = averageMonthlyBalances;
return this;
}
public BaseReportAccountBalances addAverageMonthlyBalancesItem(BaseReportAverageMonthlyBalances averageMonthlyBalancesItem) {
if (this.averageMonthlyBalances == null) {
this.averageMonthlyBalances = new ArrayList<>();
}
this.averageMonthlyBalances.add(averageMonthlyBalancesItem);
return this;
}
/**
* The average historical balance of each calendar month
* @return averageMonthlyBalances
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The average historical balance of each calendar month")
public List<BaseReportAverageMonthlyBalances> getAverageMonthlyBalances() {
return averageMonthlyBalances;
}
public void setAverageMonthlyBalances(List<BaseReportAverageMonthlyBalances> averageMonthlyBalances) {
this.averageMonthlyBalances = averageMonthlyBalances;
}
public BaseReportAccountBalances mostRecentThirtyDayAverageBalance(Double mostRecentThirtyDayAverageBalance) {
this.mostRecentThirtyDayAverageBalance = mostRecentThirtyDayAverageBalance;
return this;
}
/**
* The average historical balance from the most recent 30 days
* @return mostRecentThirtyDayAverageBalance
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The average historical balance from the most recent 30 days")
public Double getMostRecentThirtyDayAverageBalance() {
return mostRecentThirtyDayAverageBalance;
}
public void setMostRecentThirtyDayAverageBalance(Double mostRecentThirtyDayAverageBalance) {
this.mostRecentThirtyDayAverageBalance = mostRecentThirtyDayAverageBalance;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BaseReportAccountBalances baseReportAccountBalances = (BaseReportAccountBalances) o;
return Objects.equals(this.available, baseReportAccountBalances.available) &&
Objects.equals(this.current, baseReportAccountBalances.current) &&
Objects.equals(this.limit, baseReportAccountBalances.limit) &&
Objects.equals(this.isoCurrencyCode, baseReportAccountBalances.isoCurrencyCode) &&
Objects.equals(this.unofficialCurrencyCode, baseReportAccountBalances.unofficialCurrencyCode) &&
Objects.equals(this.lastUpdatedDatetime, baseReportAccountBalances.lastUpdatedDatetime) &&
Objects.equals(this.averageBalance, baseReportAccountBalances.averageBalance) &&
Objects.equals(this.averageMonthlyBalances, baseReportAccountBalances.averageMonthlyBalances) &&
Objects.equals(this.mostRecentThirtyDayAverageBalance, baseReportAccountBalances.mostRecentThirtyDayAverageBalance);
}
@Override
public int hashCode() {
return Objects.hash(available, current, limit, isoCurrencyCode, unofficialCurrencyCode, lastUpdatedDatetime, averageBalance, averageMonthlyBalances, mostRecentThirtyDayAverageBalance);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BaseReportAccountBalances {\n");
sb.append(" available: ").append(toIndentedString(available)).append("\n");
sb.append(" current: ").append(toIndentedString(current)).append("\n");
sb.append(" limit: ").append(toIndentedString(limit)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" unofficialCurrencyCode: ").append(toIndentedString(unofficialCurrencyCode)).append("\n");
sb.append(" lastUpdatedDatetime: ").append(toIndentedString(lastUpdatedDatetime)).append("\n");
sb.append(" averageBalance: ").append(toIndentedString(averageBalance)).append("\n");
sb.append(" averageMonthlyBalances: ").append(toIndentedString(averageMonthlyBalances)).append("\n");
sb.append(" mostRecentThirtyDayAverageBalance: ").append(toIndentedString(mostRecentThirtyDayAverageBalance)).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/EnrichTransactionDirection.java | src/main/java/com/plaid/client/model/EnrichTransactionDirection.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 direction of the transaction from the perspective of the account holder: `OUTFLOW` - Includes outgoing transfers, purchases, and fees. (Typically represented as a negative value on checking accounts and debit cards and a positive value on credit cards.) `INFLOW` - Includes incoming transfers, refunds, and income. (Typically represented as a positive value on checking accounts and debit cards and a negative value on credit cards.)
*/
@JsonAdapter(EnrichTransactionDirection.Adapter.class)
public enum EnrichTransactionDirection {
INFLOW("INFLOW"),
OUTFLOW("OUTFLOW"),
// 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;
EnrichTransactionDirection(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static EnrichTransactionDirection fromValue(String value) {
for (EnrichTransactionDirection b : EnrichTransactionDirection.values()) {
if (b.value.equals(value)) {
return b;
}
}
return EnrichTransactionDirection.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<EnrichTransactionDirection> {
@Override
public void write(final JsonWriter jsonWriter, final EnrichTransactionDirection enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public EnrichTransactionDirection read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return EnrichTransactionDirection.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/PaymentInitiationConsentRevokeResponse.java | src/main/java/com/plaid/client/model/PaymentInitiationConsentRevokeResponse.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;
/**
* PaymentInitiationConsentRevokeResponse defines the response schema for `/payment_initation/consent/revoke`
*/
@ApiModel(description = "PaymentInitiationConsentRevokeResponse defines the response schema for `/payment_initation/consent/revoke`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PaymentInitiationConsentRevokeResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public PaymentInitiationConsentRevokeResponse 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
**/
@javax.annotation.Nullable
@ApiModelProperty(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;
}
PaymentInitiationConsentRevokeResponse paymentInitiationConsentRevokeResponse = (PaymentInitiationConsentRevokeResponse) o;
return Objects.equals(this.requestId, paymentInitiationConsentRevokeResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaymentInitiationConsentRevokeResponse {\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/InvestmentsHistoricalUpdateWebhook.java | src/main/java/com/plaid/client/model/InvestmentsHistoricalUpdateWebhook.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 after an asynchronous extraction on an investments account.
*/
@ApiModel(description = "Fired after an asynchronous extraction on an investments account.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class InvestmentsHistoricalUpdateWebhook {
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 InvestmentsHistoricalUpdateWebhook 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 InvestmentsHistoricalUpdateWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `HISTORICAL_UPDATE`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`HISTORICAL_UPDATE`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public InvestmentsHistoricalUpdateWebhook 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 InvestmentsHistoricalUpdateWebhook 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 InvestmentsHistoricalUpdateWebhook 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 InvestmentsHistoricalUpdateWebhook 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 InvestmentsHistoricalUpdateWebhook 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;
}
InvestmentsHistoricalUpdateWebhook investmentsHistoricalUpdateWebhook = (InvestmentsHistoricalUpdateWebhook) o;
return Objects.equals(this.webhookType, investmentsHistoricalUpdateWebhook.webhookType) &&
Objects.equals(this.webhookCode, investmentsHistoricalUpdateWebhook.webhookCode) &&
Objects.equals(this.itemId, investmentsHistoricalUpdateWebhook.itemId) &&
Objects.equals(this.error, investmentsHistoricalUpdateWebhook.error) &&
Objects.equals(this.newInvestmentsTransactions, investmentsHistoricalUpdateWebhook.newInvestmentsTransactions) &&
Objects.equals(this.canceledInvestmentsTransactions, investmentsHistoricalUpdateWebhook.canceledInvestmentsTransactions) &&
Objects.equals(this.environment, investmentsHistoricalUpdateWebhook.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 InvestmentsHistoricalUpdateWebhook {\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/ProtectReportConfidence.java | src/main/java/com/plaid/client/model/ProtectReportConfidence.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 confidence level of the incident report. `CONFIRMED` indicates the incident has been verified and definitively occurred. `SUSPECTED` indicates the incident is believed to have occurred but has not been fully verified.
*/
@JsonAdapter(ProtectReportConfidence.Adapter.class)
public enum ProtectReportConfidence {
CONFIRMED("CONFIRMED"),
SUSPECTED("SUSPECTED"),
// 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;
ProtectReportConfidence(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static ProtectReportConfidence fromValue(String value) {
for (ProtectReportConfidence b : ProtectReportConfidence.values()) {
if (b.value.equals(value)) {
return b;
}
}
return ProtectReportConfidence.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<ProtectReportConfidence> {
@Override
public void write(final JsonWriter jsonWriter, final ProtectReportConfidence enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public ProtectReportConfidence read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return ProtectReportConfidence.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/SandboxPaymentSimulateResponse.java | src/main/java/com/plaid/client/model/SandboxPaymentSimulateResponse.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.PaymentInitiationPaymentStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* SandboxPaymentSimulateResponse defines the response schema for `/sandbox/payment/simulate`
*/
@ApiModel(description = "SandboxPaymentSimulateResponse defines the response schema for `/sandbox/payment/simulate`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SandboxPaymentSimulateResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public static final String SERIALIZED_NAME_OLD_STATUS = "old_status";
@SerializedName(SERIALIZED_NAME_OLD_STATUS)
private PaymentInitiationPaymentStatus oldStatus;
public static final String SERIALIZED_NAME_NEW_STATUS = "new_status";
@SerializedName(SERIALIZED_NAME_NEW_STATUS)
private PaymentInitiationPaymentStatus newStatus;
public SandboxPaymentSimulateResponse 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;
}
public SandboxPaymentSimulateResponse oldStatus(PaymentInitiationPaymentStatus oldStatus) {
this.oldStatus = oldStatus;
return this;
}
/**
* Get oldStatus
* @return oldStatus
**/
@ApiModelProperty(required = true, value = "")
public PaymentInitiationPaymentStatus getOldStatus() {
return oldStatus;
}
public void setOldStatus(PaymentInitiationPaymentStatus oldStatus) {
this.oldStatus = oldStatus;
}
public SandboxPaymentSimulateResponse newStatus(PaymentInitiationPaymentStatus newStatus) {
this.newStatus = newStatus;
return this;
}
/**
* Get newStatus
* @return newStatus
**/
@ApiModelProperty(required = true, value = "")
public PaymentInitiationPaymentStatus getNewStatus() {
return newStatus;
}
public void setNewStatus(PaymentInitiationPaymentStatus newStatus) {
this.newStatus = newStatus;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SandboxPaymentSimulateResponse sandboxPaymentSimulateResponse = (SandboxPaymentSimulateResponse) o;
return Objects.equals(this.requestId, sandboxPaymentSimulateResponse.requestId) &&
Objects.equals(this.oldStatus, sandboxPaymentSimulateResponse.oldStatus) &&
Objects.equals(this.newStatus, sandboxPaymentSimulateResponse.newStatus);
}
@Override
public int hashCode() {
return Objects.hash(requestId, oldStatus, newStatus);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SandboxPaymentSimulateResponse {\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append(" oldStatus: ").append(toIndentedString(oldStatus)).append("\n");
sb.append(" newStatus: ").append(toIndentedString(newStatus)).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/AssetHolderName.java | src/main/java/com/plaid/client/model/AssetHolderName.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;
/**
* 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 AssetHolderName {
public static final String SERIALIZED_NAME_FULL_NAME = "FullName";
@SerializedName(SERIALIZED_NAME_FULL_NAME)
private String fullName;
public AssetHolderName fullName(String fullName) {
this.fullName = fullName;
return this;
}
/**
* The unparsed name of either an individual or a legal entity.
* @return fullName
**/
@ApiModelProperty(required = true, value = "The unparsed name of either an individual or a legal entity.")
public String getFullName() {
return fullName;
}
public void setFullName(String fullName) {
this.fullName = fullName;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AssetHolderName assetHolderName = (AssetHolderName) o;
return Objects.equals(this.fullName, assetHolderName.fullName);
}
@Override
public int hashCode() {
return Objects.hash(fullName);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AssetHolderName {\n");
sb.append(" fullName: ").append(toIndentedString(fullName)).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/Recurrence.java | src/main/java/com/plaid/client/model/Recurrence.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.RecurringFrequency;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* This schema was for beta and is no longer populated. Insights relating to expenses and deposits that are predicted to occur on a scheduled basis, such as biweekly, monthly, or annually. Common examples include loan payments, bill payments, subscriptions, and payroll income. This is a beta field, available to all users.
*/
@ApiModel(description = "This schema was for beta and is no longer populated. Insights relating to expenses and deposits that are predicted to occur on a scheduled basis, such as biweekly, monthly, or annually. Common examples include loan payments, bill payments, subscriptions, and payroll income. This is a beta field, available to all users.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class Recurrence {
public static final String SERIALIZED_NAME_IS_RECURRING = "is_recurring";
@SerializedName(SERIALIZED_NAME_IS_RECURRING)
private Boolean isRecurring;
public static final String SERIALIZED_NAME_FREQUENCY = "frequency";
@SerializedName(SERIALIZED_NAME_FREQUENCY)
private RecurringFrequency frequency;
public Recurrence isRecurring(Boolean isRecurring) {
this.isRecurring = isRecurring;
return this;
}
/**
* Whether or not the transaction is periodically recurring.
* @return isRecurring
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Whether or not the transaction is periodically recurring.")
public Boolean getIsRecurring() {
return isRecurring;
}
public void setIsRecurring(Boolean isRecurring) {
this.isRecurring = isRecurring;
}
public Recurrence frequency(RecurringFrequency frequency) {
this.frequency = frequency;
return this;
}
/**
* Get frequency
* @return frequency
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public RecurringFrequency getFrequency() {
return frequency;
}
public void setFrequency(RecurringFrequency frequency) {
this.frequency = frequency;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Recurrence recurrence = (Recurrence) o;
return Objects.equals(this.isRecurring, recurrence.isRecurring) &&
Objects.equals(this.frequency, recurrence.frequency);
}
@Override
public int hashCode() {
return Objects.hash(isRecurring, frequency);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Recurrence {\n");
sb.append(" isRecurring: ").append(toIndentedString(isRecurring)).append("\n");
sb.append(" frequency: ").append(toIndentedString(frequency)).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/BeaconMatchSummaryAnalysis.java | src/main/java/com/plaid/client/model/BeaconMatchSummaryAnalysis.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.BeaconMatchSummaryCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Analysis of which fields matched between one Beacon User and another.
*/
@ApiModel(description = "Analysis of which fields matched between one Beacon User and another.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BeaconMatchSummaryAnalysis {
public static final String SERIALIZED_NAME_ADDRESS = "address";
@SerializedName(SERIALIZED_NAME_ADDRESS)
private BeaconMatchSummaryCode address;
public static final String SERIALIZED_NAME_DATE_OF_BIRTH = "date_of_birth";
@SerializedName(SERIALIZED_NAME_DATE_OF_BIRTH)
private BeaconMatchSummaryCode dateOfBirth;
public static final String SERIALIZED_NAME_EMAIL_ADDRESS = "email_address";
@SerializedName(SERIALIZED_NAME_EMAIL_ADDRESS)
private BeaconMatchSummaryCode emailAddress;
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
private BeaconMatchSummaryCode name;
public static final String SERIALIZED_NAME_ID_NUMBER = "id_number";
@SerializedName(SERIALIZED_NAME_ID_NUMBER)
private BeaconMatchSummaryCode idNumber;
public static final String SERIALIZED_NAME_IP_ADDRESS = "ip_address";
@SerializedName(SERIALIZED_NAME_IP_ADDRESS)
private BeaconMatchSummaryCode ipAddress;
public static final String SERIALIZED_NAME_PHONE_NUMBER = "phone_number";
@SerializedName(SERIALIZED_NAME_PHONE_NUMBER)
private BeaconMatchSummaryCode phoneNumber;
public BeaconMatchSummaryAnalysis address(BeaconMatchSummaryCode address) {
this.address = address;
return this;
}
/**
* Get address
* @return address
**/
@ApiModelProperty(required = true, value = "")
public BeaconMatchSummaryCode getAddress() {
return address;
}
public void setAddress(BeaconMatchSummaryCode address) {
this.address = address;
}
public BeaconMatchSummaryAnalysis dateOfBirth(BeaconMatchSummaryCode dateOfBirth) {
this.dateOfBirth = dateOfBirth;
return this;
}
/**
* Get dateOfBirth
* @return dateOfBirth
**/
@ApiModelProperty(required = true, value = "")
public BeaconMatchSummaryCode getDateOfBirth() {
return dateOfBirth;
}
public void setDateOfBirth(BeaconMatchSummaryCode dateOfBirth) {
this.dateOfBirth = dateOfBirth;
}
public BeaconMatchSummaryAnalysis emailAddress(BeaconMatchSummaryCode emailAddress) {
this.emailAddress = emailAddress;
return this;
}
/**
* Get emailAddress
* @return emailAddress
**/
@ApiModelProperty(required = true, value = "")
public BeaconMatchSummaryCode getEmailAddress() {
return emailAddress;
}
public void setEmailAddress(BeaconMatchSummaryCode emailAddress) {
this.emailAddress = emailAddress;
}
public BeaconMatchSummaryAnalysis name(BeaconMatchSummaryCode name) {
this.name = name;
return this;
}
/**
* Get name
* @return name
**/
@ApiModelProperty(required = true, value = "")
public BeaconMatchSummaryCode getName() {
return name;
}
public void setName(BeaconMatchSummaryCode name) {
this.name = name;
}
public BeaconMatchSummaryAnalysis idNumber(BeaconMatchSummaryCode idNumber) {
this.idNumber = idNumber;
return this;
}
/**
* Get idNumber
* @return idNumber
**/
@ApiModelProperty(required = true, value = "")
public BeaconMatchSummaryCode getIdNumber() {
return idNumber;
}
public void setIdNumber(BeaconMatchSummaryCode idNumber) {
this.idNumber = idNumber;
}
public BeaconMatchSummaryAnalysis ipAddress(BeaconMatchSummaryCode ipAddress) {
this.ipAddress = ipAddress;
return this;
}
/**
* Get ipAddress
* @return ipAddress
**/
@ApiModelProperty(required = true, value = "")
public BeaconMatchSummaryCode getIpAddress() {
return ipAddress;
}
public void setIpAddress(BeaconMatchSummaryCode ipAddress) {
this.ipAddress = ipAddress;
}
public BeaconMatchSummaryAnalysis phoneNumber(BeaconMatchSummaryCode phoneNumber) {
this.phoneNumber = phoneNumber;
return this;
}
/**
* Get phoneNumber
* @return phoneNumber
**/
@ApiModelProperty(required = true, value = "")
public BeaconMatchSummaryCode getPhoneNumber() {
return phoneNumber;
}
public void setPhoneNumber(BeaconMatchSummaryCode phoneNumber) {
this.phoneNumber = phoneNumber;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BeaconMatchSummaryAnalysis beaconMatchSummaryAnalysis = (BeaconMatchSummaryAnalysis) o;
return Objects.equals(this.address, beaconMatchSummaryAnalysis.address) &&
Objects.equals(this.dateOfBirth, beaconMatchSummaryAnalysis.dateOfBirth) &&
Objects.equals(this.emailAddress, beaconMatchSummaryAnalysis.emailAddress) &&
Objects.equals(this.name, beaconMatchSummaryAnalysis.name) &&
Objects.equals(this.idNumber, beaconMatchSummaryAnalysis.idNumber) &&
Objects.equals(this.ipAddress, beaconMatchSummaryAnalysis.ipAddress) &&
Objects.equals(this.phoneNumber, beaconMatchSummaryAnalysis.phoneNumber);
}
@Override
public int hashCode() {
return Objects.hash(address, dateOfBirth, emailAddress, name, idNumber, ipAddress, phoneNumber);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BeaconMatchSummaryAnalysis {\n");
sb.append(" address: ").append(toIndentedString(address)).append("\n");
sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n");
sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" idNumber: ").append(toIndentedString(idNumber)).append("\n");
sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n");
sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).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/PartnerEndCustomerBankAddendumAcceptance.java | src/main/java/com/plaid/client/model/PartnerEndCustomerBankAddendumAcceptance.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;
/**
* The bank addendum acceptance for the end customer.
*/
@ApiModel(description = "The bank addendum acceptance for the end customer.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PartnerEndCustomerBankAddendumAcceptance {
public static final String SERIALIZED_NAME_CUSTOMER_ACCEPTED = "customer_accepted";
@SerializedName(SERIALIZED_NAME_CUSTOMER_ACCEPTED)
private Boolean customerAccepted;
public static final String SERIALIZED_NAME_CUSTOMER_IP_ADDRESS = "customer_ip_address";
@SerializedName(SERIALIZED_NAME_CUSTOMER_IP_ADDRESS)
private String customerIpAddress;
public static final String SERIALIZED_NAME_CUSTOMER_AGREEMENT_TIMESTAMP = "customer_agreement_timestamp";
@SerializedName(SERIALIZED_NAME_CUSTOMER_AGREEMENT_TIMESTAMP)
private OffsetDateTime customerAgreementTimestamp;
public PartnerEndCustomerBankAddendumAcceptance customerAccepted(Boolean customerAccepted) {
this.customerAccepted = customerAccepted;
return this;
}
/**
* Denotes whether the end customer has accepted the bank addendum terms.
* @return customerAccepted
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Denotes whether the end customer has accepted the bank addendum terms.")
public Boolean getCustomerAccepted() {
return customerAccepted;
}
public void setCustomerAccepted(Boolean customerAccepted) {
this.customerAccepted = customerAccepted;
}
public PartnerEndCustomerBankAddendumAcceptance customerIpAddress(String customerIpAddress) {
this.customerIpAddress = customerIpAddress;
return this;
}
/**
* The IP address of the end customer when they accepted the bank addendum.
* @return customerIpAddress
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The IP address of the end customer when they accepted the bank addendum.")
public String getCustomerIpAddress() {
return customerIpAddress;
}
public void setCustomerIpAddress(String customerIpAddress) {
this.customerIpAddress = customerIpAddress;
}
public PartnerEndCustomerBankAddendumAcceptance customerAgreementTimestamp(OffsetDateTime customerAgreementTimestamp) {
this.customerAgreementTimestamp = customerAgreementTimestamp;
return this;
}
/**
* The timestamp of when the end customer accepted the bank addendum in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:mm:ssZ`).
* @return customerAgreementTimestamp
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The timestamp of when the end customer accepted the bank addendum in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:mm:ssZ`).")
public OffsetDateTime getCustomerAgreementTimestamp() {
return customerAgreementTimestamp;
}
public void setCustomerAgreementTimestamp(OffsetDateTime customerAgreementTimestamp) {
this.customerAgreementTimestamp = customerAgreementTimestamp;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PartnerEndCustomerBankAddendumAcceptance partnerEndCustomerBankAddendumAcceptance = (PartnerEndCustomerBankAddendumAcceptance) o;
return Objects.equals(this.customerAccepted, partnerEndCustomerBankAddendumAcceptance.customerAccepted) &&
Objects.equals(this.customerIpAddress, partnerEndCustomerBankAddendumAcceptance.customerIpAddress) &&
Objects.equals(this.customerAgreementTimestamp, partnerEndCustomerBankAddendumAcceptance.customerAgreementTimestamp);
}
@Override
public int hashCode() {
return Objects.hash(customerAccepted, customerIpAddress, customerAgreementTimestamp);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PartnerEndCustomerBankAddendumAcceptance {\n");
sb.append(" customerAccepted: ").append(toIndentedString(customerAccepted)).append("\n");
sb.append(" customerIpAddress: ").append(toIndentedString(customerIpAddress)).append("\n");
sb.append(" customerAgreementTimestamp: ").append(toIndentedString(customerAgreementTimestamp)).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/MonitoringInsightsItemStatus.java | src/main/java/com/plaid/client/model/MonitoringInsightsItemStatus.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.MonitoringItemStatusCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* An object with details of the Monitoring Insights Item's status.
*/
@ApiModel(description = "An object with details of the Monitoring Insights Item's status.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class MonitoringInsightsItemStatus {
public static final String SERIALIZED_NAME_STATUS_CODE = "status_code";
@SerializedName(SERIALIZED_NAME_STATUS_CODE)
private MonitoringItemStatusCode statusCode;
public static final String SERIALIZED_NAME_REASON = "reason";
@SerializedName(SERIALIZED_NAME_REASON)
private String reason;
public MonitoringInsightsItemStatus statusCode(MonitoringItemStatusCode statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* Get statusCode
* @return statusCode
**/
@ApiModelProperty(required = true, value = "")
public MonitoringItemStatusCode getStatusCode() {
return statusCode;
}
public void setStatusCode(MonitoringItemStatusCode statusCode) {
this.statusCode = statusCode;
}
public MonitoringInsightsItemStatus reason(String reason) {
this.reason = reason;
return this;
}
/**
* A reason for why a Monitoring Insights Report is not available. This field will only be populated when the `status_code` is not `AVAILABLE`
* @return reason
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A reason for why a Monitoring Insights Report is not available. This field will only be populated when the `status_code` is not `AVAILABLE`")
public String getReason() {
return reason;
}
public void setReason(String reason) {
this.reason = reason;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
MonitoringInsightsItemStatus monitoringInsightsItemStatus = (MonitoringInsightsItemStatus) o;
return Objects.equals(this.statusCode, monitoringInsightsItemStatus.statusCode) &&
Objects.equals(this.reason, monitoringInsightsItemStatus.reason);
}
@Override
public int hashCode() {
return Objects.hash(statusCode, reason);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MonitoringInsightsItemStatus {\n");
sb.append(" statusCode: ").append(toIndentedString(statusCode)).append("\n");
sb.append(" reason: ").append(toIndentedString(reason)).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/EntityWatchlistScreeningHit.java | src/main/java/com/plaid/client/model/EntityWatchlistScreeningHit.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.EntityScreeningHitAnalysis;
import com.plaid.client.model.EntityScreeningHitData;
import com.plaid.client.model.EntityWatchlistCode;
import com.plaid.client.model.WatchlistScreeningHitStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
/**
* Data from a government watchlist that has been attached to the screening.
*/
@ApiModel(description = "Data from a government watchlist that has been attached to the screening.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class EntityWatchlistScreeningHit {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
public static final String SERIALIZED_NAME_REVIEW_STATUS = "review_status";
@SerializedName(SERIALIZED_NAME_REVIEW_STATUS)
private WatchlistScreeningHitStatus reviewStatus;
public static final String SERIALIZED_NAME_FIRST_ACTIVE = "first_active";
@SerializedName(SERIALIZED_NAME_FIRST_ACTIVE)
private java.sql.Timestamp firstActive;
public static final String SERIALIZED_NAME_INACTIVE_SINCE = "inactive_since";
@SerializedName(SERIALIZED_NAME_INACTIVE_SINCE)
private OffsetDateTime inactiveSince;
public static final String SERIALIZED_NAME_HISTORICAL_SINCE = "historical_since";
@SerializedName(SERIALIZED_NAME_HISTORICAL_SINCE)
private OffsetDateTime historicalSince;
public static final String SERIALIZED_NAME_LIST_CODE = "list_code";
@SerializedName(SERIALIZED_NAME_LIST_CODE)
private EntityWatchlistCode listCode;
public static final String SERIALIZED_NAME_PLAID_UID = "plaid_uid";
@SerializedName(SERIALIZED_NAME_PLAID_UID)
private String plaidUid;
public static final String SERIALIZED_NAME_SOURCE_UID = "source_uid";
@SerializedName(SERIALIZED_NAME_SOURCE_UID)
private String sourceUid;
public static final String SERIALIZED_NAME_ANALYSIS = "analysis";
@SerializedName(SERIALIZED_NAME_ANALYSIS)
private EntityScreeningHitAnalysis analysis;
public static final String SERIALIZED_NAME_DATA = "data";
@SerializedName(SERIALIZED_NAME_DATA)
private EntityScreeningHitData data;
public EntityWatchlistScreeningHit id(String id) {
this.id = id;
return this;
}
/**
* ID of the associated entity screening hit.
* @return id
**/
@ApiModelProperty(example = "enthit_52xR9LKo77r1Np", required = true, value = "ID of the associated entity screening hit.")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public EntityWatchlistScreeningHit reviewStatus(WatchlistScreeningHitStatus reviewStatus) {
this.reviewStatus = reviewStatus;
return this;
}
/**
* Get reviewStatus
* @return reviewStatus
**/
@ApiModelProperty(required = true, value = "")
public WatchlistScreeningHitStatus getReviewStatus() {
return reviewStatus;
}
public void setReviewStatus(WatchlistScreeningHitStatus reviewStatus) {
this.reviewStatus = reviewStatus;
}
public EntityWatchlistScreeningHit firstActive(java.sql.Timestamp firstActive) {
this.firstActive = firstActive;
return this;
}
/**
* Get firstActive
* @return firstActive
**/
@ApiModelProperty(required = true, value = "")
public java.sql.Timestamp getFirstActive() {
return firstActive;
}
public void setFirstActive(java.sql.Timestamp firstActive) {
this.firstActive = firstActive;
}
public EntityWatchlistScreeningHit inactiveSince(OffsetDateTime inactiveSince) {
this.inactiveSince = inactiveSince;
return this;
}
/**
* An ISO8601 formatted timestamp.
* @return inactiveSince
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "2020-07-24T03:26:02Z", required = true, value = "An ISO8601 formatted timestamp.")
public OffsetDateTime getInactiveSince() {
return inactiveSince;
}
public void setInactiveSince(OffsetDateTime inactiveSince) {
this.inactiveSince = inactiveSince;
}
public EntityWatchlistScreeningHit historicalSince(OffsetDateTime historicalSince) {
this.historicalSince = historicalSince;
return this;
}
/**
* An ISO8601 formatted timestamp.
* @return historicalSince
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "2020-07-24T03:26:02Z", required = true, value = "An ISO8601 formatted timestamp.")
public OffsetDateTime getHistoricalSince() {
return historicalSince;
}
public void setHistoricalSince(OffsetDateTime historicalSince) {
this.historicalSince = historicalSince;
}
public EntityWatchlistScreeningHit listCode(EntityWatchlistCode listCode) {
this.listCode = listCode;
return this;
}
/**
* Get listCode
* @return listCode
**/
@ApiModelProperty(required = true, value = "")
public EntityWatchlistCode getListCode() {
return listCode;
}
public void setListCode(EntityWatchlistCode listCode) {
this.listCode = listCode;
}
public EntityWatchlistScreeningHit plaidUid(String plaidUid) {
this.plaidUid = plaidUid;
return this;
}
/**
* A universal identifier for a watchlist individual that is stable across searches and updates.
* @return plaidUid
**/
@ApiModelProperty(example = "uid_3NggckTimGSJHS", required = true, value = "A universal identifier for a watchlist individual that is stable across searches and updates.")
public String getPlaidUid() {
return plaidUid;
}
public void setPlaidUid(String plaidUid) {
this.plaidUid = plaidUid;
}
public EntityWatchlistScreeningHit sourceUid(String sourceUid) {
this.sourceUid = sourceUid;
return this;
}
/**
* The identifier provided by the source sanction or watchlist. When one is not provided by the source, this is `null`.
* @return sourceUid
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "26192ABC", required = true, value = "The identifier provided by the source sanction or watchlist. When one is not provided by the source, this is `null`.")
public String getSourceUid() {
return sourceUid;
}
public void setSourceUid(String sourceUid) {
this.sourceUid = sourceUid;
}
public EntityWatchlistScreeningHit analysis(EntityScreeningHitAnalysis analysis) {
this.analysis = analysis;
return this;
}
/**
* Get analysis
* @return analysis
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public EntityScreeningHitAnalysis getAnalysis() {
return analysis;
}
public void setAnalysis(EntityScreeningHitAnalysis analysis) {
this.analysis = analysis;
}
public EntityWatchlistScreeningHit data(EntityScreeningHitData data) {
this.data = data;
return this;
}
/**
* Get data
* @return data
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public EntityScreeningHitData getData() {
return data;
}
public void setData(EntityScreeningHitData data) {
this.data = data;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
EntityWatchlistScreeningHit entityWatchlistScreeningHit = (EntityWatchlistScreeningHit) o;
return Objects.equals(this.id, entityWatchlistScreeningHit.id) &&
Objects.equals(this.reviewStatus, entityWatchlistScreeningHit.reviewStatus) &&
Objects.equals(this.firstActive, entityWatchlistScreeningHit.firstActive) &&
Objects.equals(this.inactiveSince, entityWatchlistScreeningHit.inactiveSince) &&
Objects.equals(this.historicalSince, entityWatchlistScreeningHit.historicalSince) &&
Objects.equals(this.listCode, entityWatchlistScreeningHit.listCode) &&
Objects.equals(this.plaidUid, entityWatchlistScreeningHit.plaidUid) &&
Objects.equals(this.sourceUid, entityWatchlistScreeningHit.sourceUid) &&
Objects.equals(this.analysis, entityWatchlistScreeningHit.analysis) &&
Objects.equals(this.data, entityWatchlistScreeningHit.data);
}
@Override
public int hashCode() {
return Objects.hash(id, reviewStatus, firstActive, inactiveSince, historicalSince, listCode, plaidUid, sourceUid, analysis, data);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class EntityWatchlistScreeningHit {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" reviewStatus: ").append(toIndentedString(reviewStatus)).append("\n");
sb.append(" firstActive: ").append(toIndentedString(firstActive)).append("\n");
sb.append(" inactiveSince: ").append(toIndentedString(inactiveSince)).append("\n");
sb.append(" historicalSince: ").append(toIndentedString(historicalSince)).append("\n");
sb.append(" listCode: ").append(toIndentedString(listCode)).append("\n");
sb.append(" plaidUid: ").append(toIndentedString(plaidUid)).append("\n");
sb.append(" sourceUid: ").append(toIndentedString(sourceUid)).append("\n");
sb.append(" analysis: ").append(toIndentedString(analysis)).append("\n");
sb.append(" data: ").append(toIndentedString(data)).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/PlaidError.java | src/main/java/com/plaid/client/model/PlaidError.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.PlaidErrorType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Errors are identified by `error_code` and categorized by `error_type`. Use these in preference to HTTP status codes to identify and handle specific errors. HTTP status codes are set and provide the broadest categorization of errors: 4xx codes are for developer- or user-related errors, and 5xx codes are for Plaid-related errors, and the status will be 2xx in non-error cases. An Item with a non-`null` error object will only be part of an API response when calling `/item/get` to view Item status. Otherwise, error fields will be `null` if no error has occurred; if an error has occurred, an error code will be returned instead.
*/
@ApiModel(description = "Errors are identified by `error_code` and categorized by `error_type`. Use these in preference to HTTP status codes to identify and handle specific errors. HTTP status codes are set and provide the broadest categorization of errors: 4xx codes are for developer- or user-related errors, and 5xx codes are for Plaid-related errors, and the status will be 2xx in non-error cases. An Item with a non-`null` error object will only be part of an API response when calling `/item/get` to view Item status. Otherwise, error fields will be `null` if no error has occurred; if an error has occurred, an error code will be returned instead.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PlaidError {
public static final String SERIALIZED_NAME_ERROR_TYPE = "error_type";
@SerializedName(SERIALIZED_NAME_ERROR_TYPE)
private PlaidErrorType errorType;
public static final String SERIALIZED_NAME_ERROR_CODE = "error_code";
@SerializedName(SERIALIZED_NAME_ERROR_CODE)
private String errorCode;
public static final String SERIALIZED_NAME_ERROR_CODE_REASON = "error_code_reason";
@SerializedName(SERIALIZED_NAME_ERROR_CODE_REASON)
private String errorCodeReason;
public static final String SERIALIZED_NAME_ERROR_MESSAGE = "error_message";
@SerializedName(SERIALIZED_NAME_ERROR_MESSAGE)
private String errorMessage;
public static final String SERIALIZED_NAME_DISPLAY_MESSAGE = "display_message";
@SerializedName(SERIALIZED_NAME_DISPLAY_MESSAGE)
private String displayMessage;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public static final String SERIALIZED_NAME_CAUSES = "causes";
@SerializedName(SERIALIZED_NAME_CAUSES)
private List<Object> causes = null;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private Integer status;
public static final String SERIALIZED_NAME_DOCUMENTATION_URL = "documentation_url";
@SerializedName(SERIALIZED_NAME_DOCUMENTATION_URL)
private String documentationUrl;
public static final String SERIALIZED_NAME_SUGGESTED_ACTION = "suggested_action";
@SerializedName(SERIALIZED_NAME_SUGGESTED_ACTION)
private String suggestedAction;
public static final String SERIALIZED_NAME_REQUIRED_ACCOUNT_SUBTYPES = "required_account_subtypes";
@SerializedName(SERIALIZED_NAME_REQUIRED_ACCOUNT_SUBTYPES)
private List<String> requiredAccountSubtypes = null;
public static final String SERIALIZED_NAME_PROVIDED_ACCOUNT_SUBTYPES = "provided_account_subtypes";
@SerializedName(SERIALIZED_NAME_PROVIDED_ACCOUNT_SUBTYPES)
private List<String> providedAccountSubtypes = null;
public PlaidError errorType(PlaidErrorType errorType) {
this.errorType = errorType;
return this;
}
/**
* Get errorType
* @return errorType
**/
@ApiModelProperty(required = true, value = "")
public PlaidErrorType getErrorType() {
return errorType;
}
public void setErrorType(PlaidErrorType errorType) {
this.errorType = errorType;
}
public PlaidError errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* The particular error code. Safe for programmatic use.
* @return errorCode
**/
@ApiModelProperty(required = true, value = "The particular error code. Safe for programmatic use.")
public String getErrorCode() {
return errorCode;
}
public void setErrorCode(String errorCode) {
this.errorCode = errorCode;
}
public PlaidError errorCodeReason(String errorCodeReason) {
this.errorCodeReason = errorCodeReason;
return this;
}
/**
* The specific reason for the error code. Currently, reasons are only supported OAuth-based item errors; `null` will be returned otherwise. Safe for programmatic use. Possible values: `OAUTH_INVALID_TOKEN`: The user’s OAuth connection to this institution has been invalidated. `OAUTH_CONSENT_EXPIRED`: The user's access consent for this OAuth connection to this institution has expired. `OAUTH_USER_REVOKED`: The user’s OAuth connection to this institution is invalid because the user revoked their connection.
* @return errorCodeReason
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The specific reason for the error code. Currently, reasons are only supported OAuth-based item errors; `null` will be returned otherwise. Safe for programmatic use. Possible values: `OAUTH_INVALID_TOKEN`: The user’s OAuth connection to this institution has been invalidated. `OAUTH_CONSENT_EXPIRED`: The user's access consent for this OAuth connection to this institution has expired. `OAUTH_USER_REVOKED`: The user’s OAuth connection to this institution is invalid because the user revoked their connection.")
public String getErrorCodeReason() {
return errorCodeReason;
}
public void setErrorCodeReason(String errorCodeReason) {
this.errorCodeReason = errorCodeReason;
}
public PlaidError errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* A developer-friendly representation of the error code. This may change over time and is not safe for programmatic use.
* @return errorMessage
**/
@ApiModelProperty(required = true, value = "A developer-friendly representation of the error code. This may change over time and is not safe for programmatic use.")
public String getErrorMessage() {
return errorMessage;
}
public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}
public PlaidError displayMessage(String displayMessage) {
this.displayMessage = displayMessage;
return this;
}
/**
* A user-friendly representation of the error code. `null` if the error is not related to user action. This may change over time and is not safe for programmatic use.
* @return displayMessage
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "A user-friendly representation of the error code. `null` if the error is not related to user action. This may change over time and is not safe for programmatic use.")
public String getDisplayMessage() {
return displayMessage;
}
public void setDisplayMessage(String displayMessage) {
this.displayMessage = displayMessage;
}
public PlaidError requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique ID identifying the request, to be used for troubleshooting purposes. This field will be omitted in errors provided by webhooks.
* @return requestId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A unique ID identifying the request, to be used for troubleshooting purposes. This field will be omitted in errors provided by webhooks.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public PlaidError causes(List<Object> causes) {
this.causes = causes;
return this;
}
public PlaidError addCausesItem(Object causesItem) {
if (this.causes == null) {
this.causes = new ArrayList<>();
}
this.causes.add(causesItem);
return this;
}
/**
* In this product, a request can pertain to more than one Item. If an error is returned for such a request, `causes` will return an array of errors containing a breakdown of these errors on the individual Item level, if any can be identified. `causes` will be provided for the `error_type` `ASSET_REPORT_ERROR` or `CHECK_REPORT_ERROR`. `causes` will also not be populated inside an error nested within a `warning` object.
* @return causes
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "In this product, a request can pertain to more than one Item. If an error is returned for such a request, `causes` will return an array of errors containing a breakdown of these errors on the individual Item level, if any can be identified. `causes` will be provided for the `error_type` `ASSET_REPORT_ERROR` or `CHECK_REPORT_ERROR`. `causes` will also not be populated inside an error nested within a `warning` object.")
public List<Object> getCauses() {
return causes;
}
public void setCauses(List<Object> causes) {
this.causes = causes;
}
public PlaidError status(Integer status) {
this.status = status;
return this;
}
/**
* The HTTP status code associated with the error. This will only be returned in the response body when the error information is provided via a webhook.
* @return status
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The HTTP status code associated with the error. This will only be returned in the response body when the error information is provided via a webhook.")
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public PlaidError documentationUrl(String documentationUrl) {
this.documentationUrl = documentationUrl;
return this;
}
/**
* The URL of a Plaid documentation page with more information about the error
* @return documentationUrl
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The URL of a Plaid documentation page with more information about the error")
public String getDocumentationUrl() {
return documentationUrl;
}
public void setDocumentationUrl(String documentationUrl) {
this.documentationUrl = documentationUrl;
}
public PlaidError suggestedAction(String suggestedAction) {
this.suggestedAction = suggestedAction;
return this;
}
/**
* Suggested steps for resolving the error
* @return suggestedAction
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Suggested steps for resolving the error")
public String getSuggestedAction() {
return suggestedAction;
}
public void setSuggestedAction(String suggestedAction) {
this.suggestedAction = suggestedAction;
}
public PlaidError requiredAccountSubtypes(List<String> requiredAccountSubtypes) {
this.requiredAccountSubtypes = requiredAccountSubtypes;
return this;
}
public PlaidError addRequiredAccountSubtypesItem(String requiredAccountSubtypesItem) {
if (this.requiredAccountSubtypes == null) {
this.requiredAccountSubtypes = new ArrayList<>();
}
this.requiredAccountSubtypes.add(requiredAccountSubtypesItem);
return this;
}
/**
* A list of the account subtypes that were requested via the `account_filters` parameter in `/link/token/create`. Currently only populated for `NO_ACCOUNTS` errors from Items with `investments_auth` as an enabled product.
* @return requiredAccountSubtypes
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A list of the account subtypes that were requested via the `account_filters` parameter in `/link/token/create`. Currently only populated for `NO_ACCOUNTS` errors from Items with `investments_auth` as an enabled product. ")
public List<String> getRequiredAccountSubtypes() {
return requiredAccountSubtypes;
}
public void setRequiredAccountSubtypes(List<String> requiredAccountSubtypes) {
this.requiredAccountSubtypes = requiredAccountSubtypes;
}
public PlaidError providedAccountSubtypes(List<String> providedAccountSubtypes) {
this.providedAccountSubtypes = providedAccountSubtypes;
return this;
}
public PlaidError addProvidedAccountSubtypesItem(String providedAccountSubtypesItem) {
if (this.providedAccountSubtypes == null) {
this.providedAccountSubtypes = new ArrayList<>();
}
this.providedAccountSubtypes.add(providedAccountSubtypesItem);
return this;
}
/**
* A list of the account subtypes that were extracted but did not match the requested subtypes via the `account_filters` parameter in `/link/token/create`. Currently only populated for `NO_ACCOUNTS` errors from Items with `investments_auth` as an enabled product.
* @return providedAccountSubtypes
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A list of the account subtypes that were extracted but did not match the requested subtypes via the `account_filters` parameter in `/link/token/create`. Currently only populated for `NO_ACCOUNTS` errors from Items with `investments_auth` as an enabled product. ")
public List<String> getProvidedAccountSubtypes() {
return providedAccountSubtypes;
}
public void setProvidedAccountSubtypes(List<String> providedAccountSubtypes) {
this.providedAccountSubtypes = providedAccountSubtypes;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PlaidError plaidError = (PlaidError) o;
return Objects.equals(this.errorType, plaidError.errorType) &&
Objects.equals(this.errorCode, plaidError.errorCode) &&
Objects.equals(this.errorCodeReason, plaidError.errorCodeReason) &&
Objects.equals(this.errorMessage, plaidError.errorMessage) &&
Objects.equals(this.displayMessage, plaidError.displayMessage) &&
Objects.equals(this.requestId, plaidError.requestId) &&
Objects.equals(this.causes, plaidError.causes) &&
Objects.equals(this.status, plaidError.status) &&
Objects.equals(this.documentationUrl, plaidError.documentationUrl) &&
Objects.equals(this.suggestedAction, plaidError.suggestedAction) &&
Objects.equals(this.requiredAccountSubtypes, plaidError.requiredAccountSubtypes) &&
Objects.equals(this.providedAccountSubtypes, plaidError.providedAccountSubtypes);
}
@Override
public int hashCode() {
return Objects.hash(errorType, errorCode, errorCodeReason, errorMessage, displayMessage, requestId, causes, status, documentationUrl, suggestedAction, requiredAccountSubtypes, providedAccountSubtypes);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PlaidError {\n");
sb.append(" errorType: ").append(toIndentedString(errorType)).append("\n");
sb.append(" errorCode: ").append(toIndentedString(errorCode)).append("\n");
sb.append(" errorCodeReason: ").append(toIndentedString(errorCodeReason)).append("\n");
sb.append(" errorMessage: ").append(toIndentedString(errorMessage)).append("\n");
sb.append(" displayMessage: ").append(toIndentedString(displayMessage)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append(" causes: ").append(toIndentedString(causes)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" documentationUrl: ").append(toIndentedString(documentationUrl)).append("\n");
sb.append(" suggestedAction: ").append(toIndentedString(suggestedAction)).append("\n");
sb.append(" requiredAccountSubtypes: ").append(toIndentedString(requiredAccountSubtypes)).append("\n");
sb.append(" providedAccountSubtypes: ").append(toIndentedString(providedAccountSubtypes)).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/AutomaticallyVerifiedWebhook.java | src/main/java/com/plaid/client/model/AutomaticallyVerifiedWebhook.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;
/**
* Fired when an Item is verified via automated micro-deposits. We recommend communicating to your users when this event is received to notify them that their account is verified and ready for use.
*/
@ApiModel(description = "Fired when an Item is verified via automated micro-deposits. We recommend communicating to your users when this event is received to notify them that their account is verified and ready for use.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class AutomaticallyVerifiedWebhook {
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_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
private String accountId;
public static final String SERIALIZED_NAME_ITEM_ID = "item_id";
@SerializedName(SERIALIZED_NAME_ITEM_ID)
private String itemId;
public static final String SERIALIZED_NAME_ENVIRONMENT = "environment";
@SerializedName(SERIALIZED_NAME_ENVIRONMENT)
private WebhookEnvironmentValues environment;
public static final String SERIALIZED_NAME_ERROR = "error";
@SerializedName(SERIALIZED_NAME_ERROR)
private PlaidError error;
public AutomaticallyVerifiedWebhook webhookType(String webhookType) {
this.webhookType = webhookType;
return this;
}
/**
* `AUTH`
* @return webhookType
**/
@ApiModelProperty(required = true, value = "`AUTH`")
public String getWebhookType() {
return webhookType;
}
public void setWebhookType(String webhookType) {
this.webhookType = webhookType;
}
public AutomaticallyVerifiedWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `AUTOMATICALLY_VERIFIED`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`AUTOMATICALLY_VERIFIED`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public AutomaticallyVerifiedWebhook accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* The `account_id` of the account associated with the webhook
* @return accountId
**/
@ApiModelProperty(required = true, value = "The `account_id` of the account associated with the webhook")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public AutomaticallyVerifiedWebhook 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 AutomaticallyVerifiedWebhook 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;
}
public AutomaticallyVerifiedWebhook 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;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AutomaticallyVerifiedWebhook automaticallyVerifiedWebhook = (AutomaticallyVerifiedWebhook) o;
return Objects.equals(this.webhookType, automaticallyVerifiedWebhook.webhookType) &&
Objects.equals(this.webhookCode, automaticallyVerifiedWebhook.webhookCode) &&
Objects.equals(this.accountId, automaticallyVerifiedWebhook.accountId) &&
Objects.equals(this.itemId, automaticallyVerifiedWebhook.itemId) &&
Objects.equals(this.environment, automaticallyVerifiedWebhook.environment) &&
Objects.equals(this.error, automaticallyVerifiedWebhook.error);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, accountId, itemId, environment, error);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AutomaticallyVerifiedWebhook {\n");
sb.append(" webhookType: ").append(toIndentedString(webhookType)).append("\n");
sb.append(" webhookCode: ").append(toIndentedString(webhookCode)).append("\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" itemId: ").append(toIndentedString(itemId)).append("\n");
sb.append(" environment: ").append(toIndentedString(environment)).append("\n");
sb.append(" error: ").append(toIndentedString(error)).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/CraMonitoringInsightsGetResponse.java | src/main/java/com/plaid/client/model/CraMonitoringInsightsGetResponse.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.CraMonitoringInsightsItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* CraMonitoringInsightsGetResponse defines the response schema for `cra/monitoring_insights/get`
*/
@ApiModel(description = "CraMonitoringInsightsGetResponse defines the response schema for `cra/monitoring_insights/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraMonitoringInsightsGetResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public static final String SERIALIZED_NAME_USER_INSIGHTS_ID = "user_insights_id";
@SerializedName(SERIALIZED_NAME_USER_INSIGHTS_ID)
private String userInsightsId;
public static final String SERIALIZED_NAME_ITEMS = "items";
@SerializedName(SERIALIZED_NAME_ITEMS)
private List<CraMonitoringInsightsItem> items = new ArrayList<>();
public CraMonitoringInsightsGetResponse 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;
}
public CraMonitoringInsightsGetResponse userInsightsId(String userInsightsId) {
this.userInsightsId = userInsightsId;
return this;
}
/**
* A unique ID identifying a User Monitoring Insights Report. Like all Plaid identifiers, this ID is case sensitive.
* @return userInsightsId
**/
@ApiModelProperty(required = true, value = "A unique ID identifying a User Monitoring Insights Report. Like all Plaid identifiers, this ID is case sensitive.")
public String getUserInsightsId() {
return userInsightsId;
}
public void setUserInsightsId(String userInsightsId) {
this.userInsightsId = userInsightsId;
}
public CraMonitoringInsightsGetResponse items(List<CraMonitoringInsightsItem> items) {
this.items = items;
return this;
}
public CraMonitoringInsightsGetResponse addItemsItem(CraMonitoringInsightsItem itemsItem) {
this.items.add(itemsItem);
return this;
}
/**
* An array of Monitoring Insights Items associated with the user.
* @return items
**/
@ApiModelProperty(required = true, value = "An array of Monitoring Insights Items associated with the user.")
public List<CraMonitoringInsightsItem> getItems() {
return items;
}
public void setItems(List<CraMonitoringInsightsItem> items) {
this.items = items;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CraMonitoringInsightsGetResponse craMonitoringInsightsGetResponse = (CraMonitoringInsightsGetResponse) o;
return Objects.equals(this.requestId, craMonitoringInsightsGetResponse.requestId) &&
Objects.equals(this.userInsightsId, craMonitoringInsightsGetResponse.userInsightsId) &&
Objects.equals(this.items, craMonitoringInsightsGetResponse.items);
}
@Override
public int hashCode() {
return Objects.hash(requestId, userInsightsId, items);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraMonitoringInsightsGetResponse {\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append(" userInsightsId: ").append(toIndentedString(userInsightsId)).append("\n");
sb.append(" items: ").append(toIndentedString(items)).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/CraBankIncomeSummary.java | src/main/java/com/plaid/client/model/CraBankIncomeSummary.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.CraBankIncomeHistoricalSummary;
import com.plaid.client.model.CreditAmountWithCurrency;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
/**
* Summary for income across all income sources and items (max history of 730 days).
*/
@ApiModel(description = "Summary for income across all income sources and items (max history of 730 days).")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraBankIncomeSummary {
public static final String SERIALIZED_NAME_TOTAL_AMOUNTS = "total_amounts";
@SerializedName(SERIALIZED_NAME_TOTAL_AMOUNTS)
private List<CreditAmountWithCurrency> totalAmounts = null;
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_INCOME_SOURCES_COUNT = "income_sources_count";
@SerializedName(SERIALIZED_NAME_INCOME_SOURCES_COUNT)
private Integer incomeSourcesCount;
public static final String SERIALIZED_NAME_INCOME_CATEGORIES_COUNT = "income_categories_count";
@SerializedName(SERIALIZED_NAME_INCOME_CATEGORIES_COUNT)
private Integer incomeCategoriesCount;
public static final String SERIALIZED_NAME_INCOME_TRANSACTIONS_COUNT = "income_transactions_count";
@SerializedName(SERIALIZED_NAME_INCOME_TRANSACTIONS_COUNT)
private Integer incomeTransactionsCount;
public static final String SERIALIZED_NAME_HISTORICAL_AVERAGE_MONTHLY_GROSS_INCOME = "historical_average_monthly_gross_income";
@SerializedName(SERIALIZED_NAME_HISTORICAL_AVERAGE_MONTHLY_GROSS_INCOME)
private List<CreditAmountWithCurrency> historicalAverageMonthlyGrossIncome = null;
public static final String SERIALIZED_NAME_HISTORICAL_AVERAGE_MONTHLY_INCOME = "historical_average_monthly_income";
@SerializedName(SERIALIZED_NAME_HISTORICAL_AVERAGE_MONTHLY_INCOME)
private List<CreditAmountWithCurrency> historicalAverageMonthlyIncome = null;
public static final String SERIALIZED_NAME_FORECASTED_AVERAGE_MONTHLY_INCOME = "forecasted_average_monthly_income";
@SerializedName(SERIALIZED_NAME_FORECASTED_AVERAGE_MONTHLY_INCOME)
private List<CreditAmountWithCurrency> forecastedAverageMonthlyIncome = null;
public static final String SERIALIZED_NAME_HISTORICAL_ANNUAL_GROSS_INCOME = "historical_annual_gross_income";
@SerializedName(SERIALIZED_NAME_HISTORICAL_ANNUAL_GROSS_INCOME)
private List<CreditAmountWithCurrency> historicalAnnualGrossIncome = null;
public static final String SERIALIZED_NAME_HISTORICAL_ANNUAL_INCOME = "historical_annual_income";
@SerializedName(SERIALIZED_NAME_HISTORICAL_ANNUAL_INCOME)
private List<CreditAmountWithCurrency> historicalAnnualIncome = null;
public static final String SERIALIZED_NAME_FORECASTED_ANNUAL_INCOME = "forecasted_annual_income";
@SerializedName(SERIALIZED_NAME_FORECASTED_ANNUAL_INCOME)
private List<CreditAmountWithCurrency> forecastedAnnualIncome = null;
public static final String SERIALIZED_NAME_HISTORICAL_SUMMARY = "historical_summary";
@SerializedName(SERIALIZED_NAME_HISTORICAL_SUMMARY)
private List<CraBankIncomeHistoricalSummary> historicalSummary = null;
public CraBankIncomeSummary totalAmounts(List<CreditAmountWithCurrency> totalAmounts) {
this.totalAmounts = totalAmounts;
return this;
}
public CraBankIncomeSummary addTotalAmountsItem(CreditAmountWithCurrency totalAmountsItem) {
if (this.totalAmounts == null) {
this.totalAmounts = new ArrayList<>();
}
this.totalAmounts.add(totalAmountsItem);
return this;
}
/**
* Total amount of earnings across all the income sources in the end user's Items for the days requested by the client. This can contain multiple amounts, with each amount denominated in one unique currency.
* @return totalAmounts
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Total amount of earnings across all the income sources in the end user's Items for the days requested by the client. This can contain multiple amounts, with each amount denominated in one unique currency.")
public List<CreditAmountWithCurrency> getTotalAmounts() {
return totalAmounts;
}
public void setTotalAmounts(List<CreditAmountWithCurrency> totalAmounts) {
this.totalAmounts = totalAmounts;
}
public CraBankIncomeSummary startDate(LocalDate startDate) {
this.startDate = startDate;
return this;
}
/**
* The earliest date within the days requested in which all income sources identified by Plaid appear in a user's account. The date will be returned in an ISO 8601 format (YYYY-MM-DD).
* @return startDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The earliest date within the days requested in which all income sources identified by Plaid appear in a user's account. 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 CraBankIncomeSummary endDate(LocalDate endDate) {
this.endDate = endDate;
return this;
}
/**
* The latest date in which all income sources identified by Plaid appear in the user's account. The date will be returned in an ISO 8601 format (YYYY-MM-DD).
* @return endDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The latest date in which all income sources identified by Plaid appear in the user's account. 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 CraBankIncomeSummary incomeSourcesCount(Integer incomeSourcesCount) {
this.incomeSourcesCount = incomeSourcesCount;
return this;
}
/**
* Number of income sources per end user.
* @return incomeSourcesCount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Number of income sources per end user.")
public Integer getIncomeSourcesCount() {
return incomeSourcesCount;
}
public void setIncomeSourcesCount(Integer incomeSourcesCount) {
this.incomeSourcesCount = incomeSourcesCount;
}
public CraBankIncomeSummary incomeCategoriesCount(Integer incomeCategoriesCount) {
this.incomeCategoriesCount = incomeCategoriesCount;
return this;
}
/**
* Number of income categories per end user.
* @return incomeCategoriesCount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Number of income categories per end user.")
public Integer getIncomeCategoriesCount() {
return incomeCategoriesCount;
}
public void setIncomeCategoriesCount(Integer incomeCategoriesCount) {
this.incomeCategoriesCount = incomeCategoriesCount;
}
public CraBankIncomeSummary incomeTransactionsCount(Integer incomeTransactionsCount) {
this.incomeTransactionsCount = incomeTransactionsCount;
return this;
}
/**
* Number of income transactions per end user.
* @return incomeTransactionsCount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Number of income transactions per end user.")
public Integer getIncomeTransactionsCount() {
return incomeTransactionsCount;
}
public void setIncomeTransactionsCount(Integer incomeTransactionsCount) {
this.incomeTransactionsCount = incomeTransactionsCount;
}
public CraBankIncomeSummary historicalAverageMonthlyGrossIncome(List<CreditAmountWithCurrency> historicalAverageMonthlyGrossIncome) {
this.historicalAverageMonthlyGrossIncome = historicalAverageMonthlyGrossIncome;
return this;
}
public CraBankIncomeSummary addHistoricalAverageMonthlyGrossIncomeItem(CreditAmountWithCurrency historicalAverageMonthlyGrossIncomeItem) {
if (this.historicalAverageMonthlyGrossIncome == null) {
this.historicalAverageMonthlyGrossIncome = new ArrayList<>();
}
this.historicalAverageMonthlyGrossIncome.add(historicalAverageMonthlyGrossIncomeItem);
return this;
}
/**
* An estimate of the average gross monthly income based on the historical net amount and income category for the income source(s). The average monthly income is calculated based on the lifetime of the income stream, rather than the entire historical period included in the scope of the report.
* @return historicalAverageMonthlyGrossIncome
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "An estimate of the average gross monthly income based on the historical net amount and income category for the income source(s). The average monthly income is calculated based on the lifetime of the income stream, rather than the entire historical period included in the scope of the report.")
public List<CreditAmountWithCurrency> getHistoricalAverageMonthlyGrossIncome() {
return historicalAverageMonthlyGrossIncome;
}
public void setHistoricalAverageMonthlyGrossIncome(List<CreditAmountWithCurrency> historicalAverageMonthlyGrossIncome) {
this.historicalAverageMonthlyGrossIncome = historicalAverageMonthlyGrossIncome;
}
public CraBankIncomeSummary historicalAverageMonthlyIncome(List<CreditAmountWithCurrency> historicalAverageMonthlyIncome) {
this.historicalAverageMonthlyIncome = historicalAverageMonthlyIncome;
return this;
}
public CraBankIncomeSummary addHistoricalAverageMonthlyIncomeItem(CreditAmountWithCurrency historicalAverageMonthlyIncomeItem) {
if (this.historicalAverageMonthlyIncome == null) {
this.historicalAverageMonthlyIncome = new ArrayList<>();
}
this.historicalAverageMonthlyIncome.add(historicalAverageMonthlyIncomeItem);
return this;
}
/**
* The average monthly income amount estimated based on the historical data for the income source(s). The average monthly income is calculated based on the lifetime of the income stream, rather than the entire historical period included in the scope of the report.
* @return historicalAverageMonthlyIncome
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The average monthly income amount estimated based on the historical data for the income source(s). The average monthly income is calculated based on the lifetime of the income stream, rather than the entire historical period included in the scope of the report.")
public List<CreditAmountWithCurrency> getHistoricalAverageMonthlyIncome() {
return historicalAverageMonthlyIncome;
}
public void setHistoricalAverageMonthlyIncome(List<CreditAmountWithCurrency> historicalAverageMonthlyIncome) {
this.historicalAverageMonthlyIncome = historicalAverageMonthlyIncome;
}
public CraBankIncomeSummary forecastedAverageMonthlyIncome(List<CreditAmountWithCurrency> forecastedAverageMonthlyIncome) {
this.forecastedAverageMonthlyIncome = forecastedAverageMonthlyIncome;
return this;
}
public CraBankIncomeSummary addForecastedAverageMonthlyIncomeItem(CreditAmountWithCurrency forecastedAverageMonthlyIncomeItem) {
if (this.forecastedAverageMonthlyIncome == null) {
this.forecastedAverageMonthlyIncome = new ArrayList<>();
}
this.forecastedAverageMonthlyIncome.add(forecastedAverageMonthlyIncomeItem);
return this;
}
/**
* The predicted average monthly income amount for the income source(s).
* @return forecastedAverageMonthlyIncome
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The predicted average monthly income amount for the income source(s).")
public List<CreditAmountWithCurrency> getForecastedAverageMonthlyIncome() {
return forecastedAverageMonthlyIncome;
}
public void setForecastedAverageMonthlyIncome(List<CreditAmountWithCurrency> forecastedAverageMonthlyIncome) {
this.forecastedAverageMonthlyIncome = forecastedAverageMonthlyIncome;
}
public CraBankIncomeSummary historicalAnnualGrossIncome(List<CreditAmountWithCurrency> historicalAnnualGrossIncome) {
this.historicalAnnualGrossIncome = historicalAnnualGrossIncome;
return this;
}
public CraBankIncomeSummary addHistoricalAnnualGrossIncomeItem(CreditAmountWithCurrency historicalAnnualGrossIncomeItem) {
if (this.historicalAnnualGrossIncome == null) {
this.historicalAnnualGrossIncome = new ArrayList<>();
}
this.historicalAnnualGrossIncome.add(historicalAnnualGrossIncomeItem);
return this;
}
/**
* An estimate of the annual gross income for the income source, calculated by multiplying the `historical_average_monthly_gross_income` by 12.
* @return historicalAnnualGrossIncome
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "An estimate of the annual gross income for the income source, calculated by multiplying the `historical_average_monthly_gross_income` by 12.")
public List<CreditAmountWithCurrency> getHistoricalAnnualGrossIncome() {
return historicalAnnualGrossIncome;
}
public void setHistoricalAnnualGrossIncome(List<CreditAmountWithCurrency> historicalAnnualGrossIncome) {
this.historicalAnnualGrossIncome = historicalAnnualGrossIncome;
}
public CraBankIncomeSummary historicalAnnualIncome(List<CreditAmountWithCurrency> historicalAnnualIncome) {
this.historicalAnnualIncome = historicalAnnualIncome;
return this;
}
public CraBankIncomeSummary addHistoricalAnnualIncomeItem(CreditAmountWithCurrency historicalAnnualIncomeItem) {
if (this.historicalAnnualIncome == null) {
this.historicalAnnualIncome = new ArrayList<>();
}
this.historicalAnnualIncome.add(historicalAnnualIncomeItem);
return this;
}
/**
* An estimate of the annual net income for the income source, calculated by multiplying the `historical_average_monthly_income` by 12.
* @return historicalAnnualIncome
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "An estimate of the annual net income for the income source, calculated by multiplying the `historical_average_monthly_income` by 12.")
public List<CreditAmountWithCurrency> getHistoricalAnnualIncome() {
return historicalAnnualIncome;
}
public void setHistoricalAnnualIncome(List<CreditAmountWithCurrency> historicalAnnualIncome) {
this.historicalAnnualIncome = historicalAnnualIncome;
}
public CraBankIncomeSummary forecastedAnnualIncome(List<CreditAmountWithCurrency> forecastedAnnualIncome) {
this.forecastedAnnualIncome = forecastedAnnualIncome;
return this;
}
public CraBankIncomeSummary addForecastedAnnualIncomeItem(CreditAmountWithCurrency forecastedAnnualIncomeItem) {
if (this.forecastedAnnualIncome == null) {
this.forecastedAnnualIncome = new ArrayList<>();
}
this.forecastedAnnualIncome.add(forecastedAnnualIncomeItem);
return this;
}
/**
* The predicted average annual income amount for the income source(s).
* @return forecastedAnnualIncome
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The predicted average annual income amount for the income source(s).")
public List<CreditAmountWithCurrency> getForecastedAnnualIncome() {
return forecastedAnnualIncome;
}
public void setForecastedAnnualIncome(List<CreditAmountWithCurrency> forecastedAnnualIncome) {
this.forecastedAnnualIncome = forecastedAnnualIncome;
}
public CraBankIncomeSummary historicalSummary(List<CraBankIncomeHistoricalSummary> historicalSummary) {
this.historicalSummary = historicalSummary;
return this;
}
public CraBankIncomeSummary addHistoricalSummaryItem(CraBankIncomeHistoricalSummary historicalSummaryItem) {
if (this.historicalSummary == null) {
this.historicalSummary = new ArrayList<>();
}
this.historicalSummary.add(historicalSummaryItem);
return this;
}
/**
* Get historicalSummary
* @return historicalSummary
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<CraBankIncomeHistoricalSummary> getHistoricalSummary() {
return historicalSummary;
}
public void setHistoricalSummary(List<CraBankIncomeHistoricalSummary> historicalSummary) {
this.historicalSummary = historicalSummary;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CraBankIncomeSummary craBankIncomeSummary = (CraBankIncomeSummary) o;
return Objects.equals(this.totalAmounts, craBankIncomeSummary.totalAmounts) &&
Objects.equals(this.startDate, craBankIncomeSummary.startDate) &&
Objects.equals(this.endDate, craBankIncomeSummary.endDate) &&
Objects.equals(this.incomeSourcesCount, craBankIncomeSummary.incomeSourcesCount) &&
Objects.equals(this.incomeCategoriesCount, craBankIncomeSummary.incomeCategoriesCount) &&
Objects.equals(this.incomeTransactionsCount, craBankIncomeSummary.incomeTransactionsCount) &&
Objects.equals(this.historicalAverageMonthlyGrossIncome, craBankIncomeSummary.historicalAverageMonthlyGrossIncome) &&
Objects.equals(this.historicalAverageMonthlyIncome, craBankIncomeSummary.historicalAverageMonthlyIncome) &&
Objects.equals(this.forecastedAverageMonthlyIncome, craBankIncomeSummary.forecastedAverageMonthlyIncome) &&
Objects.equals(this.historicalAnnualGrossIncome, craBankIncomeSummary.historicalAnnualGrossIncome) &&
Objects.equals(this.historicalAnnualIncome, craBankIncomeSummary.historicalAnnualIncome) &&
Objects.equals(this.forecastedAnnualIncome, craBankIncomeSummary.forecastedAnnualIncome) &&
Objects.equals(this.historicalSummary, craBankIncomeSummary.historicalSummary);
}
@Override
public int hashCode() {
return Objects.hash(totalAmounts, startDate, endDate, incomeSourcesCount, incomeCategoriesCount, incomeTransactionsCount, historicalAverageMonthlyGrossIncome, historicalAverageMonthlyIncome, forecastedAverageMonthlyIncome, historicalAnnualGrossIncome, historicalAnnualIncome, forecastedAnnualIncome, historicalSummary);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraBankIncomeSummary {\n");
sb.append(" totalAmounts: ").append(toIndentedString(totalAmounts)).append("\n");
sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n");
sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n");
sb.append(" incomeSourcesCount: ").append(toIndentedString(incomeSourcesCount)).append("\n");
sb.append(" incomeCategoriesCount: ").append(toIndentedString(incomeCategoriesCount)).append("\n");
sb.append(" incomeTransactionsCount: ").append(toIndentedString(incomeTransactionsCount)).append("\n");
sb.append(" historicalAverageMonthlyGrossIncome: ").append(toIndentedString(historicalAverageMonthlyGrossIncome)).append("\n");
sb.append(" historicalAverageMonthlyIncome: ").append(toIndentedString(historicalAverageMonthlyIncome)).append("\n");
sb.append(" forecastedAverageMonthlyIncome: ").append(toIndentedString(forecastedAverageMonthlyIncome)).append("\n");
sb.append(" historicalAnnualGrossIncome: ").append(toIndentedString(historicalAnnualGrossIncome)).append("\n");
sb.append(" historicalAnnualIncome: ").append(toIndentedString(historicalAnnualIncome)).append("\n");
sb.append(" forecastedAnnualIncome: ").append(toIndentedString(forecastedAnnualIncome)).append("\n");
sb.append(" historicalSummary: ").append(toIndentedString(historicalSummary)).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/TrustIndexSubscore.java | src/main/java/com/plaid/client/model/TrustIndexSubscore.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;
/**
* Represents Trust Index Subscore.
*/
@ApiModel(description = "Represents Trust Index Subscore.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TrustIndexSubscore {
public static final String SERIALIZED_NAME_SCORE = "score";
@SerializedName(SERIALIZED_NAME_SCORE)
private Integer score;
public TrustIndexSubscore score(Integer score) {
this.score = score;
return this;
}
/**
* The subscore score.
* @return score
**/
@ApiModelProperty(required = true, value = "The subscore score.")
public Integer getScore() {
return score;
}
public void setScore(Integer score) {
this.score = score;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TrustIndexSubscore trustIndexSubscore = (TrustIndexSubscore) o;
return Objects.equals(this.score, trustIndexSubscore.score);
}
@Override
public int hashCode() {
return Objects.hash(score);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TrustIndexSubscore {\n");
sb.append(" score: ").append(toIndentedString(score)).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/PrismVersions.java | src/main/java/com/plaid/client/model/PrismVersions.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.PrismCashScoreVersion;
import com.plaid.client.model.PrismDetectVersion;
import com.plaid.client.model.PrismExtendVersion;
import com.plaid.client.model.PrismFirstDetectVersion;
import com.plaid.client.model.PrismInsightsVersion;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The versions of Prism products to evaluate
*/
@ApiModel(description = "The versions of Prism products to evaluate")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PrismVersions {
public static final String SERIALIZED_NAME_FIRSTDETECT = "firstdetect";
@SerializedName(SERIALIZED_NAME_FIRSTDETECT)
private PrismFirstDetectVersion firstdetect;
public static final String SERIALIZED_NAME_DETECT = "detect";
@SerializedName(SERIALIZED_NAME_DETECT)
private PrismDetectVersion detect;
public static final String SERIALIZED_NAME_CASHSCORE = "cashscore";
@SerializedName(SERIALIZED_NAME_CASHSCORE)
private PrismCashScoreVersion cashscore;
public static final String SERIALIZED_NAME_EXTEND = "extend";
@SerializedName(SERIALIZED_NAME_EXTEND)
private PrismExtendVersion extend;
public static final String SERIALIZED_NAME_INSIGHTS = "insights";
@SerializedName(SERIALIZED_NAME_INSIGHTS)
private PrismInsightsVersion insights;
public PrismVersions firstdetect(PrismFirstDetectVersion firstdetect) {
this.firstdetect = firstdetect;
return this;
}
/**
* Get firstdetect
* @return firstdetect
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PrismFirstDetectVersion getFirstdetect() {
return firstdetect;
}
public void setFirstdetect(PrismFirstDetectVersion firstdetect) {
this.firstdetect = firstdetect;
}
public PrismVersions detect(PrismDetectVersion detect) {
this.detect = detect;
return this;
}
/**
* Get detect
* @return detect
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PrismDetectVersion getDetect() {
return detect;
}
public void setDetect(PrismDetectVersion detect) {
this.detect = detect;
}
public PrismVersions cashscore(PrismCashScoreVersion cashscore) {
this.cashscore = cashscore;
return this;
}
/**
* Get cashscore
* @return cashscore
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PrismCashScoreVersion getCashscore() {
return cashscore;
}
public void setCashscore(PrismCashScoreVersion cashscore) {
this.cashscore = cashscore;
}
public PrismVersions extend(PrismExtendVersion extend) {
this.extend = extend;
return this;
}
/**
* Get extend
* @return extend
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PrismExtendVersion getExtend() {
return extend;
}
public void setExtend(PrismExtendVersion extend) {
this.extend = extend;
}
public PrismVersions insights(PrismInsightsVersion insights) {
this.insights = insights;
return this;
}
/**
* Get insights
* @return insights
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PrismInsightsVersion getInsights() {
return insights;
}
public void setInsights(PrismInsightsVersion insights) {
this.insights = insights;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PrismVersions prismVersions = (PrismVersions) o;
return Objects.equals(this.firstdetect, prismVersions.firstdetect) &&
Objects.equals(this.detect, prismVersions.detect) &&
Objects.equals(this.cashscore, prismVersions.cashscore) &&
Objects.equals(this.extend, prismVersions.extend) &&
Objects.equals(this.insights, prismVersions.insights);
}
@Override
public int hashCode() {
return Objects.hash(firstdetect, detect, cashscore, extend, insights);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PrismVersions {\n");
sb.append(" firstdetect: ").append(toIndentedString(firstdetect)).append("\n");
sb.append(" detect: ").append(toIndentedString(detect)).append("\n");
sb.append(" cashscore: ").append(toIndentedString(cashscore)).append("\n");
sb.append(" extend: ").append(toIndentedString(extend)).append("\n");
sb.append(" insights: ").append(toIndentedString(insights)).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/TransferLedgerEvent.java | src/main/java/com/plaid/client/model/TransferLedgerEvent.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;
/**
* Represents a ledger event in the Transfers API.
*/
@ApiModel(description = "Represents a ledger event in the Transfers API.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferLedgerEvent {
public static final String SERIALIZED_NAME_LEDGER_EVENT_ID = "ledger_event_id";
@SerializedName(SERIALIZED_NAME_LEDGER_EVENT_ID)
private String ledgerEventId;
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_TRANSFER_ID = "transfer_id";
@SerializedName(SERIALIZED_NAME_TRANSFER_ID)
private String transferId;
public static final String SERIALIZED_NAME_REFUND_ID = "refund_id";
@SerializedName(SERIALIZED_NAME_REFUND_ID)
private String refundId;
public static final String SERIALIZED_NAME_SWEEP_ID = "sweep_id";
@SerializedName(SERIALIZED_NAME_SWEEP_ID)
private String sweepId;
public static final String SERIALIZED_NAME_DESCRIPTION = "description";
@SerializedName(SERIALIZED_NAME_DESCRIPTION)
private String description;
public static final String SERIALIZED_NAME_PENDING_BALANCE = "pending_balance";
@SerializedName(SERIALIZED_NAME_PENDING_BALANCE)
private String pendingBalance;
public static final String SERIALIZED_NAME_AVAILABLE_BALANCE = "available_balance";
@SerializedName(SERIALIZED_NAME_AVAILABLE_BALANCE)
private String availableBalance;
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private String type;
public static final String SERIALIZED_NAME_TIMESTAMP = "timestamp";
@SerializedName(SERIALIZED_NAME_TIMESTAMP)
private OffsetDateTime timestamp;
public TransferLedgerEvent ledgerEventId(String ledgerEventId) {
this.ledgerEventId = ledgerEventId;
return this;
}
/**
* Plaid's unique identifier for this ledger event.
* @return ledgerEventId
**/
@ApiModelProperty(required = true, value = "Plaid's unique identifier for this ledger event.")
public String getLedgerEventId() {
return ledgerEventId;
}
public void setLedgerEventId(String ledgerEventId) {
this.ledgerEventId = ledgerEventId;
}
public TransferLedgerEvent ledgerId(String ledgerId) {
this.ledgerId = ledgerId;
return this;
}
/**
* The ID of the ledger this event belongs to.
* @return ledgerId
**/
@ApiModelProperty(required = true, value = "The ID of the ledger this event belongs to.")
public String getLedgerId() {
return ledgerId;
}
public void setLedgerId(String ledgerId) {
this.ledgerId = ledgerId;
}
public TransferLedgerEvent amount(String amount) {
this.amount = amount;
return this;
}
/**
* The amount of the ledger event as a decimal string.
* @return amount
**/
@ApiModelProperty(required = true, value = "The amount of the ledger event as a decimal string.")
public String getAmount() {
return amount;
}
public void setAmount(String amount) {
this.amount = amount;
}
public TransferLedgerEvent transferId(String transferId) {
this.transferId = transferId;
return this;
}
/**
* The ID of the transfer source that triggered this ledger event.
* @return transferId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The ID of the transfer source that triggered this ledger event.")
public String getTransferId() {
return transferId;
}
public void setTransferId(String transferId) {
this.transferId = transferId;
}
public TransferLedgerEvent refundId(String refundId) {
this.refundId = refundId;
return this;
}
/**
* The ID of the refund source that triggered this ledger event.
* @return refundId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The ID of the refund source that triggered this ledger event.")
public String getRefundId() {
return refundId;
}
public void setRefundId(String refundId) {
this.refundId = refundId;
}
public TransferLedgerEvent sweepId(String sweepId) {
this.sweepId = sweepId;
return this;
}
/**
* The ID of the sweep source that triggered this ledger event.
* @return sweepId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The ID of the sweep source that triggered this ledger event.")
public String getSweepId() {
return sweepId;
}
public void setSweepId(String sweepId) {
this.sweepId = sweepId;
}
public TransferLedgerEvent description(String description) {
this.description = description;
return this;
}
/**
* A description of the ledger event.
* @return description
**/
@ApiModelProperty(required = true, value = "A description of the ledger event.")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public TransferLedgerEvent pendingBalance(String pendingBalance) {
this.pendingBalance = pendingBalance;
return this;
}
/**
* The new pending balance after this event.
* @return pendingBalance
**/
@ApiModelProperty(required = true, value = "The new pending balance after this event.")
public String getPendingBalance() {
return pendingBalance;
}
public void setPendingBalance(String pendingBalance) {
this.pendingBalance = pendingBalance;
}
public TransferLedgerEvent availableBalance(String availableBalance) {
this.availableBalance = availableBalance;
return this;
}
/**
* The new available balance after this event.
* @return availableBalance
**/
@ApiModelProperty(required = true, value = "The new available balance after this event.")
public String getAvailableBalance() {
return availableBalance;
}
public void setAvailableBalance(String availableBalance) {
this.availableBalance = availableBalance;
}
public TransferLedgerEvent type(String type) {
this.type = type;
return this;
}
/**
* The type of balance that was impacted by this event.
* @return type
**/
@ApiModelProperty(required = true, value = "The type of balance that was impacted by this event.")
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public TransferLedgerEvent timestamp(OffsetDateTime timestamp) {
this.timestamp = timestamp;
return this;
}
/**
* The datetime when this ledger event occurred.
* @return timestamp
**/
@ApiModelProperty(required = true, value = "The datetime when this ledger event occurred.")
public OffsetDateTime getTimestamp() {
return timestamp;
}
public void setTimestamp(OffsetDateTime timestamp) {
this.timestamp = timestamp;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferLedgerEvent transferLedgerEvent = (TransferLedgerEvent) o;
return Objects.equals(this.ledgerEventId, transferLedgerEvent.ledgerEventId) &&
Objects.equals(this.ledgerId, transferLedgerEvent.ledgerId) &&
Objects.equals(this.amount, transferLedgerEvent.amount) &&
Objects.equals(this.transferId, transferLedgerEvent.transferId) &&
Objects.equals(this.refundId, transferLedgerEvent.refundId) &&
Objects.equals(this.sweepId, transferLedgerEvent.sweepId) &&
Objects.equals(this.description, transferLedgerEvent.description) &&
Objects.equals(this.pendingBalance, transferLedgerEvent.pendingBalance) &&
Objects.equals(this.availableBalance, transferLedgerEvent.availableBalance) &&
Objects.equals(this.type, transferLedgerEvent.type) &&
Objects.equals(this.timestamp, transferLedgerEvent.timestamp);
}
@Override
public int hashCode() {
return Objects.hash(ledgerEventId, ledgerId, amount, transferId, refundId, sweepId, description, pendingBalance, availableBalance, type, timestamp);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferLedgerEvent {\n");
sb.append(" ledgerEventId: ").append(toIndentedString(ledgerEventId)).append("\n");
sb.append(" ledgerId: ").append(toIndentedString(ledgerId)).append("\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" transferId: ").append(toIndentedString(transferId)).append("\n");
sb.append(" refundId: ").append(toIndentedString(refundId)).append("\n");
sb.append(" sweepId: ").append(toIndentedString(sweepId)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" pendingBalance: ").append(toIndentedString(pendingBalance)).append("\n");
sb.append(" availableBalance: ").append(toIndentedString(availableBalance)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" timestamp: ").append(toIndentedString(timestamp)).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/TransferGetResponse.java | src/main/java/com/plaid/client/model/TransferGetResponse.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.Transfer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines the response schema for `/transfer/get`
*/
@ApiModel(description = "Defines the response schema for `/transfer/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferGetResponse {
public static final String SERIALIZED_NAME_TRANSFER = "transfer";
@SerializedName(SERIALIZED_NAME_TRANSFER)
private Transfer transfer;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public TransferGetResponse transfer(Transfer transfer) {
this.transfer = transfer;
return this;
}
/**
* Get transfer
* @return transfer
**/
@ApiModelProperty(required = true, value = "")
public Transfer getTransfer() {
return transfer;
}
public void setTransfer(Transfer transfer) {
this.transfer = transfer;
}
public TransferGetResponse 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;
}
TransferGetResponse transferGetResponse = (TransferGetResponse) o;
return Objects.equals(this.transfer, transferGetResponse.transfer) &&
Objects.equals(this.requestId, transferGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(transfer, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferGetResponse {\n");
sb.append(" transfer: ").append(toIndentedString(transfer)).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/CraPartnerInsightsItemAccountMetadata.java | src/main/java/com/plaid/client/model/CraPartnerInsightsItemAccountMetadata.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 containing metadata about the extracted account.
*/
@ApiModel(description = "An object containing metadata about the extracted account.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraPartnerInsightsItemAccountMetadata {
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 CraPartnerInsightsItemAccountMetadata startDate(LocalDate startDate) {
this.startDate = startDate;
return this;
}
/**
* The date of the earliest extracted transaction, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (\"yyyy-mm-dd\").
* @return startDate
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The date of the earliest extracted transaction, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (\"yyyy-mm-dd\").")
public LocalDate getStartDate() {
return startDate;
}
public void setStartDate(LocalDate startDate) {
this.startDate = startDate;
}
public CraPartnerInsightsItemAccountMetadata endDate(LocalDate endDate) {
this.endDate = endDate;
return this;
}
/**
* The date of the most recent extracted transaction, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (\"yyyy-mm-dd\").
* @return endDate
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The date of the most recent extracted transaction, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (\"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;
}
CraPartnerInsightsItemAccountMetadata craPartnerInsightsItemAccountMetadata = (CraPartnerInsightsItemAccountMetadata) o;
return Objects.equals(this.startDate, craPartnerInsightsItemAccountMetadata.startDate) &&
Objects.equals(this.endDate, craPartnerInsightsItemAccountMetadata.endDate);
}
@Override
public int hashCode() {
return Objects.hash(startDate, endDate);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraPartnerInsightsItemAccountMetadata {\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/RoleDetail.java | src/main/java/com/plaid/client/model/RoleDetail.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.PartyRoleType;
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 RoleDetail {
public static final String SERIALIZED_NAME_PARTY_ROLE_TYPE = "PartyRoleType";
@SerializedName(SERIALIZED_NAME_PARTY_ROLE_TYPE)
private PartyRoleType partyRoleType;
public RoleDetail partyRoleType(PartyRoleType partyRoleType) {
this.partyRoleType = partyRoleType;
return this;
}
/**
* Get partyRoleType
* @return partyRoleType
**/
@ApiModelProperty(required = true, value = "")
public PartyRoleType getPartyRoleType() {
return partyRoleType;
}
public void setPartyRoleType(PartyRoleType partyRoleType) {
this.partyRoleType = partyRoleType;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
RoleDetail roleDetail = (RoleDetail) o;
return Objects.equals(this.partyRoleType, roleDetail.partyRoleType);
}
@Override
public int hashCode() {
return Objects.hash(partyRoleType);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class RoleDetail {\n");
sb.append(" partyRoleType: ").append(toIndentedString(partyRoleType)).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/ClientProvidedEnrichedTransaction.java | src/main/java/com/plaid/client/model/ClientProvidedEnrichedTransaction.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.ClientCustomization;
import com.plaid.client.model.EnrichTransactionDirection;
import com.plaid.client.model.Enrichments;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* A client-provided transaction that Plaid has enriched.
*/
@ApiModel(description = "A client-provided transaction that Plaid has enriched.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ClientProvidedEnrichedTransaction {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
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_CLIENT_ACCOUNT_ID = "client_account_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ACCOUNT_ID)
private String clientAccountId;
public static final String SERIALIZED_NAME_ACCOUNT_TYPE = "account_type";
@SerializedName(SERIALIZED_NAME_ACCOUNT_TYPE)
private String accountType;
public static final String SERIALIZED_NAME_ACCOUNT_SUBTYPE = "account_subtype";
@SerializedName(SERIALIZED_NAME_ACCOUNT_SUBTYPE)
private String accountSubtype;
public static final String SERIALIZED_NAME_DESCRIPTION = "description";
@SerializedName(SERIALIZED_NAME_DESCRIPTION)
private String description;
public static final String SERIALIZED_NAME_AMOUNT = "amount";
@SerializedName(SERIALIZED_NAME_AMOUNT)
private Double amount;
public static final String SERIALIZED_NAME_DIRECTION = "direction";
@SerializedName(SERIALIZED_NAME_DIRECTION)
private EnrichTransactionDirection direction;
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_ENRICHMENTS = "enrichments";
@SerializedName(SERIALIZED_NAME_ENRICHMENTS)
private Enrichments enrichments;
public static final String SERIALIZED_NAME_CLIENT_CUSTOMIZATION = "client_customization";
@SerializedName(SERIALIZED_NAME_CLIENT_CUSTOMIZATION)
private ClientCustomization clientCustomization;
public ClientProvidedEnrichedTransaction id(String id) {
this.id = id;
return this;
}
/**
* The unique ID for the transaction as provided by you in the request.
* @return id
**/
@ApiModelProperty(required = true, value = "The unique ID for the transaction as provided by you in the request.")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public ClientProvidedEnrichedTransaction clientUserId(String clientUserId) {
this.clientUserId = clientUserId;
return this;
}
/**
* A unique user id used to group transactions for a given user, as a unique identifier from your application. 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(value = "A unique user id used to group transactions for a given user, as a unique identifier from your application. 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 ClientProvidedEnrichedTransaction clientAccountId(String clientAccountId) {
this.clientAccountId = clientAccountId;
return this;
}
/**
* A unique account id used to group transactions for a given account, as a unique identifier from your application. Personally identifiable information, such as an email address or phone number, should not be used in the `client_account_id`.
* @return clientAccountId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A unique account id used to group transactions for a given account, as a unique identifier from your application. Personally identifiable information, such as an email address or phone number, should not be used in the `client_account_id`.")
public String getClientAccountId() {
return clientAccountId;
}
public void setClientAccountId(String clientAccountId) {
this.clientAccountId = clientAccountId;
}
public ClientProvidedEnrichedTransaction accountType(String accountType) {
this.accountType = accountType;
return this;
}
/**
* The account type associated with the transaction. For a full list of valid types and subtypes, see the [Account schema](https://plaid.com/docs/api/accounts#account-type-schema).
* @return accountType
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The account type associated with the transaction. For a full list of valid types and subtypes, see the [Account schema](https://plaid.com/docs/api/accounts#account-type-schema).")
public String getAccountType() {
return accountType;
}
public void setAccountType(String accountType) {
this.accountType = accountType;
}
public ClientProvidedEnrichedTransaction accountSubtype(String accountSubtype) {
this.accountSubtype = accountSubtype;
return this;
}
/**
* The account subtype associated with the transaction. For a full list of valid types and subtypes, see the [Account schema](https://plaid.com/docs/api/accounts#account-type-schema).
* @return accountSubtype
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The account subtype associated with the transaction. For a full list of valid types and subtypes, see the [Account schema](https://plaid.com/docs/api/accounts#account-type-schema).")
public String getAccountSubtype() {
return accountSubtype;
}
public void setAccountSubtype(String accountSubtype) {
this.accountSubtype = accountSubtype;
}
public ClientProvidedEnrichedTransaction description(String description) {
this.description = description;
return this;
}
/**
* The raw description of the transaction.
* @return description
**/
@ApiModelProperty(required = true, value = "The raw description of the transaction.")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public ClientProvidedEnrichedTransaction amount(Double amount) {
this.amount = amount;
return this;
}
/**
* The absolute value of the transaction (>= 0)
* @return amount
**/
@ApiModelProperty(required = true, value = "The absolute value of the transaction (>= 0)")
public Double getAmount() {
return amount;
}
public void setAmount(Double amount) {
this.amount = amount;
}
public ClientProvidedEnrichedTransaction direction(EnrichTransactionDirection direction) {
this.direction = direction;
return this;
}
/**
* Get direction
* @return direction
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public EnrichTransactionDirection getDirection() {
return direction;
}
public void setDirection(EnrichTransactionDirection direction) {
this.direction = direction;
}
public ClientProvidedEnrichedTransaction isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The ISO-4217 currency code of the transaction e.g. USD.
* @return isoCurrencyCode
**/
@ApiModelProperty(required = true, value = "The ISO-4217 currency code of the transaction e.g. USD.")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public ClientProvidedEnrichedTransaction enrichments(Enrichments enrichments) {
this.enrichments = enrichments;
return this;
}
/**
* Get enrichments
* @return enrichments
**/
@ApiModelProperty(required = true, value = "")
public Enrichments getEnrichments() {
return enrichments;
}
public void setEnrichments(Enrichments enrichments) {
this.enrichments = enrichments;
}
public ClientProvidedEnrichedTransaction clientCustomization(ClientCustomization clientCustomization) {
this.clientCustomization = clientCustomization;
return this;
}
/**
* Get clientCustomization
* @return clientCustomization
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ClientCustomization getClientCustomization() {
return clientCustomization;
}
public void setClientCustomization(ClientCustomization clientCustomization) {
this.clientCustomization = clientCustomization;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ClientProvidedEnrichedTransaction clientProvidedEnrichedTransaction = (ClientProvidedEnrichedTransaction) o;
return Objects.equals(this.id, clientProvidedEnrichedTransaction.id) &&
Objects.equals(this.clientUserId, clientProvidedEnrichedTransaction.clientUserId) &&
Objects.equals(this.clientAccountId, clientProvidedEnrichedTransaction.clientAccountId) &&
Objects.equals(this.accountType, clientProvidedEnrichedTransaction.accountType) &&
Objects.equals(this.accountSubtype, clientProvidedEnrichedTransaction.accountSubtype) &&
Objects.equals(this.description, clientProvidedEnrichedTransaction.description) &&
Objects.equals(this.amount, clientProvidedEnrichedTransaction.amount) &&
Objects.equals(this.direction, clientProvidedEnrichedTransaction.direction) &&
Objects.equals(this.isoCurrencyCode, clientProvidedEnrichedTransaction.isoCurrencyCode) &&
Objects.equals(this.enrichments, clientProvidedEnrichedTransaction.enrichments) &&
Objects.equals(this.clientCustomization, clientProvidedEnrichedTransaction.clientCustomization);
}
@Override
public int hashCode() {
return Objects.hash(id, clientUserId, clientAccountId, accountType, accountSubtype, description, amount, direction, isoCurrencyCode, enrichments, clientCustomization);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ClientProvidedEnrichedTransaction {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" clientUserId: ").append(toIndentedString(clientUserId)).append("\n");
sb.append(" clientAccountId: ").append(toIndentedString(clientAccountId)).append("\n");
sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n");
sb.append(" accountSubtype: ").append(toIndentedString(accountSubtype)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" direction: ").append(toIndentedString(direction)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" enrichments: ").append(toIndentedString(enrichments)).append("\n");
sb.append(" clientCustomization: ").append(toIndentedString(clientCustomization)).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/W2Override.java | src/main/java/com/plaid/client/model/W2Override.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.PaystubOverrideEmployee;
import com.plaid.client.model.PaystubOverrideEmployer;
import com.plaid.client.model.W2Box12Override;
import com.plaid.client.model.W2StateAndLocalWagesOverride;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* W2 is an object that represents income data taken from a W2 tax document.
*/
@ApiModel(description = "W2 is an object that represents income data taken from a W2 tax document.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class W2Override {
public static final String SERIALIZED_NAME_EMPLOYER = "employer";
@SerializedName(SERIALIZED_NAME_EMPLOYER)
private PaystubOverrideEmployer employer;
public static final String SERIALIZED_NAME_EMPLOYEE = "employee";
@SerializedName(SERIALIZED_NAME_EMPLOYEE)
private PaystubOverrideEmployee employee;
public static final String SERIALIZED_NAME_TAX_YEAR = "tax_year";
@SerializedName(SERIALIZED_NAME_TAX_YEAR)
private String taxYear;
public static final String SERIALIZED_NAME_EMPLOYER_ID_NUMBER = "employer_id_number";
@SerializedName(SERIALIZED_NAME_EMPLOYER_ID_NUMBER)
private String employerIdNumber;
public static final String SERIALIZED_NAME_WAGES_TIPS_OTHER_COMP = "wages_tips_other_comp";
@SerializedName(SERIALIZED_NAME_WAGES_TIPS_OTHER_COMP)
private String wagesTipsOtherComp;
public static final String SERIALIZED_NAME_FEDERAL_INCOME_TAX_WITHHELD = "federal_income_tax_withheld";
@SerializedName(SERIALIZED_NAME_FEDERAL_INCOME_TAX_WITHHELD)
private String federalIncomeTaxWithheld;
public static final String SERIALIZED_NAME_SOCIAL_SECURITY_WAGES = "social_security_wages";
@SerializedName(SERIALIZED_NAME_SOCIAL_SECURITY_WAGES)
private String socialSecurityWages;
public static final String SERIALIZED_NAME_SOCIAL_SECURITY_TAX_WITHHELD = "social_security_tax_withheld";
@SerializedName(SERIALIZED_NAME_SOCIAL_SECURITY_TAX_WITHHELD)
private String socialSecurityTaxWithheld;
public static final String SERIALIZED_NAME_MEDICARE_WAGES_AND_TIPS = "medicare_wages_and_tips";
@SerializedName(SERIALIZED_NAME_MEDICARE_WAGES_AND_TIPS)
private String medicareWagesAndTips;
public static final String SERIALIZED_NAME_MEDICARE_TAX_WITHHELD = "medicare_tax_withheld";
@SerializedName(SERIALIZED_NAME_MEDICARE_TAX_WITHHELD)
private String medicareTaxWithheld;
public static final String SERIALIZED_NAME_SOCIAL_SECURITY_TIPS = "social_security_tips";
@SerializedName(SERIALIZED_NAME_SOCIAL_SECURITY_TIPS)
private String socialSecurityTips;
public static final String SERIALIZED_NAME_ALLOCATED_TIPS = "allocated_tips";
@SerializedName(SERIALIZED_NAME_ALLOCATED_TIPS)
private String allocatedTips;
public static final String SERIALIZED_NAME_BOX9 = "box_9";
@SerializedName(SERIALIZED_NAME_BOX9)
private String box9;
public static final String SERIALIZED_NAME_DEPENDENT_CARE_BENEFITS = "dependent_care_benefits";
@SerializedName(SERIALIZED_NAME_DEPENDENT_CARE_BENEFITS)
private String dependentCareBenefits;
public static final String SERIALIZED_NAME_NONQUALIFIED_PLANS = "nonqualified_plans";
@SerializedName(SERIALIZED_NAME_NONQUALIFIED_PLANS)
private String nonqualifiedPlans;
public static final String SERIALIZED_NAME_BOX12 = "box_12";
@SerializedName(SERIALIZED_NAME_BOX12)
private List<W2Box12Override> box12 = null;
public static final String SERIALIZED_NAME_STATUTORY_EMPLOYEE = "statutory_employee";
@SerializedName(SERIALIZED_NAME_STATUTORY_EMPLOYEE)
private String statutoryEmployee;
public static final String SERIALIZED_NAME_RETIREMENT_PLAN = "retirement_plan";
@SerializedName(SERIALIZED_NAME_RETIREMENT_PLAN)
private String retirementPlan;
public static final String SERIALIZED_NAME_THIRD_PARTY_SICK_PAY = "third_party_sick_pay";
@SerializedName(SERIALIZED_NAME_THIRD_PARTY_SICK_PAY)
private String thirdPartySickPay;
public static final String SERIALIZED_NAME_OTHER = "other";
@SerializedName(SERIALIZED_NAME_OTHER)
private String other;
public static final String SERIALIZED_NAME_STATE_AND_LOCAL_WAGES = "state_and_local_wages";
@SerializedName(SERIALIZED_NAME_STATE_AND_LOCAL_WAGES)
private List<W2StateAndLocalWagesOverride> stateAndLocalWages = null;
public W2Override employer(PaystubOverrideEmployer employer) {
this.employer = employer;
return this;
}
/**
* Get employer
* @return employer
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PaystubOverrideEmployer getEmployer() {
return employer;
}
public void setEmployer(PaystubOverrideEmployer employer) {
this.employer = employer;
}
public W2Override employee(PaystubOverrideEmployee employee) {
this.employee = employee;
return this;
}
/**
* Get employee
* @return employee
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PaystubOverrideEmployee getEmployee() {
return employee;
}
public void setEmployee(PaystubOverrideEmployee employee) {
this.employee = employee;
}
public W2Override taxYear(String taxYear) {
this.taxYear = taxYear;
return this;
}
/**
* The tax year of the W2 document.
* @return taxYear
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The tax year of the W2 document.")
public String getTaxYear() {
return taxYear;
}
public void setTaxYear(String taxYear) {
this.taxYear = taxYear;
}
public W2Override employerIdNumber(String employerIdNumber) {
this.employerIdNumber = employerIdNumber;
return this;
}
/**
* An employer identification number or EIN.
* @return employerIdNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "An employer identification number or EIN.")
public String getEmployerIdNumber() {
return employerIdNumber;
}
public void setEmployerIdNumber(String employerIdNumber) {
this.employerIdNumber = employerIdNumber;
}
public W2Override wagesTipsOtherComp(String wagesTipsOtherComp) {
this.wagesTipsOtherComp = wagesTipsOtherComp;
return this;
}
/**
* Wages from tips and other compensation.
* @return wagesTipsOtherComp
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Wages from tips and other compensation.")
public String getWagesTipsOtherComp() {
return wagesTipsOtherComp;
}
public void setWagesTipsOtherComp(String wagesTipsOtherComp) {
this.wagesTipsOtherComp = wagesTipsOtherComp;
}
public W2Override federalIncomeTaxWithheld(String federalIncomeTaxWithheld) {
this.federalIncomeTaxWithheld = federalIncomeTaxWithheld;
return this;
}
/**
* Federal income tax withheld for the tax year.
* @return federalIncomeTaxWithheld
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Federal income tax withheld for the tax year.")
public String getFederalIncomeTaxWithheld() {
return federalIncomeTaxWithheld;
}
public void setFederalIncomeTaxWithheld(String federalIncomeTaxWithheld) {
this.federalIncomeTaxWithheld = federalIncomeTaxWithheld;
}
public W2Override socialSecurityWages(String socialSecurityWages) {
this.socialSecurityWages = socialSecurityWages;
return this;
}
/**
* Wages from social security.
* @return socialSecurityWages
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Wages from social security.")
public String getSocialSecurityWages() {
return socialSecurityWages;
}
public void setSocialSecurityWages(String socialSecurityWages) {
this.socialSecurityWages = socialSecurityWages;
}
public W2Override socialSecurityTaxWithheld(String socialSecurityTaxWithheld) {
this.socialSecurityTaxWithheld = socialSecurityTaxWithheld;
return this;
}
/**
* Social security tax withheld for the tax year.
* @return socialSecurityTaxWithheld
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Social security tax withheld for the tax year.")
public String getSocialSecurityTaxWithheld() {
return socialSecurityTaxWithheld;
}
public void setSocialSecurityTaxWithheld(String socialSecurityTaxWithheld) {
this.socialSecurityTaxWithheld = socialSecurityTaxWithheld;
}
public W2Override medicareWagesAndTips(String medicareWagesAndTips) {
this.medicareWagesAndTips = medicareWagesAndTips;
return this;
}
/**
* Wages and tips from medicare.
* @return medicareWagesAndTips
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Wages and tips from medicare.")
public String getMedicareWagesAndTips() {
return medicareWagesAndTips;
}
public void setMedicareWagesAndTips(String medicareWagesAndTips) {
this.medicareWagesAndTips = medicareWagesAndTips;
}
public W2Override medicareTaxWithheld(String medicareTaxWithheld) {
this.medicareTaxWithheld = medicareTaxWithheld;
return this;
}
/**
* Medicare tax withheld for the tax year.
* @return medicareTaxWithheld
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Medicare tax withheld for the tax year.")
public String getMedicareTaxWithheld() {
return medicareTaxWithheld;
}
public void setMedicareTaxWithheld(String medicareTaxWithheld) {
this.medicareTaxWithheld = medicareTaxWithheld;
}
public W2Override socialSecurityTips(String socialSecurityTips) {
this.socialSecurityTips = socialSecurityTips;
return this;
}
/**
* Tips from social security.
* @return socialSecurityTips
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Tips from social security.")
public String getSocialSecurityTips() {
return socialSecurityTips;
}
public void setSocialSecurityTips(String socialSecurityTips) {
this.socialSecurityTips = socialSecurityTips;
}
public W2Override allocatedTips(String allocatedTips) {
this.allocatedTips = allocatedTips;
return this;
}
/**
* Allocated tips.
* @return allocatedTips
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Allocated tips.")
public String getAllocatedTips() {
return allocatedTips;
}
public void setAllocatedTips(String allocatedTips) {
this.allocatedTips = allocatedTips;
}
public W2Override box9(String box9) {
this.box9 = box9;
return this;
}
/**
* Contents from box 9 on the W2.
* @return box9
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Contents from box 9 on the W2.")
public String getBox9() {
return box9;
}
public void setBox9(String box9) {
this.box9 = box9;
}
public W2Override dependentCareBenefits(String dependentCareBenefits) {
this.dependentCareBenefits = dependentCareBenefits;
return this;
}
/**
* Dependent care benefits.
* @return dependentCareBenefits
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Dependent care benefits.")
public String getDependentCareBenefits() {
return dependentCareBenefits;
}
public void setDependentCareBenefits(String dependentCareBenefits) {
this.dependentCareBenefits = dependentCareBenefits;
}
public W2Override nonqualifiedPlans(String nonqualifiedPlans) {
this.nonqualifiedPlans = nonqualifiedPlans;
return this;
}
/**
* Nonqualified plans.
* @return nonqualifiedPlans
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Nonqualified plans.")
public String getNonqualifiedPlans() {
return nonqualifiedPlans;
}
public void setNonqualifiedPlans(String nonqualifiedPlans) {
this.nonqualifiedPlans = nonqualifiedPlans;
}
public W2Override box12(List<W2Box12Override> box12) {
this.box12 = box12;
return this;
}
public W2Override addBox12Item(W2Box12Override box12Item) {
if (this.box12 == null) {
this.box12 = new ArrayList<>();
}
this.box12.add(box12Item);
return this;
}
/**
* Get box12
* @return box12
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<W2Box12Override> getBox12() {
return box12;
}
public void setBox12(List<W2Box12Override> box12) {
this.box12 = box12;
}
public W2Override statutoryEmployee(String statutoryEmployee) {
this.statutoryEmployee = statutoryEmployee;
return this;
}
/**
* Statutory employee.
* @return statutoryEmployee
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Statutory employee.")
public String getStatutoryEmployee() {
return statutoryEmployee;
}
public void setStatutoryEmployee(String statutoryEmployee) {
this.statutoryEmployee = statutoryEmployee;
}
public W2Override retirementPlan(String retirementPlan) {
this.retirementPlan = retirementPlan;
return this;
}
/**
* Retirement plan.
* @return retirementPlan
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Retirement plan.")
public String getRetirementPlan() {
return retirementPlan;
}
public void setRetirementPlan(String retirementPlan) {
this.retirementPlan = retirementPlan;
}
public W2Override thirdPartySickPay(String thirdPartySickPay) {
this.thirdPartySickPay = thirdPartySickPay;
return this;
}
/**
* Third party sick pay.
* @return thirdPartySickPay
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Third party sick pay.")
public String getThirdPartySickPay() {
return thirdPartySickPay;
}
public void setThirdPartySickPay(String thirdPartySickPay) {
this.thirdPartySickPay = thirdPartySickPay;
}
public W2Override other(String other) {
this.other = other;
return this;
}
/**
* Other.
* @return other
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Other.")
public String getOther() {
return other;
}
public void setOther(String other) {
this.other = other;
}
public W2Override stateAndLocalWages(List<W2StateAndLocalWagesOverride> stateAndLocalWages) {
this.stateAndLocalWages = stateAndLocalWages;
return this;
}
public W2Override addStateAndLocalWagesItem(W2StateAndLocalWagesOverride stateAndLocalWagesItem) {
if (this.stateAndLocalWages == null) {
this.stateAndLocalWages = new ArrayList<>();
}
this.stateAndLocalWages.add(stateAndLocalWagesItem);
return this;
}
/**
* Get stateAndLocalWages
* @return stateAndLocalWages
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<W2StateAndLocalWagesOverride> getStateAndLocalWages() {
return stateAndLocalWages;
}
public void setStateAndLocalWages(List<W2StateAndLocalWagesOverride> stateAndLocalWages) {
this.stateAndLocalWages = stateAndLocalWages;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
W2Override w2Override = (W2Override) o;
return Objects.equals(this.employer, w2Override.employer) &&
Objects.equals(this.employee, w2Override.employee) &&
Objects.equals(this.taxYear, w2Override.taxYear) &&
Objects.equals(this.employerIdNumber, w2Override.employerIdNumber) &&
Objects.equals(this.wagesTipsOtherComp, w2Override.wagesTipsOtherComp) &&
Objects.equals(this.federalIncomeTaxWithheld, w2Override.federalIncomeTaxWithheld) &&
Objects.equals(this.socialSecurityWages, w2Override.socialSecurityWages) &&
Objects.equals(this.socialSecurityTaxWithheld, w2Override.socialSecurityTaxWithheld) &&
Objects.equals(this.medicareWagesAndTips, w2Override.medicareWagesAndTips) &&
Objects.equals(this.medicareTaxWithheld, w2Override.medicareTaxWithheld) &&
Objects.equals(this.socialSecurityTips, w2Override.socialSecurityTips) &&
Objects.equals(this.allocatedTips, w2Override.allocatedTips) &&
Objects.equals(this.box9, w2Override.box9) &&
Objects.equals(this.dependentCareBenefits, w2Override.dependentCareBenefits) &&
Objects.equals(this.nonqualifiedPlans, w2Override.nonqualifiedPlans) &&
Objects.equals(this.box12, w2Override.box12) &&
Objects.equals(this.statutoryEmployee, w2Override.statutoryEmployee) &&
Objects.equals(this.retirementPlan, w2Override.retirementPlan) &&
Objects.equals(this.thirdPartySickPay, w2Override.thirdPartySickPay) &&
Objects.equals(this.other, w2Override.other) &&
Objects.equals(this.stateAndLocalWages, w2Override.stateAndLocalWages);
}
@Override
public int hashCode() {
return Objects.hash(employer, employee, taxYear, employerIdNumber, wagesTipsOtherComp, federalIncomeTaxWithheld, socialSecurityWages, socialSecurityTaxWithheld, medicareWagesAndTips, medicareTaxWithheld, socialSecurityTips, allocatedTips, box9, dependentCareBenefits, nonqualifiedPlans, box12, statutoryEmployee, retirementPlan, thirdPartySickPay, other, stateAndLocalWages);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class W2Override {\n");
sb.append(" employer: ").append(toIndentedString(employer)).append("\n");
sb.append(" employee: ").append(toIndentedString(employee)).append("\n");
sb.append(" taxYear: ").append(toIndentedString(taxYear)).append("\n");
sb.append(" employerIdNumber: ").append(toIndentedString(employerIdNumber)).append("\n");
sb.append(" wagesTipsOtherComp: ").append(toIndentedString(wagesTipsOtherComp)).append("\n");
sb.append(" federalIncomeTaxWithheld: ").append(toIndentedString(federalIncomeTaxWithheld)).append("\n");
sb.append(" socialSecurityWages: ").append(toIndentedString(socialSecurityWages)).append("\n");
sb.append(" socialSecurityTaxWithheld: ").append(toIndentedString(socialSecurityTaxWithheld)).append("\n");
sb.append(" medicareWagesAndTips: ").append(toIndentedString(medicareWagesAndTips)).append("\n");
sb.append(" medicareTaxWithheld: ").append(toIndentedString(medicareTaxWithheld)).append("\n");
sb.append(" socialSecurityTips: ").append(toIndentedString(socialSecurityTips)).append("\n");
sb.append(" allocatedTips: ").append(toIndentedString(allocatedTips)).append("\n");
sb.append(" box9: ").append(toIndentedString(box9)).append("\n");
sb.append(" dependentCareBenefits: ").append(toIndentedString(dependentCareBenefits)).append("\n");
sb.append(" nonqualifiedPlans: ").append(toIndentedString(nonqualifiedPlans)).append("\n");
sb.append(" box12: ").append(toIndentedString(box12)).append("\n");
sb.append(" statutoryEmployee: ").append(toIndentedString(statutoryEmployee)).append("\n");
sb.append(" retirementPlan: ").append(toIndentedString(retirementPlan)).append("\n");
sb.append(" thirdPartySickPay: ").append(toIndentedString(thirdPartySickPay)).append("\n");
sb.append(" other: ").append(toIndentedString(other)).append("\n");
sb.append(" stateAndLocalWages: ").append(toIndentedString(stateAndLocalWages)).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/ExternalPaymentOptions.java | src/main/java/com/plaid/client/model/ExternalPaymentOptions.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.PaymentInitiationOptionalRestrictionBacs;
import com.plaid.client.model.PaymentScheme;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Additional payment options
*/
@ApiModel(description = "Additional payment options")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ExternalPaymentOptions {
public static final String SERIALIZED_NAME_REQUEST_REFUND_DETAILS = "request_refund_details";
@SerializedName(SERIALIZED_NAME_REQUEST_REFUND_DETAILS)
private Boolean requestRefundDetails;
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 PaymentInitiationOptionalRestrictionBacs bacs;
public static final String SERIALIZED_NAME_SCHEME = "scheme";
@SerializedName(SERIALIZED_NAME_SCHEME)
private PaymentScheme scheme;
public ExternalPaymentOptions requestRefundDetails(Boolean requestRefundDetails) {
this.requestRefundDetails = requestRefundDetails;
return this;
}
/**
* When `true`, Plaid will attempt to request refund details from the payee's financial institution. Support varies between financial institutions and will not always be available. If refund details could be retrieved, they will be available in the `/payment_initiation/payment/get` response.
* @return requestRefundDetails
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "When `true`, Plaid will attempt to request refund details from the payee's financial institution. Support varies between financial institutions and will not always be available. If refund details could be retrieved, they will be available in the `/payment_initiation/payment/get` response.")
public Boolean getRequestRefundDetails() {
return requestRefundDetails;
}
public void setRequestRefundDetails(Boolean requestRefundDetails) {
this.requestRefundDetails = requestRefundDetails;
}
public ExternalPaymentOptions iban(String iban) {
this.iban = iban;
return this;
}
/**
* The International Bank Account Number (IBAN) for the payer's account. Where possible, the end user will be able to send payments only from the specified bank account if provided.
* @return iban
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The International Bank Account Number (IBAN) for the payer's account. Where possible, the end user will be able to send payments only from the specified bank account if provided.")
public String getIban() {
return iban;
}
public void setIban(String iban) {
this.iban = iban;
}
public ExternalPaymentOptions bacs(PaymentInitiationOptionalRestrictionBacs bacs) {
this.bacs = bacs;
return this;
}
/**
* Get bacs
* @return bacs
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PaymentInitiationOptionalRestrictionBacs getBacs() {
return bacs;
}
public void setBacs(PaymentInitiationOptionalRestrictionBacs bacs) {
this.bacs = bacs;
}
public ExternalPaymentOptions scheme(PaymentScheme scheme) {
this.scheme = scheme;
return this;
}
/**
* Get scheme
* @return scheme
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PaymentScheme getScheme() {
return scheme;
}
public void setScheme(PaymentScheme scheme) {
this.scheme = scheme;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ExternalPaymentOptions externalPaymentOptions = (ExternalPaymentOptions) o;
return Objects.equals(this.requestRefundDetails, externalPaymentOptions.requestRefundDetails) &&
Objects.equals(this.iban, externalPaymentOptions.iban) &&
Objects.equals(this.bacs, externalPaymentOptions.bacs) &&
Objects.equals(this.scheme, externalPaymentOptions.scheme);
}
@Override
public int hashCode() {
return Objects.hash(requestRefundDetails, iban, bacs, scheme);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ExternalPaymentOptions {\n");
sb.append(" requestRefundDetails: ").append(toIndentedString(requestRefundDetails)).append("\n");
sb.append(" iban: ").append(toIndentedString(iban)).append("\n");
sb.append(" bacs: ").append(toIndentedString(bacs)).append("\n");
sb.append(" scheme: ").append(toIndentedString(scheme)).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/PartnerCustomerRemoveResponse.java | src/main/java/com/plaid/client/model/PartnerCustomerRemoveResponse.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;
/**
* Response schema for `/partner/customer/remove`.
*/
@ApiModel(description = "Response schema for `/partner/customer/remove`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PartnerCustomerRemoveResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public PartnerCustomerRemoveResponse 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
**/
@javax.annotation.Nullable
@ApiModelProperty(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;
}
PartnerCustomerRemoveResponse partnerCustomerRemoveResponse = (PartnerCustomerRemoveResponse) o;
return Objects.equals(this.requestId, partnerCustomerRemoveResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PartnerCustomerRemoveResponse {\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/RiskCheckBehaviorBotDetectedLabel.java | src/main/java/com/plaid/client/model/RiskCheckBehaviorBotDetectedLabel.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;
/**
* Field describing the outcome of a bot detection behavior risk check. `yes` indicates that automated activity was detected. `no` indicates that automated activity was not detected. `no_data` indicates there was not enough information available to give an accurate signal.
*/
@JsonAdapter(RiskCheckBehaviorBotDetectedLabel.Adapter.class)
public enum RiskCheckBehaviorBotDetectedLabel {
YES("yes"),
NO("no"),
NO_DATA("no_data"),
// 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;
RiskCheckBehaviorBotDetectedLabel(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static RiskCheckBehaviorBotDetectedLabel fromValue(String value) {
for (RiskCheckBehaviorBotDetectedLabel b : RiskCheckBehaviorBotDetectedLabel.values()) {
if (b.value.equals(value)) {
return b;
}
}
return RiskCheckBehaviorBotDetectedLabel.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<RiskCheckBehaviorBotDetectedLabel> {
@Override
public void write(final JsonWriter jsonWriter, final RiskCheckBehaviorBotDetectedLabel enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public RiskCheckBehaviorBotDetectedLabel read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return RiskCheckBehaviorBotDetectedLabel.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/TransactionsRefreshResponse.java | src/main/java/com/plaid/client/model/TransactionsRefreshResponse.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;
/**
* TransactionsRefreshResponse defines the response schema for `/transactions/refresh`
*/
@ApiModel(description = "TransactionsRefreshResponse defines the response schema for `/transactions/refresh`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransactionsRefreshResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public TransactionsRefreshResponse 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;
}
TransactionsRefreshResponse transactionsRefreshResponse = (TransactionsRefreshResponse) o;
return Objects.equals(this.requestId, transactionsRefreshResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransactionsRefreshResponse {\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/TaxpayerIdentifiers.java | src/main/java/com/plaid/client/model/TaxpayerIdentifiers.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.TaxpayerIdentifier;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The collection of `TAXPAYER_IDENTIFICATION` elements
*/
@ApiModel(description = "The collection of `TAXPAYER_IDENTIFICATION` elements")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TaxpayerIdentifiers {
public static final String SERIALIZED_NAME_T_A_X_P_A_Y_E_R_I_D_E_N_T_I_F_I_E_R = "TAXPAYER_IDENTIFIER";
@SerializedName(SERIALIZED_NAME_T_A_X_P_A_Y_E_R_I_D_E_N_T_I_F_I_E_R)
private TaxpayerIdentifier TAXPAYER_IDENTIFIER;
public TaxpayerIdentifiers TAXPAYER_IDENTIFIER(TaxpayerIdentifier TAXPAYER_IDENTIFIER) {
this.TAXPAYER_IDENTIFIER = TAXPAYER_IDENTIFIER;
return this;
}
/**
* Get TAXPAYER_IDENTIFIER
* @return TAXPAYER_IDENTIFIER
**/
@ApiModelProperty(required = true, value = "")
public TaxpayerIdentifier getTAXPAYERIDENTIFIER() {
return TAXPAYER_IDENTIFIER;
}
public void setTAXPAYERIDENTIFIER(TaxpayerIdentifier TAXPAYER_IDENTIFIER) {
this.TAXPAYER_IDENTIFIER = TAXPAYER_IDENTIFIER;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TaxpayerIdentifiers taxpayerIdentifiers = (TaxpayerIdentifiers) o;
return Objects.equals(this.TAXPAYER_IDENTIFIER, taxpayerIdentifiers.TAXPAYER_IDENTIFIER);
}
@Override
public int hashCode() {
return Objects.hash(TAXPAYER_IDENTIFIER);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TaxpayerIdentifiers {\n");
sb.append(" TAXPAYER_IDENTIFIER: ").append(toIndentedString(TAXPAYER_IDENTIFIER)).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/PrismExtend.java | src/main/java/com/plaid/client/model/PrismExtend.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.PrismCashScoreMetadata;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* The data from the CashScore® Extend product returned by Prism Data.
*/
@ApiModel(description = "The data from the CashScore® Extend product returned by Prism Data.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PrismExtend {
public static final String SERIALIZED_NAME_MODEL_VERSION = "model_version";
@SerializedName(SERIALIZED_NAME_MODEL_VERSION)
private String modelVersion;
public static final String SERIALIZED_NAME_SCORE = "score";
@SerializedName(SERIALIZED_NAME_SCORE)
private Integer score;
public static final String SERIALIZED_NAME_REASON_CODES = "reason_codes";
@SerializedName(SERIALIZED_NAME_REASON_CODES)
private List<String> reasonCodes = null;
public static final String SERIALIZED_NAME_METADATA = "metadata";
@SerializedName(SERIALIZED_NAME_METADATA)
private PrismCashScoreMetadata metadata;
public static final String SERIALIZED_NAME_ERROR_REASON = "error_reason";
@SerializedName(SERIALIZED_NAME_ERROR_REASON)
private String errorReason;
public PrismExtend modelVersion(String modelVersion) {
this.modelVersion = modelVersion;
return this;
}
/**
* The version of Prism Data's CashScore® Extend model used.
* @return modelVersion
**/
@ApiModelProperty(required = true, value = "The version of Prism Data's CashScore® Extend model used.")
public String getModelVersion() {
return modelVersion;
}
public void setModelVersion(String modelVersion) {
this.modelVersion = modelVersion;
}
public PrismExtend score(Integer score) {
this.score = score;
return this;
}
/**
* The score returned by Prism Data. Ranges from 1-999, with higher score indicating lower risk.
* @return score
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The score returned by Prism Data. Ranges from 1-999, with higher score indicating lower risk.")
public Integer getScore() {
return score;
}
public void setScore(Integer score) {
this.score = score;
}
public PrismExtend reasonCodes(List<String> reasonCodes) {
this.reasonCodes = reasonCodes;
return this;
}
public PrismExtend addReasonCodesItem(String reasonCodesItem) {
if (this.reasonCodes == null) {
this.reasonCodes = new ArrayList<>();
}
this.reasonCodes.add(reasonCodesItem);
return this;
}
/**
* The reasons for an individual having risk according to the CashScore® Extend score.
* @return reasonCodes
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The reasons for an individual having risk according to the CashScore® Extend score.")
public List<String> getReasonCodes() {
return reasonCodes;
}
public void setReasonCodes(List<String> reasonCodes) {
this.reasonCodes = reasonCodes;
}
public PrismExtend metadata(PrismCashScoreMetadata metadata) {
this.metadata = metadata;
return this;
}
/**
* Get metadata
* @return metadata
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PrismCashScoreMetadata getMetadata() {
return metadata;
}
public void setMetadata(PrismCashScoreMetadata metadata) {
this.metadata = metadata;
}
public PrismExtend errorReason(String errorReason) {
this.errorReason = errorReason;
return this;
}
/**
* The error returned by Prism for this product.
* @return errorReason
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The error returned by Prism for this product.")
public String getErrorReason() {
return errorReason;
}
public void setErrorReason(String errorReason) {
this.errorReason = errorReason;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PrismExtend prismExtend = (PrismExtend) o;
return Objects.equals(this.modelVersion, prismExtend.modelVersion) &&
Objects.equals(this.score, prismExtend.score) &&
Objects.equals(this.reasonCodes, prismExtend.reasonCodes) &&
Objects.equals(this.metadata, prismExtend.metadata) &&
Objects.equals(this.errorReason, prismExtend.errorReason);
}
@Override
public int hashCode() {
return Objects.hash(modelVersion, score, reasonCodes, metadata, errorReason);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PrismExtend {\n");
sb.append(" modelVersion: ").append(toIndentedString(modelVersion)).append("\n");
sb.append(" score: ").append(toIndentedString(score)).append("\n");
sb.append(" reasonCodes: ").append(toIndentedString(reasonCodes)).append("\n");
sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n");
sb.append(" errorReason: ").append(toIndentedString(errorReason)).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/IdentityVerificationGetResponse.java | src/main/java/com/plaid/client/model/IdentityVerificationGetResponse.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.DocumentaryVerification;
import com.plaid.client.model.IDVProtectEvent;
import com.plaid.client.model.IdentityVerificationStatus;
import com.plaid.client.model.IdentityVerificationStepSummary;
import com.plaid.client.model.IdentityVerificationTemplateReference;
import com.plaid.client.model.IdentityVerificationUserData;
import com.plaid.client.model.KYCCheckDetails;
import com.plaid.client.model.RiskCheckDetails;
import com.plaid.client.model.SelfieCheck;
import com.plaid.client.model.VerifySMSDetails;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
/**
* A identity verification attempt represents a customer's attempt to verify their identity, reflecting the required steps for completing the session, the results for each step, and information collected in the process.
*/
@ApiModel(description = "A identity verification attempt represents a customer's attempt to verify their identity, reflecting the required steps for completing the session, the results for each step, and information collected in the process.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class IdentityVerificationGetResponse {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
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_CREATED_AT = "created_at";
@SerializedName(SERIALIZED_NAME_CREATED_AT)
private java.sql.Timestamp createdAt;
public static final String SERIALIZED_NAME_COMPLETED_AT = "completed_at";
@SerializedName(SERIALIZED_NAME_COMPLETED_AT)
private OffsetDateTime completedAt;
public static final String SERIALIZED_NAME_PREVIOUS_ATTEMPT_ID = "previous_attempt_id";
@SerializedName(SERIALIZED_NAME_PREVIOUS_ATTEMPT_ID)
private String previousAttemptId;
public static final String SERIALIZED_NAME_SHAREABLE_URL = "shareable_url";
@SerializedName(SERIALIZED_NAME_SHAREABLE_URL)
private String shareableUrl;
public static final String SERIALIZED_NAME_TEMPLATE = "template";
@SerializedName(SERIALIZED_NAME_TEMPLATE)
private IdentityVerificationTemplateReference template;
public static final String SERIALIZED_NAME_USER = "user";
@SerializedName(SERIALIZED_NAME_USER)
private IdentityVerificationUserData user;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private IdentityVerificationStatus status;
public static final String SERIALIZED_NAME_STEPS = "steps";
@SerializedName(SERIALIZED_NAME_STEPS)
private IdentityVerificationStepSummary steps;
public static final String SERIALIZED_NAME_DOCUMENTARY_VERIFICATION = "documentary_verification";
@SerializedName(SERIALIZED_NAME_DOCUMENTARY_VERIFICATION)
private DocumentaryVerification documentaryVerification;
public static final String SERIALIZED_NAME_SELFIE_CHECK = "selfie_check";
@SerializedName(SERIALIZED_NAME_SELFIE_CHECK)
private SelfieCheck selfieCheck;
public static final String SERIALIZED_NAME_KYC_CHECK = "kyc_check";
@SerializedName(SERIALIZED_NAME_KYC_CHECK)
private KYCCheckDetails kycCheck;
public static final String SERIALIZED_NAME_RISK_CHECK = "risk_check";
@SerializedName(SERIALIZED_NAME_RISK_CHECK)
private RiskCheckDetails riskCheck;
public static final String SERIALIZED_NAME_VERIFY_SMS = "verify_sms";
@SerializedName(SERIALIZED_NAME_VERIFY_SMS)
private VerifySMSDetails verifySms;
public static final String SERIALIZED_NAME_WATCHLIST_SCREENING_ID = "watchlist_screening_id";
@SerializedName(SERIALIZED_NAME_WATCHLIST_SCREENING_ID)
private String watchlistScreeningId;
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_USER_ID = "user_id";
@SerializedName(SERIALIZED_NAME_USER_ID)
private String userId;
public static final String SERIALIZED_NAME_REDACTED_AT = "redacted_at";
@SerializedName(SERIALIZED_NAME_REDACTED_AT)
private OffsetDateTime redactedAt;
public static final String SERIALIZED_NAME_LATEST_SCORED_PROTECT_EVENT = "latest_scored_protect_event";
@SerializedName(SERIALIZED_NAME_LATEST_SCORED_PROTECT_EVENT)
private IDVProtectEvent latestScoredProtectEvent;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public IdentityVerificationGetResponse id(String id) {
this.id = id;
return this;
}
/**
* ID of the associated Identity Verification attempt.
* @return id
**/
@ApiModelProperty(example = "idv_52xR9LKo77r1Np", required = true, value = "ID of the associated Identity Verification attempt.")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public IdentityVerificationGetResponse 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
**/
@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 IdentityVerificationGetResponse 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 IdentityVerificationGetResponse completedAt(OffsetDateTime completedAt) {
this.completedAt = completedAt;
return this;
}
/**
* An ISO8601 formatted timestamp.
* @return completedAt
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "2020-07-24T03:26:02Z", required = true, value = "An ISO8601 formatted timestamp.")
public OffsetDateTime getCompletedAt() {
return completedAt;
}
public void setCompletedAt(OffsetDateTime completedAt) {
this.completedAt = completedAt;
}
public IdentityVerificationGetResponse previousAttemptId(String previousAttemptId) {
this.previousAttemptId = previousAttemptId;
return this;
}
/**
* The ID for the Identity Verification preceding this session. This field will only be filled if the current Identity Verification is a retry of a previous attempt.
* @return previousAttemptId
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "idv_42cF1MNo42r9Xj", required = true, value = "The ID for the Identity Verification preceding this session. This field will only be filled if the current Identity Verification is a retry of a previous attempt.")
public String getPreviousAttemptId() {
return previousAttemptId;
}
public void setPreviousAttemptId(String previousAttemptId) {
this.previousAttemptId = previousAttemptId;
}
public IdentityVerificationGetResponse shareableUrl(String shareableUrl) {
this.shareableUrl = shareableUrl;
return this;
}
/**
* A shareable URL that can be sent directly to the user to complete verification
* @return shareableUrl
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "https://flow.plaid.com/verify/idv_4FrXJvfQU3zGUR?key=e004115db797f7cc3083bff3167cba30644ef630fb46f5b086cde6cc3b86a36f", required = true, value = "A shareable URL that can be sent directly to the user to complete verification")
public String getShareableUrl() {
return shareableUrl;
}
public void setShareableUrl(String shareableUrl) {
this.shareableUrl = shareableUrl;
}
public IdentityVerificationGetResponse template(IdentityVerificationTemplateReference template) {
this.template = template;
return this;
}
/**
* Get template
* @return template
**/
@ApiModelProperty(required = true, value = "")
public IdentityVerificationTemplateReference getTemplate() {
return template;
}
public void setTemplate(IdentityVerificationTemplateReference template) {
this.template = template;
}
public IdentityVerificationGetResponse user(IdentityVerificationUserData user) {
this.user = user;
return this;
}
/**
* Get user
* @return user
**/
@ApiModelProperty(required = true, value = "")
public IdentityVerificationUserData getUser() {
return user;
}
public void setUser(IdentityVerificationUserData user) {
this.user = user;
}
public IdentityVerificationGetResponse status(IdentityVerificationStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@ApiModelProperty(required = true, value = "")
public IdentityVerificationStatus getStatus() {
return status;
}
public void setStatus(IdentityVerificationStatus status) {
this.status = status;
}
public IdentityVerificationGetResponse steps(IdentityVerificationStepSummary steps) {
this.steps = steps;
return this;
}
/**
* Get steps
* @return steps
**/
@ApiModelProperty(required = true, value = "")
public IdentityVerificationStepSummary getSteps() {
return steps;
}
public void setSteps(IdentityVerificationStepSummary steps) {
this.steps = steps;
}
public IdentityVerificationGetResponse documentaryVerification(DocumentaryVerification documentaryVerification) {
this.documentaryVerification = documentaryVerification;
return this;
}
/**
* Get documentaryVerification
* @return documentaryVerification
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public DocumentaryVerification getDocumentaryVerification() {
return documentaryVerification;
}
public void setDocumentaryVerification(DocumentaryVerification documentaryVerification) {
this.documentaryVerification = documentaryVerification;
}
public IdentityVerificationGetResponse selfieCheck(SelfieCheck selfieCheck) {
this.selfieCheck = selfieCheck;
return this;
}
/**
* Get selfieCheck
* @return selfieCheck
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public SelfieCheck getSelfieCheck() {
return selfieCheck;
}
public void setSelfieCheck(SelfieCheck selfieCheck) {
this.selfieCheck = selfieCheck;
}
public IdentityVerificationGetResponse kycCheck(KYCCheckDetails kycCheck) {
this.kycCheck = kycCheck;
return this;
}
/**
* Get kycCheck
* @return kycCheck
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public KYCCheckDetails getKycCheck() {
return kycCheck;
}
public void setKycCheck(KYCCheckDetails kycCheck) {
this.kycCheck = kycCheck;
}
public IdentityVerificationGetResponse riskCheck(RiskCheckDetails riskCheck) {
this.riskCheck = riskCheck;
return this;
}
/**
* Get riskCheck
* @return riskCheck
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public RiskCheckDetails getRiskCheck() {
return riskCheck;
}
public void setRiskCheck(RiskCheckDetails riskCheck) {
this.riskCheck = riskCheck;
}
public IdentityVerificationGetResponse verifySms(VerifySMSDetails verifySms) {
this.verifySms = verifySms;
return this;
}
/**
* Get verifySms
* @return verifySms
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public VerifySMSDetails getVerifySms() {
return verifySms;
}
public void setVerifySms(VerifySMSDetails verifySms) {
this.verifySms = verifySms;
}
public IdentityVerificationGetResponse watchlistScreeningId(String watchlistScreeningId) {
this.watchlistScreeningId = watchlistScreeningId;
return this;
}
/**
* ID of the associated screening.
* @return watchlistScreeningId
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "scr_52xR9LKo77r1Np", required = true, value = "ID of the associated screening.")
public String getWatchlistScreeningId() {
return watchlistScreeningId;
}
public void setWatchlistScreeningId(String watchlistScreeningId) {
this.watchlistScreeningId = watchlistScreeningId;
}
public IdentityVerificationGetResponse beaconUserId(String beaconUserId) {
this.beaconUserId = beaconUserId;
return this;
}
/**
* ID of the associated Beacon User.
* @return beaconUserId
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "becusr_42cF1MNo42r9Xj", required = true, value = "ID of the associated Beacon User.")
public String getBeaconUserId() {
return beaconUserId;
}
public void setBeaconUserId(String beaconUserId) {
this.beaconUserId = beaconUserId;
}
public IdentityVerificationGetResponse userId(String userId) {
this.userId = userId;
return this;
}
/**
* A unique user identifier, created by `/user/create`. All integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [new user APIs](https://plaid.com/docs/api/user/user-apis).
* @return userId
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "usr_dddAs9ewdcDQQQ", required = true, value = "A unique user identifier, created by `/user/create`. All integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [new user APIs](https://plaid.com/docs/api/user/user-apis).")
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public IdentityVerificationGetResponse redactedAt(OffsetDateTime redactedAt) {
this.redactedAt = redactedAt;
return this;
}
/**
* An ISO8601 formatted timestamp.
* @return redactedAt
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "2020-07-24T03:26:02Z", required = true, value = "An ISO8601 formatted timestamp.")
public OffsetDateTime getRedactedAt() {
return redactedAt;
}
public void setRedactedAt(OffsetDateTime redactedAt) {
this.redactedAt = redactedAt;
}
public IdentityVerificationGetResponse latestScoredProtectEvent(IDVProtectEvent latestScoredProtectEvent) {
this.latestScoredProtectEvent = latestScoredProtectEvent;
return this;
}
/**
* Get latestScoredProtectEvent
* @return latestScoredProtectEvent
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public IDVProtectEvent getLatestScoredProtectEvent() {
return latestScoredProtectEvent;
}
public void setLatestScoredProtectEvent(IDVProtectEvent latestScoredProtectEvent) {
this.latestScoredProtectEvent = latestScoredProtectEvent;
}
public IdentityVerificationGetResponse 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;
}
IdentityVerificationGetResponse identityVerificationGetResponse = (IdentityVerificationGetResponse) o;
return Objects.equals(this.id, identityVerificationGetResponse.id) &&
Objects.equals(this.clientUserId, identityVerificationGetResponse.clientUserId) &&
Objects.equals(this.createdAt, identityVerificationGetResponse.createdAt) &&
Objects.equals(this.completedAt, identityVerificationGetResponse.completedAt) &&
Objects.equals(this.previousAttemptId, identityVerificationGetResponse.previousAttemptId) &&
Objects.equals(this.shareableUrl, identityVerificationGetResponse.shareableUrl) &&
Objects.equals(this.template, identityVerificationGetResponse.template) &&
Objects.equals(this.user, identityVerificationGetResponse.user) &&
Objects.equals(this.status, identityVerificationGetResponse.status) &&
Objects.equals(this.steps, identityVerificationGetResponse.steps) &&
Objects.equals(this.documentaryVerification, identityVerificationGetResponse.documentaryVerification) &&
Objects.equals(this.selfieCheck, identityVerificationGetResponse.selfieCheck) &&
Objects.equals(this.kycCheck, identityVerificationGetResponse.kycCheck) &&
Objects.equals(this.riskCheck, identityVerificationGetResponse.riskCheck) &&
Objects.equals(this.verifySms, identityVerificationGetResponse.verifySms) &&
Objects.equals(this.watchlistScreeningId, identityVerificationGetResponse.watchlistScreeningId) &&
Objects.equals(this.beaconUserId, identityVerificationGetResponse.beaconUserId) &&
Objects.equals(this.userId, identityVerificationGetResponse.userId) &&
Objects.equals(this.redactedAt, identityVerificationGetResponse.redactedAt) &&
Objects.equals(this.latestScoredProtectEvent, identityVerificationGetResponse.latestScoredProtectEvent) &&
Objects.equals(this.requestId, identityVerificationGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(id, clientUserId, createdAt, completedAt, previousAttemptId, shareableUrl, template, user, status, steps, documentaryVerification, selfieCheck, kycCheck, riskCheck, verifySms, watchlistScreeningId, beaconUserId, userId, redactedAt, latestScoredProtectEvent, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IdentityVerificationGetResponse {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" clientUserId: ").append(toIndentedString(clientUserId)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" completedAt: ").append(toIndentedString(completedAt)).append("\n");
sb.append(" previousAttemptId: ").append(toIndentedString(previousAttemptId)).append("\n");
sb.append(" shareableUrl: ").append(toIndentedString(shareableUrl)).append("\n");
sb.append(" template: ").append(toIndentedString(template)).append("\n");
sb.append(" user: ").append(toIndentedString(user)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" steps: ").append(toIndentedString(steps)).append("\n");
sb.append(" documentaryVerification: ").append(toIndentedString(documentaryVerification)).append("\n");
sb.append(" selfieCheck: ").append(toIndentedString(selfieCheck)).append("\n");
sb.append(" kycCheck: ").append(toIndentedString(kycCheck)).append("\n");
sb.append(" riskCheck: ").append(toIndentedString(riskCheck)).append("\n");
sb.append(" verifySms: ").append(toIndentedString(verifySms)).append("\n");
sb.append(" watchlistScreeningId: ").append(toIndentedString(watchlistScreeningId)).append("\n");
sb.append(" beaconUserId: ").append(toIndentedString(beaconUserId)).append("\n");
sb.append(" userId: ").append(toIndentedString(userId)).append("\n");
sb.append(" redactedAt: ").append(toIndentedString(redactedAt)).append("\n");
sb.append(" latestScoredProtectEvent: ").append(toIndentedString(latestScoredProtectEvent)).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/PaymentInitiationPaymentReverseRequest.java | src/main/java/com/plaid/client/model/PaymentInitiationPaymentReverseRequest.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.PaymentAmountToRefund;
import com.plaid.client.model.PaymentInitiationAddress;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
/**
* PaymentInitiationPaymentReverseRequest defines the request schema for `/payment_initiation/payment/reverse`
*/
@ApiModel(description = "PaymentInitiationPaymentReverseRequest defines the request schema for `/payment_initiation/payment/reverse`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PaymentInitiationPaymentReverseRequest {
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_PAYMENT_ID = "payment_id";
@SerializedName(SERIALIZED_NAME_PAYMENT_ID)
private String paymentId;
public static final String SERIALIZED_NAME_IDEMPOTENCY_KEY = "idempotency_key";
@SerializedName(SERIALIZED_NAME_IDEMPOTENCY_KEY)
private String idempotencyKey;
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 PaymentAmountToRefund amount;
public static final String SERIALIZED_NAME_COUNTERPARTY_DATE_OF_BIRTH = "counterparty_date_of_birth";
@SerializedName(SERIALIZED_NAME_COUNTERPARTY_DATE_OF_BIRTH)
private LocalDate counterpartyDateOfBirth;
public static final String SERIALIZED_NAME_COUNTERPARTY_ADDRESS = "counterparty_address";
@SerializedName(SERIALIZED_NAME_COUNTERPARTY_ADDRESS)
private PaymentInitiationAddress counterpartyAddress;
public PaymentInitiationPaymentReverseRequest 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 PaymentInitiationPaymentReverseRequest 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 PaymentInitiationPaymentReverseRequest paymentId(String paymentId) {
this.paymentId = paymentId;
return this;
}
/**
* The ID of the payment to reverse
* @return paymentId
**/
@ApiModelProperty(required = true, value = "The ID of the payment to reverse")
public String getPaymentId() {
return paymentId;
}
public void setPaymentId(String paymentId) {
this.paymentId = paymentId;
}
public PaymentInitiationPaymentReverseRequest idempotencyKey(String idempotencyKey) {
this.idempotencyKey = idempotencyKey;
return this;
}
/**
* A random key provided by the client, per unique wallet transaction. Maximum of 128 characters. The API supports idempotency for safely retrying requests without accidentally performing the same operation twice. If a request to execute a wallet transaction fails due to a network connection error, then after a minimum delay of one minute, you can retry the request with the same idempotency key to guarantee that only a single wallet transaction is created. If the request was successfully processed, it will prevent any transaction that uses the same idempotency key, and was received within 24 hours of the first request, from being processed.
* @return idempotencyKey
**/
@ApiModelProperty(required = true, value = "A random key provided by the client, per unique wallet transaction. Maximum of 128 characters. The API supports idempotency for safely retrying requests without accidentally performing the same operation twice. If a request to execute a wallet transaction fails due to a network connection error, then after a minimum delay of one minute, you can retry the request with the same idempotency key to guarantee that only a single wallet transaction is created. If the request was successfully processed, it will prevent any transaction that uses the same idempotency key, and was received within 24 hours of the first request, from being processed.")
public String getIdempotencyKey() {
return idempotencyKey;
}
public void setIdempotencyKey(String idempotencyKey) {
this.idempotencyKey = idempotencyKey;
}
public PaymentInitiationPaymentReverseRequest reference(String reference) {
this.reference = reference;
return this;
}
/**
* A reference for the refund. This must be an alphanumeric string with 6 to 18 characters and must not contain any special characters or spaces.
* @return reference
**/
@ApiModelProperty(required = true, value = "A reference for the refund. This must be an alphanumeric string with 6 to 18 characters and must not contain any special characters or spaces.")
public String getReference() {
return reference;
}
public void setReference(String reference) {
this.reference = reference;
}
public PaymentInitiationPaymentReverseRequest amount(PaymentAmountToRefund amount) {
this.amount = amount;
return this;
}
/**
* Get amount
* @return amount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PaymentAmountToRefund getAmount() {
return amount;
}
public void setAmount(PaymentAmountToRefund amount) {
this.amount = amount;
}
public PaymentInitiationPaymentReverseRequest counterpartyDateOfBirth(LocalDate counterpartyDateOfBirth) {
this.counterpartyDateOfBirth = counterpartyDateOfBirth;
return this;
}
/**
* The counterparty's birthdate, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) (YYYY-MM-DD) format.
* @return counterpartyDateOfBirth
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The counterparty's birthdate, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) (YYYY-MM-DD) format.")
public LocalDate getCounterpartyDateOfBirth() {
return counterpartyDateOfBirth;
}
public void setCounterpartyDateOfBirth(LocalDate counterpartyDateOfBirth) {
this.counterpartyDateOfBirth = counterpartyDateOfBirth;
}
public PaymentInitiationPaymentReverseRequest counterpartyAddress(PaymentInitiationAddress counterpartyAddress) {
this.counterpartyAddress = counterpartyAddress;
return this;
}
/**
* Get counterpartyAddress
* @return counterpartyAddress
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PaymentInitiationAddress getCounterpartyAddress() {
return counterpartyAddress;
}
public void setCounterpartyAddress(PaymentInitiationAddress counterpartyAddress) {
this.counterpartyAddress = counterpartyAddress;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PaymentInitiationPaymentReverseRequest paymentInitiationPaymentReverseRequest = (PaymentInitiationPaymentReverseRequest) o;
return Objects.equals(this.clientId, paymentInitiationPaymentReverseRequest.clientId) &&
Objects.equals(this.secret, paymentInitiationPaymentReverseRequest.secret) &&
Objects.equals(this.paymentId, paymentInitiationPaymentReverseRequest.paymentId) &&
Objects.equals(this.idempotencyKey, paymentInitiationPaymentReverseRequest.idempotencyKey) &&
Objects.equals(this.reference, paymentInitiationPaymentReverseRequest.reference) &&
Objects.equals(this.amount, paymentInitiationPaymentReverseRequest.amount) &&
Objects.equals(this.counterpartyDateOfBirth, paymentInitiationPaymentReverseRequest.counterpartyDateOfBirth) &&
Objects.equals(this.counterpartyAddress, paymentInitiationPaymentReverseRequest.counterpartyAddress);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, paymentId, idempotencyKey, reference, amount, counterpartyDateOfBirth, counterpartyAddress);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaymentInitiationPaymentReverseRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" paymentId: ").append(toIndentedString(paymentId)).append("\n");
sb.append(" idempotencyKey: ").append(toIndentedString(idempotencyKey)).append("\n");
sb.append(" reference: ").append(toIndentedString(reference)).append("\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" counterpartyDateOfBirth: ").append(toIndentedString(counterpartyDateOfBirth)).append("\n");
sb.append(" counterpartyAddress: ").append(toIndentedString(counterpartyAddress)).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/LinkTokenGetRequest.java | src/main/java/com/plaid/client/model/LinkTokenGetRequest.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;
/**
* LinkTokenGetRequest defines the request schema for `/link/token/get`
*/
@ApiModel(description = "LinkTokenGetRequest defines the request schema for `/link/token/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkTokenGetRequest {
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_LINK_TOKEN = "link_token";
@SerializedName(SERIALIZED_NAME_LINK_TOKEN)
private String linkToken;
public LinkTokenGetRequest 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 LinkTokenGetRequest 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 LinkTokenGetRequest linkToken(String linkToken) {
this.linkToken = linkToken;
return this;
}
/**
* A `link_token` from a previous invocation of `/link/token/create`
* @return linkToken
**/
@ApiModelProperty(required = true, value = "A `link_token` from a previous invocation of `/link/token/create`")
public String getLinkToken() {
return linkToken;
}
public void setLinkToken(String linkToken) {
this.linkToken = linkToken;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkTokenGetRequest linkTokenGetRequest = (LinkTokenGetRequest) o;
return Objects.equals(this.clientId, linkTokenGetRequest.clientId) &&
Objects.equals(this.secret, linkTokenGetRequest.secret) &&
Objects.equals(this.linkToken, linkTokenGetRequest.linkToken);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, linkToken);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkTokenGetRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" linkToken: ").append(toIndentedString(linkToken)).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/LinkTokenCreateRequestBaseReport.java | src/main/java/com/plaid/client/model/LinkTokenCreateRequestBaseReport.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;
/**
* Specifies options for initializing Link for use with the Base Report product. This field is required if `assets` is included in the `products` array and the client is CRA-enabled.
*/
@ApiModel(description = "Specifies options for initializing Link for use with the Base Report product. This field is required if `assets` is included in the `products` array and the client is CRA-enabled.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkTokenCreateRequestBaseReport {
public static final String SERIALIZED_NAME_DAYS_REQUESTED = "days_requested";
@SerializedName(SERIALIZED_NAME_DAYS_REQUESTED)
private Integer daysRequested;
public static final String SERIALIZED_NAME_CLIENT_REPORT_ID = "client_report_id";
@SerializedName(SERIALIZED_NAME_CLIENT_REPORT_ID)
private String clientReportId;
public LinkTokenCreateRequestBaseReport daysRequested(Integer daysRequested) {
this.daysRequested = daysRequested;
return this;
}
/**
* The maximum integer number of days of history to include in the Base Report.
* minimum: 1
* maximum: 730
* @return daysRequested
**/
@ApiModelProperty(required = true, value = "The maximum integer number of days of history to include in the Base Report.")
public Integer getDaysRequested() {
return daysRequested;
}
public void setDaysRequested(Integer daysRequested) {
this.daysRequested = daysRequested;
}
public LinkTokenCreateRequestBaseReport clientReportId(String clientReportId) {
this.clientReportId = clientReportId;
return this;
}
/**
* Client-generated identifier, which can be used by lenders to track loan applications.
* @return clientReportId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Client-generated identifier, which can be used by lenders to track loan applications.")
public String getClientReportId() {
return clientReportId;
}
public void setClientReportId(String clientReportId) {
this.clientReportId = clientReportId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkTokenCreateRequestBaseReport linkTokenCreateRequestBaseReport = (LinkTokenCreateRequestBaseReport) o;
return Objects.equals(this.daysRequested, linkTokenCreateRequestBaseReport.daysRequested) &&
Objects.equals(this.clientReportId, linkTokenCreateRequestBaseReport.clientReportId);
}
@Override
public int hashCode() {
return Objects.hash(daysRequested, clientReportId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkTokenCreateRequestBaseReport {\n");
sb.append(" daysRequested: ").append(toIndentedString(daysRequested)).append("\n");
sb.append(" clientReportId: ").append(toIndentedString(clientReportId)).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/W2StateAndLocalWages.java | src/main/java/com/plaid/client/model/W2StateAndLocalWages.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;
/**
* W2 state and local wages
*/
@ApiModel(description = "W2 state and local wages")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class W2StateAndLocalWages {
public static final String SERIALIZED_NAME_STATE = "state";
@SerializedName(SERIALIZED_NAME_STATE)
private String state;
public static final String SERIALIZED_NAME_EMPLOYER_STATE_ID_NUMBER = "employer_state_id_number";
@SerializedName(SERIALIZED_NAME_EMPLOYER_STATE_ID_NUMBER)
private String employerStateIdNumber;
public static final String SERIALIZED_NAME_STATE_WAGES_TIPS = "state_wages_tips";
@SerializedName(SERIALIZED_NAME_STATE_WAGES_TIPS)
private String stateWagesTips;
public static final String SERIALIZED_NAME_STATE_INCOME_TAX = "state_income_tax";
@SerializedName(SERIALIZED_NAME_STATE_INCOME_TAX)
private String stateIncomeTax;
public static final String SERIALIZED_NAME_LOCAL_WAGES_TIPS = "local_wages_tips";
@SerializedName(SERIALIZED_NAME_LOCAL_WAGES_TIPS)
private String localWagesTips;
public static final String SERIALIZED_NAME_LOCAL_INCOME_TAX = "local_income_tax";
@SerializedName(SERIALIZED_NAME_LOCAL_INCOME_TAX)
private String localIncomeTax;
public static final String SERIALIZED_NAME_LOCALITY_NAME = "locality_name";
@SerializedName(SERIALIZED_NAME_LOCALITY_NAME)
private String localityName;
public W2StateAndLocalWages state(String state) {
this.state = state;
return this;
}
/**
* State associated with the wage.
* @return state
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "State associated with the wage.")
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
public W2StateAndLocalWages employerStateIdNumber(String employerStateIdNumber) {
this.employerStateIdNumber = employerStateIdNumber;
return this;
}
/**
* State identification number of the employer.
* @return employerStateIdNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "State identification number of the employer.")
public String getEmployerStateIdNumber() {
return employerStateIdNumber;
}
public void setEmployerStateIdNumber(String employerStateIdNumber) {
this.employerStateIdNumber = employerStateIdNumber;
}
public W2StateAndLocalWages stateWagesTips(String stateWagesTips) {
this.stateWagesTips = stateWagesTips;
return this;
}
/**
* Wages and tips from the specified state.
* @return stateWagesTips
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Wages and tips from the specified state.")
public String getStateWagesTips() {
return stateWagesTips;
}
public void setStateWagesTips(String stateWagesTips) {
this.stateWagesTips = stateWagesTips;
}
public W2StateAndLocalWages stateIncomeTax(String stateIncomeTax) {
this.stateIncomeTax = stateIncomeTax;
return this;
}
/**
* Income tax from the specified state.
* @return stateIncomeTax
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Income tax from the specified state.")
public String getStateIncomeTax() {
return stateIncomeTax;
}
public void setStateIncomeTax(String stateIncomeTax) {
this.stateIncomeTax = stateIncomeTax;
}
public W2StateAndLocalWages localWagesTips(String localWagesTips) {
this.localWagesTips = localWagesTips;
return this;
}
/**
* Wages and tips from the locality.
* @return localWagesTips
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Wages and tips from the locality.")
public String getLocalWagesTips() {
return localWagesTips;
}
public void setLocalWagesTips(String localWagesTips) {
this.localWagesTips = localWagesTips;
}
public W2StateAndLocalWages localIncomeTax(String localIncomeTax) {
this.localIncomeTax = localIncomeTax;
return this;
}
/**
* Income tax from the locality.
* @return localIncomeTax
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Income tax from the locality.")
public String getLocalIncomeTax() {
return localIncomeTax;
}
public void setLocalIncomeTax(String localIncomeTax) {
this.localIncomeTax = localIncomeTax;
}
public W2StateAndLocalWages localityName(String localityName) {
this.localityName = localityName;
return this;
}
/**
* Name of the locality.
* @return localityName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Name of the locality.")
public String getLocalityName() {
return localityName;
}
public void setLocalityName(String localityName) {
this.localityName = localityName;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
W2StateAndLocalWages w2StateAndLocalWages = (W2StateAndLocalWages) o;
return Objects.equals(this.state, w2StateAndLocalWages.state) &&
Objects.equals(this.employerStateIdNumber, w2StateAndLocalWages.employerStateIdNumber) &&
Objects.equals(this.stateWagesTips, w2StateAndLocalWages.stateWagesTips) &&
Objects.equals(this.stateIncomeTax, w2StateAndLocalWages.stateIncomeTax) &&
Objects.equals(this.localWagesTips, w2StateAndLocalWages.localWagesTips) &&
Objects.equals(this.localIncomeTax, w2StateAndLocalWages.localIncomeTax) &&
Objects.equals(this.localityName, w2StateAndLocalWages.localityName);
}
@Override
public int hashCode() {
return Objects.hash(state, employerStateIdNumber, stateWagesTips, stateIncomeTax, localWagesTips, localIncomeTax, localityName);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class W2StateAndLocalWages {\n");
sb.append(" state: ").append(toIndentedString(state)).append("\n");
sb.append(" employerStateIdNumber: ").append(toIndentedString(employerStateIdNumber)).append("\n");
sb.append(" stateWagesTips: ").append(toIndentedString(stateWagesTips)).append("\n");
sb.append(" stateIncomeTax: ").append(toIndentedString(stateIncomeTax)).append("\n");
sb.append(" localWagesTips: ").append(toIndentedString(localWagesTips)).append("\n");
sb.append(" localIncomeTax: ").append(toIndentedString(localIncomeTax)).append("\n");
sb.append(" localityName: ").append(toIndentedString(localityName)).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/ForecastedMonthlyIncome.java | src/main/java/com/plaid/client/model/ForecastedMonthlyIncome.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 the predicted average monthly net income amount. This amount reflects the funds deposited into the account and may not include any withheld income such as taxes or other payroll deductions
*/
@ApiModel(description = "An object representing the predicted average monthly net income amount. This amount reflects the funds deposited into the account and may not include any withheld income such as taxes or other payroll deductions")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ForecastedMonthlyIncome {
public static final String SERIALIZED_NAME_BASELINE_AMOUNT = "baseline_amount";
@SerializedName(SERIALIZED_NAME_BASELINE_AMOUNT)
private Double baselineAmount;
public static final String SERIALIZED_NAME_CURRENT_AMOUNT = "current_amount";
@SerializedName(SERIALIZED_NAME_CURRENT_AMOUNT)
private Double currentAmount;
public ForecastedMonthlyIncome baselineAmount(Double baselineAmount) {
this.baselineAmount = baselineAmount;
return this;
}
/**
* The forecasted monthly income at the time of subscription
* @return baselineAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The forecasted monthly income at the time of subscription")
public Double getBaselineAmount() {
return baselineAmount;
}
public void setBaselineAmount(Double baselineAmount) {
this.baselineAmount = baselineAmount;
}
public ForecastedMonthlyIncome currentAmount(Double currentAmount) {
this.currentAmount = currentAmount;
return this;
}
/**
* The current forecasted monthly income
* @return currentAmount
**/
@ApiModelProperty(required = true, value = "The current forecasted monthly income")
public Double getCurrentAmount() {
return currentAmount;
}
public void setCurrentAmount(Double currentAmount) {
this.currentAmount = currentAmount;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ForecastedMonthlyIncome forecastedMonthlyIncome = (ForecastedMonthlyIncome) o;
return Objects.equals(this.baselineAmount, forecastedMonthlyIncome.baselineAmount) &&
Objects.equals(this.currentAmount, forecastedMonthlyIncome.currentAmount);
}
@Override
public int hashCode() {
return Objects.hash(baselineAmount, currentAmount);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ForecastedMonthlyIncome {\n");
sb.append(" baselineAmount: ").append(toIndentedString(baselineAmount)).append("\n");
sb.append(" currentAmount: ").append(toIndentedString(currentAmount)).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/SimulatedTransferSweep.java | src/main/java/com/plaid/client/model/SimulatedTransferSweep.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.SweepFailure;
import com.plaid.client.model.SweepStatus;
import com.plaid.client.model.SweepTrigger;
import com.plaid.client.model.TransferSweep;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
import java.time.OffsetDateTime;
/**
* A sweep returned from the `/sandbox/transfer/sweep/simulate` endpoint. Can be null if there are no transfers to include in a sweep.
*/
@ApiModel(description = "A sweep returned from the `/sandbox/transfer/sweep/simulate` endpoint. Can be null if there are no transfers to include in a sweep.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SimulatedTransferSweep {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
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_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
private OffsetDateTime created;
public static final String SERIALIZED_NAME_AMOUNT = "amount";
@SerializedName(SERIALIZED_NAME_AMOUNT)
private String 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_SETTLED = "settled";
@SerializedName(SERIALIZED_NAME_SETTLED)
private LocalDate settled;
public static final String SERIALIZED_NAME_EXPECTED_FUNDS_AVAILABLE_DATE = "expected_funds_available_date";
@SerializedName(SERIALIZED_NAME_EXPECTED_FUNDS_AVAILABLE_DATE)
private LocalDate expectedFundsAvailableDate;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private SweepStatus status;
public static final String SERIALIZED_NAME_TRIGGER = "trigger";
@SerializedName(SERIALIZED_NAME_TRIGGER)
private SweepTrigger trigger;
public static final String SERIALIZED_NAME_DESCRIPTION = "description";
@SerializedName(SERIALIZED_NAME_DESCRIPTION)
private String description;
public static final String SERIALIZED_NAME_NETWORK_TRACE_ID = "network_trace_id";
@SerializedName(SERIALIZED_NAME_NETWORK_TRACE_ID)
private String networkTraceId;
public static final String SERIALIZED_NAME_FAILURE_REASON = "failure_reason";
@SerializedName(SERIALIZED_NAME_FAILURE_REASON)
private SweepFailure failureReason;
public SimulatedTransferSweep id(String id) {
this.id = id;
return this;
}
/**
* Identifier of the sweep.
* @return id
**/
@ApiModelProperty(required = true, value = "Identifier of the sweep.")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public SimulatedTransferSweep 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 SimulatedTransferSweep ledgerId(String ledgerId) {
this.ledgerId = ledgerId;
return this;
}
/**
* Plaid’s unique identifier for a Plaid Ledger Balance.
* @return ledgerId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Plaid’s unique identifier for a Plaid Ledger Balance.")
public String getLedgerId() {
return ledgerId;
}
public void setLedgerId(String ledgerId) {
this.ledgerId = ledgerId;
}
public SimulatedTransferSweep created(OffsetDateTime created) {
this.created = created;
return this;
}
/**
* The datetime when the sweep occurred, in RFC 3339 format.
* @return created
**/
@ApiModelProperty(required = true, value = "The datetime when the sweep occurred, in RFC 3339 format.")
public OffsetDateTime getCreated() {
return created;
}
public void setCreated(OffsetDateTime created) {
this.created = created;
}
public SimulatedTransferSweep amount(String amount) {
this.amount = amount;
return this;
}
/**
* Signed decimal amount of the sweep as it appears on your sweep account ledger (e.g. \"-10.00\") If amount is not present, the sweep was net-settled to zero and outstanding debits and credits between the sweep account and Plaid are balanced.
* @return amount
**/
@ApiModelProperty(required = true, value = "Signed decimal amount of the sweep as it appears on your sweep account ledger (e.g. \"-10.00\") If amount is not present, the sweep was net-settled to zero and outstanding debits and credits between the sweep account and Plaid are balanced.")
public String getAmount() {
return amount;
}
public void setAmount(String amount) {
this.amount = amount;
}
public SimulatedTransferSweep isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The currency of the sweep, e.g. \"USD\".
* @return isoCurrencyCode
**/
@ApiModelProperty(required = true, value = "The currency of the sweep, e.g. \"USD\".")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public SimulatedTransferSweep settled(LocalDate settled) {
this.settled = settled;
return this;
}
/**
* The date when the sweep settled, in the YYYY-MM-DD format.
* @return settled
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The date when the sweep settled, in the YYYY-MM-DD format.")
public LocalDate getSettled() {
return settled;
}
public void setSettled(LocalDate settled) {
this.settled = settled;
}
public SimulatedTransferSweep expectedFundsAvailableDate(LocalDate expectedFundsAvailableDate) {
this.expectedFundsAvailableDate = expectedFundsAvailableDate;
return this;
}
/**
* The expected date when funds from a ledger deposit will be made available and can be withdrawn from the associated ledger balance. Only applies to deposits. This will be of the form YYYY-MM-DD.
* @return expectedFundsAvailableDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The expected date when funds from a ledger deposit will be made available and can be withdrawn from the associated ledger balance. Only applies to deposits. This will be of the form YYYY-MM-DD.")
public LocalDate getExpectedFundsAvailableDate() {
return expectedFundsAvailableDate;
}
public void setExpectedFundsAvailableDate(LocalDate expectedFundsAvailableDate) {
this.expectedFundsAvailableDate = expectedFundsAvailableDate;
}
public SimulatedTransferSweep status(SweepStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public SweepStatus getStatus() {
return status;
}
public void setStatus(SweepStatus status) {
this.status = status;
}
public SimulatedTransferSweep trigger(SweepTrigger trigger) {
this.trigger = trigger;
return this;
}
/**
* Get trigger
* @return trigger
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public SweepTrigger getTrigger() {
return trigger;
}
public void setTrigger(SweepTrigger trigger) {
this.trigger = trigger;
}
public SimulatedTransferSweep 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 SimulatedTransferSweep networkTraceId(String networkTraceId) {
this.networkTraceId = networkTraceId;
return this;
}
/**
* The trace identifier for the transfer based on its network. This will only be set after the transfer has posted. For `ach` or `same-day-ach` transfers, this is the ACH trace number. For `rtp` transfers, this is the Transaction Identification number. For `wire` transfers, this is the IMAD (Input Message Accountability Data) number.
* @return networkTraceId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The trace identifier for the transfer based on its network. This will only be set after the transfer has posted. For `ach` or `same-day-ach` transfers, this is the ACH trace number. For `rtp` transfers, this is the Transaction Identification number. For `wire` transfers, this is the IMAD (Input Message Accountability Data) number.")
public String getNetworkTraceId() {
return networkTraceId;
}
public void setNetworkTraceId(String networkTraceId) {
this.networkTraceId = networkTraceId;
}
public SimulatedTransferSweep failureReason(SweepFailure failureReason) {
this.failureReason = failureReason;
return this;
}
/**
* Get failureReason
* @return failureReason
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public SweepFailure getFailureReason() {
return failureReason;
}
public void setFailureReason(SweepFailure failureReason) {
this.failureReason = failureReason;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SimulatedTransferSweep simulatedTransferSweep = (SimulatedTransferSweep) o;
return Objects.equals(this.id, simulatedTransferSweep.id) &&
Objects.equals(this.fundingAccountId, simulatedTransferSweep.fundingAccountId) &&
Objects.equals(this.ledgerId, simulatedTransferSweep.ledgerId) &&
Objects.equals(this.created, simulatedTransferSweep.created) &&
Objects.equals(this.amount, simulatedTransferSweep.amount) &&
Objects.equals(this.isoCurrencyCode, simulatedTransferSweep.isoCurrencyCode) &&
Objects.equals(this.settled, simulatedTransferSweep.settled) &&
Objects.equals(this.expectedFundsAvailableDate, simulatedTransferSweep.expectedFundsAvailableDate) &&
Objects.equals(this.status, simulatedTransferSweep.status) &&
Objects.equals(this.trigger, simulatedTransferSweep.trigger) &&
Objects.equals(this.description, simulatedTransferSweep.description) &&
Objects.equals(this.networkTraceId, simulatedTransferSweep.networkTraceId) &&
Objects.equals(this.failureReason, simulatedTransferSweep.failureReason);
}
@Override
public int hashCode() {
return Objects.hash(id, fundingAccountId, ledgerId, created, amount, isoCurrencyCode, settled, expectedFundsAvailableDate, status, trigger, description, networkTraceId, failureReason);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SimulatedTransferSweep {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" fundingAccountId: ").append(toIndentedString(fundingAccountId)).append("\n");
sb.append(" ledgerId: ").append(toIndentedString(ledgerId)).append("\n");
sb.append(" created: ").append(toIndentedString(created)).append("\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" settled: ").append(toIndentedString(settled)).append("\n");
sb.append(" expectedFundsAvailableDate: ").append(toIndentedString(expectedFundsAvailableDate)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" trigger: ").append(toIndentedString(trigger)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" networkTraceId: ").append(toIndentedString(networkTraceId)).append("\n");
sb.append(" failureReason: ").append(toIndentedString(failureReason)).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/CraBankIncomeCompleteResult.java | src/main/java/com/plaid/client/model/CraBankIncomeCompleteResult.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 result of the bank income report generation `SUCCESS`: The bank income report was successfully generated and can be retrieved via `/cra/bank_income/get`. `FAILURE`: The bank income report failed to be generated
*/
@JsonAdapter(CraBankIncomeCompleteResult.Adapter.class)
public enum CraBankIncomeCompleteResult {
SUCCESS("SUCCESS"),
FAILURE("FAILURE"),
// 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;
CraBankIncomeCompleteResult(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static CraBankIncomeCompleteResult fromValue(String value) {
for (CraBankIncomeCompleteResult b : CraBankIncomeCompleteResult.values()) {
if (b.value.equals(value)) {
return b;
}
}
return CraBankIncomeCompleteResult.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<CraBankIncomeCompleteResult> {
@Override
public void write(final JsonWriter jsonWriter, final CraBankIncomeCompleteResult enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public CraBankIncomeCompleteResult read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return CraBankIncomeCompleteResult.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/SandboxTransferLedgerSimulateAvailableRequest.java | src/main/java/com/plaid/client/model/SandboxTransferLedgerSimulateAvailableRequest.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 `/sandbox/transfer/ledger/simulate_available`
*/
@ApiModel(description = "Defines the request schema for `/sandbox/transfer/ledger/simulate_available`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SandboxTransferLedgerSimulateAvailableRequest {
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_LEDGER_ID = "ledger_id";
@SerializedName(SERIALIZED_NAME_LEDGER_ID)
private String ledgerId;
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_TEST_CLOCK_ID = "test_clock_id";
@SerializedName(SERIALIZED_NAME_TEST_CLOCK_ID)
private String testClockId;
public static final String SERIALIZED_NAME_WEBHOOK = "webhook";
@SerializedName(SERIALIZED_NAME_WEBHOOK)
private String webhook;
public SandboxTransferLedgerSimulateAvailableRequest 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 SandboxTransferLedgerSimulateAvailableRequest 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 SandboxTransferLedgerSimulateAvailableRequest ledgerId(String ledgerId) {
this.ledgerId = ledgerId;
return this;
}
/**
* Specify which ledger balance to simulate converting pending balance to available balance. 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 simulate converting pending balance to available balance. 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 SandboxTransferLedgerSimulateAvailableRequest originatorClientId(String originatorClientId) {
this.originatorClientId = originatorClientId;
return this;
}
/**
* Client ID of the end customer (i.e. the originator). Only applicable to Transfer for Platforms customers.
* @return originatorClientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Client ID of the end customer (i.e. the originator). Only applicable to Transfer for Platforms customers.")
public String getOriginatorClientId() {
return originatorClientId;
}
public void setOriginatorClientId(String originatorClientId) {
this.originatorClientId = originatorClientId;
}
public SandboxTransferLedgerSimulateAvailableRequest testClockId(String testClockId) {
this.testClockId = testClockId;
return this;
}
/**
* Plaid’s unique identifier for a test clock. If provided, only the pending balance that is due before the `virtual_timestamp` on the test clock will be converted.
* @return testClockId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Plaid’s unique identifier for a test clock. If provided, only the pending balance that is due before the `virtual_timestamp` on the test clock will be converted.")
public String getTestClockId() {
return testClockId;
}
public void setTestClockId(String testClockId) {
this.testClockId = testClockId;
}
public SandboxTransferLedgerSimulateAvailableRequest webhook(String webhook) {
this.webhook = webhook;
return this;
}
/**
* The webhook URL to which a `TRANSFER_EVENTS_UPDATE` webhook should be sent.
* @return webhook
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The webhook URL to which a `TRANSFER_EVENTS_UPDATE` webhook should be sent.")
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;
}
SandboxTransferLedgerSimulateAvailableRequest sandboxTransferLedgerSimulateAvailableRequest = (SandboxTransferLedgerSimulateAvailableRequest) o;
return Objects.equals(this.clientId, sandboxTransferLedgerSimulateAvailableRequest.clientId) &&
Objects.equals(this.secret, sandboxTransferLedgerSimulateAvailableRequest.secret) &&
Objects.equals(this.ledgerId, sandboxTransferLedgerSimulateAvailableRequest.ledgerId) &&
Objects.equals(this.originatorClientId, sandboxTransferLedgerSimulateAvailableRequest.originatorClientId) &&
Objects.equals(this.testClockId, sandboxTransferLedgerSimulateAvailableRequest.testClockId) &&
Objects.equals(this.webhook, sandboxTransferLedgerSimulateAvailableRequest.webhook);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, ledgerId, originatorClientId, testClockId, webhook);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SandboxTransferLedgerSimulateAvailableRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" ledgerId: ").append(toIndentedString(ledgerId)).append("\n");
sb.append(" originatorClientId: ").append(toIndentedString(originatorClientId)).append("\n");
sb.append(" testClockId: ").append(toIndentedString(testClockId)).append("\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/NetworkStatusGetResponseNetworkStatus.java | src/main/java/com/plaid/client/model/NetworkStatusGetResponseNetworkStatus.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;
/**
* Enum representing the overall network status of the user.
*/
@JsonAdapter(NetworkStatusGetResponseNetworkStatus.Adapter.class)
public enum NetworkStatusGetResponseNetworkStatus {
UNKNOWN("UNKNOWN"),
RETURNING_USER("RETURNING_USER"),
// 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;
NetworkStatusGetResponseNetworkStatus(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static NetworkStatusGetResponseNetworkStatus fromValue(String value) {
for (NetworkStatusGetResponseNetworkStatus b : NetworkStatusGetResponseNetworkStatus.values()) {
if (b.value.equals(value)) {
return b;
}
}
return NetworkStatusGetResponseNetworkStatus.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<NetworkStatusGetResponseNetworkStatus> {
@Override
public void write(final JsonWriter jsonWriter, final NetworkStatusGetResponseNetworkStatus enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public NetworkStatusGetResponseNetworkStatus read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return NetworkStatusGetResponseNetworkStatus.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/SweepStatus.java | src/main/java/com/plaid/client/model/SweepStatus.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 status of a sweep transfer `\"pending\"` - The sweep is currently pending `\"posted\"` - The sweep has been posted `\"settled\"` - The sweep has settled. This is the terminal state of a successful credit sweep. `\"returned\"` - The sweep has been returned. This is the terminal state of a returned sweep. Returns of a sweep are extremely rare, since sweeps are money movement between your own bank account and your own Ledger. `\"funds_available\"` - Funds from the sweep have been released from hold and applied to the ledger's available balance. (Only applicable to deposits.) This is the terminal state of a successful deposit sweep. `\"failed\"` - The sweep has failed. This is the terminal state of a failed sweep.
*/
@JsonAdapter(SweepStatus.Adapter.class)
public enum SweepStatus {
PENDING("pending"),
POSTED("posted"),
SETTLED("settled"),
FUNDS_AVAILABLE("funds_available"),
RETURNED("returned"),
FAILED("failed"),
NULL("null"),
// 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;
SweepStatus(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static SweepStatus fromValue(String value) {
for (SweepStatus b : SweepStatus.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null; }
public static class Adapter extends TypeAdapter<SweepStatus> {
@Override
public void write(final JsonWriter jsonWriter, final SweepStatus enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public SweepStatus read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return SweepStatus.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/AccountProductAccess.java | src/main/java/com/plaid/client/model/AccountProductAccess.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;
/**
* Allow the application to access specific products on this account
*/
@ApiModel(description = "Allow the application to access specific products on this account")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class AccountProductAccess {
public static final String SERIALIZED_NAME_ACCOUNT_DATA = "account_data";
@SerializedName(SERIALIZED_NAME_ACCOUNT_DATA)
private Boolean accountData = true;
public static final String SERIALIZED_NAME_STATEMENTS = "statements";
@SerializedName(SERIALIZED_NAME_STATEMENTS)
private Boolean statements = true;
public static final String SERIALIZED_NAME_TAX_DOCUMENTS = "tax_documents";
@SerializedName(SERIALIZED_NAME_TAX_DOCUMENTS)
private Boolean taxDocuments = true;
public AccountProductAccess accountData(Boolean accountData) {
this.accountData = accountData;
return this;
}
/**
* Allow the application to access account data. Only used by certain partners. If relevant to the partner and unset, defaults to `true`.
* @return accountData
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Allow the application to access account data. Only used by certain partners. If relevant to the partner and unset, defaults to `true`.")
public Boolean getAccountData() {
return accountData;
}
public void setAccountData(Boolean accountData) {
this.accountData = accountData;
}
public AccountProductAccess statements(Boolean statements) {
this.statements = statements;
return this;
}
/**
* Allow the application to access bank statements. Only used by certain partners. If relevant to the partner and unset, defaults to `true`.
* @return statements
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Allow the application to access bank statements. Only used by certain partners. If relevant to the partner and unset, defaults to `true`.")
public Boolean getStatements() {
return statements;
}
public void setStatements(Boolean statements) {
this.statements = statements;
}
public AccountProductAccess taxDocuments(Boolean taxDocuments) {
this.taxDocuments = taxDocuments;
return this;
}
/**
* Allow the application to access tax documents. Only used by certain partners. If relevant to the partner and unset, defaults to `true`.
* @return taxDocuments
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Allow the application to access tax documents. Only used by certain partners. If relevant to the partner and unset, defaults to `true`.")
public Boolean getTaxDocuments() {
return taxDocuments;
}
public void setTaxDocuments(Boolean taxDocuments) {
this.taxDocuments = taxDocuments;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AccountProductAccess accountProductAccess = (AccountProductAccess) o;
return Objects.equals(this.accountData, accountProductAccess.accountData) &&
Objects.equals(this.statements, accountProductAccess.statements) &&
Objects.equals(this.taxDocuments, accountProductAccess.taxDocuments);
}
@Override
public int hashCode() {
return Objects.hash(accountData, statements, taxDocuments);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AccountProductAccess {\n");
sb.append(" accountData: ").append(toIndentedString(accountData)).append("\n");
sb.append(" statements: ").append(toIndentedString(statements)).append("\n");
sb.append(" taxDocuments: ").append(toIndentedString(taxDocuments)).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/WatchlistScreeningEntityProgramListResponse.java | src/main/java/com/plaid/client/model/WatchlistScreeningEntityProgramListResponse.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.EntityWatchlistProgram;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Paginated list of entity watchlist screening programs
*/
@ApiModel(description = "Paginated list of entity watchlist screening programs")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class WatchlistScreeningEntityProgramListResponse {
public static final String SERIALIZED_NAME_ENTITY_WATCHLIST_PROGRAMS = "entity_watchlist_programs";
@SerializedName(SERIALIZED_NAME_ENTITY_WATCHLIST_PROGRAMS)
private List<EntityWatchlistProgram> entityWatchlistPrograms = new ArrayList<>();
public static final String SERIALIZED_NAME_NEXT_CURSOR = "next_cursor";
@SerializedName(SERIALIZED_NAME_NEXT_CURSOR)
private String nextCursor;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public WatchlistScreeningEntityProgramListResponse entityWatchlistPrograms(List<EntityWatchlistProgram> entityWatchlistPrograms) {
this.entityWatchlistPrograms = entityWatchlistPrograms;
return this;
}
public WatchlistScreeningEntityProgramListResponse addEntityWatchlistProgramsItem(EntityWatchlistProgram entityWatchlistProgramsItem) {
this.entityWatchlistPrograms.add(entityWatchlistProgramsItem);
return this;
}
/**
* List of entity watchlist screening programs
* @return entityWatchlistPrograms
**/
@ApiModelProperty(required = true, value = "List of entity watchlist screening programs")
public List<EntityWatchlistProgram> getEntityWatchlistPrograms() {
return entityWatchlistPrograms;
}
public void setEntityWatchlistPrograms(List<EntityWatchlistProgram> entityWatchlistPrograms) {
this.entityWatchlistPrograms = entityWatchlistPrograms;
}
public WatchlistScreeningEntityProgramListResponse nextCursor(String nextCursor) {
this.nextCursor = nextCursor;
return this;
}
/**
* An identifier that determines which page of results you receive.
* @return nextCursor
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "eyJkaXJlY3Rpb24iOiJuZXh0Iiwib2Zmc2V0IjoiMTU5NDM", required = true, value = "An identifier that determines which page of results you receive.")
public String getNextCursor() {
return nextCursor;
}
public void setNextCursor(String nextCursor) {
this.nextCursor = nextCursor;
}
public WatchlistScreeningEntityProgramListResponse 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;
}
WatchlistScreeningEntityProgramListResponse watchlistScreeningEntityProgramListResponse = (WatchlistScreeningEntityProgramListResponse) o;
return Objects.equals(this.entityWatchlistPrograms, watchlistScreeningEntityProgramListResponse.entityWatchlistPrograms) &&
Objects.equals(this.nextCursor, watchlistScreeningEntityProgramListResponse.nextCursor) &&
Objects.equals(this.requestId, watchlistScreeningEntityProgramListResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(entityWatchlistPrograms, nextCursor, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class WatchlistScreeningEntityProgramListResponse {\n");
sb.append(" entityWatchlistPrograms: ").append(toIndentedString(entityWatchlistPrograms)).append("\n");
sb.append(" nextCursor: ").append(toIndentedString(nextCursor)).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/IssuesSubscribeResponse.java | src/main/java/com/plaid/client/model/IssuesSubscribeResponse.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;
/**
* IssuesSubscribeResponse defines the response schema for `/issues/subscribe`.
*/
@ApiModel(description = "IssuesSubscribeResponse defines the response schema for `/issues/subscribe`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class IssuesSubscribeResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public IssuesSubscribeResponse 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;
}
IssuesSubscribeResponse issuesSubscribeResponse = (IssuesSubscribeResponse) o;
return Objects.equals(this.requestId, issuesSubscribeResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IssuesSubscribeResponse {\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/RecurringTransactionFrequency.java | src/main/java/com/plaid/client/model/RecurringTransactionFrequency.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;
/**
* Describes the frequency of the transaction stream. `WEEKLY`: Assigned to a transaction stream that occurs approximately every week. `BIWEEKLY`: Assigned to a transaction stream that occurs approximately every 2 weeks. `SEMI_MONTHLY`: Assigned to a transaction stream that occurs approximately twice per month. This frequency is typically seen for inflow transaction streams. `MONTHLY`: Assigned to a transaction stream that occurs approximately every month. `ANNUALLY`: Assigned to a transaction stream that occurs approximately every year. `UNKNOWN`: Assigned to a transaction stream that does not fit any of the pre-defined frequencies.
*/
@JsonAdapter(RecurringTransactionFrequency.Adapter.class)
public enum RecurringTransactionFrequency {
UNKNOWN("UNKNOWN"),
WEEKLY("WEEKLY"),
BIWEEKLY("BIWEEKLY"),
SEMI_MONTHLY("SEMI_MONTHLY"),
MONTHLY("MONTHLY"),
ANNUALLY("ANNUALLY"),
// 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;
RecurringTransactionFrequency(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static RecurringTransactionFrequency fromValue(String value) {
for (RecurringTransactionFrequency b : RecurringTransactionFrequency.values()) {
if (b.value.equals(value)) {
return b;
}
}
return RecurringTransactionFrequency.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<RecurringTransactionFrequency> {
@Override
public void write(final JsonWriter jsonWriter, final RecurringTransactionFrequency enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public RecurringTransactionFrequency read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return RecurringTransactionFrequency.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/AccountFilter.java | src/main/java/com/plaid/client/model/AccountFilter.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.util.ArrayList;
import java.util.List;
/**
* Enumerates the account subtypes that the application wishes for the user to be able to select from. For more details refer to Plaid documentation on account filters.
*/
@ApiModel(description = "Enumerates the account subtypes that the application wishes for the user to be able to select from. For more details refer to Plaid documentation on account filters.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class AccountFilter {
public static final String SERIALIZED_NAME_DEPOSITORY = "depository";
@SerializedName(SERIALIZED_NAME_DEPOSITORY)
private List<String> depository = null;
public static final String SERIALIZED_NAME_CREDIT = "credit";
@SerializedName(SERIALIZED_NAME_CREDIT)
private List<String> credit = null;
public static final String SERIALIZED_NAME_LOAN = "loan";
@SerializedName(SERIALIZED_NAME_LOAN)
private List<String> loan = null;
public static final String SERIALIZED_NAME_INVESTMENT = "investment";
@SerializedName(SERIALIZED_NAME_INVESTMENT)
private List<String> investment = null;
public AccountFilter depository(List<String> depository) {
this.depository = depository;
return this;
}
public AccountFilter addDepositoryItem(String depositoryItem) {
if (this.depository == null) {
this.depository = new ArrayList<>();
}
this.depository.add(depositoryItem);
return this;
}
/**
* A list of account subtypes to be filtered.
* @return depository
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A list of account subtypes to be filtered.")
public List<String> getDepository() {
return depository;
}
public void setDepository(List<String> depository) {
this.depository = depository;
}
public AccountFilter credit(List<String> credit) {
this.credit = credit;
return this;
}
public AccountFilter addCreditItem(String creditItem) {
if (this.credit == null) {
this.credit = new ArrayList<>();
}
this.credit.add(creditItem);
return this;
}
/**
* A list of account subtypes to be filtered.
* @return credit
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A list of account subtypes to be filtered.")
public List<String> getCredit() {
return credit;
}
public void setCredit(List<String> credit) {
this.credit = credit;
}
public AccountFilter loan(List<String> loan) {
this.loan = loan;
return this;
}
public AccountFilter addLoanItem(String loanItem) {
if (this.loan == null) {
this.loan = new ArrayList<>();
}
this.loan.add(loanItem);
return this;
}
/**
* A list of account subtypes to be filtered.
* @return loan
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A list of account subtypes to be filtered.")
public List<String> getLoan() {
return loan;
}
public void setLoan(List<String> loan) {
this.loan = loan;
}
public AccountFilter investment(List<String> investment) {
this.investment = investment;
return this;
}
public AccountFilter addInvestmentItem(String investmentItem) {
if (this.investment == null) {
this.investment = new ArrayList<>();
}
this.investment.add(investmentItem);
return this;
}
/**
* A list of account subtypes to be filtered.
* @return investment
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A list of account subtypes to be filtered.")
public List<String> getInvestment() {
return investment;
}
public void setInvestment(List<String> investment) {
this.investment = investment;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AccountFilter accountFilter = (AccountFilter) o;
return Objects.equals(this.depository, accountFilter.depository) &&
Objects.equals(this.credit, accountFilter.credit) &&
Objects.equals(this.loan, accountFilter.loan) &&
Objects.equals(this.investment, accountFilter.investment);
}
@Override
public int hashCode() {
return Objects.hash(depository, credit, loan, investment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AccountFilter {\n");
sb.append(" depository: ").append(toIndentedString(depository)).append("\n");
sb.append(" credit: ").append(toIndentedString(credit)).append("\n");
sb.append(" loan: ").append(toIndentedString(loan)).append("\n");
sb.append(" investment: ").append(toIndentedString(investment)).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/ProcessorTransactionsRecurringGetResponse.java | src/main/java/com/plaid/client/model/ProcessorTransactionsRecurringGetResponse.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.PersonalFinanceCategoryVersion;
import com.plaid.client.model.TransactionStream;
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;
/**
* ProcessorTransactionsRecurringGetResponse defines the response schema for `/processor/transactions/recurring/get`
*/
@ApiModel(description = "ProcessorTransactionsRecurringGetResponse defines the response schema for `/processor/transactions/recurring/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ProcessorTransactionsRecurringGetResponse {
public static final String SERIALIZED_NAME_INFLOW_STREAMS = "inflow_streams";
@SerializedName(SERIALIZED_NAME_INFLOW_STREAMS)
private List<TransactionStream> inflowStreams = new ArrayList<>();
public static final String SERIALIZED_NAME_OUTFLOW_STREAMS = "outflow_streams";
@SerializedName(SERIALIZED_NAME_OUTFLOW_STREAMS)
private List<TransactionStream> outflowStreams = new ArrayList<>();
public static final String SERIALIZED_NAME_UPDATED_DATETIME = "updated_datetime";
@SerializedName(SERIALIZED_NAME_UPDATED_DATETIME)
private OffsetDateTime updatedDatetime;
public static final String SERIALIZED_NAME_PERSONAL_FINANCE_CATEGORY_VERSION = "personal_finance_category_version";
@SerializedName(SERIALIZED_NAME_PERSONAL_FINANCE_CATEGORY_VERSION)
private PersonalFinanceCategoryVersion personalFinanceCategoryVersion;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public ProcessorTransactionsRecurringGetResponse inflowStreams(List<TransactionStream> inflowStreams) {
this.inflowStreams = inflowStreams;
return this;
}
public ProcessorTransactionsRecurringGetResponse addInflowStreamsItem(TransactionStream inflowStreamsItem) {
this.inflowStreams.add(inflowStreamsItem);
return this;
}
/**
* An array of depository transaction streams.
* @return inflowStreams
**/
@ApiModelProperty(required = true, value = "An array of depository transaction streams.")
public List<TransactionStream> getInflowStreams() {
return inflowStreams;
}
public void setInflowStreams(List<TransactionStream> inflowStreams) {
this.inflowStreams = inflowStreams;
}
public ProcessorTransactionsRecurringGetResponse outflowStreams(List<TransactionStream> outflowStreams) {
this.outflowStreams = outflowStreams;
return this;
}
public ProcessorTransactionsRecurringGetResponse addOutflowStreamsItem(TransactionStream outflowStreamsItem) {
this.outflowStreams.add(outflowStreamsItem);
return this;
}
/**
* An array of expense transaction streams.
* @return outflowStreams
**/
@ApiModelProperty(required = true, value = "An array of expense transaction streams.")
public List<TransactionStream> getOutflowStreams() {
return outflowStreams;
}
public void setOutflowStreams(List<TransactionStream> outflowStreams) {
this.outflowStreams = outflowStreams;
}
public ProcessorTransactionsRecurringGetResponse updatedDatetime(OffsetDateTime updatedDatetime) {
this.updatedDatetime = updatedDatetime;
return this;
}
/**
* Timestamp in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:mm:ssZ`) indicating the last time transaction streams for the given account were updated on
* @return updatedDatetime
**/
@ApiModelProperty(required = true, value = "Timestamp in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:mm:ssZ`) indicating the last time transaction streams for the given account were updated on")
public OffsetDateTime getUpdatedDatetime() {
return updatedDatetime;
}
public void setUpdatedDatetime(OffsetDateTime updatedDatetime) {
this.updatedDatetime = updatedDatetime;
}
public ProcessorTransactionsRecurringGetResponse personalFinanceCategoryVersion(PersonalFinanceCategoryVersion personalFinanceCategoryVersion) {
this.personalFinanceCategoryVersion = personalFinanceCategoryVersion;
return this;
}
/**
* Get personalFinanceCategoryVersion
* @return personalFinanceCategoryVersion
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PersonalFinanceCategoryVersion getPersonalFinanceCategoryVersion() {
return personalFinanceCategoryVersion;
}
public void setPersonalFinanceCategoryVersion(PersonalFinanceCategoryVersion personalFinanceCategoryVersion) {
this.personalFinanceCategoryVersion = personalFinanceCategoryVersion;
}
public ProcessorTransactionsRecurringGetResponse 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;
}
ProcessorTransactionsRecurringGetResponse processorTransactionsRecurringGetResponse = (ProcessorTransactionsRecurringGetResponse) o;
return Objects.equals(this.inflowStreams, processorTransactionsRecurringGetResponse.inflowStreams) &&
Objects.equals(this.outflowStreams, processorTransactionsRecurringGetResponse.outflowStreams) &&
Objects.equals(this.updatedDatetime, processorTransactionsRecurringGetResponse.updatedDatetime) &&
Objects.equals(this.personalFinanceCategoryVersion, processorTransactionsRecurringGetResponse.personalFinanceCategoryVersion) &&
Objects.equals(this.requestId, processorTransactionsRecurringGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(inflowStreams, outflowStreams, updatedDatetime, personalFinanceCategoryVersion, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProcessorTransactionsRecurringGetResponse {\n");
sb.append(" inflowStreams: ").append(toIndentedString(inflowStreams)).append("\n");
sb.append(" outflowStreams: ").append(toIndentedString(outflowStreams)).append("\n");
sb.append(" updatedDatetime: ").append(toIndentedString(updatedDatetime)).append("\n");
sb.append(" personalFinanceCategoryVersion: ").append(toIndentedString(personalFinanceCategoryVersion)).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/SandboxItemFireWebhookRequest.java | src/main/java/com/plaid/client/model/SandboxItemFireWebhookRequest.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.WebhookType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* SandboxItemFireWebhookRequest defines the request schema for `/sandbox/item/fire_webhook`
*/
@ApiModel(description = "SandboxItemFireWebhookRequest defines the request schema for `/sandbox/item/fire_webhook`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SandboxItemFireWebhookRequest {
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_WEBHOOK_TYPE = "webhook_type";
@SerializedName(SERIALIZED_NAME_WEBHOOK_TYPE)
private WebhookType webhookType;
/**
* The webhook codes that can be fired by this test endpoint.
*/
@JsonAdapter(WebhookCodeEnum.Adapter.class)
public enum WebhookCodeEnum {
DEFAULT_UPDATE("DEFAULT_UPDATE"),
NEW_ACCOUNTS_AVAILABLE("NEW_ACCOUNTS_AVAILABLE"),
SMS_MICRODEPOSITS_VERIFICATION("SMS_MICRODEPOSITS_VERIFICATION"),
AUTHORIZATION_GRANTED("AUTHORIZATION_GRANTED"),
USER_PERMISSION_REVOKED("USER_PERMISSION_REVOKED"),
USER_ACCOUNT_REVOKED("USER_ACCOUNT_REVOKED"),
PENDING_DISCONNECT("PENDING_DISCONNECT"),
RECURRING_TRANSACTIONS_UPDATE("RECURRING_TRANSACTIONS_UPDATE"),
LOGIN_REPAIRED("LOGIN_REPAIRED"),
SYNC_UPDATES_AVAILABLE("SYNC_UPDATES_AVAILABLE"),
PRODUCT_READY("PRODUCT_READY"),
ERROR("ERROR");
private String value;
WebhookCodeEnum(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static WebhookCodeEnum fromValue(String value) {
for (WebhookCodeEnum b : WebhookCodeEnum.values()) {
if (b.value.equals(value)) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
}
public static class Adapter extends TypeAdapter<WebhookCodeEnum> {
@Override
public void write(final JsonWriter jsonWriter, final WebhookCodeEnum enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public WebhookCodeEnum read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return WebhookCodeEnum.fromValue(value);
}
}
}
public static final String SERIALIZED_NAME_WEBHOOK_CODE = "webhook_code";
@SerializedName(SERIALIZED_NAME_WEBHOOK_CODE)
private WebhookCodeEnum webhookCode;
public SandboxItemFireWebhookRequest 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 SandboxItemFireWebhookRequest 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 SandboxItemFireWebhookRequest 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 SandboxItemFireWebhookRequest webhookType(WebhookType webhookType) {
this.webhookType = webhookType;
return this;
}
/**
* Get webhookType
* @return webhookType
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public WebhookType getWebhookType() {
return webhookType;
}
public void setWebhookType(WebhookType webhookType) {
this.webhookType = webhookType;
}
public SandboxItemFireWebhookRequest webhookCode(WebhookCodeEnum webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* The webhook codes that can be fired by this test endpoint.
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "The webhook codes that can be fired by this test endpoint.")
public WebhookCodeEnum getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(WebhookCodeEnum webhookCode) {
this.webhookCode = webhookCode;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SandboxItemFireWebhookRequest sandboxItemFireWebhookRequest = (SandboxItemFireWebhookRequest) o;
return Objects.equals(this.clientId, sandboxItemFireWebhookRequest.clientId) &&
Objects.equals(this.secret, sandboxItemFireWebhookRequest.secret) &&
Objects.equals(this.accessToken, sandboxItemFireWebhookRequest.accessToken) &&
Objects.equals(this.webhookType, sandboxItemFireWebhookRequest.webhookType) &&
Objects.equals(this.webhookCode, sandboxItemFireWebhookRequest.webhookCode);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, accessToken, webhookType, webhookCode);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SandboxItemFireWebhookRequest {\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(" webhookType: ").append(toIndentedString(webhookType)).append("\n");
sb.append(" webhookCode: ").append(toIndentedString(webhookCode)).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/TrustIndexSubscores.java | src/main/java/com/plaid/client/model/TrustIndexSubscores.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.TrustIndexSubscore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Contains sub-score metadata.
*/
@ApiModel(description = "Contains sub-score metadata.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TrustIndexSubscores {
public static final String SERIALIZED_NAME_DEVICE_AND_CONNECTION = "device_and_connection";
@SerializedName(SERIALIZED_NAME_DEVICE_AND_CONNECTION)
private TrustIndexSubscore deviceAndConnection;
public static final String SERIALIZED_NAME_BANK_ACCOUNT_INSIGHTS = "bank_account_insights";
@SerializedName(SERIALIZED_NAME_BANK_ACCOUNT_INSIGHTS)
private TrustIndexSubscore bankAccountInsights;
public TrustIndexSubscores deviceAndConnection(TrustIndexSubscore deviceAndConnection) {
this.deviceAndConnection = deviceAndConnection;
return this;
}
/**
* Get deviceAndConnection
* @return deviceAndConnection
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public TrustIndexSubscore getDeviceAndConnection() {
return deviceAndConnection;
}
public void setDeviceAndConnection(TrustIndexSubscore deviceAndConnection) {
this.deviceAndConnection = deviceAndConnection;
}
public TrustIndexSubscores bankAccountInsights(TrustIndexSubscore bankAccountInsights) {
this.bankAccountInsights = bankAccountInsights;
return this;
}
/**
* Get bankAccountInsights
* @return bankAccountInsights
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public TrustIndexSubscore getBankAccountInsights() {
return bankAccountInsights;
}
public void setBankAccountInsights(TrustIndexSubscore bankAccountInsights) {
this.bankAccountInsights = bankAccountInsights;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TrustIndexSubscores trustIndexSubscores = (TrustIndexSubscores) o;
return Objects.equals(this.deviceAndConnection, trustIndexSubscores.deviceAndConnection) &&
Objects.equals(this.bankAccountInsights, trustIndexSubscores.bankAccountInsights);
}
@Override
public int hashCode() {
return Objects.hash(deviceAndConnection, bankAccountInsights);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TrustIndexSubscores {\n");
sb.append(" deviceAndConnection: ").append(toIndentedString(deviceAndConnection)).append("\n");
sb.append(" bankAccountInsights: ").append(toIndentedString(bankAccountInsights)).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/LinkTokenCreateRequestIncomeVerification.java | src/main/java/com/plaid/client/model/LinkTokenCreateRequestIncomeVerification.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.IncomeVerificationSourceType;
import com.plaid.client.model.LinkTokenCreateRequestIncomeVerificationBankIncome;
import com.plaid.client.model.LinkTokenCreateRequestIncomeVerificationPayrollIncome;
import com.plaid.client.model.LinkTokenCreateRequestUserStatedIncomeSource;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Specifies options for initializing Link for use with the Income product. This field is required if `income_verification` is included in the `products` array.
*/
@ApiModel(description = "Specifies options for initializing Link for use with the Income product. This field is required if `income_verification` is included in the `products` array.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkTokenCreateRequestIncomeVerification {
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_ASSET_REPORT_ID = "asset_report_id";
@SerializedName(SERIALIZED_NAME_ASSET_REPORT_ID)
private String assetReportId;
public static final String SERIALIZED_NAME_ACCESS_TOKENS = "access_tokens";
@SerializedName(SERIALIZED_NAME_ACCESS_TOKENS)
private List<String> accessTokens = null;
public static final String SERIALIZED_NAME_INCOME_SOURCE_TYPES = "income_source_types";
@SerializedName(SERIALIZED_NAME_INCOME_SOURCE_TYPES)
private List<IncomeVerificationSourceType> incomeSourceTypes = null;
public static final String SERIALIZED_NAME_BANK_INCOME = "bank_income";
@SerializedName(SERIALIZED_NAME_BANK_INCOME)
private LinkTokenCreateRequestIncomeVerificationBankIncome bankIncome;
public static final String SERIALIZED_NAME_PAYROLL_INCOME = "payroll_income";
@SerializedName(SERIALIZED_NAME_PAYROLL_INCOME)
private LinkTokenCreateRequestIncomeVerificationPayrollIncome payrollIncome;
public static final String SERIALIZED_NAME_STATED_INCOME_SOURCES = "stated_income_sources";
@SerializedName(SERIALIZED_NAME_STATED_INCOME_SOURCES)
private List<LinkTokenCreateRequestUserStatedIncomeSource> statedIncomeSources = null;
public LinkTokenCreateRequestIncomeVerification incomeVerificationId(String incomeVerificationId) {
this.incomeVerificationId = incomeVerificationId;
return this;
}
/**
* The `income_verification_id` of the verification instance, as provided by `/income/verification/create`. Replaced by the user token.
* @return incomeVerificationId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The `income_verification_id` of the verification instance, as provided by `/income/verification/create`. Replaced by the user token.")
public String getIncomeVerificationId() {
return incomeVerificationId;
}
public void setIncomeVerificationId(String incomeVerificationId) {
this.incomeVerificationId = incomeVerificationId;
}
public LinkTokenCreateRequestIncomeVerification assetReportId(String assetReportId) {
this.assetReportId = assetReportId;
return this;
}
/**
* The `asset_report_id` of an asset report associated with the user, as provided by `/asset_report/create`. Providing an `asset_report_id` is optional and can be used to verify the user through a streamlined flow. If provided, the bank linking flow will be skipped.
* @return assetReportId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The `asset_report_id` of an asset report associated with the user, as provided by `/asset_report/create`. Providing an `asset_report_id` is optional and can be used to verify the user through a streamlined flow. If provided, the bank linking flow will be skipped.")
public String getAssetReportId() {
return assetReportId;
}
public void setAssetReportId(String assetReportId) {
this.assetReportId = assetReportId;
}
public LinkTokenCreateRequestIncomeVerification accessTokens(List<String> accessTokens) {
this.accessTokens = accessTokens;
return this;
}
public LinkTokenCreateRequestIncomeVerification addAccessTokensItem(String accessTokensItem) {
if (this.accessTokens == null) {
this.accessTokens = new ArrayList<>();
}
this.accessTokens.add(accessTokensItem);
return this;
}
/**
* An array of access tokens corresponding to Items that a user has previously connected with. Data from these institutions will be cross-referenced with document data received during the Document Income flow to help verify that the uploaded documents are accurate. If the `transactions` product was not initialized for these Items during link, it will be initialized after this Link session. This field should only be used with the `payroll` income source type.
* @return accessTokens
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "An array of access tokens corresponding to Items that a user has previously connected with. Data from these institutions will be cross-referenced with document data received during the Document Income flow to help verify that the uploaded documents are accurate. If the `transactions` product was not initialized for these Items during link, it will be initialized after this Link session. This field should only be used with the `payroll` income source type.")
public List<String> getAccessTokens() {
return accessTokens;
}
public void setAccessTokens(List<String> accessTokens) {
this.accessTokens = accessTokens;
}
public LinkTokenCreateRequestIncomeVerification incomeSourceTypes(List<IncomeVerificationSourceType> incomeSourceTypes) {
this.incomeSourceTypes = incomeSourceTypes;
return this;
}
public LinkTokenCreateRequestIncomeVerification addIncomeSourceTypesItem(IncomeVerificationSourceType incomeSourceTypesItem) {
if (this.incomeSourceTypes == null) {
this.incomeSourceTypes = new ArrayList<>();
}
this.incomeSourceTypes.add(incomeSourceTypesItem);
return this;
}
/**
* The types of source income data that users will be permitted to share. Options include `bank` and `payroll`. Currently you can only specify one of these options.
* @return incomeSourceTypes
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The types of source income data that users will be permitted to share. Options include `bank` and `payroll`. Currently you can only specify one of these options.")
public List<IncomeVerificationSourceType> getIncomeSourceTypes() {
return incomeSourceTypes;
}
public void setIncomeSourceTypes(List<IncomeVerificationSourceType> incomeSourceTypes) {
this.incomeSourceTypes = incomeSourceTypes;
}
public LinkTokenCreateRequestIncomeVerification bankIncome(LinkTokenCreateRequestIncomeVerificationBankIncome bankIncome) {
this.bankIncome = bankIncome;
return this;
}
/**
* Get bankIncome
* @return bankIncome
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public LinkTokenCreateRequestIncomeVerificationBankIncome getBankIncome() {
return bankIncome;
}
public void setBankIncome(LinkTokenCreateRequestIncomeVerificationBankIncome bankIncome) {
this.bankIncome = bankIncome;
}
public LinkTokenCreateRequestIncomeVerification payrollIncome(LinkTokenCreateRequestIncomeVerificationPayrollIncome payrollIncome) {
this.payrollIncome = payrollIncome;
return this;
}
/**
* Get payrollIncome
* @return payrollIncome
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public LinkTokenCreateRequestIncomeVerificationPayrollIncome getPayrollIncome() {
return payrollIncome;
}
public void setPayrollIncome(LinkTokenCreateRequestIncomeVerificationPayrollIncome payrollIncome) {
this.payrollIncome = payrollIncome;
}
public LinkTokenCreateRequestIncomeVerification statedIncomeSources(List<LinkTokenCreateRequestUserStatedIncomeSource> statedIncomeSources) {
this.statedIncomeSources = statedIncomeSources;
return this;
}
public LinkTokenCreateRequestIncomeVerification addStatedIncomeSourcesItem(LinkTokenCreateRequestUserStatedIncomeSource statedIncomeSourcesItem) {
if (this.statedIncomeSources == null) {
this.statedIncomeSources = new ArrayList<>();
}
this.statedIncomeSources.add(statedIncomeSourcesItem);
return this;
}
/**
* A list of user stated income sources
* @return statedIncomeSources
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A list of user stated income sources")
public List<LinkTokenCreateRequestUserStatedIncomeSource> getStatedIncomeSources() {
return statedIncomeSources;
}
public void setStatedIncomeSources(List<LinkTokenCreateRequestUserStatedIncomeSource> statedIncomeSources) {
this.statedIncomeSources = statedIncomeSources;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkTokenCreateRequestIncomeVerification linkTokenCreateRequestIncomeVerification = (LinkTokenCreateRequestIncomeVerification) o;
return Objects.equals(this.incomeVerificationId, linkTokenCreateRequestIncomeVerification.incomeVerificationId) &&
Objects.equals(this.assetReportId, linkTokenCreateRequestIncomeVerification.assetReportId) &&
Objects.equals(this.accessTokens, linkTokenCreateRequestIncomeVerification.accessTokens) &&
Objects.equals(this.incomeSourceTypes, linkTokenCreateRequestIncomeVerification.incomeSourceTypes) &&
Objects.equals(this.bankIncome, linkTokenCreateRequestIncomeVerification.bankIncome) &&
Objects.equals(this.payrollIncome, linkTokenCreateRequestIncomeVerification.payrollIncome) &&
Objects.equals(this.statedIncomeSources, linkTokenCreateRequestIncomeVerification.statedIncomeSources);
}
@Override
public int hashCode() {
return Objects.hash(incomeVerificationId, assetReportId, accessTokens, incomeSourceTypes, bankIncome, payrollIncome, statedIncomeSources);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkTokenCreateRequestIncomeVerification {\n");
sb.append(" incomeVerificationId: ").append(toIndentedString(incomeVerificationId)).append("\n");
sb.append(" assetReportId: ").append(toIndentedString(assetReportId)).append("\n");
sb.append(" accessTokens: ").append(toIndentedString(accessTokens)).append("\n");
sb.append(" incomeSourceTypes: ").append(toIndentedString(incomeSourceTypes)).append("\n");
sb.append(" bankIncome: ").append(toIndentedString(bankIncome)).append("\n");
sb.append(" payrollIncome: ").append(toIndentedString(payrollIncome)).append("\n");
sb.append(" statedIncomeSources: ").append(toIndentedString(statedIncomeSources)).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/TransactionsRecurringCreateRequest.java | src/main/java/com/plaid/client/model/TransactionsRecurringCreateRequest.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.TransactionsRecurringCreateInput;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* TransactionsRecurringCreateRequest defined the request schema for `/transactions/recurring/streams/create` endpoint.
*/
@ApiModel(description = "TransactionsRecurringCreateRequest defined the request schema for `/transactions/recurring/streams/create` endpoint.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransactionsRecurringCreateRequest {
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 static final String SERIALIZED_NAME_INPUTS = "inputs";
@SerializedName(SERIALIZED_NAME_INPUTS)
private List<TransactionsRecurringCreateInput> inputs = new ArrayList<>();
public TransactionsRecurringCreateRequest 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 TransactionsRecurringCreateRequest 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 TransactionsRecurringCreateRequest 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 TransactionsRecurringCreateRequest inputs(List<TransactionsRecurringCreateInput> inputs) {
this.inputs = inputs;
return this;
}
public TransactionsRecurringCreateRequest addInputsItem(TransactionsRecurringCreateInput inputsItem) {
this.inputs.add(inputsItem);
return this;
}
/**
* A list of all the operations to be performed. This will either all succeed or all fail.
* @return inputs
**/
@ApiModelProperty(required = true, value = "A list of all the operations to be performed. This will either all succeed or all fail.")
public List<TransactionsRecurringCreateInput> getInputs() {
return inputs;
}
public void setInputs(List<TransactionsRecurringCreateInput> inputs) {
this.inputs = inputs;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransactionsRecurringCreateRequest transactionsRecurringCreateRequest = (TransactionsRecurringCreateRequest) o;
return Objects.equals(this.clientId, transactionsRecurringCreateRequest.clientId) &&
Objects.equals(this.accessToken, transactionsRecurringCreateRequest.accessToken) &&
Objects.equals(this.secret, transactionsRecurringCreateRequest.secret) &&
Objects.equals(this.inputs, transactionsRecurringCreateRequest.inputs);
}
@Override
public int hashCode() {
return Objects.hash(clientId, accessToken, secret, inputs);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransactionsRecurringCreateRequest {\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(" inputs: ").append(toIndentedString(inputs)).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/WatchlistScreeningEntityReviewCreateResponse.java | src/main/java/com/plaid/client/model/WatchlistScreeningEntityReviewCreateResponse.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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* A review submitted by a team member for an entity watchlist screening. A review can be either a comment on the current screening state, actions taken against hits attached to the watchlist screening, or both.
*/
@ApiModel(description = "A review submitted by a team member for an entity watchlist screening. A review can be either a comment on the current screening state, actions taken against hits attached to the watchlist screening, or both.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class WatchlistScreeningEntityReviewCreateResponse {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
public static final String SERIALIZED_NAME_CONFIRMED_HITS = "confirmed_hits";
@SerializedName(SERIALIZED_NAME_CONFIRMED_HITS)
private List<String> confirmedHits = new ArrayList<>();
public static final String SERIALIZED_NAME_DISMISSED_HITS = "dismissed_hits";
@SerializedName(SERIALIZED_NAME_DISMISSED_HITS)
private List<String> dismissedHits = new ArrayList<>();
public static final String SERIALIZED_NAME_COMMENT = "comment";
@SerializedName(SERIALIZED_NAME_COMMENT)
private String comment;
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 WatchlistScreeningEntityReviewCreateResponse id(String id) {
this.id = id;
return this;
}
/**
* ID of the associated entity review.
* @return id
**/
@ApiModelProperty(example = "entrev_aCLNRxK3UVzn2r", required = true, value = "ID of the associated entity review.")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public WatchlistScreeningEntityReviewCreateResponse confirmedHits(List<String> confirmedHits) {
this.confirmedHits = confirmedHits;
return this;
}
public WatchlistScreeningEntityReviewCreateResponse addConfirmedHitsItem(String confirmedHitsItem) {
this.confirmedHits.add(confirmedHitsItem);
return this;
}
/**
* Hits marked as a true positive after thorough manual review. These hits will never recur or be updated once dismissed. In most cases, confirmed hits indicate that the customer should be rejected.
* @return confirmedHits
**/
@ApiModelProperty(required = true, value = "Hits marked as a true positive after thorough manual review. These hits will never recur or be updated once dismissed. In most cases, confirmed hits indicate that the customer should be rejected.")
public List<String> getConfirmedHits() {
return confirmedHits;
}
public void setConfirmedHits(List<String> confirmedHits) {
this.confirmedHits = confirmedHits;
}
public WatchlistScreeningEntityReviewCreateResponse dismissedHits(List<String> dismissedHits) {
this.dismissedHits = dismissedHits;
return this;
}
public WatchlistScreeningEntityReviewCreateResponse addDismissedHitsItem(String dismissedHitsItem) {
this.dismissedHits.add(dismissedHitsItem);
return this;
}
/**
* Hits marked as a false positive after thorough manual review. These hits will never recur or be updated once dismissed.
* @return dismissedHits
**/
@ApiModelProperty(required = true, value = "Hits marked as a false positive after thorough manual review. These hits will never recur or be updated once dismissed.")
public List<String> getDismissedHits() {
return dismissedHits;
}
public void setDismissedHits(List<String> dismissedHits) {
this.dismissedHits = dismissedHits;
}
public WatchlistScreeningEntityReviewCreateResponse comment(String comment) {
this.comment = comment;
return this;
}
/**
* A comment submitted by a team member as part of reviewing a watchlist screening.
* @return comment
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "These look like legitimate matches, rejecting the customer.", required = true, value = "A comment submitted by a team member as part of reviewing a watchlist screening.")
public String getComment() {
return comment;
}
public void setComment(String comment) {
this.comment = comment;
}
public WatchlistScreeningEntityReviewCreateResponse 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 WatchlistScreeningEntityReviewCreateResponse 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;
}
WatchlistScreeningEntityReviewCreateResponse watchlistScreeningEntityReviewCreateResponse = (WatchlistScreeningEntityReviewCreateResponse) o;
return Objects.equals(this.id, watchlistScreeningEntityReviewCreateResponse.id) &&
Objects.equals(this.confirmedHits, watchlistScreeningEntityReviewCreateResponse.confirmedHits) &&
Objects.equals(this.dismissedHits, watchlistScreeningEntityReviewCreateResponse.dismissedHits) &&
Objects.equals(this.comment, watchlistScreeningEntityReviewCreateResponse.comment) &&
Objects.equals(this.auditTrail, watchlistScreeningEntityReviewCreateResponse.auditTrail) &&
Objects.equals(this.requestId, watchlistScreeningEntityReviewCreateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(id, confirmedHits, dismissedHits, comment, auditTrail, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class WatchlistScreeningEntityReviewCreateResponse {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" confirmedHits: ").append(toIndentedString(confirmedHits)).append("\n");
sb.append(" dismissedHits: ").append(toIndentedString(dismissedHits)).append("\n");
sb.append(" comment: ").append(toIndentedString(comment)).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/TransferSweepListResponse.java | src/main/java/com/plaid/client/model/TransferSweepListResponse.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.TransferSweep;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Defines the response schema for `/transfer/sweep/list`
*/
@ApiModel(description = "Defines the response schema for `/transfer/sweep/list`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferSweepListResponse {
public static final String SERIALIZED_NAME_SWEEPS = "sweeps";
@SerializedName(SERIALIZED_NAME_SWEEPS)
private List<TransferSweep> sweeps = new ArrayList<>();
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public TransferSweepListResponse sweeps(List<TransferSweep> sweeps) {
this.sweeps = sweeps;
return this;
}
public TransferSweepListResponse addSweepsItem(TransferSweep sweepsItem) {
this.sweeps.add(sweepsItem);
return this;
}
/**
* Get sweeps
* @return sweeps
**/
@ApiModelProperty(required = true, value = "")
public List<TransferSweep> getSweeps() {
return sweeps;
}
public void setSweeps(List<TransferSweep> sweeps) {
this.sweeps = sweeps;
}
public TransferSweepListResponse 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;
}
TransferSweepListResponse transferSweepListResponse = (TransferSweepListResponse) o;
return Objects.equals(this.sweeps, transferSweepListResponse.sweeps) &&
Objects.equals(this.requestId, transferSweepListResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(sweeps, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferSweepListResponse {\n");
sb.append(" sweeps: ").append(toIndentedString(sweeps)).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/CraLoanStatus.java | src/main/java/com/plaid/client/model/CraLoanStatus.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 status of the loan.
*/
@JsonAdapter(CraLoanStatus.Adapter.class)
public enum CraLoanStatus {
APPROVED("APPROVED"),
DECLINED("DECLINED"),
BOOKED("BOOKED"),
CURRENT("CURRENT"),
DELINQUENT("DELINQUENT"),
DEFAULT("DEFAULT"),
CHARGED_OFF("CHARGED_OFF"),
TRANSFERRED("TRANSFERRED"),
PAID_OFF("PAID_OFF"),
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;
CraLoanStatus(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static CraLoanStatus fromValue(String value) {
for (CraLoanStatus b : CraLoanStatus.values()) {
if (b.value.equals(value)) {
return b;
}
}
return CraLoanStatus.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<CraLoanStatus> {
@Override
public void write(final JsonWriter jsonWriter, final CraLoanStatus enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public CraLoanStatus read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return CraLoanStatus.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/SweepTrigger.java | src/main/java/com/plaid/client/model/SweepTrigger.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 trigger of the sweep `\"manual\"` - The sweep is created manually by the customer `\"incoming\"` - The sweep is created by incoming funds flow (e.g. Incoming Wire) `\"balance_threshold\"` - The sweep is created by balance threshold setting `\"automatic_aggregate\"` - The sweep is created by the Plaid automatic aggregation process. These funds did not pass through the Plaid Ledger balance.
*/
@JsonAdapter(SweepTrigger.Adapter.class)
public enum SweepTrigger {
MANUAL("manual"),
INCOMING("incoming"),
BALANCE_THRESHOLD("balance_threshold"),
AUTOMATIC_AGGREGATE("automatic_aggregate"),
// 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;
SweepTrigger(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static SweepTrigger fromValue(String value) {
for (SweepTrigger b : SweepTrigger.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null; }
public static class Adapter extends TypeAdapter<SweepTrigger> {
@Override
public void write(final JsonWriter jsonWriter, final SweepTrigger enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public SweepTrigger read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return SweepTrigger.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/AssetReportAuditCopyGetRequest.java | src/main/java/com/plaid/client/model/AssetReportAuditCopyGetRequest.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;
/**
* AssetReportAuditCopyGetRequest defines the request schema for `/asset_report/audit_copy/get`
*/
@ApiModel(description = "AssetReportAuditCopyGetRequest defines the request schema for `/asset_report/audit_copy/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class AssetReportAuditCopyGetRequest {
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_AUDIT_COPY_TOKEN = "audit_copy_token";
@SerializedName(SERIALIZED_NAME_AUDIT_COPY_TOKEN)
private String auditCopyToken;
public AssetReportAuditCopyGetRequest 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 AssetReportAuditCopyGetRequest 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 AssetReportAuditCopyGetRequest auditCopyToken(String auditCopyToken) {
this.auditCopyToken = auditCopyToken;
return this;
}
/**
* The `audit_copy_token` granting access to the Audit Copy you would like to get.
* @return auditCopyToken
**/
@ApiModelProperty(required = true, value = "The `audit_copy_token` granting access to the Audit Copy you would like to get.")
public String getAuditCopyToken() {
return auditCopyToken;
}
public void setAuditCopyToken(String auditCopyToken) {
this.auditCopyToken = auditCopyToken;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AssetReportAuditCopyGetRequest assetReportAuditCopyGetRequest = (AssetReportAuditCopyGetRequest) o;
return Objects.equals(this.clientId, assetReportAuditCopyGetRequest.clientId) &&
Objects.equals(this.secret, assetReportAuditCopyGetRequest.secret) &&
Objects.equals(this.auditCopyToken, assetReportAuditCopyGetRequest.auditCopyToken);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, auditCopyToken);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AssetReportAuditCopyGetRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" auditCopyToken: ").append(toIndentedString(auditCopyToken)).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/BankTransferUser.java | src/main/java/com/plaid/client/model/BankTransferUser.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 legal name and other information for the account holder.
*/
@ApiModel(description = "The legal name and other information for the account holder.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BankTransferUser {
public static final String SERIALIZED_NAME_LEGAL_NAME = "legal_name";
@SerializedName(SERIALIZED_NAME_LEGAL_NAME)
private String legalName;
public static final String SERIALIZED_NAME_EMAIL_ADDRESS = "email_address";
@SerializedName(SERIALIZED_NAME_EMAIL_ADDRESS)
private String emailAddress;
public static final String SERIALIZED_NAME_ROUTING_NUMBER = "routing_number";
@SerializedName(SERIALIZED_NAME_ROUTING_NUMBER)
private String routingNumber;
public BankTransferUser legalName(String legalName) {
this.legalName = legalName;
return this;
}
/**
* The account holder’s full legal name. If the transfer `ach_class` is `ccd`, this should be the business name of the account holder.
* @return legalName
**/
@ApiModelProperty(required = true, value = "The account holder’s full legal name. If the transfer `ach_class` is `ccd`, this should be the business name of the account holder.")
public String getLegalName() {
return legalName;
}
public void setLegalName(String legalName) {
this.legalName = legalName;
}
public BankTransferUser emailAddress(String emailAddress) {
this.emailAddress = emailAddress;
return this;
}
/**
* The account holder’s email.
* @return emailAddress
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The account holder’s email.")
public String getEmailAddress() {
return emailAddress;
}
public void setEmailAddress(String emailAddress) {
this.emailAddress = emailAddress;
}
/**
* The account holder's routing number. This field is only used in response data. Do not provide this field when making requests.
* @return routingNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The account holder's routing number. This field is only used in response data. Do not provide this field when making requests.")
public String getRoutingNumber() {
return routingNumber;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BankTransferUser bankTransferUser = (BankTransferUser) o;
return Objects.equals(this.legalName, bankTransferUser.legalName) &&
Objects.equals(this.emailAddress, bankTransferUser.emailAddress) &&
Objects.equals(this.routingNumber, bankTransferUser.routingNumber);
}
@Override
public int hashCode() {
return Objects.hash(legalName, emailAddress, routingNumber);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BankTransferUser {\n");
sb.append(" legalName: ").append(toIndentedString(legalName)).append("\n");
sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).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/BusinessFieldMatchSummary.java | src/main/java/com/plaid/client/model/BusinessFieldMatchSummary.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 of how a specific business field matched against data provider results
*/
@ApiModel(description = "Summary of how a specific business field matched against data provider results")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BusinessFieldMatchSummary {
public static final String SERIALIZED_NAME_SUMMARY = "summary";
@SerializedName(SERIALIZED_NAME_SUMMARY)
private MatchSummaryCode summary;
public BusinessFieldMatchSummary 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;
}
BusinessFieldMatchSummary businessFieldMatchSummary = (BusinessFieldMatchSummary) o;
return Objects.equals(this.summary, businessFieldMatchSummary.summary);
}
@Override
public int hashCode() {
return Objects.hash(summary);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BusinessFieldMatchSummary {\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/WalletCreateRequest.java | src/main/java/com/plaid/client/model/WalletCreateRequest.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.WalletISOCurrencyCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* WalletCreateRequest defines the request schema for `/wallet/create`
*/
@ApiModel(description = "WalletCreateRequest defines the request schema for `/wallet/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class WalletCreateRequest {
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_ISO_CURRENCY_CODE = "iso_currency_code";
@SerializedName(SERIALIZED_NAME_ISO_CURRENCY_CODE)
private WalletISOCurrencyCode isoCurrencyCode;
public WalletCreateRequest 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 WalletCreateRequest 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 WalletCreateRequest isoCurrencyCode(WalletISOCurrencyCode isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* Get isoCurrencyCode
* @return isoCurrencyCode
**/
@ApiModelProperty(required = true, value = "")
public WalletISOCurrencyCode getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(WalletISOCurrencyCode isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
WalletCreateRequest walletCreateRequest = (WalletCreateRequest) o;
return Objects.equals(this.clientId, walletCreateRequest.clientId) &&
Objects.equals(this.secret, walletCreateRequest.secret) &&
Objects.equals(this.isoCurrencyCode, walletCreateRequest.isoCurrencyCode);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, isoCurrencyCode);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class WalletCreateRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).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/UserUpdateResponse.java | src/main/java/com/plaid/client/model/UserUpdateResponse.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;
/**
* UserUpdateResponse defines the response schema for `/user/update`
*/
@ApiModel(description = "UserUpdateResponse defines the response schema for `/user/update`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class UserUpdateResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public UserUpdateResponse 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;
}
UserUpdateResponse userUpdateResponse = (UserUpdateResponse) o;
return Objects.equals(this.requestId, userUpdateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UserUpdateResponse {\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/SessionTokenCreateResponseLink.java | src/main/java/com/plaid/client/model/SessionTokenCreateResponseLink.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;
/**
* Response data for `/session/token/create` intended for use with the Link SDK.
*/
@ApiModel(description = "Response data for `/session/token/create` intended for use with the Link SDK.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SessionTokenCreateResponseLink {
public static final String SERIALIZED_NAME_LINK_TOKEN = "link_token";
@SerializedName(SERIALIZED_NAME_LINK_TOKEN)
private String linkToken;
public static final String SERIALIZED_NAME_EXPIRATION = "expiration";
@SerializedName(SERIALIZED_NAME_EXPIRATION)
private OffsetDateTime expiration;
public static final String SERIALIZED_NAME_USER_ID = "user_id";
@SerializedName(SERIALIZED_NAME_USER_ID)
private String userId;
public SessionTokenCreateResponseLink linkToken(String linkToken) {
this.linkToken = linkToken;
return this;
}
/**
* A Link token, which can be supplied to Link in order to initialize it and receive a `public_token`.
* @return linkToken
**/
@ApiModelProperty(required = true, value = "A Link token, which can be supplied to Link in order to initialize it and receive a `public_token`.")
public String getLinkToken() {
return linkToken;
}
public void setLinkToken(String linkToken) {
this.linkToken = linkToken;
}
public SessionTokenCreateResponseLink expiration(OffsetDateTime expiration) {
this.expiration = expiration;
return this;
}
/**
* The expiration date for the `link_token`, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format. A `link_token` created to generate a `public_token` that will be exchanged for a new `access_token` expires after 4 hours. A `link_token` created for an existing Item (such as when updating an existing `access_token` by launching Link in update mode) expires after 30 minutes.
* @return expiration
**/
@ApiModelProperty(required = true, value = "The expiration date for the `link_token`, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format. A `link_token` created to generate a `public_token` that will be exchanged for a new `access_token` expires after 4 hours. A `link_token` created for an existing Item (such as when updating an existing `access_token` by launching Link in update mode) expires after 30 minutes.")
public OffsetDateTime getExpiration() {
return expiration;
}
public void setExpiration(OffsetDateTime expiration) {
this.expiration = expiration;
}
public SessionTokenCreateResponseLink userId(String userId) {
this.userId = userId;
return this;
}
/**
* A unique user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [new user APIs](https://plaid.com/docs/api/users/user-apis).
* @return userId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A unique user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [new user APIs](https://plaid.com/docs/api/users/user-apis).")
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SessionTokenCreateResponseLink sessionTokenCreateResponseLink = (SessionTokenCreateResponseLink) o;
return Objects.equals(this.linkToken, sessionTokenCreateResponseLink.linkToken) &&
Objects.equals(this.expiration, sessionTokenCreateResponseLink.expiration) &&
Objects.equals(this.userId, sessionTokenCreateResponseLink.userId);
}
@Override
public int hashCode() {
return Objects.hash(linkToken, expiration, userId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SessionTokenCreateResponseLink {\n");
sb.append(" linkToken: ").append(toIndentedString(linkToken)).append("\n");
sb.append(" expiration: ").append(toIndentedString(expiration)).append("\n");
sb.append(" userId: ").append(toIndentedString(userId)).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/ActionState.java | src/main/java/com/plaid/client/model/ActionState.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;
/**
* Enum representing the state of the action/activity.
*/
@JsonAdapter(ActionState.Adapter.class)
public enum ActionState {
UNKNOWN("UNKNOWN"),
ATTEMPT("ATTEMPT"),
SUCCESS("SUCCESS"),
FAILURE("FAILURE"),
SKIPPED("SKIPPED"),
// 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;
ActionState(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static ActionState fromValue(String value) {
for (ActionState b : ActionState.values()) {
if (b.value.equals(value)) {
return b;
}
}
return ActionState.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<ActionState> {
@Override
public void write(final JsonWriter jsonWriter, final ActionState enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public ActionState read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return ActionState.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/TransferIntentCreateNetwork.java | src/main/java/com/plaid/client/model/TransferIntentCreateNetwork.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 network or rails used for the transfer. Defaults to `same-day-ach`. For transfers submitted using `ach`, the Standard ACH cutoff is 8:30 PM Eastern Time. For transfers submitted using `same-day-ach`, the Same Day ACH cutoff is 3:30 PM Eastern Time. It is recommended to send the request 15 minutes prior to the cutoff to ensure that it will be processed in time for submission before the cutoff. If the transfer is processed after this cutoff but before the Standard ACH cutoff, it will be sent over Standard ACH rails and will not incur same-day charges. For transfers submitted using `rtp`, in the case that the account being credited does not support RTP, the transfer will be sent over ACH as long as an `ach_class` is provided in the request. If RTP isn't supported by the account and no `ach_class` is provided, the transfer will fail to be submitted.
*/
@JsonAdapter(TransferIntentCreateNetwork.Adapter.class)
public enum TransferIntentCreateNetwork {
ACH("ach"),
SAME_DAY_ACH("same-day-ach"),
RTP("rtp"),
// 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;
TransferIntentCreateNetwork(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static TransferIntentCreateNetwork fromValue(String value) {
for (TransferIntentCreateNetwork b : TransferIntentCreateNetwork.values()) {
if (b.value.equals(value)) {
return b;
}
}
return TransferIntentCreateNetwork.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<TransferIntentCreateNetwork> {
@Override
public void write(final JsonWriter jsonWriter, final TransferIntentCreateNetwork enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public TransferIntentCreateNetwork read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return TransferIntentCreateNetwork.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/ProcessorTokenCreateRequest.java | src/main/java/com/plaid/client/model/ProcessorTokenCreateRequest.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;
/**
* ProcessorTokenCreateRequest defines the request schema for `/processor/token/create`
*/
@ApiModel(description = "ProcessorTokenCreateRequest defines the request schema for `/processor/token/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ProcessorTokenCreateRequest {
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_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
private String accountId;
/**
* The processor you are integrating with.
*/
@JsonAdapter(ProcessorEnum.Adapter.class)
public enum ProcessorEnum {
DWOLLA("dwolla"),
GALILEO("galileo"),
MODERN_TREASURY("modern_treasury"),
OCROLUS("ocrolus"),
VESTA("vesta"),
DRIVEWEALTH("drivewealth"),
VOPAY("vopay"),
ACHQ("achq"),
CHECK("check"),
CHECKBOOK("checkbook"),
CIRCLE("circle"),
SILA_MONEY("sila_money"),
RIZE("rize"),
SVB_API("svb_api"),
UNIT("unit"),
WYRE("wyre"),
LITHIC("lithic"),
ALPACA("alpaca"),
ASTRA("astra"),
MOOV("moov"),
TREASURY_PRIME("treasury_prime"),
MARQETA("marqeta"),
CHECKOUT("checkout"),
SOLID("solid"),
HIGHNOTE("highnote"),
GEMINI("gemini"),
APEX_CLEARING("apex_clearing"),
GUSTO("gusto"),
ADYEN("adyen"),
ATOMIC("atomic"),
I2C("i2c"),
WEPAY("wepay"),
RISKIFIED("riskified"),
UTB("utb"),
ADP_ROLL("adp_roll"),
FORTRESS_TRUST("fortress_trust"),
BOND("bond"),
BAKKT("bakkt"),
TEAL("teal"),
ZERO_HASH("zero_hash"),
TABA_PAY("taba_pay"),
KNOT("knot"),
SARDINE("sardine"),
ALLOY("alloy"),
FINIX("finix"),
NUVEI("nuvei"),
LAYER("layer"),
BOOM("boom"),
PAYNOTE("paynote"),
STAKE("stake"),
WEDBUSH("wedbush"),
ESUSU("esusu"),
ANSA("ansa"),
SCRIBEUP("scribeup"),
STRADDLE("straddle"),
LOANPRO("loanpro"),
BLOOM_CREDIT("bloom_credit"),
SFOX("sfox"),
BRALE("brale"),
PARAFIN("parafin"),
CARDLESS("cardless"),
OPEN_LEDGER("open_ledger"),
VALON("valon"),
GAINBRIDGE("gainbridge"),
CARDLYTICS("cardlytics"),
PINWHEEL("pinwheel"),
THREAD_BANK("thread_bank"),
ARRAY("array");
private String value;
ProcessorEnum(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static ProcessorEnum fromValue(String value) {
for (ProcessorEnum b : ProcessorEnum.values()) {
if (b.value.equals(value)) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
}
public static class Adapter extends TypeAdapter<ProcessorEnum> {
@Override
public void write(final JsonWriter jsonWriter, final ProcessorEnum enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public ProcessorEnum read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return ProcessorEnum.fromValue(value);
}
}
}
public static final String SERIALIZED_NAME_PROCESSOR = "processor";
@SerializedName(SERIALIZED_NAME_PROCESSOR)
private ProcessorEnum processor;
public ProcessorTokenCreateRequest 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 ProcessorTokenCreateRequest 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 ProcessorTokenCreateRequest 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 ProcessorTokenCreateRequest accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* The `account_id` value obtained from the `onSuccess` callback in Link
* @return accountId
**/
@ApiModelProperty(required = true, value = "The `account_id` value obtained from the `onSuccess` callback in Link")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public ProcessorTokenCreateRequest processor(ProcessorEnum processor) {
this.processor = processor;
return this;
}
/**
* The processor you are integrating with.
* @return processor
**/
@ApiModelProperty(required = true, value = "The processor you are integrating with.")
public ProcessorEnum getProcessor() {
return processor;
}
public void setProcessor(ProcessorEnum processor) {
this.processor = processor;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ProcessorTokenCreateRequest processorTokenCreateRequest = (ProcessorTokenCreateRequest) o;
return Objects.equals(this.clientId, processorTokenCreateRequest.clientId) &&
Objects.equals(this.secret, processorTokenCreateRequest.secret) &&
Objects.equals(this.accessToken, processorTokenCreateRequest.accessToken) &&
Objects.equals(this.accountId, processorTokenCreateRequest.accountId) &&
Objects.equals(this.processor, processorTokenCreateRequest.processor);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, accessToken, accountId, processor);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProcessorTokenCreateRequest {\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(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" processor: ").append(toIndentedString(processor)).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/PartnerCustomerOAuthInstitutionsGetResponse.java | src/main/java/com/plaid/client/model/PartnerCustomerOAuthInstitutionsGetResponse.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.PartnerEndCustomerFlowdownStatus;
import com.plaid.client.model.PartnerEndCustomerOAuthInstitution;
import com.plaid.client.model.PartnerEndCustomerQuestionnaireStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Response schema for `/partner/customer/oauth_institutions/get`.
*/
@ApiModel(description = "Response schema for `/partner/customer/oauth_institutions/get`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PartnerCustomerOAuthInstitutionsGetResponse {
public static final String SERIALIZED_NAME_FLOWDOWN_STATUS = "flowdown_status";
@SerializedName(SERIALIZED_NAME_FLOWDOWN_STATUS)
private PartnerEndCustomerFlowdownStatus flowdownStatus;
public static final String SERIALIZED_NAME_QUESTIONNAIRE_STATUS = "questionnaire_status";
@SerializedName(SERIALIZED_NAME_QUESTIONNAIRE_STATUS)
private PartnerEndCustomerQuestionnaireStatus questionnaireStatus;
public static final String SERIALIZED_NAME_INSTITUTIONS = "institutions";
@SerializedName(SERIALIZED_NAME_INSTITUTIONS)
private List<PartnerEndCustomerOAuthInstitution> institutions = null;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public PartnerCustomerOAuthInstitutionsGetResponse flowdownStatus(PartnerEndCustomerFlowdownStatus flowdownStatus) {
this.flowdownStatus = flowdownStatus;
return this;
}
/**
* Get flowdownStatus
* @return flowdownStatus
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PartnerEndCustomerFlowdownStatus getFlowdownStatus() {
return flowdownStatus;
}
public void setFlowdownStatus(PartnerEndCustomerFlowdownStatus flowdownStatus) {
this.flowdownStatus = flowdownStatus;
}
public PartnerCustomerOAuthInstitutionsGetResponse questionnaireStatus(PartnerEndCustomerQuestionnaireStatus questionnaireStatus) {
this.questionnaireStatus = questionnaireStatus;
return this;
}
/**
* Get questionnaireStatus
* @return questionnaireStatus
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PartnerEndCustomerQuestionnaireStatus getQuestionnaireStatus() {
return questionnaireStatus;
}
public void setQuestionnaireStatus(PartnerEndCustomerQuestionnaireStatus questionnaireStatus) {
this.questionnaireStatus = questionnaireStatus;
}
public PartnerCustomerOAuthInstitutionsGetResponse institutions(List<PartnerEndCustomerOAuthInstitution> institutions) {
this.institutions = institutions;
return this;
}
public PartnerCustomerOAuthInstitutionsGetResponse addInstitutionsItem(PartnerEndCustomerOAuthInstitution institutionsItem) {
if (this.institutions == null) {
this.institutions = new ArrayList<>();
}
this.institutions.add(institutionsItem);
return this;
}
/**
* The OAuth institutions with which the end customer's application is being registered.
* @return institutions
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The OAuth institutions with which the end customer's application is being registered.")
public List<PartnerEndCustomerOAuthInstitution> getInstitutions() {
return institutions;
}
public void setInstitutions(List<PartnerEndCustomerOAuthInstitution> institutions) {
this.institutions = institutions;
}
public PartnerCustomerOAuthInstitutionsGetResponse 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
**/
@javax.annotation.Nullable
@ApiModelProperty(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;
}
PartnerCustomerOAuthInstitutionsGetResponse partnerCustomerOAuthInstitutionsGetResponse = (PartnerCustomerOAuthInstitutionsGetResponse) o;
return Objects.equals(this.flowdownStatus, partnerCustomerOAuthInstitutionsGetResponse.flowdownStatus) &&
Objects.equals(this.questionnaireStatus, partnerCustomerOAuthInstitutionsGetResponse.questionnaireStatus) &&
Objects.equals(this.institutions, partnerCustomerOAuthInstitutionsGetResponse.institutions) &&
Objects.equals(this.requestId, partnerCustomerOAuthInstitutionsGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(flowdownStatus, questionnaireStatus, institutions, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PartnerCustomerOAuthInstitutionsGetResponse {\n");
sb.append(" flowdownStatus: ").append(toIndentedString(flowdownStatus)).append("\n");
sb.append(" questionnaireStatus: ").append(toIndentedString(questionnaireStatus)).append("\n");
sb.append(" institutions: ").append(toIndentedString(institutions)).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/CraCheckReportGSEOptions.java | src/main/java/com/plaid/client/model/CraCheckReportGSEOptions.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.GSEReportType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Specifies options for creating reports that can be shared with GSEs for mortgage verification.
*/
@ApiModel(description = "Specifies options for creating reports that can be shared with GSEs for mortgage verification.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraCheckReportGSEOptions {
public static final String SERIALIZED_NAME_REPORT_TYPES = "report_types";
@SerializedName(SERIALIZED_NAME_REPORT_TYPES)
private List<GSEReportType> reportTypes = new ArrayList<>();
public CraCheckReportGSEOptions reportTypes(List<GSEReportType> reportTypes) {
this.reportTypes = reportTypes;
return this;
}
public CraCheckReportGSEOptions addReportTypesItem(GSEReportType reportTypesItem) {
this.reportTypes.add(reportTypesItem);
return this;
}
/**
* Specifies which types of reports should be made available to GSEs.
* @return reportTypes
**/
@ApiModelProperty(required = true, value = "Specifies which types of reports should be made available to GSEs.")
public List<GSEReportType> getReportTypes() {
return reportTypes;
}
public void setReportTypes(List<GSEReportType> reportTypes) {
this.reportTypes = reportTypes;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CraCheckReportGSEOptions craCheckReportGSEOptions = (CraCheckReportGSEOptions) o;
return Objects.equals(this.reportTypes, craCheckReportGSEOptions.reportTypes);
}
@Override
public int hashCode() {
return Objects.hash(reportTypes);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraCheckReportGSEOptions {\n");
sb.append(" reportTypes: ").append(toIndentedString(reportTypes)).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/SandboxItemSetVerificationStatusResponse.java | src/main/java/com/plaid/client/model/SandboxItemSetVerificationStatusResponse.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;
/**
* SandboxItemSetVerificationStatusResponse defines the response schema for `/sandbox/item/set_verification_status`
*/
@ApiModel(description = "SandboxItemSetVerificationStatusResponse defines the response schema for `/sandbox/item/set_verification_status`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SandboxItemSetVerificationStatusResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public SandboxItemSetVerificationStatusResponse 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;
}
SandboxItemSetVerificationStatusResponse sandboxItemSetVerificationStatusResponse = (SandboxItemSetVerificationStatusResponse) o;
return Objects.equals(this.requestId, sandboxItemSetVerificationStatusResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SandboxItemSetVerificationStatusResponse {\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/LinkDeliveryCreateRequest.java | src/main/java/com/plaid/client/model/LinkDeliveryCreateRequest.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.LinkDeliveryOptions;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* LinkDeliveryCreateRequest defines the request schema for `/link_delivery/create`
*/
@ApiModel(description = "LinkDeliveryCreateRequest defines the request schema for `/link_delivery/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkDeliveryCreateRequest {
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_LINK_TOKEN = "link_token";
@SerializedName(SERIALIZED_NAME_LINK_TOKEN)
private String linkToken;
public static final String SERIALIZED_NAME_OPTIONS = "options";
@SerializedName(SERIALIZED_NAME_OPTIONS)
private LinkDeliveryOptions options;
public LinkDeliveryCreateRequest 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 LinkDeliveryCreateRequest 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 LinkDeliveryCreateRequest linkToken(String linkToken) {
this.linkToken = linkToken;
return this;
}
/**
* A `link_token` from a previous invocation of `/link/token/create`.
* @return linkToken
**/
@ApiModelProperty(required = true, value = "A `link_token` from a previous invocation of `/link/token/create`.")
public String getLinkToken() {
return linkToken;
}
public void setLinkToken(String linkToken) {
this.linkToken = linkToken;
}
public LinkDeliveryCreateRequest options(LinkDeliveryOptions options) {
this.options = options;
return this;
}
/**
* Get options
* @return options
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public LinkDeliveryOptions getOptions() {
return options;
}
public void setOptions(LinkDeliveryOptions options) {
this.options = options;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkDeliveryCreateRequest linkDeliveryCreateRequest = (LinkDeliveryCreateRequest) o;
return Objects.equals(this.clientId, linkDeliveryCreateRequest.clientId) &&
Objects.equals(this.secret, linkDeliveryCreateRequest.secret) &&
Objects.equals(this.linkToken, linkDeliveryCreateRequest.linkToken) &&
Objects.equals(this.options, linkDeliveryCreateRequest.options);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, linkToken, options);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkDeliveryCreateRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" linkToken: ").append(toIndentedString(linkToken)).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/InstitutionsGetRequest.java | src/main/java/com/plaid/client/model/InstitutionsGetRequest.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.CountryCode;
import com.plaid.client.model.InstitutionsGetRequestOptions;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* InstitutionsGetRequest defines the request schema for `/institutions/get`
*/
@ApiModel(description = "InstitutionsGetRequest defines the request schema for `/institutions/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class InstitutionsGetRequest {
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_COUNT = "count";
@SerializedName(SERIALIZED_NAME_COUNT)
private Integer count;
public static final String SERIALIZED_NAME_OFFSET = "offset";
@SerializedName(SERIALIZED_NAME_OFFSET)
private Integer offset;
public static final String SERIALIZED_NAME_COUNTRY_CODES = "country_codes";
@SerializedName(SERIALIZED_NAME_COUNTRY_CODES)
private List<CountryCode> countryCodes = new ArrayList<>();
public static final String SERIALIZED_NAME_OPTIONS = "options";
@SerializedName(SERIALIZED_NAME_OPTIONS)
private InstitutionsGetRequestOptions options;
public InstitutionsGetRequest 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 InstitutionsGetRequest 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 InstitutionsGetRequest count(Integer count) {
this.count = count;
return this;
}
/**
* The total number of Institutions to return.
* minimum: 1
* maximum: 500
* @return count
**/
@ApiModelProperty(required = true, value = "The total number of Institutions to return.")
public Integer getCount() {
return count;
}
public void setCount(Integer count) {
this.count = count;
}
public InstitutionsGetRequest offset(Integer offset) {
this.offset = offset;
return this;
}
/**
* The number of Institutions to skip.
* minimum: 0
* @return offset
**/
@ApiModelProperty(required = true, value = "The number of Institutions to skip.")
public Integer getOffset() {
return offset;
}
public void setOffset(Integer offset) {
this.offset = offset;
}
public InstitutionsGetRequest countryCodes(List<CountryCode> countryCodes) {
this.countryCodes = countryCodes;
return this;
}
public InstitutionsGetRequest addCountryCodesItem(CountryCode countryCodesItem) {
this.countryCodes.add(countryCodesItem);
return this;
}
/**
* Specify which country or countries to include institutions from, using the ISO-3166-1 alpha-2 country code standard. In API versions 2019-05-29 and earlier, the `country_codes` parameter is an optional parameter within the `options` object and will default to `[US]` if it is not supplied.
* @return countryCodes
**/
@ApiModelProperty(required = true, value = "Specify which country or countries to include institutions from, using the ISO-3166-1 alpha-2 country code standard. In API versions 2019-05-29 and earlier, the `country_codes` parameter is an optional parameter within the `options` object and will default to `[US]` if it is not supplied. ")
public List<CountryCode> getCountryCodes() {
return countryCodes;
}
public void setCountryCodes(List<CountryCode> countryCodes) {
this.countryCodes = countryCodes;
}
public InstitutionsGetRequest options(InstitutionsGetRequestOptions options) {
this.options = options;
return this;
}
/**
* Get options
* @return options
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public InstitutionsGetRequestOptions getOptions() {
return options;
}
public void setOptions(InstitutionsGetRequestOptions options) {
this.options = options;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
InstitutionsGetRequest institutionsGetRequest = (InstitutionsGetRequest) o;
return Objects.equals(this.clientId, institutionsGetRequest.clientId) &&
Objects.equals(this.secret, institutionsGetRequest.secret) &&
Objects.equals(this.count, institutionsGetRequest.count) &&
Objects.equals(this.offset, institutionsGetRequest.offset) &&
Objects.equals(this.countryCodes, institutionsGetRequest.countryCodes) &&
Objects.equals(this.options, institutionsGetRequest.options);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, count, offset, countryCodes, options);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class InstitutionsGetRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" count: ").append(toIndentedString(count)).append("\n");
sb.append(" offset: ").append(toIndentedString(offset)).append("\n");
sb.append(" countryCodes: ").append(toIndentedString(countryCodes)).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/AddressDataNullableNoRequiredFields.java | src/main/java/com/plaid/client/model/AddressDataNullableNoRequiredFields.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.AddressDataNotRequired;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Data about the components comprising an address.
*/
@ApiModel(description = "Data about the components comprising an address.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class AddressDataNullableNoRequiredFields {
public static final String SERIALIZED_NAME_CITY = "city";
@SerializedName(SERIALIZED_NAME_CITY)
private String city;
public static final String SERIALIZED_NAME_REGION = "region";
@SerializedName(SERIALIZED_NAME_REGION)
private String region;
public static final String SERIALIZED_NAME_STREET = "street";
@SerializedName(SERIALIZED_NAME_STREET)
private String street;
public static final String SERIALIZED_NAME_POSTAL_CODE = "postal_code";
@SerializedName(SERIALIZED_NAME_POSTAL_CODE)
private String postalCode;
public static final String SERIALIZED_NAME_COUNTRY = "country";
@SerializedName(SERIALIZED_NAME_COUNTRY)
private String country;
public AddressDataNullableNoRequiredFields city(String city) {
this.city = city;
return this;
}
/**
* The full city name
* @return city
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The full city name")
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public AddressDataNullableNoRequiredFields region(String region) {
this.region = region;
return this;
}
/**
* The region or state. In API versions 2018-05-22 and earlier, this field is called `state`. Example: `\"NC\"`
* @return region
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The region or state. In API versions 2018-05-22 and earlier, this field is called `state`. Example: `\"NC\"`")
public String getRegion() {
return region;
}
public void setRegion(String region) {
this.region = region;
}
public AddressDataNullableNoRequiredFields street(String street) {
this.street = street;
return this;
}
/**
* The full street address Example: `\"564 Main Street, APT 15\"`
* @return street
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The full street address Example: `\"564 Main Street, APT 15\"`")
public String getStreet() {
return street;
}
public void setStreet(String street) {
this.street = street;
}
public AddressDataNullableNoRequiredFields postalCode(String postalCode) {
this.postalCode = postalCode;
return this;
}
/**
* The postal code. In API versions 2018-05-22 and earlier, this field is called `zip`.
* @return postalCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The postal code. In API versions 2018-05-22 and earlier, this field is called `zip`.")
public String getPostalCode() {
return postalCode;
}
public void setPostalCode(String postalCode) {
this.postalCode = postalCode;
}
public AddressDataNullableNoRequiredFields country(String country) {
this.country = country;
return this;
}
/**
* The ISO 3166-1 alpha-2 country code
* @return country
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The ISO 3166-1 alpha-2 country code")
public String getCountry() {
return country;
}
public void setCountry(String country) {
this.country = country;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AddressDataNullableNoRequiredFields addressDataNullableNoRequiredFields = (AddressDataNullableNoRequiredFields) o;
return Objects.equals(this.city, addressDataNullableNoRequiredFields.city) &&
Objects.equals(this.region, addressDataNullableNoRequiredFields.region) &&
Objects.equals(this.street, addressDataNullableNoRequiredFields.street) &&
Objects.equals(this.postalCode, addressDataNullableNoRequiredFields.postalCode) &&
Objects.equals(this.country, addressDataNullableNoRequiredFields.country);
}
@Override
public int hashCode() {
return Objects.hash(city, region, street, postalCode, country);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AddressDataNullableNoRequiredFields {\n");
sb.append(" city: ").append(toIndentedString(city)).append("\n");
sb.append(" region: ").append(toIndentedString(region)).append("\n");
sb.append(" street: ").append(toIndentedString(street)).append("\n");
sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n");
sb.append(" country: ").append(toIndentedString(country)).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/IdentityDocumentUploadRiskSummary.java | src/main/java/com/plaid/client/model/IdentityDocumentUploadRiskSummary.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;
/**
* Risk summary of an uploaded document.
*/
@ApiModel(description = "Risk summary of an uploaded document.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class IdentityDocumentUploadRiskSummary {
public static final String SERIALIZED_NAME_RISK_SCORE = "risk_score";
@SerializedName(SERIALIZED_NAME_RISK_SCORE)
private Integer riskScore;
public IdentityDocumentUploadRiskSummary riskScore(Integer riskScore) {
this.riskScore = riskScore;
return this;
}
/**
* A number between 0 and 100, inclusive, where a score closer to 0 indicates a document is likely to be trustworthy and a score closer to 100 indicates a document is likely to be fraudulent.
* @return riskScore
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A number between 0 and 100, inclusive, where a score closer to 0 indicates a document is likely to be trustworthy and a score closer to 100 indicates a document is likely to be fraudulent.")
public Integer getRiskScore() {
return riskScore;
}
public void setRiskScore(Integer riskScore) {
this.riskScore = riskScore;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
IdentityDocumentUploadRiskSummary identityDocumentUploadRiskSummary = (IdentityDocumentUploadRiskSummary) o;
return Objects.equals(this.riskScore, identityDocumentUploadRiskSummary.riskScore);
}
@Override
public int hashCode() {
return Objects.hash(riskScore);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IdentityDocumentUploadRiskSummary {\n");
sb.append(" riskScore: ").append(toIndentedString(riskScore)).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/IdentityVerificationAutofillUserData.java | src/main/java/com/plaid/client/model/IdentityVerificationAutofillUserData.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.IdentityVerificationAutofillAddress;
import com.plaid.client.model.IdentityVerificationResponseUserName;
import com.plaid.client.model.UserIDNumber;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* User information that was autofilled. All this information should be confirmed by the user before using.
*/
@ApiModel(description = "User information that was autofilled. All this information should be confirmed by the user before using.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class IdentityVerificationAutofillUserData {
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
private IdentityVerificationResponseUserName name;
public static final String SERIALIZED_NAME_ADDRESS = "address";
@SerializedName(SERIALIZED_NAME_ADDRESS)
private IdentityVerificationAutofillAddress address;
public static final String SERIALIZED_NAME_ID_NUMBER = "id_number";
@SerializedName(SERIALIZED_NAME_ID_NUMBER)
private UserIDNumber idNumber;
public IdentityVerificationAutofillUserData name(IdentityVerificationResponseUserName name) {
this.name = name;
return this;
}
/**
* Get name
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public IdentityVerificationResponseUserName getName() {
return name;
}
public void setName(IdentityVerificationResponseUserName name) {
this.name = name;
}
public IdentityVerificationAutofillUserData address(IdentityVerificationAutofillAddress address) {
this.address = address;
return this;
}
/**
* Get address
* @return address
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public IdentityVerificationAutofillAddress getAddress() {
return address;
}
public void setAddress(IdentityVerificationAutofillAddress address) {
this.address = address;
}
public IdentityVerificationAutofillUserData idNumber(UserIDNumber idNumber) {
this.idNumber = idNumber;
return this;
}
/**
* Get idNumber
* @return idNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public UserIDNumber getIdNumber() {
return idNumber;
}
public void setIdNumber(UserIDNumber idNumber) {
this.idNumber = idNumber;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
IdentityVerificationAutofillUserData identityVerificationAutofillUserData = (IdentityVerificationAutofillUserData) o;
return Objects.equals(this.name, identityVerificationAutofillUserData.name) &&
Objects.equals(this.address, identityVerificationAutofillUserData.address) &&
Objects.equals(this.idNumber, identityVerificationAutofillUserData.idNumber);
}
@Override
public int hashCode() {
return Objects.hash(name, address, idNumber);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IdentityVerificationAutofillUserData {\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" address: ").append(toIndentedString(address)).append("\n");
sb.append(" idNumber: ").append(toIndentedString(idNumber)).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/CraCheckReportCashflowInsightsGetOptions.java | src/main/java/com/plaid/client/model/CraCheckReportCashflowInsightsGetOptions.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.CashflowAttributesVersion;
import com.plaid.client.model.PlaidCheckScoreVersion;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines configuration options to generate Cashflow Insights
*/
@ApiModel(description = "Defines configuration options to generate Cashflow Insights")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraCheckReportCashflowInsightsGetOptions {
public static final String SERIALIZED_NAME_PLAID_CHECK_SCORE_VERSION = "plaid_check_score_version";
@SerializedName(SERIALIZED_NAME_PLAID_CHECK_SCORE_VERSION)
private PlaidCheckScoreVersion plaidCheckScoreVersion;
public static final String SERIALIZED_NAME_ATTRIBUTES_VERSION = "attributes_version";
@SerializedName(SERIALIZED_NAME_ATTRIBUTES_VERSION)
private CashflowAttributesVersion attributesVersion;
public CraCheckReportCashflowInsightsGetOptions plaidCheckScoreVersion(PlaidCheckScoreVersion plaidCheckScoreVersion) {
this.plaidCheckScoreVersion = plaidCheckScoreVersion;
return this;
}
/**
* Get plaidCheckScoreVersion
* @return plaidCheckScoreVersion
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PlaidCheckScoreVersion getPlaidCheckScoreVersion() {
return plaidCheckScoreVersion;
}
public void setPlaidCheckScoreVersion(PlaidCheckScoreVersion plaidCheckScoreVersion) {
this.plaidCheckScoreVersion = plaidCheckScoreVersion;
}
public CraCheckReportCashflowInsightsGetOptions attributesVersion(CashflowAttributesVersion attributesVersion) {
this.attributesVersion = attributesVersion;
return this;
}
/**
* Get attributesVersion
* @return attributesVersion
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public CashflowAttributesVersion getAttributesVersion() {
return attributesVersion;
}
public void setAttributesVersion(CashflowAttributesVersion attributesVersion) {
this.attributesVersion = attributesVersion;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CraCheckReportCashflowInsightsGetOptions craCheckReportCashflowInsightsGetOptions = (CraCheckReportCashflowInsightsGetOptions) o;
return Objects.equals(this.plaidCheckScoreVersion, craCheckReportCashflowInsightsGetOptions.plaidCheckScoreVersion) &&
Objects.equals(this.attributesVersion, craCheckReportCashflowInsightsGetOptions.attributesVersion);
}
@Override
public int hashCode() {
return Objects.hash(plaidCheckScoreVersion, attributesVersion);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraCheckReportCashflowInsightsGetOptions {\n");
sb.append(" plaidCheckScoreVersion: ").append(toIndentedString(plaidCheckScoreVersion)).append("\n");
sb.append(" attributesVersion: ").append(toIndentedString(attributesVersion)).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/BaseReport.java | src/main/java/com/plaid/client/model/BaseReport.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.BaseReportItem;
import com.plaid.client.model.BaseReportUserAttributes;
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 Base Report
*/
@ApiModel(description = "An object representing a Base Report")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BaseReport {
public static final String SERIALIZED_NAME_REPORT_ID = "report_id";
@SerializedName(SERIALIZED_NAME_REPORT_ID)
private String reportId;
public static final String SERIALIZED_NAME_DATE_GENERATED = "date_generated";
@SerializedName(SERIALIZED_NAME_DATE_GENERATED)
private OffsetDateTime dateGenerated;
public static final String SERIALIZED_NAME_DAYS_REQUESTED = "days_requested";
@SerializedName(SERIALIZED_NAME_DAYS_REQUESTED)
private Double daysRequested;
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_ITEMS = "items";
@SerializedName(SERIALIZED_NAME_ITEMS)
private List<BaseReportItem> items = new ArrayList<>();
public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes";
@SerializedName(SERIALIZED_NAME_ATTRIBUTES)
private BaseReportUserAttributes attributes;
public BaseReport reportId(String reportId) {
this.reportId = reportId;
return this;
}
/**
* A unique ID identifying an Base Report. Like all Plaid identifiers, this ID is case sensitive.
* @return reportId
**/
@ApiModelProperty(required = true, value = "A unique ID identifying an Base Report. Like all Plaid identifiers, this ID is case sensitive.")
public String getReportId() {
return reportId;
}
public void setReportId(String reportId) {
this.reportId = reportId;
}
public BaseReport dateGenerated(OffsetDateTime dateGenerated) {
this.dateGenerated = dateGenerated;
return this;
}
/**
* The date and time when the Base Report was created, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (e.g. \"2018-04-12T03:32:11Z\").
* @return dateGenerated
**/
@ApiModelProperty(required = true, value = "The date and time when the Base Report was created, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (e.g. \"2018-04-12T03:32:11Z\").")
public OffsetDateTime getDateGenerated() {
return dateGenerated;
}
public void setDateGenerated(OffsetDateTime dateGenerated) {
this.dateGenerated = dateGenerated;
}
public BaseReport daysRequested(Double daysRequested) {
this.daysRequested = daysRequested;
return this;
}
/**
* The number of days of transaction history requested.
* @return daysRequested
**/
@ApiModelProperty(required = true, value = "The number of days of transaction history requested.")
public Double getDaysRequested() {
return daysRequested;
}
public void setDaysRequested(Double daysRequested) {
this.daysRequested = daysRequested;
}
public BaseReport clientReportId(String clientReportId) {
this.clientReportId = clientReportId;
return this;
}
/**
* Client-generated identifier, which can be used by lenders to track loan applications.
* @return clientReportId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Client-generated identifier, which can be used by lenders to track loan applications.")
public String getClientReportId() {
return clientReportId;
}
public void setClientReportId(String clientReportId) {
this.clientReportId = clientReportId;
}
public BaseReport items(List<BaseReportItem> items) {
this.items = items;
return this;
}
public BaseReport addItemsItem(BaseReportItem 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<BaseReportItem> getItems() {
return items;
}
public void setItems(List<BaseReportItem> items) {
this.items = items;
}
public BaseReport attributes(BaseReportUserAttributes attributes) {
this.attributes = attributes;
return this;
}
/**
* Get attributes
* @return attributes
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public BaseReportUserAttributes getAttributes() {
return attributes;
}
public void setAttributes(BaseReportUserAttributes attributes) {
this.attributes = attributes;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BaseReport baseReport = (BaseReport) o;
return Objects.equals(this.reportId, baseReport.reportId) &&
Objects.equals(this.dateGenerated, baseReport.dateGenerated) &&
Objects.equals(this.daysRequested, baseReport.daysRequested) &&
Objects.equals(this.clientReportId, baseReport.clientReportId) &&
Objects.equals(this.items, baseReport.items) &&
Objects.equals(this.attributes, baseReport.attributes);
}
@Override
public int hashCode() {
return Objects.hash(reportId, dateGenerated, daysRequested, clientReportId, items, attributes);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BaseReport {\n");
sb.append(" reportId: ").append(toIndentedString(reportId)).append("\n");
sb.append(" dateGenerated: ").append(toIndentedString(dateGenerated)).append("\n");
sb.append(" daysRequested: ").append(toIndentedString(daysRequested)).append("\n");
sb.append(" clientReportId: ").append(toIndentedString(clientReportId)).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/TransferPlatformRequirementSubmitResponse.java | src/main/java/com/plaid/client/model/TransferPlatformRequirementSubmitResponse.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 response schema for `/transfer/platform/requirement/submit`
*/
@ApiModel(description = "Defines the response schema for `/transfer/platform/requirement/submit`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferPlatformRequirementSubmitResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public TransferPlatformRequirementSubmitResponse 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;
}
TransferPlatformRequirementSubmitResponse transferPlatformRequirementSubmitResponse = (TransferPlatformRequirementSubmitResponse) o;
return Objects.equals(this.requestId, transferPlatformRequirementSubmitResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferPlatformRequirementSubmitResponse {\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/AccountVerificationInsightsAccountNumberFormat.java | src/main/java/com/plaid/client/model/AccountVerificationInsightsAccountNumberFormat.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;
/**
* Indicator of account number format validity for institution. `valid`: indicates that the account number has a correct format for the institution. `invalid`: indicates that the account number has an incorrect format for the institution. `unknown`: indicates that there was not enough information to determine whether the format is correct for the institution.
*/
@JsonAdapter(AccountVerificationInsightsAccountNumberFormat.Adapter.class)
public enum AccountVerificationInsightsAccountNumberFormat {
VALID("valid"),
INVALID("invalid"),
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;
AccountVerificationInsightsAccountNumberFormat(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static AccountVerificationInsightsAccountNumberFormat fromValue(String value) {
for (AccountVerificationInsightsAccountNumberFormat b : AccountVerificationInsightsAccountNumberFormat.values()) {
if (b.value.equals(value)) {
return b;
}
}
return AccountVerificationInsightsAccountNumberFormat.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<AccountVerificationInsightsAccountNumberFormat> {
@Override
public void write(final JsonWriter jsonWriter, final AccountVerificationInsightsAccountNumberFormat enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public AccountVerificationInsightsAccountNumberFormat read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return AccountVerificationInsightsAccountNumberFormat.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/CreditBankStatementsUploadsGetRequestOptions.java | src/main/java/com/plaid/client/model/CreditBankStatementsUploadsGetRequestOptions.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.util.ArrayList;
import java.util.List;
/**
* An optional object for `/credit/bank_statements/uploads/get` request options.
*/
@ApiModel(description = "An optional object for `/credit/bank_statements/uploads/get` request options.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditBankStatementsUploadsGetRequestOptions {
public static final String SERIALIZED_NAME_ITEM_IDS = "item_ids";
@SerializedName(SERIALIZED_NAME_ITEM_IDS)
private List<String> itemIds = null;
public CreditBankStatementsUploadsGetRequestOptions itemIds(List<String> itemIds) {
this.itemIds = itemIds;
return this;
}
public CreditBankStatementsUploadsGetRequestOptions addItemIdsItem(String itemIdsItem) {
if (this.itemIds == null) {
this.itemIds = new ArrayList<>();
}
this.itemIds.add(itemIdsItem);
return this;
}
/**
* An array of `item_id`s whose bank statements information is returned. Each `item_id` should uniquely identify a bank statements uploaded item. If this field is not provided, all `item_id`s associated with the `user_token` will returned in the response.
* @return itemIds
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "An array of `item_id`s whose bank statements information is returned. Each `item_id` should uniquely identify a bank statements uploaded item. If this field is not provided, all `item_id`s associated with the `user_token` will returned in the response.")
public List<String> getItemIds() {
return itemIds;
}
public void setItemIds(List<String> itemIds) {
this.itemIds = itemIds;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreditBankStatementsUploadsGetRequestOptions creditBankStatementsUploadsGetRequestOptions = (CreditBankStatementsUploadsGetRequestOptions) o;
return Objects.equals(this.itemIds, creditBankStatementsUploadsGetRequestOptions.itemIds);
}
@Override
public int hashCode() {
return Objects.hash(itemIds);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditBankStatementsUploadsGetRequestOptions {\n");
sb.append(" itemIds: ").append(toIndentedString(itemIds)).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/LinkTokenCreateRequestDepositSwitch.java | src/main/java/com/plaid/client/model/LinkTokenCreateRequestDepositSwitch.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;
/**
* (Deprecated) Specifies options for initializing Link for use with the Deposit Switch (beta) product. This field is required if `deposit_switch` is included in the `products` array.
*/
@ApiModel(description = "(Deprecated) Specifies options for initializing Link for use with the Deposit Switch (beta) product. This field is required if `deposit_switch` is included in the `products` array.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkTokenCreateRequestDepositSwitch {
public static final String SERIALIZED_NAME_DEPOSIT_SWITCH_ID = "deposit_switch_id";
@SerializedName(SERIALIZED_NAME_DEPOSIT_SWITCH_ID)
private String depositSwitchId;
public LinkTokenCreateRequestDepositSwitch depositSwitchId(String depositSwitchId) {
this.depositSwitchId = depositSwitchId;
return this;
}
/**
* The `deposit_switch_id` provided by the `/deposit_switch/create` endpoint.
* @return depositSwitchId
**/
@ApiModelProperty(required = true, value = "The `deposit_switch_id` provided by the `/deposit_switch/create` endpoint.")
public String getDepositSwitchId() {
return depositSwitchId;
}
public void setDepositSwitchId(String depositSwitchId) {
this.depositSwitchId = depositSwitchId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkTokenCreateRequestDepositSwitch linkTokenCreateRequestDepositSwitch = (LinkTokenCreateRequestDepositSwitch) o;
return Objects.equals(this.depositSwitchId, linkTokenCreateRequestDepositSwitch.depositSwitchId);
}
@Override
public int hashCode() {
return Objects.hash(depositSwitchId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkTokenCreateRequestDepositSwitch {\n");
sb.append(" depositSwitchId: ").append(toIndentedString(depositSwitchId)).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/SelfieAnalysisFacialAnalysis.java | src/main/java/com/plaid/client/model/SelfieAnalysisFacialAnalysis.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.SelfieAnalysisFacialAnalysisOutcome;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Analysis of the facial features of the selfie when compared to the face in the uploaded document, if one is present.
*/
@ApiModel(description = "Analysis of the facial features of the selfie when compared to the face in the uploaded document, if one is present.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SelfieAnalysisFacialAnalysis {
public static final String SERIALIZED_NAME_LEFT_EYE = "left_eye";
@SerializedName(SERIALIZED_NAME_LEFT_EYE)
private SelfieAnalysisFacialAnalysisOutcome leftEye;
public static final String SERIALIZED_NAME_RIGHT_EYE = "right_eye";
@SerializedName(SERIALIZED_NAME_RIGHT_EYE)
private SelfieAnalysisFacialAnalysisOutcome rightEye;
public static final String SERIALIZED_NAME_LEFT_BROW = "left_brow";
@SerializedName(SERIALIZED_NAME_LEFT_BROW)
private SelfieAnalysisFacialAnalysisOutcome leftBrow;
public static final String SERIALIZED_NAME_RIGHT_BROW = "right_brow";
@SerializedName(SERIALIZED_NAME_RIGHT_BROW)
private SelfieAnalysisFacialAnalysisOutcome rightBrow;
public static final String SERIALIZED_NAME_FOREHEAD = "forehead";
@SerializedName(SERIALIZED_NAME_FOREHEAD)
private SelfieAnalysisFacialAnalysisOutcome forehead;
public static final String SERIALIZED_NAME_MIDDLE_FOREHEAD = "middle_forehead";
@SerializedName(SERIALIZED_NAME_MIDDLE_FOREHEAD)
private SelfieAnalysisFacialAnalysisOutcome middleForehead;
public static final String SERIALIZED_NAME_NOSE = "nose";
@SerializedName(SERIALIZED_NAME_NOSE)
private SelfieAnalysisFacialAnalysisOutcome nose;
public static final String SERIALIZED_NAME_PHILTRUM = "philtrum";
@SerializedName(SERIALIZED_NAME_PHILTRUM)
private SelfieAnalysisFacialAnalysisOutcome philtrum;
public static final String SERIALIZED_NAME_MOUTH = "mouth";
@SerializedName(SERIALIZED_NAME_MOUTH)
private SelfieAnalysisFacialAnalysisOutcome mouth;
public static final String SERIALIZED_NAME_JAW = "jaw";
@SerializedName(SERIALIZED_NAME_JAW)
private SelfieAnalysisFacialAnalysisOutcome jaw;
public static final String SERIALIZED_NAME_LEFT_CHEEK = "left_cheek";
@SerializedName(SERIALIZED_NAME_LEFT_CHEEK)
private SelfieAnalysisFacialAnalysisOutcome leftCheek;
public static final String SERIALIZED_NAME_RIGHT_CHEEK = "right_cheek";
@SerializedName(SERIALIZED_NAME_RIGHT_CHEEK)
private SelfieAnalysisFacialAnalysisOutcome rightCheek;
public SelfieAnalysisFacialAnalysis leftEye(SelfieAnalysisFacialAnalysisOutcome leftEye) {
this.leftEye = leftEye;
return this;
}
/**
* Get leftEye
* @return leftEye
**/
@ApiModelProperty(required = true, value = "")
public SelfieAnalysisFacialAnalysisOutcome getLeftEye() {
return leftEye;
}
public void setLeftEye(SelfieAnalysisFacialAnalysisOutcome leftEye) {
this.leftEye = leftEye;
}
public SelfieAnalysisFacialAnalysis rightEye(SelfieAnalysisFacialAnalysisOutcome rightEye) {
this.rightEye = rightEye;
return this;
}
/**
* Get rightEye
* @return rightEye
**/
@ApiModelProperty(required = true, value = "")
public SelfieAnalysisFacialAnalysisOutcome getRightEye() {
return rightEye;
}
public void setRightEye(SelfieAnalysisFacialAnalysisOutcome rightEye) {
this.rightEye = rightEye;
}
public SelfieAnalysisFacialAnalysis leftBrow(SelfieAnalysisFacialAnalysisOutcome leftBrow) {
this.leftBrow = leftBrow;
return this;
}
/**
* Get leftBrow
* @return leftBrow
**/
@ApiModelProperty(required = true, value = "")
public SelfieAnalysisFacialAnalysisOutcome getLeftBrow() {
return leftBrow;
}
public void setLeftBrow(SelfieAnalysisFacialAnalysisOutcome leftBrow) {
this.leftBrow = leftBrow;
}
public SelfieAnalysisFacialAnalysis rightBrow(SelfieAnalysisFacialAnalysisOutcome rightBrow) {
this.rightBrow = rightBrow;
return this;
}
/**
* Get rightBrow
* @return rightBrow
**/
@ApiModelProperty(required = true, value = "")
public SelfieAnalysisFacialAnalysisOutcome getRightBrow() {
return rightBrow;
}
public void setRightBrow(SelfieAnalysisFacialAnalysisOutcome rightBrow) {
this.rightBrow = rightBrow;
}
public SelfieAnalysisFacialAnalysis forehead(SelfieAnalysisFacialAnalysisOutcome forehead) {
this.forehead = forehead;
return this;
}
/**
* Get forehead
* @return forehead
**/
@ApiModelProperty(required = true, value = "")
public SelfieAnalysisFacialAnalysisOutcome getForehead() {
return forehead;
}
public void setForehead(SelfieAnalysisFacialAnalysisOutcome forehead) {
this.forehead = forehead;
}
public SelfieAnalysisFacialAnalysis middleForehead(SelfieAnalysisFacialAnalysisOutcome middleForehead) {
this.middleForehead = middleForehead;
return this;
}
/**
* Get middleForehead
* @return middleForehead
**/
@ApiModelProperty(required = true, value = "")
public SelfieAnalysisFacialAnalysisOutcome getMiddleForehead() {
return middleForehead;
}
public void setMiddleForehead(SelfieAnalysisFacialAnalysisOutcome middleForehead) {
this.middleForehead = middleForehead;
}
public SelfieAnalysisFacialAnalysis nose(SelfieAnalysisFacialAnalysisOutcome nose) {
this.nose = nose;
return this;
}
/**
* Get nose
* @return nose
**/
@ApiModelProperty(required = true, value = "")
public SelfieAnalysisFacialAnalysisOutcome getNose() {
return nose;
}
public void setNose(SelfieAnalysisFacialAnalysisOutcome nose) {
this.nose = nose;
}
public SelfieAnalysisFacialAnalysis philtrum(SelfieAnalysisFacialAnalysisOutcome philtrum) {
this.philtrum = philtrum;
return this;
}
/**
* Get philtrum
* @return philtrum
**/
@ApiModelProperty(required = true, value = "")
public SelfieAnalysisFacialAnalysisOutcome getPhiltrum() {
return philtrum;
}
public void setPhiltrum(SelfieAnalysisFacialAnalysisOutcome philtrum) {
this.philtrum = philtrum;
}
public SelfieAnalysisFacialAnalysis mouth(SelfieAnalysisFacialAnalysisOutcome mouth) {
this.mouth = mouth;
return this;
}
/**
* Get mouth
* @return mouth
**/
@ApiModelProperty(required = true, value = "")
public SelfieAnalysisFacialAnalysisOutcome getMouth() {
return mouth;
}
public void setMouth(SelfieAnalysisFacialAnalysisOutcome mouth) {
this.mouth = mouth;
}
public SelfieAnalysisFacialAnalysis jaw(SelfieAnalysisFacialAnalysisOutcome jaw) {
this.jaw = jaw;
return this;
}
/**
* Get jaw
* @return jaw
**/
@ApiModelProperty(required = true, value = "")
public SelfieAnalysisFacialAnalysisOutcome getJaw() {
return jaw;
}
public void setJaw(SelfieAnalysisFacialAnalysisOutcome jaw) {
this.jaw = jaw;
}
public SelfieAnalysisFacialAnalysis leftCheek(SelfieAnalysisFacialAnalysisOutcome leftCheek) {
this.leftCheek = leftCheek;
return this;
}
/**
* Get leftCheek
* @return leftCheek
**/
@ApiModelProperty(required = true, value = "")
public SelfieAnalysisFacialAnalysisOutcome getLeftCheek() {
return leftCheek;
}
public void setLeftCheek(SelfieAnalysisFacialAnalysisOutcome leftCheek) {
this.leftCheek = leftCheek;
}
public SelfieAnalysisFacialAnalysis rightCheek(SelfieAnalysisFacialAnalysisOutcome rightCheek) {
this.rightCheek = rightCheek;
return this;
}
/**
* Get rightCheek
* @return rightCheek
**/
@ApiModelProperty(required = true, value = "")
public SelfieAnalysisFacialAnalysisOutcome getRightCheek() {
return rightCheek;
}
public void setRightCheek(SelfieAnalysisFacialAnalysisOutcome rightCheek) {
this.rightCheek = rightCheek;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SelfieAnalysisFacialAnalysis selfieAnalysisFacialAnalysis = (SelfieAnalysisFacialAnalysis) o;
return Objects.equals(this.leftEye, selfieAnalysisFacialAnalysis.leftEye) &&
Objects.equals(this.rightEye, selfieAnalysisFacialAnalysis.rightEye) &&
Objects.equals(this.leftBrow, selfieAnalysisFacialAnalysis.leftBrow) &&
Objects.equals(this.rightBrow, selfieAnalysisFacialAnalysis.rightBrow) &&
Objects.equals(this.forehead, selfieAnalysisFacialAnalysis.forehead) &&
Objects.equals(this.middleForehead, selfieAnalysisFacialAnalysis.middleForehead) &&
Objects.equals(this.nose, selfieAnalysisFacialAnalysis.nose) &&
Objects.equals(this.philtrum, selfieAnalysisFacialAnalysis.philtrum) &&
Objects.equals(this.mouth, selfieAnalysisFacialAnalysis.mouth) &&
Objects.equals(this.jaw, selfieAnalysisFacialAnalysis.jaw) &&
Objects.equals(this.leftCheek, selfieAnalysisFacialAnalysis.leftCheek) &&
Objects.equals(this.rightCheek, selfieAnalysisFacialAnalysis.rightCheek);
}
@Override
public int hashCode() {
return Objects.hash(leftEye, rightEye, leftBrow, rightBrow, forehead, middleForehead, nose, philtrum, mouth, jaw, leftCheek, rightCheek);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SelfieAnalysisFacialAnalysis {\n");
sb.append(" leftEye: ").append(toIndentedString(leftEye)).append("\n");
sb.append(" rightEye: ").append(toIndentedString(rightEye)).append("\n");
sb.append(" leftBrow: ").append(toIndentedString(leftBrow)).append("\n");
sb.append(" rightBrow: ").append(toIndentedString(rightBrow)).append("\n");
sb.append(" forehead: ").append(toIndentedString(forehead)).append("\n");
sb.append(" middleForehead: ").append(toIndentedString(middleForehead)).append("\n");
sb.append(" nose: ").append(toIndentedString(nose)).append("\n");
sb.append(" philtrum: ").append(toIndentedString(philtrum)).append("\n");
sb.append(" mouth: ").append(toIndentedString(mouth)).append("\n");
sb.append(" jaw: ").append(toIndentedString(jaw)).append("\n");
sb.append(" leftCheek: ").append(toIndentedString(leftCheek)).append("\n");
sb.append(" rightCheek: ").append(toIndentedString(rightCheek)).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/TransferListResponse.java | src/main/java/com/plaid/client/model/TransferListResponse.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.Transfer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Defines the response schema for `/transfer/list`
*/
@ApiModel(description = "Defines the response schema for `/transfer/list`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferListResponse {
public static final String SERIALIZED_NAME_TRANSFERS = "transfers";
@SerializedName(SERIALIZED_NAME_TRANSFERS)
private List<Transfer> transfers = new ArrayList<>();
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public TransferListResponse transfers(List<Transfer> transfers) {
this.transfers = transfers;
return this;
}
public TransferListResponse addTransfersItem(Transfer transfersItem) {
this.transfers.add(transfersItem);
return this;
}
/**
* Get transfers
* @return transfers
**/
@ApiModelProperty(required = true, value = "")
public List<Transfer> getTransfers() {
return transfers;
}
public void setTransfers(List<Transfer> transfers) {
this.transfers = transfers;
}
public TransferListResponse 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;
}
TransferListResponse transferListResponse = (TransferListResponse) o;
return Objects.equals(this.transfers, transferListResponse.transfers) &&
Objects.equals(this.requestId, transferListResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(transfers, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferListResponse {\n");
sb.append(" transfers: ").append(toIndentedString(transfers)).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/OAuthErrorResponse.java | src/main/java/com/plaid/client/model/OAuthErrorResponse.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.OAuthErrorCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* OAuth error response
*/
@ApiModel(description = "OAuth error response")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class OAuthErrorResponse {
public static final String SERIALIZED_NAME_ERROR = "error";
@SerializedName(SERIALIZED_NAME_ERROR)
private OAuthErrorCode error;
public static final String SERIALIZED_NAME_ERROR_DESCRIPTION = "error_description";
@SerializedName(SERIALIZED_NAME_ERROR_DESCRIPTION)
private String errorDescription;
public static final String SERIALIZED_NAME_ERROR_URI = "error_uri";
@SerializedName(SERIALIZED_NAME_ERROR_URI)
private String errorUri;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public OAuthErrorResponse error(OAuthErrorCode error) {
this.error = error;
return this;
}
/**
* Get error
* @return error
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public OAuthErrorCode getError() {
return error;
}
public void setError(OAuthErrorCode error) {
this.error = error;
}
public OAuthErrorResponse errorDescription(String errorDescription) {
this.errorDescription = errorDescription;
return this;
}
/**
* A human-readable description of the error
* @return errorDescription
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A human-readable description of the error")
public String getErrorDescription() {
return errorDescription;
}
public void setErrorDescription(String errorDescription) {
this.errorDescription = errorDescription;
}
public OAuthErrorResponse errorUri(String errorUri) {
this.errorUri = errorUri;
return this;
}
/**
* A URI identifying the specific error
* @return errorUri
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A URI identifying the specific error")
public String getErrorUri() {
return errorUri;
}
public void setErrorUri(String errorUri) {
this.errorUri = errorUri;
}
public OAuthErrorResponse 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;
}
OAuthErrorResponse oauthErrorResponse = (OAuthErrorResponse) o;
return Objects.equals(this.error, oauthErrorResponse.error) &&
Objects.equals(this.errorDescription, oauthErrorResponse.errorDescription) &&
Objects.equals(this.errorUri, oauthErrorResponse.errorUri) &&
Objects.equals(this.requestId, oauthErrorResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(error, errorDescription, errorUri, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class OAuthErrorResponse {\n");
sb.append(" error: ").append(toIndentedString(error)).append("\n");
sb.append(" errorDescription: ").append(toIndentedString(errorDescription)).append("\n");
sb.append(" errorUri: ").append(toIndentedString(errorUri)).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/PaymentConsentPeriodicAlignment.java | src/main/java/com/plaid/client/model/PaymentConsentPeriodicAlignment.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;
/**
* Where the payment consent period should start. If the institution is Monzo, only `CONSENT` alignments are supported. `CALENDAR`: line up with a calendar. `CONSENT`: on the date of consent creation.
*/
@JsonAdapter(PaymentConsentPeriodicAlignment.Adapter.class)
public enum PaymentConsentPeriodicAlignment {
CALENDAR("CALENDAR"),
CONSENT("CONSENT"),
// 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;
PaymentConsentPeriodicAlignment(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static PaymentConsentPeriodicAlignment fromValue(String value) {
for (PaymentConsentPeriodicAlignment b : PaymentConsentPeriodicAlignment.values()) {
if (b.value.equals(value)) {
return b;
}
}
return PaymentConsentPeriodicAlignment.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<PaymentConsentPeriodicAlignment> {
@Override
public void write(final JsonWriter jsonWriter, final PaymentConsentPeriodicAlignment enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public PaymentConsentPeriodicAlignment read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return PaymentConsentPeriodicAlignment.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/Transfer.java | src/main/java/com/plaid/client/model/Transfer.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.TransferAuthorizationGuaranteeDecision;
import com.plaid.client.model.TransferAuthorizationGuaranteeDecisionRationale;
import com.plaid.client.model.TransferCreditFundsSource;
import com.plaid.client.model.TransferExpectedSweepSettlementScheduleItem;
import com.plaid.client.model.TransferFailure;
import com.plaid.client.model.TransferNetwork;
import com.plaid.client.model.TransferRefund;
import com.plaid.client.model.TransferStatus;
import com.plaid.client.model.TransferSweepStatus;
import com.plaid.client.model.TransferType;
import com.plaid.client.model.TransferUserInResponse;
import com.plaid.client.model.TransferWireDetails;
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.HashMap;
import java.util.List;
import java.util.Map;
/**
* Represents a transfer within the Transfers API.
*/
@ApiModel(description = "Represents a 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 Transfer {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
public static final String SERIALIZED_NAME_AUTHORIZATION_ID = "authorization_id";
@SerializedName(SERIALIZED_NAME_AUTHORIZATION_ID)
private String authorizationId;
public static final String SERIALIZED_NAME_ACH_CLASS = "ach_class";
@SerializedName(SERIALIZED_NAME_ACH_CLASS)
private ACHClass achClass;
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_LEDGER_ID = "ledger_id";
@SerializedName(SERIALIZED_NAME_LEDGER_ID)
private String ledgerId;
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private TransferType type;
public static final String SERIALIZED_NAME_USER = "user";
@SerializedName(SERIALIZED_NAME_USER)
private TransferUserInResponse user;
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_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
private OffsetDateTime created;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private TransferStatus status;
public static final String SERIALIZED_NAME_SWEEP_STATUS = "sweep_status";
@SerializedName(SERIALIZED_NAME_SWEEP_STATUS)
private TransferSweepStatus sweepStatus;
public static final String SERIALIZED_NAME_NETWORK = "network";
@SerializedName(SERIALIZED_NAME_NETWORK)
private TransferNetwork network;
public static final String SERIALIZED_NAME_WIRE_DETAILS = "wire_details";
@SerializedName(SERIALIZED_NAME_WIRE_DETAILS)
private TransferWireDetails wireDetails;
public static final String SERIALIZED_NAME_CANCELLABLE = "cancellable";
@SerializedName(SERIALIZED_NAME_CANCELLABLE)
private Boolean cancellable;
public static final String SERIALIZED_NAME_FAILURE_REASON = "failure_reason";
@SerializedName(SERIALIZED_NAME_FAILURE_REASON)
private TransferFailure failureReason;
public static final String SERIALIZED_NAME_METADATA = "metadata";
@SerializedName(SERIALIZED_NAME_METADATA)
private Map<String, String> metadata = new HashMap<>();
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_GUARANTEE_DECISION = "guarantee_decision";
@SerializedName(SERIALIZED_NAME_GUARANTEE_DECISION)
private TransferAuthorizationGuaranteeDecision guaranteeDecision;
public static final String SERIALIZED_NAME_GUARANTEE_DECISION_RATIONALE = "guarantee_decision_rationale";
@SerializedName(SERIALIZED_NAME_GUARANTEE_DECISION_RATIONALE)
private TransferAuthorizationGuaranteeDecisionRationale guaranteeDecisionRationale;
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_STANDARD_RETURN_WINDOW = "standard_return_window";
@SerializedName(SERIALIZED_NAME_STANDARD_RETURN_WINDOW)
private LocalDate standardReturnWindow;
public static final String SERIALIZED_NAME_UNAUTHORIZED_RETURN_WINDOW = "unauthorized_return_window";
@SerializedName(SERIALIZED_NAME_UNAUTHORIZED_RETURN_WINDOW)
private LocalDate unauthorizedReturnWindow;
public static final String SERIALIZED_NAME_EXPECTED_SETTLEMENT_DATE = "expected_settlement_date";
@SerializedName(SERIALIZED_NAME_EXPECTED_SETTLEMENT_DATE)
private LocalDate expectedSettlementDate;
public static final String SERIALIZED_NAME_EXPECTED_FUNDS_AVAILABLE_DATE = "expected_funds_available_date";
@SerializedName(SERIALIZED_NAME_EXPECTED_FUNDS_AVAILABLE_DATE)
private LocalDate expectedFundsAvailableDate;
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_REFUNDS = "refunds";
@SerializedName(SERIALIZED_NAME_REFUNDS)
private List<TransferRefund> refunds = new ArrayList<>();
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_EXPECTED_SWEEP_SETTLEMENT_SCHEDULE = "expected_sweep_settlement_schedule";
@SerializedName(SERIALIZED_NAME_EXPECTED_SWEEP_SETTLEMENT_SCHEDULE)
private List<TransferExpectedSweepSettlementScheduleItem> expectedSweepSettlementSchedule = null;
public static final String SERIALIZED_NAME_CREDIT_FUNDS_SOURCE = "credit_funds_source";
@SerializedName(SERIALIZED_NAME_CREDIT_FUNDS_SOURCE)
private TransferCreditFundsSource creditFundsSource;
public static final String SERIALIZED_NAME_FACILITATOR_FEE = "facilitator_fee";
@SerializedName(SERIALIZED_NAME_FACILITATOR_FEE)
private String facilitatorFee;
public static final String SERIALIZED_NAME_NETWORK_TRACE_ID = "network_trace_id";
@SerializedName(SERIALIZED_NAME_NETWORK_TRACE_ID)
private String networkTraceId;
public Transfer id(String id) {
this.id = id;
return this;
}
/**
* Plaid’s unique identifier for a transfer.
* @return id
**/
@ApiModelProperty(required = true, value = "Plaid’s unique identifier for a transfer.")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public Transfer authorizationId(String authorizationId) {
this.authorizationId = authorizationId;
return this;
}
/**
* Plaid’s unique identifier for a transfer authorization.
* @return authorizationId
**/
@ApiModelProperty(required = true, value = "Plaid’s unique identifier for a transfer authorization.")
public String getAuthorizationId() {
return authorizationId;
}
public void setAuthorizationId(String authorizationId) {
this.authorizationId = authorizationId;
}
public Transfer 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 Transfer 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
**/
@javax.annotation.Nullable
@ApiModelProperty(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 Transfer fundingAccountId(String fundingAccountId) {
this.fundingAccountId = fundingAccountId;
return this;
}
/**
* The id of the associated funding account, available in the Plaid Dashboard. If present, this indicates which of your business checking accounts will be credited or debited.
* @return fundingAccountId
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The id of the associated funding account, available in the Plaid Dashboard. If present, this indicates 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 Transfer ledgerId(String ledgerId) {
this.ledgerId = ledgerId;
return this;
}
/**
* Plaid’s unique identifier for a Plaid Ledger Balance.
* @return ledgerId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Plaid’s unique identifier for a Plaid Ledger Balance.")
public String getLedgerId() {
return ledgerId;
}
public void setLedgerId(String ledgerId) {
this.ledgerId = ledgerId;
}
public Transfer 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 Transfer 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 Transfer 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 Transfer description(String description) {
this.description = description;
return this;
}
/**
* The description of the transfer.
* @return description
**/
@ApiModelProperty(required = true, value = "The description of the transfer.")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public Transfer 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 Transfer status(TransferStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@ApiModelProperty(required = true, value = "")
public TransferStatus getStatus() {
return status;
}
public void setStatus(TransferStatus status) {
this.status = status;
}
public Transfer sweepStatus(TransferSweepStatus sweepStatus) {
this.sweepStatus = sweepStatus;
return this;
}
/**
* Get sweepStatus
* @return sweepStatus
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public TransferSweepStatus getSweepStatus() {
return sweepStatus;
}
public void setSweepStatus(TransferSweepStatus sweepStatus) {
this.sweepStatus = sweepStatus;
}
public Transfer network(TransferNetwork network) {
this.network = network;
return this;
}
/**
* Get network
* @return network
**/
@ApiModelProperty(required = true, value = "")
public TransferNetwork getNetwork() {
return network;
}
public void setNetwork(TransferNetwork network) {
this.network = network;
}
public Transfer wireDetails(TransferWireDetails wireDetails) {
this.wireDetails = wireDetails;
return this;
}
/**
* Get wireDetails
* @return wireDetails
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public TransferWireDetails getWireDetails() {
return wireDetails;
}
public void setWireDetails(TransferWireDetails wireDetails) {
this.wireDetails = wireDetails;
}
public Transfer cancellable(Boolean cancellable) {
this.cancellable = cancellable;
return this;
}
/**
* When `true`, you can still cancel this transfer.
* @return cancellable
**/
@ApiModelProperty(required = true, value = "When `true`, you can still cancel this transfer.")
public Boolean getCancellable() {
return cancellable;
}
public void setCancellable(Boolean cancellable) {
this.cancellable = cancellable;
}
public Transfer failureReason(TransferFailure failureReason) {
this.failureReason = failureReason;
return this;
}
/**
* Get failureReason
* @return failureReason
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public TransferFailure getFailureReason() {
return failureReason;
}
public void setFailureReason(TransferFailure failureReason) {
this.failureReason = failureReason;
}
public Transfer metadata(Map<String, String> metadata) {
this.metadata = metadata;
return this;
}
public Transfer putMetadataItem(String key, String metadataItem) {
this.metadata.put(key, metadataItem);
return this;
}
/**
* The Metadata object is a mapping of client-provided string fields to any string value. The following limitations apply: The JSON values must be Strings (no nested JSON objects allowed) Only ASCII characters may be used Maximum of 50 key/value pairs Maximum key length of 40 characters Maximum value length of 500 characters
* @return metadata
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The Metadata object is a mapping of client-provided string fields to any string value. The following limitations apply: The JSON values must be Strings (no nested JSON objects allowed) Only ASCII characters may be used Maximum of 50 key/value pairs Maximum key length of 40 characters Maximum value length of 500 characters ")
public Map<String, String> getMetadata() {
return metadata;
}
public void setMetadata(Map<String, String> metadata) {
this.metadata = metadata;
}
public Transfer 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 Transfer guaranteeDecision(TransferAuthorizationGuaranteeDecision guaranteeDecision) {
this.guaranteeDecision = guaranteeDecision;
return this;
}
/**
* Get guaranteeDecision
* @return guaranteeDecision
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public TransferAuthorizationGuaranteeDecision getGuaranteeDecision() {
return guaranteeDecision;
}
public void setGuaranteeDecision(TransferAuthorizationGuaranteeDecision guaranteeDecision) {
this.guaranteeDecision = guaranteeDecision;
}
public Transfer guaranteeDecisionRationale(TransferAuthorizationGuaranteeDecisionRationale guaranteeDecisionRationale) {
this.guaranteeDecisionRationale = guaranteeDecisionRationale;
return this;
}
/**
* Get guaranteeDecisionRationale
* @return guaranteeDecisionRationale
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public TransferAuthorizationGuaranteeDecisionRationale getGuaranteeDecisionRationale() {
return guaranteeDecisionRationale;
}
public void setGuaranteeDecisionRationale(TransferAuthorizationGuaranteeDecisionRationale guaranteeDecisionRationale) {
this.guaranteeDecisionRationale = guaranteeDecisionRationale;
}
public Transfer 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 Transfer standardReturnWindow(LocalDate standardReturnWindow) {
this.standardReturnWindow = standardReturnWindow;
return this;
}
/**
* The date 3 business days from settlement date indicating the following ACH returns can no longer happen: R01, R02, R03, R29. This will be of the form YYYY-MM-DD.
* @return standardReturnWindow
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The date 3 business days from settlement date indicating the following ACH returns can no longer happen: R01, R02, R03, R29. This will be of the form YYYY-MM-DD.")
public LocalDate getStandardReturnWindow() {
return standardReturnWindow;
}
public void setStandardReturnWindow(LocalDate standardReturnWindow) {
this.standardReturnWindow = standardReturnWindow;
}
public Transfer unauthorizedReturnWindow(LocalDate unauthorizedReturnWindow) {
this.unauthorizedReturnWindow = unauthorizedReturnWindow;
return this;
}
/**
* The date 61 business days from settlement date indicating the following ACH returns can no longer happen: R05, R07, R10, R11, R51, R33, R37, R38, R51, R52, R53. This will be of the form YYYY-MM-DD.
* @return unauthorizedReturnWindow
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The date 61 business days from settlement date indicating the following ACH returns can no longer happen: R05, R07, R10, R11, R51, R33, R37, R38, R51, R52, R53. This will be of the form YYYY-MM-DD.")
public LocalDate getUnauthorizedReturnWindow() {
return unauthorizedReturnWindow;
}
public void setUnauthorizedReturnWindow(LocalDate unauthorizedReturnWindow) {
this.unauthorizedReturnWindow = unauthorizedReturnWindow;
}
public Transfer expectedSettlementDate(LocalDate expectedSettlementDate) {
this.expectedSettlementDate = expectedSettlementDate;
return this;
}
/**
* Deprecated for Plaid Ledger clients, use `expected_funds_available_date` instead.
* @return expectedSettlementDate
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "Deprecated for Plaid Ledger clients, use `expected_funds_available_date` instead.")
public LocalDate getExpectedSettlementDate() {
return expectedSettlementDate;
}
public void setExpectedSettlementDate(LocalDate expectedSettlementDate) {
this.expectedSettlementDate = expectedSettlementDate;
}
public Transfer expectedFundsAvailableDate(LocalDate expectedFundsAvailableDate) {
this.expectedFundsAvailableDate = expectedFundsAvailableDate;
return this;
}
/**
* The expected date when funds from a transfer will be made available and can be withdrawn from the associated ledger balance, assuming the debit does not return before this date. If the transfer does return before this date, this field will be null. Only applies to debit transfers. This will be of the form YYYY-MM-DD.
* @return expectedFundsAvailableDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The expected date when funds from a transfer will be made available and can be withdrawn from the associated ledger balance, assuming the debit does not return before this date. If the transfer does return before this date, this field will be null. Only applies to debit transfers. This will be of the form YYYY-MM-DD.")
public LocalDate getExpectedFundsAvailableDate() {
return expectedFundsAvailableDate;
}
public void setExpectedFundsAvailableDate(LocalDate expectedFundsAvailableDate) {
this.expectedFundsAvailableDate = expectedFundsAvailableDate;
}
public Transfer originatorClientId(String originatorClientId) {
this.originatorClientId = originatorClientId;
return this;
}
/**
* The Plaid client ID that is the originator of this transfer. Only present if created on behalf of another client as a [Platform customer](https://plaid.com/docs/transfer/application/#originators-vs-platforms).
* @return originatorClientId
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The Plaid client ID that is the originator of this transfer. Only present if created on behalf of another client as a [Platform customer](https://plaid.com/docs/transfer/application/#originators-vs-platforms).")
public String getOriginatorClientId() {
return originatorClientId;
}
public void setOriginatorClientId(String originatorClientId) {
this.originatorClientId = originatorClientId;
}
public Transfer refunds(List<TransferRefund> refunds) {
this.refunds = refunds;
return this;
}
public Transfer addRefundsItem(TransferRefund refundsItem) {
this.refunds.add(refundsItem);
return this;
}
/**
* A list of refunds associated with this transfer.
* @return refunds
**/
@ApiModelProperty(required = true, value = "A list of refunds associated with this transfer.")
public List<TransferRefund> getRefunds() {
return refunds;
}
public void setRefunds(List<TransferRefund> refunds) {
this.refunds = refunds;
}
public Transfer recurringTransferId(String recurringTransferId) {
this.recurringTransferId = recurringTransferId;
return this;
}
/**
* The id of the recurring transfer if this transfer belongs to a recurring transfer.
* @return recurringTransferId
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The id of the recurring transfer if this transfer belongs to a recurring transfer.")
public String getRecurringTransferId() {
return recurringTransferId;
}
public void setRecurringTransferId(String recurringTransferId) {
this.recurringTransferId = recurringTransferId;
}
public Transfer expectedSweepSettlementSchedule(List<TransferExpectedSweepSettlementScheduleItem> expectedSweepSettlementSchedule) {
this.expectedSweepSettlementSchedule = expectedSweepSettlementSchedule;
return this;
}
public Transfer addExpectedSweepSettlementScheduleItem(TransferExpectedSweepSettlementScheduleItem expectedSweepSettlementScheduleItem) {
if (this.expectedSweepSettlementSchedule == null) {
this.expectedSweepSettlementSchedule = new ArrayList<>();
}
this.expectedSweepSettlementSchedule.add(expectedSweepSettlementScheduleItem);
return this;
}
/**
* The expected sweep settlement schedule of this transfer, assuming this transfer is not `returned`. Only applies to ACH debit transfers.
* @return expectedSweepSettlementSchedule
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The expected sweep settlement schedule of this transfer, assuming this transfer is not `returned`. Only applies to ACH debit transfers.")
public List<TransferExpectedSweepSettlementScheduleItem> getExpectedSweepSettlementSchedule() {
return expectedSweepSettlementSchedule;
}
public void setExpectedSweepSettlementSchedule(List<TransferExpectedSweepSettlementScheduleItem> expectedSweepSettlementSchedule) {
this.expectedSweepSettlementSchedule = expectedSweepSettlementSchedule;
}
public Transfer creditFundsSource(TransferCreditFundsSource creditFundsSource) {
this.creditFundsSource = creditFundsSource;
return this;
}
/**
* Get creditFundsSource
* @return creditFundsSource
**/
@ApiModelProperty(required = true, value = "")
public TransferCreditFundsSource getCreditFundsSource() {
return creditFundsSource;
}
public void setCreditFundsSource(TransferCreditFundsSource creditFundsSource) {
this.creditFundsSource = creditFundsSource;
}
public Transfer facilitatorFee(String facilitatorFee) {
this.facilitatorFee = facilitatorFee;
return this;
}
/**
* The amount to deduct from `transfer.amount` and distribute to the platform’s Ledger balance as a facilitator fee (decimal string with two digits of precision e.g. \"10.00\"). The remainder will go to the end-customer’s Ledger balance. This must be value greater than 0 and less than or equal to the `transfer.amount`.
* @return facilitatorFee
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The amount to deduct from `transfer.amount` and distribute to the platform’s Ledger balance as a facilitator fee (decimal string with two digits of precision e.g. \"10.00\"). The remainder will go to the end-customer’s Ledger balance. This must be value greater than 0 and less than or equal to the `transfer.amount`.")
public String getFacilitatorFee() {
return facilitatorFee;
}
public void setFacilitatorFee(String facilitatorFee) {
this.facilitatorFee = facilitatorFee;
}
public Transfer networkTraceId(String networkTraceId) {
this.networkTraceId = networkTraceId;
return this;
}
/**
* The trace identifier for the transfer based on its network. This will only be set after the transfer has posted. For `ach` or `same-day-ach` transfers, this is the ACH trace number. For `rtp` transfers, this is the Transaction Identification number. For `wire` transfers, this is the IMAD (Input Message Accountability Data) number.
* @return networkTraceId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The trace identifier for the transfer based on its network. This will only be set after the transfer has posted. For `ach` or `same-day-ach` transfers, this is the ACH trace number. For `rtp` transfers, this is the Transaction Identification number. For `wire` transfers, this is the IMAD (Input Message Accountability Data) number.")
public String getNetworkTraceId() {
return networkTraceId;
}
public void setNetworkTraceId(String networkTraceId) {
this.networkTraceId = networkTraceId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Transfer transfer = (Transfer) o;
return Objects.equals(this.id, transfer.id) &&
Objects.equals(this.authorizationId, transfer.authorizationId) &&
Objects.equals(this.achClass, transfer.achClass) &&
Objects.equals(this.accountId, transfer.accountId) &&
Objects.equals(this.fundingAccountId, transfer.fundingAccountId) &&
Objects.equals(this.ledgerId, transfer.ledgerId) &&
Objects.equals(this.type, transfer.type) &&
Objects.equals(this.user, transfer.user) &&
Objects.equals(this.amount, transfer.amount) &&
Objects.equals(this.description, transfer.description) &&
Objects.equals(this.created, transfer.created) &&
Objects.equals(this.status, transfer.status) &&
Objects.equals(this.sweepStatus, transfer.sweepStatus) &&
Objects.equals(this.network, transfer.network) &&
Objects.equals(this.wireDetails, transfer.wireDetails) &&
Objects.equals(this.cancellable, transfer.cancellable) &&
Objects.equals(this.failureReason, transfer.failureReason) &&
Objects.equals(this.metadata, transfer.metadata) &&
Objects.equals(this.originationAccountId, transfer.originationAccountId) &&
Objects.equals(this.guaranteeDecision, transfer.guaranteeDecision) &&
Objects.equals(this.guaranteeDecisionRationale, transfer.guaranteeDecisionRationale) &&
Objects.equals(this.isoCurrencyCode, transfer.isoCurrencyCode) &&
Objects.equals(this.standardReturnWindow, transfer.standardReturnWindow) &&
Objects.equals(this.unauthorizedReturnWindow, transfer.unauthorizedReturnWindow) &&
Objects.equals(this.expectedSettlementDate, transfer.expectedSettlementDate) &&
Objects.equals(this.expectedFundsAvailableDate, transfer.expectedFundsAvailableDate) &&
Objects.equals(this.originatorClientId, transfer.originatorClientId) &&
Objects.equals(this.refunds, transfer.refunds) &&
Objects.equals(this.recurringTransferId, transfer.recurringTransferId) &&
Objects.equals(this.expectedSweepSettlementSchedule, transfer.expectedSweepSettlementSchedule) &&
Objects.equals(this.creditFundsSource, transfer.creditFundsSource) &&
Objects.equals(this.facilitatorFee, transfer.facilitatorFee) &&
Objects.equals(this.networkTraceId, transfer.networkTraceId);
}
@Override
public int hashCode() {
return Objects.hash(id, authorizationId, achClass, accountId, fundingAccountId, ledgerId, type, user, amount, description, created, status, sweepStatus, network, wireDetails, cancellable, failureReason, metadata, originationAccountId, guaranteeDecision, guaranteeDecisionRationale, isoCurrencyCode, standardReturnWindow, unauthorizedReturnWindow, expectedSettlementDate, expectedFundsAvailableDate, originatorClientId, refunds, recurringTransferId, expectedSweepSettlementSchedule, creditFundsSource, facilitatorFee, networkTraceId);
}
@Override
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | true |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransferUserInResponse.java | src/main/java/com/plaid/client/model/TransferUserInResponse.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.TransferUserAddressInResponse;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The legal name and other information for the account holder.
*/
@ApiModel(description = "The legal name and other information for the account holder.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferUserInResponse {
public static final String SERIALIZED_NAME_LEGAL_NAME = "legal_name";
@SerializedName(SERIALIZED_NAME_LEGAL_NAME)
private String legalName;
public static final String SERIALIZED_NAME_PHONE_NUMBER = "phone_number";
@SerializedName(SERIALIZED_NAME_PHONE_NUMBER)
private String phoneNumber;
public static final String SERIALIZED_NAME_EMAIL_ADDRESS = "email_address";
@SerializedName(SERIALIZED_NAME_EMAIL_ADDRESS)
private String emailAddress;
public static final String SERIALIZED_NAME_ADDRESS = "address";
@SerializedName(SERIALIZED_NAME_ADDRESS)
private TransferUserAddressInResponse address;
public TransferUserInResponse legalName(String legalName) {
this.legalName = legalName;
return this;
}
/**
* The user's legal name.
* @return legalName
**/
@ApiModelProperty(required = true, value = "The user's legal name.")
public String getLegalName() {
return legalName;
}
public void setLegalName(String legalName) {
this.legalName = legalName;
}
public TransferUserInResponse phoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
return this;
}
/**
* The user's phone number.
* @return phoneNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The user's phone number.")
public String getPhoneNumber() {
return phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
}
public TransferUserInResponse emailAddress(String emailAddress) {
this.emailAddress = emailAddress;
return this;
}
/**
* The user's email address.
* @return emailAddress
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The user's email address.")
public String getEmailAddress() {
return emailAddress;
}
public void setEmailAddress(String emailAddress) {
this.emailAddress = emailAddress;
}
public TransferUserInResponse address(TransferUserAddressInResponse address) {
this.address = address;
return this;
}
/**
* Get address
* @return address
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public TransferUserAddressInResponse getAddress() {
return address;
}
public void setAddress(TransferUserAddressInResponse address) {
this.address = address;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferUserInResponse transferUserInResponse = (TransferUserInResponse) o;
return Objects.equals(this.legalName, transferUserInResponse.legalName) &&
Objects.equals(this.phoneNumber, transferUserInResponse.phoneNumber) &&
Objects.equals(this.emailAddress, transferUserInResponse.emailAddress) &&
Objects.equals(this.address, transferUserInResponse.address);
}
@Override
public int hashCode() {
return Objects.hash(legalName, phoneNumber, emailAddress, address);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferUserInResponse {\n");
sb.append(" legalName: ").append(toIndentedString(legalName)).append("\n");
sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n");
sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).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/ProtectBankAccount.java | src/main/java/com/plaid/client/model/ProtectBankAccount.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;
/**
* Bank account information associated with the incident.
*/
@ApiModel(description = "Bank account information associated with the incident.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ProtectBankAccount {
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
private String accountId;
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 ProtectBankAccount accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* Plaid's unique identifier for the account.
* @return accountId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Plaid's unique identifier for the account.")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public ProtectBankAccount accountNumber(String accountNumber) {
this.accountNumber = accountNumber;
return this;
}
/**
* Full account number of the bank account.
* @return accountNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Full account number of the bank account.")
public String getAccountNumber() {
return accountNumber;
}
public void setAccountNumber(String accountNumber) {
this.accountNumber = accountNumber;
}
public ProtectBankAccount routingNumber(String routingNumber) {
this.routingNumber = routingNumber;
return this;
}
/**
* Routing number of the bank account. Must be present if `account_number` is present.
* @return routingNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Routing number of the bank account. Must be present if `account_number` is present.")
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;
}
ProtectBankAccount protectBankAccount = (ProtectBankAccount) o;
return Objects.equals(this.accountId, protectBankAccount.accountId) &&
Objects.equals(this.accountNumber, protectBankAccount.accountNumber) &&
Objects.equals(this.routingNumber, protectBankAccount.routingNumber);
}
@Override
public int hashCode() {
return Objects.hash(accountId, accountNumber, routingNumber);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProtectBankAccount {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\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/HumanReviewStatus.java | src/main/java/com/plaid/client/model/HumanReviewStatus.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 outcome of the human review check, when available. The following values are possible: `success` - The document passed the check. `failed` - The document failed the check. `no_data` - The document was submitted, but the document specialist review was not completed in time.
*/
@JsonAdapter(HumanReviewStatus.Adapter.class)
public enum HumanReviewStatus {
SUCCESS("success"),
FAILED("failed"),
NO_DATA("no_data"),
// 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;
HumanReviewStatus(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static HumanReviewStatus fromValue(String value) {
for (HumanReviewStatus b : HumanReviewStatus.values()) {
if (b.value.equals(value)) {
return b;
}
}
return HumanReviewStatus.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<HumanReviewStatus> {
@Override
public void write(final JsonWriter jsonWriter, final HumanReviewStatus enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public HumanReviewStatus read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return HumanReviewStatus.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/LoanPaymentsIndicators.java | src/main/java/com/plaid/client/model/LoanPaymentsIndicators.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.CategoryExpenses;
import com.plaid.client.model.MonthlyAverage;
import com.plaid.client.model.MonthlySummary;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Insights into loan payment transactions made by the user, tracking outgoing payments to loan providers.
*/
@ApiModel(description = "Insights into loan payment transactions made by the user, tracking outgoing payments to loan providers.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LoanPaymentsIndicators {
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 static final String SERIALIZED_NAME_MONTHLY_AVERAGE = "monthly_average";
@SerializedName(SERIALIZED_NAME_MONTHLY_AVERAGE)
private MonthlyAverage monthlyAverage;
public static final String SERIALIZED_NAME_CATEGORY_DETAILS = "category_details";
@SerializedName(SERIALIZED_NAME_CATEGORY_DETAILS)
private List<CategoryExpenses> categoryDetails = null;
public static final String SERIALIZED_NAME_TOP_PROVIDERS = "top_providers";
@SerializedName(SERIALIZED_NAME_TOP_PROVIDERS)
private List<String> topProviders = null;
public static final String SERIALIZED_NAME_TRANSACTIONS_COUNT = "transactions_count";
@SerializedName(SERIALIZED_NAME_TRANSACTIONS_COUNT)
private Integer transactionsCount;
public static final String SERIALIZED_NAME_MONTHLY_SUMMARIES = "monthly_summaries";
@SerializedName(SERIALIZED_NAME_MONTHLY_SUMMARIES)
private List<MonthlySummary> monthlySummaries = null;
public static final String SERIALIZED_NAME_DAYS_SINCE_LAST_OCCURRENCE = "days_since_last_occurrence";
@SerializedName(SERIALIZED_NAME_DAYS_SINCE_LAST_OCCURRENCE)
private Integer daysSinceLastOccurrence;
public static final String SERIALIZED_NAME_PERCENTAGE_OF_INCOME = "percentage_of_income";
@SerializedName(SERIALIZED_NAME_PERCENTAGE_OF_INCOME)
private Double percentageOfIncome;
public LoanPaymentsIndicators amount(Double amount) {
this.amount = amount;
return this;
}
/**
* The total value of outflow transactions categorized as `LOAN_PAYMENTS`, across all the accounts in the report within the requested time window.
* @return amount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The total value of outflow transactions categorized as `LOAN_PAYMENTS`, across all the accounts in the report within the requested time window.")
public Double getAmount() {
return amount;
}
public void setAmount(Double amount) {
this.amount = amount;
}
public LoanPaymentsIndicators isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The ISO-4217 currency code of the amount. Always `null` if `unofficial_currency_code` is non-`null`.
* @return isoCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The ISO-4217 currency code of the amount. Always `null` if `unofficial_currency_code` is non-`null`.")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public LoanPaymentsIndicators unofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
return this;
}
/**
* The unofficial currency code associated with the amount. 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(value = "The unofficial currency code associated with the amount. 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;
}
public LoanPaymentsIndicators monthlyAverage(MonthlyAverage monthlyAverage) {
this.monthlyAverage = monthlyAverage;
return this;
}
/**
* Get monthlyAverage
* @return monthlyAverage
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public MonthlyAverage getMonthlyAverage() {
return monthlyAverage;
}
public void setMonthlyAverage(MonthlyAverage monthlyAverage) {
this.monthlyAverage = monthlyAverage;
}
public LoanPaymentsIndicators categoryDetails(List<CategoryExpenses> categoryDetails) {
this.categoryDetails = categoryDetails;
return this;
}
public LoanPaymentsIndicators addCategoryDetailsItem(CategoryExpenses categoryDetailsItem) {
if (this.categoryDetails == null) {
this.categoryDetails = new ArrayList<>();
}
this.categoryDetails.add(categoryDetailsItem);
return this;
}
/**
* Detailed categories view of all the transactions that fall into the `LOAN_PAYMENTS` credit category within the given time window, across all the accounts in the report.
* @return categoryDetails
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Detailed categories view of all the transactions that fall into the `LOAN_PAYMENTS` credit category within the given time window, across all the accounts in the report.")
public List<CategoryExpenses> getCategoryDetails() {
return categoryDetails;
}
public void setCategoryDetails(List<CategoryExpenses> categoryDetails) {
this.categoryDetails = categoryDetails;
}
public LoanPaymentsIndicators topProviders(List<String> topProviders) {
this.topProviders = topProviders;
return this;
}
public LoanPaymentsIndicators addTopProvidersItem(String topProvidersItem) {
if (this.topProviders == null) {
this.topProviders = new ArrayList<>();
}
this.topProviders.add(topProvidersItem);
return this;
}
/**
* Up to 3 top service providers that the user had the most transactions for in the given time window, in descending order of total spend. If the user has not spent money on any provider in the given time window, this list will be empty.
* @return topProviders
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Up to 3 top service providers that the user had the most transactions for in the given time window, in descending order of total spend. If the user has not spent money on any provider in the given time window, this list will be empty.")
public List<String> getTopProviders() {
return topProviders;
}
public void setTopProviders(List<String> topProviders) {
this.topProviders = topProviders;
}
public LoanPaymentsIndicators transactionsCount(Integer transactionsCount) {
this.transactionsCount = transactionsCount;
return this;
}
/**
* The total number of transactions that fall into the `LOAN_PAYMENTS` credit category, across all the accounts in the report.
* @return transactionsCount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The total number of transactions that fall into the `LOAN_PAYMENTS` credit category, across all the accounts in the report.")
public Integer getTransactionsCount() {
return transactionsCount;
}
public void setTransactionsCount(Integer transactionsCount) {
this.transactionsCount = transactionsCount;
}
public LoanPaymentsIndicators monthlySummaries(List<MonthlySummary> monthlySummaries) {
this.monthlySummaries = monthlySummaries;
return this;
}
public LoanPaymentsIndicators addMonthlySummariesItem(MonthlySummary monthlySummariesItem) {
if (this.monthlySummaries == null) {
this.monthlySummaries = new ArrayList<>();
}
this.monthlySummaries.add(monthlySummariesItem);
return this;
}
/**
* The monthly summaries of the transactions that fall into the `LOAN_PAYMENTS` credit category within the given time window, across all the accounts in the report.
* @return monthlySummaries
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The monthly summaries of the transactions that fall into the `LOAN_PAYMENTS` credit category within the given time window, across all the accounts in the report.")
public List<MonthlySummary> getMonthlySummaries() {
return monthlySummaries;
}
public void setMonthlySummaries(List<MonthlySummary> monthlySummaries) {
this.monthlySummaries = monthlySummaries;
}
public LoanPaymentsIndicators daysSinceLastOccurrence(Integer daysSinceLastOccurrence) {
this.daysSinceLastOccurrence = daysSinceLastOccurrence;
return this;
}
/**
* The number of days since the last transaction that falls into the `LOAN_PAYMENTS` credit category, across all the accounts in the report.
* @return daysSinceLastOccurrence
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of days since the last transaction that falls into the `LOAN_PAYMENTS` credit category, across all the accounts in the report.")
public Integer getDaysSinceLastOccurrence() {
return daysSinceLastOccurrence;
}
public void setDaysSinceLastOccurrence(Integer daysSinceLastOccurrence) {
this.daysSinceLastOccurrence = daysSinceLastOccurrence;
}
public LoanPaymentsIndicators percentageOfIncome(Double percentageOfIncome) {
this.percentageOfIncome = percentageOfIncome;
return this;
}
/**
* The percentage of the user's monthly inflows that was spent on transactions that fall into the `LOAN_PAYMENTS` credit category within the given time window, across all the accounts in the report. For example, a value of 100 indicates that 100% of the inflows were spent on transactions that fall into the `LOAN_PAYMENTS` credit category. If there's no available income for the giving time period, this field value will be `-1`
* @return percentageOfIncome
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The percentage of the user's monthly inflows that was spent on transactions that fall into the `LOAN_PAYMENTS` credit category within the given time window, across all the accounts in the report. For example, a value of 100 indicates that 100% of the inflows were spent on transactions that fall into the `LOAN_PAYMENTS` credit category. If there's no available income for the giving time period, this field value will be `-1`")
public Double getPercentageOfIncome() {
return percentageOfIncome;
}
public void setPercentageOfIncome(Double percentageOfIncome) {
this.percentageOfIncome = percentageOfIncome;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LoanPaymentsIndicators loanPaymentsIndicators = (LoanPaymentsIndicators) o;
return Objects.equals(this.amount, loanPaymentsIndicators.amount) &&
Objects.equals(this.isoCurrencyCode, loanPaymentsIndicators.isoCurrencyCode) &&
Objects.equals(this.unofficialCurrencyCode, loanPaymentsIndicators.unofficialCurrencyCode) &&
Objects.equals(this.monthlyAverage, loanPaymentsIndicators.monthlyAverage) &&
Objects.equals(this.categoryDetails, loanPaymentsIndicators.categoryDetails) &&
Objects.equals(this.topProviders, loanPaymentsIndicators.topProviders) &&
Objects.equals(this.transactionsCount, loanPaymentsIndicators.transactionsCount) &&
Objects.equals(this.monthlySummaries, loanPaymentsIndicators.monthlySummaries) &&
Objects.equals(this.daysSinceLastOccurrence, loanPaymentsIndicators.daysSinceLastOccurrence) &&
Objects.equals(this.percentageOfIncome, loanPaymentsIndicators.percentageOfIncome);
}
@Override
public int hashCode() {
return Objects.hash(amount, isoCurrencyCode, unofficialCurrencyCode, monthlyAverage, categoryDetails, topProviders, transactionsCount, monthlySummaries, daysSinceLastOccurrence, percentageOfIncome);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LoanPaymentsIndicators {\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(" monthlyAverage: ").append(toIndentedString(monthlyAverage)).append("\n");
sb.append(" categoryDetails: ").append(toIndentedString(categoryDetails)).append("\n");
sb.append(" topProviders: ").append(toIndentedString(topProviders)).append("\n");
sb.append(" transactionsCount: ").append(toIndentedString(transactionsCount)).append("\n");
sb.append(" monthlySummaries: ").append(toIndentedString(monthlySummaries)).append("\n");
sb.append(" daysSinceLastOccurrence: ").append(toIndentedString(daysSinceLastOccurrence)).append("\n");
sb.append(" percentageOfIncome: ").append(toIndentedString(percentageOfIncome)).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/PaystubDeduction.java | src/main/java/com/plaid/client/model/PaystubDeduction.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;
/**
* Deduction on the paystub
*/
@ApiModel(description = "Deduction on the paystub")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PaystubDeduction {
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private String type;
public static final String SERIALIZED_NAME_IS_PRETAX = "is_pretax";
@SerializedName(SERIALIZED_NAME_IS_PRETAX)
private Boolean isPretax;
public static final String SERIALIZED_NAME_TOTAL = "total";
@SerializedName(SERIALIZED_NAME_TOTAL)
private Double total;
public PaystubDeduction type(String type) {
this.type = type;
return this;
}
/**
* The description of the deduction, as provided on the paystub. For example: `\"401(k)\"`, `\"FICA MED TAX\"`.
* @return type
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The description of the deduction, as provided on the paystub. For example: `\"401(k)\"`, `\"FICA MED TAX\"`.")
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public PaystubDeduction isPretax(Boolean isPretax) {
this.isPretax = isPretax;
return this;
}
/**
* `true` if the deduction is pre-tax; `false` otherwise.
* @return isPretax
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "`true` if the deduction is pre-tax; `false` otherwise.")
public Boolean getIsPretax() {
return isPretax;
}
public void setIsPretax(Boolean isPretax) {
this.isPretax = isPretax;
}
public PaystubDeduction total(Double total) {
this.total = total;
return this;
}
/**
* The amount of the deduction.
* @return total
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The amount of the deduction.")
public Double getTotal() {
return total;
}
public void setTotal(Double total) {
this.total = total;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PaystubDeduction paystubDeduction = (PaystubDeduction) o;
return Objects.equals(this.type, paystubDeduction.type) &&
Objects.equals(this.isPretax, paystubDeduction.isPretax) &&
Objects.equals(this.total, paystubDeduction.total);
}
@Override
public int hashCode() {
return Objects.hash(type, isPretax, total);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaystubDeduction {\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" isPretax: ").append(toIndentedString(isPretax)).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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.