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/LinkTokenGetResponse.java | src/main/java/com/plaid/client/model/LinkTokenGetResponse.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.LinkTokenGetMetadataResponse;
import com.plaid.client.model.LinkTokenGetSessionsResponse;
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;
/**
* LinkTokenGetResponse defines the response schema for `/link/token/get`
*/
@ApiModel(description = "LinkTokenGetResponse defines the response 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 LinkTokenGetResponse {
public static final String SERIALIZED_NAME_LINK_TOKEN = "link_token";
@SerializedName(SERIALIZED_NAME_LINK_TOKEN)
private String linkToken;
public static final String SERIALIZED_NAME_CREATED_AT = "created_at";
@SerializedName(SERIALIZED_NAME_CREATED_AT)
private OffsetDateTime createdAt;
public static final String SERIALIZED_NAME_EXPIRATION = "expiration";
@SerializedName(SERIALIZED_NAME_EXPIRATION)
private OffsetDateTime expiration;
public static final String SERIALIZED_NAME_LINK_SESSIONS = "link_sessions";
@SerializedName(SERIALIZED_NAME_LINK_SESSIONS)
private List<LinkTokenGetSessionsResponse> linkSessions = null;
public static final String SERIALIZED_NAME_METADATA = "metadata";
@SerializedName(SERIALIZED_NAME_METADATA)
private LinkTokenGetMetadataResponse metadata;
public static final String SERIALIZED_NAME_USER_ID = "user_id";
@SerializedName(SERIALIZED_NAME_USER_ID)
private String userId;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public LinkTokenGetResponse 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`, which can be exchanged for an `access_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`, which can be exchanged for an `access_token`.")
public String getLinkToken() {
return linkToken;
}
public void setLinkToken(String linkToken) {
this.linkToken = linkToken;
}
public LinkTokenGetResponse createdAt(OffsetDateTime createdAt) {
this.createdAt = createdAt;
return this;
}
/**
* The creation timestamp for the `link_token`, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
* @return createdAt
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The creation timestamp for the `link_token`, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.")
public OffsetDateTime getCreatedAt() {
return createdAt;
}
public void setCreatedAt(OffsetDateTime createdAt) {
this.createdAt = createdAt;
}
public LinkTokenGetResponse expiration(OffsetDateTime expiration) {
this.expiration = expiration;
return this;
}
/**
* The expiration timestamp for the `link_token`, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
* @return expiration
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The expiration timestamp for the `link_token`, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.")
public OffsetDateTime getExpiration() {
return expiration;
}
public void setExpiration(OffsetDateTime expiration) {
this.expiration = expiration;
}
public LinkTokenGetResponse linkSessions(List<LinkTokenGetSessionsResponse> linkSessions) {
this.linkSessions = linkSessions;
return this;
}
public LinkTokenGetResponse addLinkSessionsItem(LinkTokenGetSessionsResponse linkSessionsItem) {
if (this.linkSessions == null) {
this.linkSessions = new ArrayList<>();
}
this.linkSessions.add(linkSessionsItem);
return this;
}
/**
* Information about Link sessions created using this `link_token`. Session data will be provided for up to six hours after the session has ended.
* @return linkSessions
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Information about Link sessions created using this `link_token`. Session data will be provided for up to six hours after the session has ended.")
public List<LinkTokenGetSessionsResponse> getLinkSessions() {
return linkSessions;
}
public void setLinkSessions(List<LinkTokenGetSessionsResponse> linkSessions) {
this.linkSessions = linkSessions;
}
public LinkTokenGetResponse metadata(LinkTokenGetMetadataResponse metadata) {
this.metadata = metadata;
return this;
}
/**
* Get metadata
* @return metadata
**/
@ApiModelProperty(required = true, value = "")
public LinkTokenGetMetadataResponse getMetadata() {
return metadata;
}
public void setMetadata(LinkTokenGetMetadataResponse metadata) {
this.metadata = metadata;
}
public LinkTokenGetResponse 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;
}
public LinkTokenGetResponse 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;
}
LinkTokenGetResponse linkTokenGetResponse = (LinkTokenGetResponse) o;
return Objects.equals(this.linkToken, linkTokenGetResponse.linkToken) &&
Objects.equals(this.createdAt, linkTokenGetResponse.createdAt) &&
Objects.equals(this.expiration, linkTokenGetResponse.expiration) &&
Objects.equals(this.linkSessions, linkTokenGetResponse.linkSessions) &&
Objects.equals(this.metadata, linkTokenGetResponse.metadata) &&
Objects.equals(this.userId, linkTokenGetResponse.userId) &&
Objects.equals(this.requestId, linkTokenGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(linkToken, createdAt, expiration, linkSessions, metadata, userId, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkTokenGetResponse {\n");
sb.append(" linkToken: ").append(toIndentedString(linkToken)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" expiration: ").append(toIndentedString(expiration)).append("\n");
sb.append(" linkSessions: ").append(toIndentedString(linkSessions)).append("\n");
sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n");
sb.append(" userId: ").append(toIndentedString(userId)).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/PartyIndividual.java | src/main/java/com/plaid/client/model/PartyIndividual.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.IndividualName;
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 PartyIndividual {
public static final String SERIALIZED_NAME_N_A_M_E = "NAME";
@SerializedName(SERIALIZED_NAME_N_A_M_E)
private IndividualName NAME;
public PartyIndividual NAME(IndividualName NAME) {
this.NAME = NAME;
return this;
}
/**
* Get NAME
* @return NAME
**/
@ApiModelProperty(required = true, value = "")
public IndividualName getNAME() {
return NAME;
}
public void setNAME(IndividualName NAME) {
this.NAME = NAME;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PartyIndividual partyIndividual = (PartyIndividual) o;
return Objects.equals(this.NAME, partyIndividual.NAME);
}
@Override
public int hashCode() {
return Objects.hash(NAME);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PartyIndividual {\n");
sb.append(" NAME: ").append(toIndentedString(NAME)).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/CraCheckReportLendScoreGetResponse.java | src/main/java/com/plaid/client/model/CraCheckReportLendScoreGetResponse.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.CheckReportWarning;
import com.plaid.client.model.CraLendScoreReport;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* CraCheckReportLendScoreGetResponse defines the response schema for `/cra/check_report/lend_score/get`.
*/
@ApiModel(description = "CraCheckReportLendScoreGetResponse defines the response schema for `/cra/check_report/lend_score/get`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraCheckReportLendScoreGetResponse {
public static final String SERIALIZED_NAME_REPORT = "report";
@SerializedName(SERIALIZED_NAME_REPORT)
private CraLendScoreReport report;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public static final String SERIALIZED_NAME_WARNINGS = "warnings";
@SerializedName(SERIALIZED_NAME_WARNINGS)
private List<CheckReportWarning> warnings = null;
public CraCheckReportLendScoreGetResponse report(CraLendScoreReport report) {
this.report = report;
return this;
}
/**
* Get report
* @return report
**/
@ApiModelProperty(required = true, value = "")
public CraLendScoreReport getReport() {
return report;
}
public void setReport(CraLendScoreReport report) {
this.report = report;
}
public CraCheckReportLendScoreGetResponse 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 CraCheckReportLendScoreGetResponse warnings(List<CheckReportWarning> warnings) {
this.warnings = warnings;
return this;
}
public CraCheckReportLendScoreGetResponse addWarningsItem(CheckReportWarning warningsItem) {
if (this.warnings == null) {
this.warnings = new ArrayList<>();
}
this.warnings.add(warningsItem);
return this;
}
/**
* If the LendScore generation was successful but a subset of data could not be retrieved, this array will contain information about the errors causing information to be missing
* @return warnings
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "If the LendScore generation was successful but a subset of data could not be retrieved, this array will contain information about the errors causing information to be missing")
public List<CheckReportWarning> getWarnings() {
return warnings;
}
public void setWarnings(List<CheckReportWarning> warnings) {
this.warnings = warnings;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CraCheckReportLendScoreGetResponse craCheckReportLendScoreGetResponse = (CraCheckReportLendScoreGetResponse) o;
return Objects.equals(this.report, craCheckReportLendScoreGetResponse.report) &&
Objects.equals(this.requestId, craCheckReportLendScoreGetResponse.requestId) &&
Objects.equals(this.warnings, craCheckReportLendScoreGetResponse.warnings);
}
@Override
public int hashCode() {
return Objects.hash(report, requestId, warnings);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraCheckReportLendScoreGetResponse {\n");
sb.append(" report: ").append(toIndentedString(report)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append(" warnings: ").append(toIndentedString(warnings)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BaseReportAccount.java | src/main/java/com/plaid/client/model/BaseReportAccount.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.AccountSubtype;
import com.plaid.client.model.AccountType;
import com.plaid.client.model.BaseReportAccountBalances;
import com.plaid.client.model.BaseReportAccountInsights;
import com.plaid.client.model.BaseReportAccountMetadata;
import com.plaid.client.model.BaseReportAttributes;
import com.plaid.client.model.BaseReportHistoricalBalance;
import com.plaid.client.model.BaseReportTransaction;
import com.plaid.client.model.ConsumerDispute;
import com.plaid.client.model.Owner;
import com.plaid.client.model.OwnershipType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
/**
* Base Report information about an account
*/
@ApiModel(description = "Base Report information about an account")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BaseReportAccount {
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
private String accountId;
public static final String SERIALIZED_NAME_BALANCES = "balances";
@SerializedName(SERIALIZED_NAME_BALANCES)
private BaseReportAccountBalances balances;
public static final String SERIALIZED_NAME_CONSUMER_DISPUTES = "consumer_disputes";
@SerializedName(SERIALIZED_NAME_CONSUMER_DISPUTES)
private List<ConsumerDispute> consumerDisputes = new ArrayList<>();
public static final String SERIALIZED_NAME_MASK = "mask";
@SerializedName(SERIALIZED_NAME_MASK)
private String mask;
public static final String SERIALIZED_NAME_METADATA = "metadata";
@SerializedName(SERIALIZED_NAME_METADATA)
private BaseReportAccountMetadata metadata;
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public static final String SERIALIZED_NAME_OFFICIAL_NAME = "official_name";
@SerializedName(SERIALIZED_NAME_OFFICIAL_NAME)
private String officialName;
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private AccountType type;
public static final String SERIALIZED_NAME_SUBTYPE = "subtype";
@SerializedName(SERIALIZED_NAME_SUBTYPE)
private AccountSubtype subtype;
public static final String SERIALIZED_NAME_DAYS_AVAILABLE = "days_available";
@SerializedName(SERIALIZED_NAME_DAYS_AVAILABLE)
private Double daysAvailable;
public static final String SERIALIZED_NAME_TRANSACTIONS = "transactions";
@SerializedName(SERIALIZED_NAME_TRANSACTIONS)
private List<BaseReportTransaction> transactions = new ArrayList<>();
public static final String SERIALIZED_NAME_OWNERS = "owners";
@SerializedName(SERIALIZED_NAME_OWNERS)
private List<Owner> owners = new ArrayList<>();
public static final String SERIALIZED_NAME_OWNERSHIP_TYPE = "ownership_type";
@SerializedName(SERIALIZED_NAME_OWNERSHIP_TYPE)
private OwnershipType ownershipType;
public static final String SERIALIZED_NAME_HISTORICAL_BALANCES = "historical_balances";
@SerializedName(SERIALIZED_NAME_HISTORICAL_BALANCES)
private List<BaseReportHistoricalBalance> historicalBalances = null;
public static final String SERIALIZED_NAME_ACCOUNT_INSIGHTS = "account_insights";
@SerializedName(SERIALIZED_NAME_ACCOUNT_INSIGHTS)
private BaseReportAccountInsights accountInsights;
public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes";
@SerializedName(SERIALIZED_NAME_ATTRIBUTES)
private BaseReportAttributes attributes;
public BaseReportAccount accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* Plaid’s unique identifier for the account. This value will not change unless Plaid can't reconcile the account with the data returned by the financial institution. This may occur, for example, when the name of the account changes. If this happens a new `account_id` will be assigned to the account. If an account with a specific `account_id` disappears instead of changing, the account is likely closed. Closed accounts are not returned by the Plaid API. Like all Plaid identifiers, the `account_id` is case sensitive.
* @return accountId
**/
@ApiModelProperty(required = true, value = "Plaid’s unique identifier for the account. This value will not change unless Plaid can't reconcile the account with the data returned by the financial institution. This may occur, for example, when the name of the account changes. If this happens a new `account_id` will be assigned to the account. If an account with a specific `account_id` disappears instead of changing, the account is likely closed. Closed accounts are not returned by the Plaid API. Like all Plaid identifiers, the `account_id` is case sensitive.")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public BaseReportAccount balances(BaseReportAccountBalances balances) {
this.balances = balances;
return this;
}
/**
* Get balances
* @return balances
**/
@ApiModelProperty(required = true, value = "")
public BaseReportAccountBalances getBalances() {
return balances;
}
public void setBalances(BaseReportAccountBalances balances) {
this.balances = balances;
}
public BaseReportAccount consumerDisputes(List<ConsumerDispute> consumerDisputes) {
this.consumerDisputes = consumerDisputes;
return this;
}
public BaseReportAccount addConsumerDisputesItem(ConsumerDispute consumerDisputesItem) {
this.consumerDisputes.add(consumerDisputesItem);
return this;
}
/**
* The information about previously submitted valid dispute statements by the consumer
* @return consumerDisputes
**/
@ApiModelProperty(required = true, value = "The information about previously submitted valid dispute statements by the consumer")
public List<ConsumerDispute> getConsumerDisputes() {
return consumerDisputes;
}
public void setConsumerDisputes(List<ConsumerDispute> consumerDisputes) {
this.consumerDisputes = consumerDisputes;
}
public BaseReportAccount mask(String mask) {
this.mask = mask;
return this;
}
/**
* The last 2-4 alphanumeric characters of an account's official account number. Note that the mask may be non-unique between an Item's accounts, and it may also not match the mask that the bank displays to the user.
* @return mask
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The last 2-4 alphanumeric characters of an account's official account number. Note that the mask may be non-unique between an Item's accounts, and it may also not match the mask that the bank displays to the user.")
public String getMask() {
return mask;
}
public void setMask(String mask) {
this.mask = mask;
}
public BaseReportAccount metadata(BaseReportAccountMetadata metadata) {
this.metadata = metadata;
return this;
}
/**
* Get metadata
* @return metadata
**/
@ApiModelProperty(required = true, value = "")
public BaseReportAccountMetadata getMetadata() {
return metadata;
}
public void setMetadata(BaseReportAccountMetadata metadata) {
this.metadata = metadata;
}
public BaseReportAccount name(String name) {
this.name = name;
return this;
}
/**
* The name of the account, either assigned by the user or by the financial institution itself
* @return name
**/
@ApiModelProperty(required = true, value = "The name of the account, either assigned by the user or by the financial institution itself")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public BaseReportAccount officialName(String officialName) {
this.officialName = officialName;
return this;
}
/**
* The official name of the account as given by the financial institution
* @return officialName
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The official name of the account as given by the financial institution")
public String getOfficialName() {
return officialName;
}
public void setOfficialName(String officialName) {
this.officialName = officialName;
}
public BaseReportAccount type(AccountType type) {
this.type = type;
return this;
}
/**
* Get type
* @return type
**/
@ApiModelProperty(required = true, value = "")
public AccountType getType() {
return type;
}
public void setType(AccountType type) {
this.type = type;
}
public BaseReportAccount subtype(AccountSubtype subtype) {
this.subtype = subtype;
return this;
}
/**
* Get subtype
* @return subtype
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public AccountSubtype getSubtype() {
return subtype;
}
public void setSubtype(AccountSubtype subtype) {
this.subtype = subtype;
}
public BaseReportAccount daysAvailable(Double daysAvailable) {
this.daysAvailable = daysAvailable;
return this;
}
/**
* The duration of transaction history available within this report for this Item, typically defined as the time since the date of the earliest transaction in that account.
* @return daysAvailable
**/
@ApiModelProperty(required = true, value = "The duration of transaction history available within this report for this Item, typically defined as the time since the date of the earliest transaction in that account.")
public Double getDaysAvailable() {
return daysAvailable;
}
public void setDaysAvailable(Double daysAvailable) {
this.daysAvailable = daysAvailable;
}
public BaseReportAccount transactions(List<BaseReportTransaction> transactions) {
this.transactions = transactions;
return this;
}
public BaseReportAccount addTransactionsItem(BaseReportTransaction transactionsItem) {
this.transactions.add(transactionsItem);
return this;
}
/**
* Transaction history associated with the account. Transaction history returned by endpoints such as `/transactions/get` or `/investments/transactions/get` will be returned in the top-level `transactions` field instead. Some transactions may have their details masked in accordance to FCRA.
* @return transactions
**/
@ApiModelProperty(required = true, value = "Transaction history associated with the account. Transaction history returned by endpoints such as `/transactions/get` or `/investments/transactions/get` will be returned in the top-level `transactions` field instead. Some transactions may have their details masked in accordance to FCRA.")
public List<BaseReportTransaction> getTransactions() {
return transactions;
}
public void setTransactions(List<BaseReportTransaction> transactions) {
this.transactions = transactions;
}
public BaseReportAccount owners(List<Owner> owners) {
this.owners = owners;
return this;
}
public BaseReportAccount addOwnersItem(Owner ownersItem) {
this.owners.add(ownersItem);
return this;
}
/**
* Data returned by the financial institution about the account owner or owners. For business accounts, the name reported may be either the name of the individual or the name of the business, depending on the institution. Multiple owners on a single account will be represented in the same `owner` object, not in multiple owner objects within the array. This array can also be empty if no owners are found.
* @return owners
**/
@ApiModelProperty(required = true, value = "Data returned by the financial institution about the account owner or owners. For business accounts, the name reported may be either the name of the individual or the name of the business, depending on the institution. Multiple owners on a single account will be represented in the same `owner` object, not in multiple owner objects within the array. This array can also be empty if no owners are found.")
public List<Owner> getOwners() {
return owners;
}
public void setOwners(List<Owner> owners) {
this.owners = owners;
}
public BaseReportAccount ownershipType(OwnershipType ownershipType) {
this.ownershipType = ownershipType;
return this;
}
/**
* Get ownershipType
* @return ownershipType
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public OwnershipType getOwnershipType() {
return ownershipType;
}
public void setOwnershipType(OwnershipType ownershipType) {
this.ownershipType = ownershipType;
}
public BaseReportAccount historicalBalances(List<BaseReportHistoricalBalance> historicalBalances) {
this.historicalBalances = historicalBalances;
return this;
}
public BaseReportAccount addHistoricalBalancesItem(BaseReportHistoricalBalance historicalBalancesItem) {
if (this.historicalBalances == null) {
this.historicalBalances = new ArrayList<>();
}
this.historicalBalances.add(historicalBalancesItem);
return this;
}
/**
* Calculated data about the historical balances on the account. Currently not supported by `brokerage` or `investment` accounts.
* @return historicalBalances
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Calculated data about the historical balances on the account. Currently not supported by `brokerage` or `investment` accounts.")
public List<BaseReportHistoricalBalance> getHistoricalBalances() {
return historicalBalances;
}
public void setHistoricalBalances(List<BaseReportHistoricalBalance> historicalBalances) {
this.historicalBalances = historicalBalances;
}
public BaseReportAccount accountInsights(BaseReportAccountInsights accountInsights) {
this.accountInsights = accountInsights;
return this;
}
/**
* Get accountInsights
* @return accountInsights
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public BaseReportAccountInsights getAccountInsights() {
return accountInsights;
}
public void setAccountInsights(BaseReportAccountInsights accountInsights) {
this.accountInsights = accountInsights;
}
public BaseReportAccount attributes(BaseReportAttributes attributes) {
this.attributes = attributes;
return this;
}
/**
* Get attributes
* @return attributes
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public BaseReportAttributes getAttributes() {
return attributes;
}
public void setAttributes(BaseReportAttributes attributes) {
this.attributes = attributes;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BaseReportAccount baseReportAccount = (BaseReportAccount) o;
return Objects.equals(this.accountId, baseReportAccount.accountId) &&
Objects.equals(this.balances, baseReportAccount.balances) &&
Objects.equals(this.consumerDisputes, baseReportAccount.consumerDisputes) &&
Objects.equals(this.mask, baseReportAccount.mask) &&
Objects.equals(this.metadata, baseReportAccount.metadata) &&
Objects.equals(this.name, baseReportAccount.name) &&
Objects.equals(this.officialName, baseReportAccount.officialName) &&
Objects.equals(this.type, baseReportAccount.type) &&
Objects.equals(this.subtype, baseReportAccount.subtype) &&
Objects.equals(this.daysAvailable, baseReportAccount.daysAvailable) &&
Objects.equals(this.transactions, baseReportAccount.transactions) &&
Objects.equals(this.owners, baseReportAccount.owners) &&
Objects.equals(this.ownershipType, baseReportAccount.ownershipType) &&
Objects.equals(this.historicalBalances, baseReportAccount.historicalBalances) &&
Objects.equals(this.accountInsights, baseReportAccount.accountInsights) &&
Objects.equals(this.attributes, baseReportAccount.attributes);
}
@Override
public int hashCode() {
return Objects.hash(accountId, balances, consumerDisputes, mask, metadata, name, officialName, type, subtype, daysAvailable, transactions, owners, ownershipType, historicalBalances, accountInsights, attributes);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BaseReportAccount {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" balances: ").append(toIndentedString(balances)).append("\n");
sb.append(" consumerDisputes: ").append(toIndentedString(consumerDisputes)).append("\n");
sb.append(" mask: ").append(toIndentedString(mask)).append("\n");
sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" officialName: ").append(toIndentedString(officialName)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" subtype: ").append(toIndentedString(subtype)).append("\n");
sb.append(" daysAvailable: ").append(toIndentedString(daysAvailable)).append("\n");
sb.append(" transactions: ").append(toIndentedString(transactions)).append("\n");
sb.append(" owners: ").append(toIndentedString(owners)).append("\n");
sb.append(" ownershipType: ").append(toIndentedString(ownershipType)).append("\n");
sb.append(" historicalBalances: ").append(toIndentedString(historicalBalances)).append("\n");
sb.append(" accountInsights: ").append(toIndentedString(accountInsights)).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/TransferSweepGetRequest.java | src/main/java/com/plaid/client/model/TransferSweepGetRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines the request schema for `/transfer/sweep/get`
*/
@ApiModel(description = "Defines the request schema for `/transfer/sweep/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferSweepGetRequest {
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_SWEEP_ID = "sweep_id";
@SerializedName(SERIALIZED_NAME_SWEEP_ID)
private String sweepId;
public TransferSweepGetRequest 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 TransferSweepGetRequest 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 TransferSweepGetRequest sweepId(String sweepId) {
this.sweepId = sweepId;
return this;
}
/**
* Plaid's unique identifier for the sweep (UUID) or a shortened form consisting of the first 8 characters of the identifier (8-digit hexadecimal string).
* @return sweepId
**/
@ApiModelProperty(required = true, value = "Plaid's unique identifier for the sweep (UUID) or a shortened form consisting of the first 8 characters of the identifier (8-digit hexadecimal string).")
public String getSweepId() {
return sweepId;
}
public void setSweepId(String sweepId) {
this.sweepId = sweepId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferSweepGetRequest transferSweepGetRequest = (TransferSweepGetRequest) o;
return Objects.equals(this.clientId, transferSweepGetRequest.clientId) &&
Objects.equals(this.secret, transferSweepGetRequest.secret) &&
Objects.equals(this.sweepId, transferSweepGetRequest.sweepId);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, sweepId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferSweepGetRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" sweepId: ").append(toIndentedString(sweepId)).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/PartnerEndCustomerOAuthInstitutionApplicationStatus.java | src/main/java/com/plaid/client/model/PartnerEndCustomerOAuthInstitutionApplicationStatus.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 registration status for the end customer's application.
*/
@JsonAdapter(PartnerEndCustomerOAuthInstitutionApplicationStatus.Adapter.class)
public enum PartnerEndCustomerOAuthInstitutionApplicationStatus {
NOT_STARTED("NOT_STARTED"),
PROCESSING("PROCESSING"),
APPROVED("APPROVED"),
ENABLED("ENABLED"),
ATTENTION_REQUIRED("ATTENTION_REQUIRED"),
// 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;
PartnerEndCustomerOAuthInstitutionApplicationStatus(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static PartnerEndCustomerOAuthInstitutionApplicationStatus fromValue(String value) {
for (PartnerEndCustomerOAuthInstitutionApplicationStatus b : PartnerEndCustomerOAuthInstitutionApplicationStatus.values()) {
if (b.value.equals(value)) {
return b;
}
}
return PartnerEndCustomerOAuthInstitutionApplicationStatus.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<PartnerEndCustomerOAuthInstitutionApplicationStatus> {
@Override
public void write(final JsonWriter jsonWriter, final PartnerEndCustomerOAuthInstitutionApplicationStatus enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public PartnerEndCustomerOAuthInstitutionApplicationStatus read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return PartnerEndCustomerOAuthInstitutionApplicationStatus.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/PaymentConsentValidDateTime.java | src/main/java/com/plaid/client/model/PaymentConsentValidDateTime.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;
/**
* Life span for the payment consent. After the `to` date the payment consent expires and can no longer be used for payment initiation.
*/
@ApiModel(description = "Life span for the payment consent. After the `to` date the payment consent expires and can no longer be used for payment initiation.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PaymentConsentValidDateTime {
public static final String SERIALIZED_NAME_FROM = "from";
@SerializedName(SERIALIZED_NAME_FROM)
private OffsetDateTime from;
public static final String SERIALIZED_NAME_TO = "to";
@SerializedName(SERIALIZED_NAME_TO)
private OffsetDateTime to;
public PaymentConsentValidDateTime from(OffsetDateTime from) {
this.from = from;
return this;
}
/**
* The date and time from which the consent should be active, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
* @return from
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The date and time from which the consent should be active, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.")
public OffsetDateTime getFrom() {
return from;
}
public void setFrom(OffsetDateTime from) {
this.from = from;
}
public PaymentConsentValidDateTime to(OffsetDateTime to) {
this.to = to;
return this;
}
/**
* The date and time at which the consent expires, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
* @return to
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The date and time at which the consent expires, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.")
public OffsetDateTime getTo() {
return to;
}
public void setTo(OffsetDateTime to) {
this.to = to;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PaymentConsentValidDateTime paymentConsentValidDateTime = (PaymentConsentValidDateTime) o;
return Objects.equals(this.from, paymentConsentValidDateTime.from) &&
Objects.equals(this.to, paymentConsentValidDateTime.to);
}
@Override
public int hashCode() {
return Objects.hash(from, to);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaymentConsentValidDateTime {\n");
sb.append(" from: ").append(toIndentedString(from)).append("\n");
sb.append(" to: ").append(toIndentedString(to)).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/BeaconReportSyndicationListRequest.java | src/main/java/com/plaid/client/model/BeaconReportSyndicationListRequest.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;
/**
* Request input for listing Beacon Report Syndications
*/
@ApiModel(description = "Request input for listing Beacon Report Syndications")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BeaconReportSyndicationListRequest {
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_CURSOR = "cursor";
@SerializedName(SERIALIZED_NAME_CURSOR)
private String cursor;
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 BeaconReportSyndicationListRequest beaconUserId(String beaconUserId) {
this.beaconUserId = beaconUserId;
return this;
}
/**
* ID of the associated Beacon User.
* @return beaconUserId
**/
@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 BeaconReportSyndicationListRequest cursor(String cursor) {
this.cursor = cursor;
return this;
}
/**
* An identifier that determines which page of results you receive.
* @return cursor
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "eyJkaXJlY3Rpb24iOiJuZXh0Iiwib2Zmc2V0IjoiMTU5NDM", value = "An identifier that determines which page of results you receive.")
public String getCursor() {
return cursor;
}
public void setCursor(String cursor) {
this.cursor = cursor;
}
public BeaconReportSyndicationListRequest 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 BeaconReportSyndicationListRequest secret(String secret) {
this.secret = secret;
return this;
}
/**
* Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.
* @return secret
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.")
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BeaconReportSyndicationListRequest beaconReportSyndicationListRequest = (BeaconReportSyndicationListRequest) o;
return Objects.equals(this.beaconUserId, beaconReportSyndicationListRequest.beaconUserId) &&
Objects.equals(this.cursor, beaconReportSyndicationListRequest.cursor) &&
Objects.equals(this.clientId, beaconReportSyndicationListRequest.clientId) &&
Objects.equals(this.secret, beaconReportSyndicationListRequest.secret);
}
@Override
public int hashCode() {
return Objects.hash(beaconUserId, cursor, clientId, secret);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BeaconReportSyndicationListRequest {\n");
sb.append(" beaconUserId: ").append(toIndentedString(beaconUserId)).append("\n");
sb.append(" cursor: ").append(toIndentedString(cursor)).append("\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TotalOutflowAmount30d.java | src/main/java/com/plaid/client/model/TotalOutflowAmount30d.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.math.BigDecimal;
/**
* Total amount of credit transactions into the account in the last 30 days. This field will be empty for non-depository accounts. This field only takes into account USD transactions from the account.
*/
@ApiModel(description = "Total amount of credit transactions into the account in the last 30 days. This field will be empty for non-depository accounts. This field only takes into account USD transactions from the account.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TotalOutflowAmount30d {
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 TotalOutflowAmount30d amount(Double amount) {
this.amount = amount;
return this;
}
/**
* Value of amount with up to 2 decimal places.
* @return amount
**/
@ApiModelProperty(required = true, value = "Value of amount with up to 2 decimal places.")
public Double getAmount() {
return amount;
}
public void setAmount(Double amount) {
this.amount = amount;
}
public TotalOutflowAmount30d isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The ISO 4217 currency code of the amount or balance.
* @return isoCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The ISO 4217 currency code of the amount or balance.")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public TotalOutflowAmount30d unofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
return this;
}
/**
* The unofficial currency code associated with the amount or balance. Always `null` if `iso_currency_code` is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.
* @return unofficialCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The unofficial currency code associated with the amount or balance. Always `null` if `iso_currency_code` is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.")
public String getUnofficialCurrencyCode() {
return unofficialCurrencyCode;
}
public void setUnofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TotalOutflowAmount30d totalOutflowAmount30d = (TotalOutflowAmount30d) o;
return Objects.equals(this.amount, totalOutflowAmount30d.amount) &&
Objects.equals(this.isoCurrencyCode, totalOutflowAmount30d.isoCurrencyCode) &&
Objects.equals(this.unofficialCurrencyCode, totalOutflowAmount30d.unofficialCurrencyCode);
}
@Override
public int hashCode() {
return Objects.hash(amount, isoCurrencyCode, unofficialCurrencyCode);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TotalOutflowAmount30d {\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" unofficialCurrencyCode: ").append(toIndentedString(unofficialCurrencyCode)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/InvestmentsAuth401kFeeDetails.java | src/main/java/com/plaid/client/model/InvestmentsAuth401kFeeDetails.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;
/**
* Object containing information on account fee transactions for the 401k account.
*/
@ApiModel(description = "Object containing information on account fee transactions for the 401k account.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class InvestmentsAuth401kFeeDetails {
public static final String SERIALIZED_NAME_ACCOUNT_FEE_COUNT12M = "account_fee_count_12m";
@SerializedName(SERIALIZED_NAME_ACCOUNT_FEE_COUNT12M)
private Integer accountFeeCount12m;
public static final String SERIALIZED_NAME_ACCOUNT_FEE_AMOUNT12M = "account_fee_amount_12m";
@SerializedName(SERIALIZED_NAME_ACCOUNT_FEE_AMOUNT12M)
private Float accountFeeAmount12m;
public InvestmentsAuth401kFeeDetails accountFeeCount12m(Integer accountFeeCount12m) {
this.accountFeeCount12m = accountFeeCount12m;
return this;
}
/**
* Number of account fee transactions on this account, for the past 12 months.
* @return accountFeeCount12m
**/
@ApiModelProperty(required = true, value = "Number of account fee transactions on this account, for the past 12 months.")
public Integer getAccountFeeCount12m() {
return accountFeeCount12m;
}
public void setAccountFeeCount12m(Integer accountFeeCount12m) {
this.accountFeeCount12m = accountFeeCount12m;
}
public InvestmentsAuth401kFeeDetails accountFeeAmount12m(Float accountFeeAmount12m) {
this.accountFeeAmount12m = accountFeeAmount12m;
return this;
}
/**
* Sum of account fee transactions on this account, for the past 12 months.
* @return accountFeeAmount12m
**/
@ApiModelProperty(required = true, value = "Sum of account fee transactions on this account, for the past 12 months.")
public Float getAccountFeeAmount12m() {
return accountFeeAmount12m;
}
public void setAccountFeeAmount12m(Float accountFeeAmount12m) {
this.accountFeeAmount12m = accountFeeAmount12m;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
InvestmentsAuth401kFeeDetails investmentsAuth401kFeeDetails = (InvestmentsAuth401kFeeDetails) o;
return Objects.equals(this.accountFeeCount12m, investmentsAuth401kFeeDetails.accountFeeCount12m) &&
Objects.equals(this.accountFeeAmount12m, investmentsAuth401kFeeDetails.accountFeeAmount12m);
}
@Override
public int hashCode() {
return Objects.hash(accountFeeCount12m, accountFeeAmount12m);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class InvestmentsAuth401kFeeDetails {\n");
sb.append(" accountFeeCount12m: ").append(toIndentedString(accountFeeCount12m)).append("\n");
sb.append(" accountFeeAmount12m: ").append(toIndentedString(accountFeeAmount12m)).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/PayStubPayPeriodDetails.java | src/main/java/com/plaid/client/model/PayStubPayPeriodDetails.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.CreditPayStubPayBasisType;
import com.plaid.client.model.PayStubDistributionBreakdown;
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;
/**
* Details about the pay period.
*/
@ApiModel(description = "Details about the pay period.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PayStubPayPeriodDetails {
public static final String SERIALIZED_NAME_PAY_AMOUNT = "pay_amount";
@SerializedName(SERIALIZED_NAME_PAY_AMOUNT)
private Double payAmount;
public static final String SERIALIZED_NAME_DISTRIBUTION_BREAKDOWN = "distribution_breakdown";
@SerializedName(SERIALIZED_NAME_DISTRIBUTION_BREAKDOWN)
private List<PayStubDistributionBreakdown> distributionBreakdown = new ArrayList<>();
public static final String SERIALIZED_NAME_END_DATE = "end_date";
@SerializedName(SERIALIZED_NAME_END_DATE)
private LocalDate endDate;
public static final String SERIALIZED_NAME_GROSS_EARNINGS = "gross_earnings";
@SerializedName(SERIALIZED_NAME_GROSS_EARNINGS)
private Double grossEarnings;
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_PAY_DATE = "pay_date";
@SerializedName(SERIALIZED_NAME_PAY_DATE)
private LocalDate payDate;
public static final String SERIALIZED_NAME_PAY_FREQUENCY = "pay_frequency";
@SerializedName(SERIALIZED_NAME_PAY_FREQUENCY)
private String payFrequency;
public static final String SERIALIZED_NAME_PAY_BASIS = "pay_basis";
@SerializedName(SERIALIZED_NAME_PAY_BASIS)
private CreditPayStubPayBasisType payBasis;
public static final String SERIALIZED_NAME_START_DATE = "start_date";
@SerializedName(SERIALIZED_NAME_START_DATE)
private LocalDate startDate;
public static final String SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE = "unofficial_currency_code";
@SerializedName(SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE)
private String unofficialCurrencyCode;
public PayStubPayPeriodDetails payAmount(Double payAmount) {
this.payAmount = payAmount;
return this;
}
/**
* The amount of the paycheck.
* @return payAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The amount of the paycheck.")
public Double getPayAmount() {
return payAmount;
}
public void setPayAmount(Double payAmount) {
this.payAmount = payAmount;
}
public PayStubPayPeriodDetails distributionBreakdown(List<PayStubDistributionBreakdown> distributionBreakdown) {
this.distributionBreakdown = distributionBreakdown;
return this;
}
public PayStubPayPeriodDetails addDistributionBreakdownItem(PayStubDistributionBreakdown distributionBreakdownItem) {
this.distributionBreakdown.add(distributionBreakdownItem);
return this;
}
/**
* Get distributionBreakdown
* @return distributionBreakdown
**/
@ApiModelProperty(required = true, value = "")
public List<PayStubDistributionBreakdown> getDistributionBreakdown() {
return distributionBreakdown;
}
public void setDistributionBreakdown(List<PayStubDistributionBreakdown> distributionBreakdown) {
this.distributionBreakdown = distributionBreakdown;
}
public PayStubPayPeriodDetails endDate(LocalDate endDate) {
this.endDate = endDate;
return this;
}
/**
* The date on which the pay period ended, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (\"yyyy-mm-dd\").
* @return endDate
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The date on which the pay period ended, 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;
}
public PayStubPayPeriodDetails grossEarnings(Double grossEarnings) {
this.grossEarnings = grossEarnings;
return this;
}
/**
* Total earnings before tax/deductions.
* @return grossEarnings
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "Total earnings before tax/deductions.")
public Double getGrossEarnings() {
return grossEarnings;
}
public void setGrossEarnings(Double grossEarnings) {
this.grossEarnings = grossEarnings;
}
public PayStubPayPeriodDetails isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The ISO-4217 currency code of the net pay. 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 net pay. Always `null` if `unofficial_currency_code` is non-null.")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public PayStubPayPeriodDetails payDate(LocalDate payDate) {
this.payDate = payDate;
return this;
}
/**
* The date on which the pay stub was issued, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (\"yyyy-mm-dd\").
* @return payDate
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The date on which the pay stub was issued, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (\"yyyy-mm-dd\").")
public LocalDate getPayDate() {
return payDate;
}
public void setPayDate(LocalDate payDate) {
this.payDate = payDate;
}
public PayStubPayPeriodDetails payFrequency(String payFrequency) {
this.payFrequency = payFrequency;
return this;
}
/**
* The frequency at which an individual is paid.
* @return payFrequency
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The frequency at which an individual is paid.")
public String getPayFrequency() {
return payFrequency;
}
public void setPayFrequency(String payFrequency) {
this.payFrequency = payFrequency;
}
public PayStubPayPeriodDetails payBasis(CreditPayStubPayBasisType payBasis) {
this.payBasis = payBasis;
return this;
}
/**
* Get payBasis
* @return payBasis
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public CreditPayStubPayBasisType getPayBasis() {
return payBasis;
}
public void setPayBasis(CreditPayStubPayBasisType payBasis) {
this.payBasis = payBasis;
}
public PayStubPayPeriodDetails startDate(LocalDate startDate) {
this.startDate = startDate;
return this;
}
/**
* The date on which the pay period started, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (\"yyyy-mm-dd\").
* @return startDate
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The date on which the pay period started, 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 PayStubPayPeriodDetails unofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
return this;
}
/**
* The unofficial currency code associated with the net pay. Always `null` if `iso_currency_code` is non-`null`. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `iso_currency_code`s.
* @return unofficialCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The unofficial currency code associated with the net pay. Always `null` if `iso_currency_code` is non-`null`. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `iso_currency_code`s.")
public String getUnofficialCurrencyCode() {
return unofficialCurrencyCode;
}
public void setUnofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PayStubPayPeriodDetails payStubPayPeriodDetails = (PayStubPayPeriodDetails) o;
return Objects.equals(this.payAmount, payStubPayPeriodDetails.payAmount) &&
Objects.equals(this.distributionBreakdown, payStubPayPeriodDetails.distributionBreakdown) &&
Objects.equals(this.endDate, payStubPayPeriodDetails.endDate) &&
Objects.equals(this.grossEarnings, payStubPayPeriodDetails.grossEarnings) &&
Objects.equals(this.isoCurrencyCode, payStubPayPeriodDetails.isoCurrencyCode) &&
Objects.equals(this.payDate, payStubPayPeriodDetails.payDate) &&
Objects.equals(this.payFrequency, payStubPayPeriodDetails.payFrequency) &&
Objects.equals(this.payBasis, payStubPayPeriodDetails.payBasis) &&
Objects.equals(this.startDate, payStubPayPeriodDetails.startDate) &&
Objects.equals(this.unofficialCurrencyCode, payStubPayPeriodDetails.unofficialCurrencyCode);
}
@Override
public int hashCode() {
return Objects.hash(payAmount, distributionBreakdown, endDate, grossEarnings, isoCurrencyCode, payDate, payFrequency, payBasis, startDate, unofficialCurrencyCode);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PayStubPayPeriodDetails {\n");
sb.append(" payAmount: ").append(toIndentedString(payAmount)).append("\n");
sb.append(" distributionBreakdown: ").append(toIndentedString(distributionBreakdown)).append("\n");
sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n");
sb.append(" grossEarnings: ").append(toIndentedString(grossEarnings)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" payDate: ").append(toIndentedString(payDate)).append("\n");
sb.append(" payFrequency: ").append(toIndentedString(payFrequency)).append("\n");
sb.append(" payBasis: ").append(toIndentedString(payBasis)).append("\n");
sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n");
sb.append(" unofficialCurrencyCode: ").append(toIndentedString(unofficialCurrencyCode)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BankIncomeCompleteResult.java | src/main/java/com/plaid/client/model/BankIncomeCompleteResult.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 `/credit/bank_income/get`. `FAILURE`: The bank income report failed to be generated
*/
@JsonAdapter(BankIncomeCompleteResult.Adapter.class)
public enum BankIncomeCompleteResult {
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;
BankIncomeCompleteResult(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static BankIncomeCompleteResult fromValue(String value) {
for (BankIncomeCompleteResult b : BankIncomeCompleteResult.values()) {
if (b.value.equals(value)) {
return b;
}
}
return BankIncomeCompleteResult.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<BankIncomeCompleteResult> {
@Override
public void write(final JsonWriter jsonWriter, final BankIncomeCompleteResult enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public BankIncomeCompleteResult read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return BankIncomeCompleteResult.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/ValidationSource.java | src/main/java/com/plaid/client/model/ValidationSource.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 ValidationSource {
public static final String SERIALIZED_NAME_VALIDATION_SOURCE_NAME = "ValidationSourceName";
@SerializedName(SERIALIZED_NAME_VALIDATION_SOURCE_NAME)
private String validationSourceName;
public static final String SERIALIZED_NAME_VALIDATION_SOURCE_REFERENCE_IDENTIFIER = "ValidationSourceReferenceIdentifier";
@SerializedName(SERIALIZED_NAME_VALIDATION_SOURCE_REFERENCE_IDENTIFIER)
private String validationSourceReferenceIdentifier;
public ValidationSource validationSourceName(String validationSourceName) {
this.validationSourceName = validationSourceName;
return this;
}
/**
* Documentation not found in the MISMO model viewer and not provided by Freddie Mac.
* @return validationSourceName
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "Documentation not found in the MISMO model viewer and not provided by Freddie Mac.")
public String getValidationSourceName() {
return validationSourceName;
}
public void setValidationSourceName(String validationSourceName) {
this.validationSourceName = validationSourceName;
}
public ValidationSource validationSourceReferenceIdentifier(String validationSourceReferenceIdentifier) {
this.validationSourceReferenceIdentifier = validationSourceReferenceIdentifier;
return this;
}
/**
* Documentation not found in the MISMO model viewer and not provided by Freddie Mac.
* @return validationSourceReferenceIdentifier
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "Documentation not found in the MISMO model viewer and not provided by Freddie Mac.")
public String getValidationSourceReferenceIdentifier() {
return validationSourceReferenceIdentifier;
}
public void setValidationSourceReferenceIdentifier(String validationSourceReferenceIdentifier) {
this.validationSourceReferenceIdentifier = validationSourceReferenceIdentifier;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ValidationSource validationSource = (ValidationSource) o;
return Objects.equals(this.validationSourceName, validationSource.validationSourceName) &&
Objects.equals(this.validationSourceReferenceIdentifier, validationSource.validationSourceReferenceIdentifier);
}
@Override
public int hashCode() {
return Objects.hash(validationSourceName, validationSourceReferenceIdentifier);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ValidationSource {\n");
sb.append(" validationSourceName: ").append(toIndentedString(validationSourceName)).append("\n");
sb.append(" validationSourceReferenceIdentifier: ").append(toIndentedString(validationSourceReferenceIdentifier)).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/IndividualWatchlistProgram.java | src/main/java/com/plaid/client/model/IndividualWatchlistProgram.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.IndividualWatchlistCode;
import com.plaid.client.model.ProgramNameSensitivity;
import com.plaid.client.model.WatchlistScreeningAuditTrail;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
/**
* A program that configures the active lists, search parameters, and other behavior for initial and ongoing screening of individuals.
*/
@ApiModel(description = "A program that configures the active lists, search parameters, and other behavior for initial and ongoing screening of individuals.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class IndividualWatchlistProgram {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
public static final String SERIALIZED_NAME_CREATED_AT = "created_at";
@SerializedName(SERIALIZED_NAME_CREATED_AT)
private java.sql.Timestamp createdAt;
public static final String SERIALIZED_NAME_IS_RESCANNING_ENABLED = "is_rescanning_enabled";
@SerializedName(SERIALIZED_NAME_IS_RESCANNING_ENABLED)
private Boolean isRescanningEnabled;
public static final String SERIALIZED_NAME_LISTS_ENABLED = "lists_enabled";
@SerializedName(SERIALIZED_NAME_LISTS_ENABLED)
private Set<IndividualWatchlistCode> listsEnabled = new LinkedHashSet<>();
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public static final String SERIALIZED_NAME_NAME_SENSITIVITY = "name_sensitivity";
@SerializedName(SERIALIZED_NAME_NAME_SENSITIVITY)
private ProgramNameSensitivity nameSensitivity;
public static final String SERIALIZED_NAME_AUDIT_TRAIL = "audit_trail";
@SerializedName(SERIALIZED_NAME_AUDIT_TRAIL)
private WatchlistScreeningAuditTrail auditTrail;
public static final String SERIALIZED_NAME_IS_ARCHIVED = "is_archived";
@SerializedName(SERIALIZED_NAME_IS_ARCHIVED)
private Boolean isArchived;
public IndividualWatchlistProgram id(String id) {
this.id = id;
return this;
}
/**
* ID of the associated program.
* @return id
**/
@ApiModelProperty(example = "prg_2eRPsDnL66rZ7H", required = true, value = "ID of the associated program.")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public IndividualWatchlistProgram 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 IndividualWatchlistProgram isRescanningEnabled(Boolean isRescanningEnabled) {
this.isRescanningEnabled = isRescanningEnabled;
return this;
}
/**
* Indicator specifying whether the program is enabled and will perform daily rescans.
* @return isRescanningEnabled
**/
@ApiModelProperty(example = "true", required = true, value = "Indicator specifying whether the program is enabled and will perform daily rescans.")
public Boolean getIsRescanningEnabled() {
return isRescanningEnabled;
}
public void setIsRescanningEnabled(Boolean isRescanningEnabled) {
this.isRescanningEnabled = isRescanningEnabled;
}
public IndividualWatchlistProgram listsEnabled(Set<IndividualWatchlistCode> listsEnabled) {
this.listsEnabled = listsEnabled;
return this;
}
public IndividualWatchlistProgram addListsEnabledItem(IndividualWatchlistCode listsEnabledItem) {
this.listsEnabled.add(listsEnabledItem);
return this;
}
/**
* Watchlists enabled for the associated program
* @return listsEnabled
**/
@ApiModelProperty(example = "[\"US_SDN\"]", required = true, value = "Watchlists enabled for the associated program")
public Set<IndividualWatchlistCode> getListsEnabled() {
return listsEnabled;
}
public void setListsEnabled(Set<IndividualWatchlistCode> listsEnabled) {
this.listsEnabled = listsEnabled;
}
public IndividualWatchlistProgram name(String name) {
this.name = name;
return this;
}
/**
* A name for the program to define its purpose. For example, \"High Risk Individuals\", \"US Cardholders\", or \"Applicants\".
* @return name
**/
@ApiModelProperty(example = "Sample Program", required = true, value = "A name for the program to define its purpose. For example, \"High Risk Individuals\", \"US Cardholders\", or \"Applicants\".")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public IndividualWatchlistProgram nameSensitivity(ProgramNameSensitivity nameSensitivity) {
this.nameSensitivity = nameSensitivity;
return this;
}
/**
* Get nameSensitivity
* @return nameSensitivity
**/
@ApiModelProperty(required = true, value = "")
public ProgramNameSensitivity getNameSensitivity() {
return nameSensitivity;
}
public void setNameSensitivity(ProgramNameSensitivity nameSensitivity) {
this.nameSensitivity = nameSensitivity;
}
public IndividualWatchlistProgram 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 IndividualWatchlistProgram isArchived(Boolean isArchived) {
this.isArchived = isArchived;
return this;
}
/**
* Archived programs are read-only and cannot screen new customers nor participate in ongoing monitoring.
* @return isArchived
**/
@ApiModelProperty(example = "false", required = true, value = "Archived programs are read-only and cannot screen new customers nor participate in ongoing monitoring.")
public Boolean getIsArchived() {
return isArchived;
}
public void setIsArchived(Boolean isArchived) {
this.isArchived = isArchived;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
IndividualWatchlistProgram individualWatchlistProgram = (IndividualWatchlistProgram) o;
return Objects.equals(this.id, individualWatchlistProgram.id) &&
Objects.equals(this.createdAt, individualWatchlistProgram.createdAt) &&
Objects.equals(this.isRescanningEnabled, individualWatchlistProgram.isRescanningEnabled) &&
Objects.equals(this.listsEnabled, individualWatchlistProgram.listsEnabled) &&
Objects.equals(this.name, individualWatchlistProgram.name) &&
Objects.equals(this.nameSensitivity, individualWatchlistProgram.nameSensitivity) &&
Objects.equals(this.auditTrail, individualWatchlistProgram.auditTrail) &&
Objects.equals(this.isArchived, individualWatchlistProgram.isArchived);
}
@Override
public int hashCode() {
return Objects.hash(id, createdAt, isRescanningEnabled, listsEnabled, name, nameSensitivity, auditTrail, isArchived);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IndividualWatchlistProgram {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" isRescanningEnabled: ").append(toIndentedString(isRescanningEnabled)).append("\n");
sb.append(" listsEnabled: ").append(toIndentedString(listsEnabled)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" nameSensitivity: ").append(toIndentedString(nameSensitivity)).append("\n");
sb.append(" auditTrail: ").append(toIndentedString(auditTrail)).append("\n");
sb.append(" isArchived: ").append(toIndentedString(isArchived)).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/WatchlistScreeningIndividualProgramGetResponse.java | src/main/java/com/plaid/client/model/WatchlistScreeningIndividualProgramGetResponse.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.IndividualWatchlistCode;
import com.plaid.client.model.ProgramNameSensitivity;
import com.plaid.client.model.WatchlistScreeningAuditTrail;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
/**
* A program that configures the active lists, search parameters, and other behavior for initial and ongoing screening of individuals.
*/
@ApiModel(description = "A program that configures the active lists, search parameters, and other behavior for initial and ongoing screening of individuals.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class WatchlistScreeningIndividualProgramGetResponse {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
public static final String SERIALIZED_NAME_CREATED_AT = "created_at";
@SerializedName(SERIALIZED_NAME_CREATED_AT)
private java.sql.Timestamp createdAt;
public static final String SERIALIZED_NAME_IS_RESCANNING_ENABLED = "is_rescanning_enabled";
@SerializedName(SERIALIZED_NAME_IS_RESCANNING_ENABLED)
private Boolean isRescanningEnabled;
public static final String SERIALIZED_NAME_LISTS_ENABLED = "lists_enabled";
@SerializedName(SERIALIZED_NAME_LISTS_ENABLED)
private Set<IndividualWatchlistCode> listsEnabled = new LinkedHashSet<>();
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public static final String SERIALIZED_NAME_NAME_SENSITIVITY = "name_sensitivity";
@SerializedName(SERIALIZED_NAME_NAME_SENSITIVITY)
private ProgramNameSensitivity nameSensitivity;
public static final String SERIALIZED_NAME_AUDIT_TRAIL = "audit_trail";
@SerializedName(SERIALIZED_NAME_AUDIT_TRAIL)
private WatchlistScreeningAuditTrail auditTrail;
public static final String SERIALIZED_NAME_IS_ARCHIVED = "is_archived";
@SerializedName(SERIALIZED_NAME_IS_ARCHIVED)
private Boolean isArchived;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public WatchlistScreeningIndividualProgramGetResponse id(String id) {
this.id = id;
return this;
}
/**
* ID of the associated program.
* @return id
**/
@ApiModelProperty(example = "prg_2eRPsDnL66rZ7H", required = true, value = "ID of the associated program.")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public WatchlistScreeningIndividualProgramGetResponse 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 WatchlistScreeningIndividualProgramGetResponse isRescanningEnabled(Boolean isRescanningEnabled) {
this.isRescanningEnabled = isRescanningEnabled;
return this;
}
/**
* Indicator specifying whether the program is enabled and will perform daily rescans.
* @return isRescanningEnabled
**/
@ApiModelProperty(example = "true", required = true, value = "Indicator specifying whether the program is enabled and will perform daily rescans.")
public Boolean getIsRescanningEnabled() {
return isRescanningEnabled;
}
public void setIsRescanningEnabled(Boolean isRescanningEnabled) {
this.isRescanningEnabled = isRescanningEnabled;
}
public WatchlistScreeningIndividualProgramGetResponse listsEnabled(Set<IndividualWatchlistCode> listsEnabled) {
this.listsEnabled = listsEnabled;
return this;
}
public WatchlistScreeningIndividualProgramGetResponse addListsEnabledItem(IndividualWatchlistCode listsEnabledItem) {
this.listsEnabled.add(listsEnabledItem);
return this;
}
/**
* Watchlists enabled for the associated program
* @return listsEnabled
**/
@ApiModelProperty(example = "[\"US_SDN\"]", required = true, value = "Watchlists enabled for the associated program")
public Set<IndividualWatchlistCode> getListsEnabled() {
return listsEnabled;
}
public void setListsEnabled(Set<IndividualWatchlistCode> listsEnabled) {
this.listsEnabled = listsEnabled;
}
public WatchlistScreeningIndividualProgramGetResponse name(String name) {
this.name = name;
return this;
}
/**
* A name for the program to define its purpose. For example, \"High Risk Individuals\", \"US Cardholders\", or \"Applicants\".
* @return name
**/
@ApiModelProperty(example = "Sample Program", required = true, value = "A name for the program to define its purpose. For example, \"High Risk Individuals\", \"US Cardholders\", or \"Applicants\".")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public WatchlistScreeningIndividualProgramGetResponse nameSensitivity(ProgramNameSensitivity nameSensitivity) {
this.nameSensitivity = nameSensitivity;
return this;
}
/**
* Get nameSensitivity
* @return nameSensitivity
**/
@ApiModelProperty(required = true, value = "")
public ProgramNameSensitivity getNameSensitivity() {
return nameSensitivity;
}
public void setNameSensitivity(ProgramNameSensitivity nameSensitivity) {
this.nameSensitivity = nameSensitivity;
}
public WatchlistScreeningIndividualProgramGetResponse 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 WatchlistScreeningIndividualProgramGetResponse isArchived(Boolean isArchived) {
this.isArchived = isArchived;
return this;
}
/**
* Archived programs are read-only and cannot screen new customers nor participate in ongoing monitoring.
* @return isArchived
**/
@ApiModelProperty(example = "false", required = true, value = "Archived programs are read-only and cannot screen new customers nor participate in ongoing monitoring.")
public Boolean getIsArchived() {
return isArchived;
}
public void setIsArchived(Boolean isArchived) {
this.isArchived = isArchived;
}
public WatchlistScreeningIndividualProgramGetResponse 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;
}
WatchlistScreeningIndividualProgramGetResponse watchlistScreeningIndividualProgramGetResponse = (WatchlistScreeningIndividualProgramGetResponse) o;
return Objects.equals(this.id, watchlistScreeningIndividualProgramGetResponse.id) &&
Objects.equals(this.createdAt, watchlistScreeningIndividualProgramGetResponse.createdAt) &&
Objects.equals(this.isRescanningEnabled, watchlistScreeningIndividualProgramGetResponse.isRescanningEnabled) &&
Objects.equals(this.listsEnabled, watchlistScreeningIndividualProgramGetResponse.listsEnabled) &&
Objects.equals(this.name, watchlistScreeningIndividualProgramGetResponse.name) &&
Objects.equals(this.nameSensitivity, watchlistScreeningIndividualProgramGetResponse.nameSensitivity) &&
Objects.equals(this.auditTrail, watchlistScreeningIndividualProgramGetResponse.auditTrail) &&
Objects.equals(this.isArchived, watchlistScreeningIndividualProgramGetResponse.isArchived) &&
Objects.equals(this.requestId, watchlistScreeningIndividualProgramGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(id, createdAt, isRescanningEnabled, listsEnabled, name, nameSensitivity, auditTrail, isArchived, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class WatchlistScreeningIndividualProgramGetResponse {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" isRescanningEnabled: ").append(toIndentedString(isRescanningEnabled)).append("\n");
sb.append(" listsEnabled: ").append(toIndentedString(listsEnabled)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" nameSensitivity: ").append(toIndentedString(nameSensitivity)).append("\n");
sb.append(" auditTrail: ").append(toIndentedString(auditTrail)).append("\n");
sb.append(" isArchived: ").append(toIndentedString(isArchived)).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/RiskSignalDocumentReference.java | src/main/java/com/plaid/client/model/RiskSignalDocumentReference.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.RiskSignalDocumentStatus;
import com.plaid.client.model.RiskSignalDocumentType;
import com.plaid.client.model.RiskSignalFileType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Object containing metadata for the document
*/
@ApiModel(description = "Object containing metadata for the document")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class RiskSignalDocumentReference {
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_NAME = "document_name";
@SerializedName(SERIALIZED_NAME_DOCUMENT_NAME)
private String documentName;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private RiskSignalDocumentStatus status;
public static final String SERIALIZED_NAME_DOCUMENT_TYPE = "document_type";
@SerializedName(SERIALIZED_NAME_DOCUMENT_TYPE)
private RiskSignalDocumentType documentType;
public static final String SERIALIZED_NAME_FILE_TYPE = "file_type";
@SerializedName(SERIALIZED_NAME_FILE_TYPE)
private RiskSignalFileType fileType;
public RiskSignalDocumentReference documentId(String documentId) {
this.documentId = documentId;
return this;
}
/**
* An identifier of the document referenced by the document metadata.
* @return documentId
**/
@javax.annotation.Nullable
@ApiModelProperty(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 RiskSignalDocumentReference documentName(String documentName) {
this.documentName = documentName;
return this;
}
/**
* The name of the document
* @return documentName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The name of the document")
public String getDocumentName() {
return documentName;
}
public void setDocumentName(String documentName) {
this.documentName = documentName;
}
public RiskSignalDocumentReference status(RiskSignalDocumentStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public RiskSignalDocumentStatus getStatus() {
return status;
}
public void setStatus(RiskSignalDocumentStatus status) {
this.status = status;
}
public RiskSignalDocumentReference documentType(RiskSignalDocumentType documentType) {
this.documentType = documentType;
return this;
}
/**
* Get documentType
* @return documentType
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public RiskSignalDocumentType getDocumentType() {
return documentType;
}
public void setDocumentType(RiskSignalDocumentType documentType) {
this.documentType = documentType;
}
public RiskSignalDocumentReference fileType(RiskSignalFileType fileType) {
this.fileType = fileType;
return this;
}
/**
* Get fileType
* @return fileType
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public RiskSignalFileType getFileType() {
return fileType;
}
public void setFileType(RiskSignalFileType fileType) {
this.fileType = fileType;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
RiskSignalDocumentReference riskSignalDocumentReference = (RiskSignalDocumentReference) o;
return Objects.equals(this.documentId, riskSignalDocumentReference.documentId) &&
Objects.equals(this.documentName, riskSignalDocumentReference.documentName) &&
Objects.equals(this.status, riskSignalDocumentReference.status) &&
Objects.equals(this.documentType, riskSignalDocumentReference.documentType) &&
Objects.equals(this.fileType, riskSignalDocumentReference.fileType);
}
@Override
public int hashCode() {
return Objects.hash(documentId, documentName, status, documentType, fileType);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class RiskSignalDocumentReference {\n");
sb.append(" documentId: ").append(toIndentedString(documentId)).append("\n");
sb.append(" documentName: ").append(toIndentedString(documentName)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" documentType: ").append(toIndentedString(documentType)).append("\n");
sb.append(" fileType: ").append(toIndentedString(fileType)).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/PlaidLendScoreVersion.java | src/main/java/com/plaid/client/model/PlaidLendScoreVersion.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 version of the LendScore
*/
@JsonAdapter(PlaidLendScoreVersion.Adapter.class)
public enum PlaidLendScoreVersion {
V1_0("v1.0"),
V2_0("v2.0"),
LS1("LS1"),
// 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;
PlaidLendScoreVersion(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static PlaidLendScoreVersion fromValue(String value) {
for (PlaidLendScoreVersion b : PlaidLendScoreVersion.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null; }
public static class Adapter extends TypeAdapter<PlaidLendScoreVersion> {
@Override
public void write(final JsonWriter jsonWriter, final PlaidLendScoreVersion enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public PlaidLendScoreVersion read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return PlaidLendScoreVersion.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/LinkDeliveryCallbackWebhook.java | src/main/java/com/plaid/client/model/LinkDeliveryCallbackWebhook.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.LinkCallbackMetadata;
import com.plaid.client.model.PlaidError;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Webhook containing metadata proxied over from Link callback e.g `onEvent`, `onExit`, `onSuccess`.
*/
@ApiModel(description = "Webhook containing metadata proxied over from Link callback e.g `onEvent`, `onExit`, `onSuccess`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkDeliveryCallbackWebhook {
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_LINK_DELIVERY_SESSION_ID = "link_delivery_session_id";
@SerializedName(SERIALIZED_NAME_LINK_DELIVERY_SESSION_ID)
private String linkDeliverySessionId;
public static final String SERIALIZED_NAME_TIMESTAMP = "timestamp";
@SerializedName(SERIALIZED_NAME_TIMESTAMP)
private String timestamp;
public static final String SERIALIZED_NAME_ERROR = "error";
@SerializedName(SERIALIZED_NAME_ERROR)
private PlaidError error;
public static final String SERIALIZED_NAME_LINK_CALLBACK_METADATA = "link_callback_metadata";
@SerializedName(SERIALIZED_NAME_LINK_CALLBACK_METADATA)
private LinkCallbackMetadata linkCallbackMetadata;
public LinkDeliveryCallbackWebhook webhookType(String webhookType) {
this.webhookType = webhookType;
return this;
}
/**
* `LINK_DELIVERY`
* @return webhookType
**/
@ApiModelProperty(required = true, value = "`LINK_DELIVERY`")
public String getWebhookType() {
return webhookType;
}
public void setWebhookType(String webhookType) {
this.webhookType = webhookType;
}
public LinkDeliveryCallbackWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `LINK_CALLBACK`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`LINK_CALLBACK`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public LinkDeliveryCallbackWebhook linkDeliverySessionId(String linkDeliverySessionId) {
this.linkDeliverySessionId = linkDeliverySessionId;
return this;
}
/**
* The ID of the Hosted Link session.
* @return linkDeliverySessionId
**/
@ApiModelProperty(required = true, value = "The ID of the Hosted Link session.")
public String getLinkDeliverySessionId() {
return linkDeliverySessionId;
}
public void setLinkDeliverySessionId(String linkDeliverySessionId) {
this.linkDeliverySessionId = linkDeliverySessionId;
}
public LinkDeliveryCallbackWebhook timestamp(String timestamp) {
this.timestamp = timestamp;
return this;
}
/**
* Timestamp in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
* @return timestamp
**/
@ApiModelProperty(required = true, value = "Timestamp in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.")
public String getTimestamp() {
return timestamp;
}
public void setTimestamp(String timestamp) {
this.timestamp = timestamp;
}
public LinkDeliveryCallbackWebhook 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 LinkDeliveryCallbackWebhook linkCallbackMetadata(LinkCallbackMetadata linkCallbackMetadata) {
this.linkCallbackMetadata = linkCallbackMetadata;
return this;
}
/**
* Get linkCallbackMetadata
* @return linkCallbackMetadata
**/
@ApiModelProperty(required = true, value = "")
public LinkCallbackMetadata getLinkCallbackMetadata() {
return linkCallbackMetadata;
}
public void setLinkCallbackMetadata(LinkCallbackMetadata linkCallbackMetadata) {
this.linkCallbackMetadata = linkCallbackMetadata;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkDeliveryCallbackWebhook linkDeliveryCallbackWebhook = (LinkDeliveryCallbackWebhook) o;
return Objects.equals(this.webhookType, linkDeliveryCallbackWebhook.webhookType) &&
Objects.equals(this.webhookCode, linkDeliveryCallbackWebhook.webhookCode) &&
Objects.equals(this.linkDeliverySessionId, linkDeliveryCallbackWebhook.linkDeliverySessionId) &&
Objects.equals(this.timestamp, linkDeliveryCallbackWebhook.timestamp) &&
Objects.equals(this.error, linkDeliveryCallbackWebhook.error) &&
Objects.equals(this.linkCallbackMetadata, linkDeliveryCallbackWebhook.linkCallbackMetadata);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, linkDeliverySessionId, timestamp, error, linkCallbackMetadata);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkDeliveryCallbackWebhook {\n");
sb.append(" webhookType: ").append(toIndentedString(webhookType)).append("\n");
sb.append(" webhookCode: ").append(toIndentedString(webhookCode)).append("\n");
sb.append(" linkDeliverySessionId: ").append(toIndentedString(linkDeliverySessionId)).append("\n");
sb.append(" timestamp: ").append(toIndentedString(timestamp)).append("\n");
sb.append(" error: ").append(toIndentedString(error)).append("\n");
sb.append(" linkCallbackMetadata: ").append(toIndentedString(linkCallbackMetadata)).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/InvestmentsTransactionsGetRequest.java | src/main/java/com/plaid/client/model/InvestmentsTransactionsGetRequest.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.InvestmentsTransactionsGetRequestOptions;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
/**
* InvestmentsTransactionsGetRequest defines the request schema for `/investments/transactions/get`
*/
@ApiModel(description = "InvestmentsTransactionsGetRequest defines the request schema for `/investments/transactions/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class InvestmentsTransactionsGetRequest {
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_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_OPTIONS = "options";
@SerializedName(SERIALIZED_NAME_OPTIONS)
private InvestmentsTransactionsGetRequestOptions options;
public InvestmentsTransactionsGetRequest 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 InvestmentsTransactionsGetRequest 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 InvestmentsTransactionsGetRequest 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 InvestmentsTransactionsGetRequest startDate(LocalDate startDate) {
this.startDate = startDate;
return this;
}
/**
* The earliest date for which to fetch transaction history. Dates should be formatted as YYYY-MM-DD.
* @return startDate
**/
@ApiModelProperty(required = true, value = "The earliest date for which to fetch transaction history. Dates should be formatted as YYYY-MM-DD.")
public LocalDate getStartDate() {
return startDate;
}
public void setStartDate(LocalDate startDate) {
this.startDate = startDate;
}
public InvestmentsTransactionsGetRequest endDate(LocalDate endDate) {
this.endDate = endDate;
return this;
}
/**
* The most recent date for which to fetch transaction history. Dates should be formatted as YYYY-MM-DD.
* @return endDate
**/
@ApiModelProperty(required = true, value = "The most recent date for which to fetch transaction history. Dates should be formatted as YYYY-MM-DD.")
public LocalDate getEndDate() {
return endDate;
}
public void setEndDate(LocalDate endDate) {
this.endDate = endDate;
}
public InvestmentsTransactionsGetRequest options(InvestmentsTransactionsGetRequestOptions options) {
this.options = options;
return this;
}
/**
* Get options
* @return options
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public InvestmentsTransactionsGetRequestOptions getOptions() {
return options;
}
public void setOptions(InvestmentsTransactionsGetRequestOptions options) {
this.options = options;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
InvestmentsTransactionsGetRequest investmentsTransactionsGetRequest = (InvestmentsTransactionsGetRequest) o;
return Objects.equals(this.clientId, investmentsTransactionsGetRequest.clientId) &&
Objects.equals(this.secret, investmentsTransactionsGetRequest.secret) &&
Objects.equals(this.accessToken, investmentsTransactionsGetRequest.accessToken) &&
Objects.equals(this.startDate, investmentsTransactionsGetRequest.startDate) &&
Objects.equals(this.endDate, investmentsTransactionsGetRequest.endDate) &&
Objects.equals(this.options, investmentsTransactionsGetRequest.options);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, accessToken, startDate, endDate, options);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class InvestmentsTransactionsGetRequest {\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(" startDate: ").append(toIndentedString(startDate)).append("\n");
sb.append(" endDate: ").append(toIndentedString(endDate)).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/TransferEventListRequest.java | src/main/java/com/plaid/client/model/TransferEventListRequest.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.TransferEventListTransferType;
import com.plaid.client.model.TransferEventType;
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;
/**
* Defines the request schema for `/transfer/event/list`
*/
@ApiModel(description = "Defines the request schema for `/transfer/event/list`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferEventListRequest {
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_START_DATE = "start_date";
@SerializedName(SERIALIZED_NAME_START_DATE)
private OffsetDateTime startDate;
public static final String SERIALIZED_NAME_END_DATE = "end_date";
@SerializedName(SERIALIZED_NAME_END_DATE)
private OffsetDateTime endDate;
public static final String SERIALIZED_NAME_TRANSFER_ID = "transfer_id";
@SerializedName(SERIALIZED_NAME_TRANSFER_ID)
private String transferId;
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
private String accountId;
public static final String SERIALIZED_NAME_TRANSFER_TYPE = "transfer_type";
@SerializedName(SERIALIZED_NAME_TRANSFER_TYPE)
private TransferEventListTransferType transferType;
public static final String SERIALIZED_NAME_EVENT_TYPES = "event_types";
@SerializedName(SERIALIZED_NAME_EVENT_TYPES)
private List<TransferEventType> eventTypes = null;
public static final String SERIALIZED_NAME_SWEEP_ID = "sweep_id";
@SerializedName(SERIALIZED_NAME_SWEEP_ID)
private String sweepId;
public static final String SERIALIZED_NAME_COUNT = "count";
@SerializedName(SERIALIZED_NAME_COUNT)
private Integer count = 25;
public static final String SERIALIZED_NAME_OFFSET = "offset";
@SerializedName(SERIALIZED_NAME_OFFSET)
private Integer offset = 0;
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_ORIGINATOR_CLIENT_ID = "originator_client_id";
@SerializedName(SERIALIZED_NAME_ORIGINATOR_CLIENT_ID)
private String originatorClientId;
public static final String SERIALIZED_NAME_FUNDING_ACCOUNT_ID = "funding_account_id";
@SerializedName(SERIALIZED_NAME_FUNDING_ACCOUNT_ID)
private String fundingAccountId;
public TransferEventListRequest 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 TransferEventListRequest 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 TransferEventListRequest startDate(OffsetDateTime startDate) {
this.startDate = startDate;
return this;
}
/**
* The start `created` datetime of transfers to list. This should be in RFC 3339 format (i.e. `2019-12-06T22:35:49Z`)
* @return startDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The start `created` datetime of transfers to list. This should be in RFC 3339 format (i.e. `2019-12-06T22:35:49Z`)")
public OffsetDateTime getStartDate() {
return startDate;
}
public void setStartDate(OffsetDateTime startDate) {
this.startDate = startDate;
}
public TransferEventListRequest endDate(OffsetDateTime endDate) {
this.endDate = endDate;
return this;
}
/**
* The end `created` datetime of transfers to list. This should be in RFC 3339 format (i.e. `2019-12-06T22:35:49Z`)
* @return endDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The end `created` datetime of transfers to list. This should be in RFC 3339 format (i.e. `2019-12-06T22:35:49Z`)")
public OffsetDateTime getEndDate() {
return endDate;
}
public void setEndDate(OffsetDateTime endDate) {
this.endDate = endDate;
}
public TransferEventListRequest transferId(String transferId) {
this.transferId = transferId;
return this;
}
/**
* Plaid’s unique identifier for a transfer.
* @return transferId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Plaid’s unique identifier for a transfer.")
public String getTransferId() {
return transferId;
}
public void setTransferId(String transferId) {
this.transferId = transferId;
}
public TransferEventListRequest accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* The account ID to get events for all transactions to/from an account.
* @return accountId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The account ID to get events for all transactions to/from an account.")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public TransferEventListRequest transferType(TransferEventListTransferType transferType) {
this.transferType = transferType;
return this;
}
/**
* Get transferType
* @return transferType
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public TransferEventListTransferType getTransferType() {
return transferType;
}
public void setTransferType(TransferEventListTransferType transferType) {
this.transferType = transferType;
}
public TransferEventListRequest eventTypes(List<TransferEventType> eventTypes) {
this.eventTypes = eventTypes;
return this;
}
public TransferEventListRequest addEventTypesItem(TransferEventType eventTypesItem) {
if (this.eventTypes == null) {
this.eventTypes = new ArrayList<>();
}
this.eventTypes.add(eventTypesItem);
return this;
}
/**
* Filter events by event type.
* @return eventTypes
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Filter events by event type.")
public List<TransferEventType> getEventTypes() {
return eventTypes;
}
public void setEventTypes(List<TransferEventType> eventTypes) {
this.eventTypes = eventTypes;
}
public TransferEventListRequest sweepId(String sweepId) {
this.sweepId = sweepId;
return this;
}
/**
* Plaid’s unique identifier for a sweep.
* @return sweepId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Plaid’s unique identifier for a sweep.")
public String getSweepId() {
return sweepId;
}
public void setSweepId(String sweepId) {
this.sweepId = sweepId;
}
public TransferEventListRequest count(Integer count) {
this.count = count;
return this;
}
/**
* The maximum number of transfer events to return. If the number of events matching the above parameters is greater than `count`, the most recent events will be returned.
* minimum: 1
* maximum: 25
* @return count
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The maximum number of transfer events to return. If the number of events matching the above parameters is greater than `count`, the most recent events will be returned.")
public Integer getCount() {
return count;
}
public void setCount(Integer count) {
this.count = count;
}
public TransferEventListRequest offset(Integer offset) {
this.offset = offset;
return this;
}
/**
* The offset into the list of transfer events. When `count`=25 and `offset`=0, the first 25 events will be returned. When `count`=25 and `offset`=25, the next 25 events will be returned.
* minimum: 0
* @return offset
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The offset into the list of transfer events. When `count`=25 and `offset`=0, the first 25 events will be returned. When `count`=25 and `offset`=25, the next 25 events will be returned.")
public Integer getOffset() {
return offset;
}
public void setOffset(Integer offset) {
this.offset = offset;
}
public TransferEventListRequest originationAccountId(String originationAccountId) {
this.originationAccountId = originationAccountId;
return this;
}
/**
* The origination account ID to get events for transfers from a specific origination account.
* @return originationAccountId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The origination account ID to get events for transfers from a specific origination account.")
public String getOriginationAccountId() {
return originationAccountId;
}
public void setOriginationAccountId(String originationAccountId) {
this.originationAccountId = originationAccountId;
}
public TransferEventListRequest originatorClientId(String originatorClientId) {
this.originatorClientId = originatorClientId;
return this;
}
/**
* Filter transfer events to only those with the specified originator client.
* @return originatorClientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Filter transfer events to only those with the specified originator client.")
public String getOriginatorClientId() {
return originatorClientId;
}
public void setOriginatorClientId(String originatorClientId) {
this.originatorClientId = originatorClientId;
}
public TransferEventListRequest fundingAccountId(String fundingAccountId) {
this.fundingAccountId = fundingAccountId;
return this;
}
/**
* Filter transfer events to only those with the specified `funding_account_id`.
* @return fundingAccountId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Filter transfer events to only those with the specified `funding_account_id`.")
public String getFundingAccountId() {
return fundingAccountId;
}
public void setFundingAccountId(String fundingAccountId) {
this.fundingAccountId = fundingAccountId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferEventListRequest transferEventListRequest = (TransferEventListRequest) o;
return Objects.equals(this.clientId, transferEventListRequest.clientId) &&
Objects.equals(this.secret, transferEventListRequest.secret) &&
Objects.equals(this.startDate, transferEventListRequest.startDate) &&
Objects.equals(this.endDate, transferEventListRequest.endDate) &&
Objects.equals(this.transferId, transferEventListRequest.transferId) &&
Objects.equals(this.accountId, transferEventListRequest.accountId) &&
Objects.equals(this.transferType, transferEventListRequest.transferType) &&
Objects.equals(this.eventTypes, transferEventListRequest.eventTypes) &&
Objects.equals(this.sweepId, transferEventListRequest.sweepId) &&
Objects.equals(this.count, transferEventListRequest.count) &&
Objects.equals(this.offset, transferEventListRequest.offset) &&
Objects.equals(this.originationAccountId, transferEventListRequest.originationAccountId) &&
Objects.equals(this.originatorClientId, transferEventListRequest.originatorClientId) &&
Objects.equals(this.fundingAccountId, transferEventListRequest.fundingAccountId);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, startDate, endDate, transferId, accountId, transferType, eventTypes, sweepId, count, offset, originationAccountId, originatorClientId, fundingAccountId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferEventListRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n");
sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n");
sb.append(" transferId: ").append(toIndentedString(transferId)).append("\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" transferType: ").append(toIndentedString(transferType)).append("\n");
sb.append(" eventTypes: ").append(toIndentedString(eventTypes)).append("\n");
sb.append(" sweepId: ").append(toIndentedString(sweepId)).append("\n");
sb.append(" count: ").append(toIndentedString(count)).append("\n");
sb.append(" offset: ").append(toIndentedString(offset)).append("\n");
sb.append(" originationAccountId: ").append(toIndentedString(originationAccountId)).append("\n");
sb.append(" originatorClientId: ").append(toIndentedString(originatorClientId)).append("\n");
sb.append(" fundingAccountId: ").append(toIndentedString(fundingAccountId)).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/TransferLedgerDepositResponse.java | src/main/java/com/plaid/client/model/TransferLedgerDepositResponse.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;
/**
* Defines the response schema for `/transfer/ledger/deposit`
*/
@ApiModel(description = "Defines the response schema for `/transfer/ledger/deposit`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferLedgerDepositResponse {
public static final String SERIALIZED_NAME_SWEEP = "sweep";
@SerializedName(SERIALIZED_NAME_SWEEP)
private TransferSweep sweep;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public TransferLedgerDepositResponse sweep(TransferSweep sweep) {
this.sweep = sweep;
return this;
}
/**
* Get sweep
* @return sweep
**/
@ApiModelProperty(required = true, value = "")
public TransferSweep getSweep() {
return sweep;
}
public void setSweep(TransferSweep sweep) {
this.sweep = sweep;
}
public TransferLedgerDepositResponse 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;
}
TransferLedgerDepositResponse transferLedgerDepositResponse = (TransferLedgerDepositResponse) o;
return Objects.equals(this.sweep, transferLedgerDepositResponse.sweep) &&
Objects.equals(this.requestId, transferLedgerDepositResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(sweep, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferLedgerDepositResponse {\n");
sb.append(" sweep: ").append(toIndentedString(sweep)).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/TransferEventsUpdateWebhook.java | src/main/java/com/plaid/client/model/TransferEventsUpdateWebhook.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.WebhookEnvironmentValues;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Fired when new transfer events are available. Receiving this webhook indicates you should fetch the new events from `/transfer/event/sync`. If multiple transfer events occur within a single minute, only one webhook will be fired, so a single webhook instance may correspond to multiple transfer events.
*/
@ApiModel(description = "Fired when new transfer events are available. Receiving this webhook indicates you should fetch the new events from `/transfer/event/sync`. If multiple transfer events occur within a single minute, only one webhook will be fired, so a single webhook instance may correspond to multiple transfer events.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferEventsUpdateWebhook {
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_ENVIRONMENT = "environment";
@SerializedName(SERIALIZED_NAME_ENVIRONMENT)
private WebhookEnvironmentValues environment;
public TransferEventsUpdateWebhook webhookType(String webhookType) {
this.webhookType = webhookType;
return this;
}
/**
* `TRANSFER`
* @return webhookType
**/
@ApiModelProperty(required = true, value = "`TRANSFER`")
public String getWebhookType() {
return webhookType;
}
public void setWebhookType(String webhookType) {
this.webhookType = webhookType;
}
public TransferEventsUpdateWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `TRANSFER_EVENTS_UPDATE`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`TRANSFER_EVENTS_UPDATE`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public TransferEventsUpdateWebhook 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;
}
TransferEventsUpdateWebhook transferEventsUpdateWebhook = (TransferEventsUpdateWebhook) o;
return Objects.equals(this.webhookType, transferEventsUpdateWebhook.webhookType) &&
Objects.equals(this.webhookCode, transferEventsUpdateWebhook.webhookCode) &&
Objects.equals(this.environment, transferEventsUpdateWebhook.environment);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, environment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferEventsUpdateWebhook {\n");
sb.append(" webhookType: ").append(toIndentedString(webhookType)).append("\n");
sb.append(" webhookCode: ").append(toIndentedString(webhookCode)).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/CraMonitoringInsightsSubscribeResponse.java | src/main/java/com/plaid/client/model/CraMonitoringInsightsSubscribeResponse.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;
/**
* CraMonitoringInsightsSubscribeResponse defines the response schema for `cra/monitoring_insights/subscribe`
*/
@ApiModel(description = "CraMonitoringInsightsSubscribeResponse defines the response schema for `cra/monitoring_insights/subscribe`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraMonitoringInsightsSubscribeResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public static final String SERIALIZED_NAME_SUBSCRIPTION_ID = "subscription_id";
@SerializedName(SERIALIZED_NAME_SUBSCRIPTION_ID)
private String subscriptionId;
public CraMonitoringInsightsSubscribeResponse 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 CraMonitoringInsightsSubscribeResponse subscriptionId(String subscriptionId) {
this.subscriptionId = subscriptionId;
return this;
}
/**
* A unique identifier for the subscription.
* @return subscriptionId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the subscription.")
public String getSubscriptionId() {
return subscriptionId;
}
public void setSubscriptionId(String subscriptionId) {
this.subscriptionId = subscriptionId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CraMonitoringInsightsSubscribeResponse craMonitoringInsightsSubscribeResponse = (CraMonitoringInsightsSubscribeResponse) o;
return Objects.equals(this.requestId, craMonitoringInsightsSubscribeResponse.requestId) &&
Objects.equals(this.subscriptionId, craMonitoringInsightsSubscribeResponse.subscriptionId);
}
@Override
public int hashCode() {
return Objects.hash(requestId, subscriptionId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraMonitoringInsightsSubscribeResponse {\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append(" subscriptionId: ").append(toIndentedString(subscriptionId)).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/CraLoansUpdateRequest.java | src/main/java/com/plaid/client/model/CraLoansUpdateRequest.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.CraLoanUpdate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* CraLoansUpdateRequest defines the request schema for `/cra/loans/update`
*/
@ApiModel(description = "CraLoansUpdateRequest defines the request schema for `/cra/loans/update`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraLoansUpdateRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_LOANS = "loans";
@SerializedName(SERIALIZED_NAME_LOANS)
private List<CraLoanUpdate> loans = new ArrayList<>();
public CraLoansUpdateRequest 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 CraLoansUpdateRequest 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 CraLoansUpdateRequest loans(List<CraLoanUpdate> loans) {
this.loans = loans;
return this;
}
public CraLoansUpdateRequest addLoansItem(CraLoanUpdate loansItem) {
this.loans.add(loansItem);
return this;
}
/**
* A list of loans to update.
* @return loans
**/
@ApiModelProperty(required = true, value = "A list of loans to update.")
public List<CraLoanUpdate> getLoans() {
return loans;
}
public void setLoans(List<CraLoanUpdate> loans) {
this.loans = loans;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CraLoansUpdateRequest craLoansUpdateRequest = (CraLoansUpdateRequest) o;
return Objects.equals(this.clientId, craLoansUpdateRequest.clientId) &&
Objects.equals(this.secret, craLoansUpdateRequest.secret) &&
Objects.equals(this.loans, craLoansUpdateRequest.loans);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, loans);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraLoansUpdateRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" loans: ").append(toIndentedString(loans)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/UserAccountIdentityAddress.java | src/main/java/com/plaid/client/model/UserAccountIdentityAddress.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 user's address.
*/
@ApiModel(description = "The user's address.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class UserAccountIdentityAddress {
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_STREET2 = "street2";
@SerializedName(SERIALIZED_NAME_STREET2)
private String street2;
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 UserAccountIdentityAddress 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 UserAccountIdentityAddress region(String region) {
this.region = region;
return this;
}
/**
* The region or state. Example: `\"NC\"`
* @return region
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The region or state. Example: `\"NC\"`")
public String getRegion() {
return region;
}
public void setRegion(String region) {
this.region = region;
}
public UserAccountIdentityAddress 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 UserAccountIdentityAddress street2(String street2) {
this.street2 = street2;
return this;
}
/**
* The second line street address
* @return street2
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The second line street address")
public String getStreet2() {
return street2;
}
public void setStreet2(String street2) {
this.street2 = street2;
}
public UserAccountIdentityAddress 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 UserAccountIdentityAddress 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;
}
UserAccountIdentityAddress userAccountIdentityAddress = (UserAccountIdentityAddress) o;
return Objects.equals(this.city, userAccountIdentityAddress.city) &&
Objects.equals(this.region, userAccountIdentityAddress.region) &&
Objects.equals(this.street, userAccountIdentityAddress.street) &&
Objects.equals(this.street2, userAccountIdentityAddress.street2) &&
Objects.equals(this.postalCode, userAccountIdentityAddress.postalCode) &&
Objects.equals(this.country, userAccountIdentityAddress.country);
}
@Override
public int hashCode() {
return Objects.hash(city, region, street, street2, postalCode, country);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UserAccountIdentityAddress {\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(" street2: ").append(toIndentedString(street2)).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/BankTransferStatus.java | src/main/java/com/plaid/client/model/BankTransferStatus.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 transfer.
*/
@JsonAdapter(BankTransferStatus.Adapter.class)
public enum BankTransferStatus {
PENDING("pending"),
POSTED("posted"),
CANCELLED("cancelled"),
FAILED("failed"),
REVERSED("reversed"),
// 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;
BankTransferStatus(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static BankTransferStatus fromValue(String value) {
for (BankTransferStatus b : BankTransferStatus.values()) {
if (b.value.equals(value)) {
return b;
}
}
return BankTransferStatus.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<BankTransferStatus> {
@Override
public void write(final JsonWriter jsonWriter, final BankTransferStatus enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public BankTransferStatus read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return BankTransferStatus.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/CreditEmploymentGetResponse.java | src/main/java/com/plaid/client/model/CreditEmploymentGetResponse.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.CreditEmploymentItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* CreditEmploymentGetResponse defines the response schema for `/credit/employment/get`.
*/
@ApiModel(description = "CreditEmploymentGetResponse defines the response schema for `/credit/employment/get`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditEmploymentGetResponse {
public static final String SERIALIZED_NAME_ITEMS = "items";
@SerializedName(SERIALIZED_NAME_ITEMS)
private List<CreditEmploymentItem> items = new ArrayList<>();
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public CreditEmploymentGetResponse items(List<CreditEmploymentItem> items) {
this.items = items;
return this;
}
public CreditEmploymentGetResponse addItemsItem(CreditEmploymentItem itemsItem) {
this.items.add(itemsItem);
return this;
}
/**
* Array of employment items.
* @return items
**/
@ApiModelProperty(required = true, value = "Array of employment items.")
public List<CreditEmploymentItem> getItems() {
return items;
}
public void setItems(List<CreditEmploymentItem> items) {
this.items = items;
}
public CreditEmploymentGetResponse 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;
}
CreditEmploymentGetResponse creditEmploymentGetResponse = (CreditEmploymentGetResponse) o;
return Objects.equals(this.items, creditEmploymentGetResponse.items) &&
Objects.equals(this.requestId, creditEmploymentGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(items, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditEmploymentGetResponse {\n");
sb.append(" items: ").append(toIndentedString(items)).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/DateRange.java | src/main/java/com/plaid/client/model/DateRange.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;
/**
* A date range with a start and end date
*/
@ApiModel(description = "A date range with a start and end date")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class DateRange {
public static final String SERIALIZED_NAME_BEGINNING = "beginning";
@SerializedName(SERIALIZED_NAME_BEGINNING)
private LocalDate beginning;
public static final String SERIALIZED_NAME_ENDING = "ending";
@SerializedName(SERIALIZED_NAME_ENDING)
private LocalDate ending;
public DateRange beginning(LocalDate beginning) {
this.beginning = beginning;
return this;
}
/**
* A date in the format YYYY-MM-DD (RFC 3339 Section 5.6).
* @return beginning
**/
@ApiModelProperty(example = "Tue May 29 00:00:00 UTC 1990", required = true, value = "A date in the format YYYY-MM-DD (RFC 3339 Section 5.6).")
public LocalDate getBeginning() {
return beginning;
}
public void setBeginning(LocalDate beginning) {
this.beginning = beginning;
}
public DateRange ending(LocalDate ending) {
this.ending = ending;
return this;
}
/**
* A date in the format YYYY-MM-DD (RFC 3339 Section 5.6).
* @return ending
**/
@ApiModelProperty(example = "Tue May 29 00:00:00 UTC 1990", required = true, value = "A date in the format YYYY-MM-DD (RFC 3339 Section 5.6).")
public LocalDate getEnding() {
return ending;
}
public void setEnding(LocalDate ending) {
this.ending = ending;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DateRange dateRange = (DateRange) o;
return Objects.equals(this.beginning, dateRange.beginning) &&
Objects.equals(this.ending, dateRange.ending);
}
@Override
public int hashCode() {
return Objects.hash(beginning, ending);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DateRange {\n");
sb.append(" beginning: ").append(toIndentedString(beginning)).append("\n");
sb.append(" ending: ").append(toIndentedString(ending)).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/ConnectedApplication.java | src/main/java/com/plaid/client/model/ConnectedApplication.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.ScopesNullable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
/**
* Describes the connected application for a particular end user.
*/
@ApiModel(description = "Describes the connected application for a particular end user.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ConnectedApplication {
public static final String SERIALIZED_NAME_APPLICATION_ID = "application_id";
@SerializedName(SERIALIZED_NAME_APPLICATION_ID)
private String applicationId;
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public static final String SERIALIZED_NAME_DISPLAY_NAME = "display_name";
@SerializedName(SERIALIZED_NAME_DISPLAY_NAME)
private String displayName;
public static final String SERIALIZED_NAME_LOGO_URL = "logo_url";
@SerializedName(SERIALIZED_NAME_LOGO_URL)
private String logoUrl;
public static final String SERIALIZED_NAME_APPLICATION_URL = "application_url";
@SerializedName(SERIALIZED_NAME_APPLICATION_URL)
private String applicationUrl;
public static final String SERIALIZED_NAME_REASON_FOR_ACCESS = "reason_for_access";
@SerializedName(SERIALIZED_NAME_REASON_FOR_ACCESS)
private String reasonForAccess;
public static final String SERIALIZED_NAME_CREATED_AT = "created_at";
@SerializedName(SERIALIZED_NAME_CREATED_AT)
private OffsetDateTime createdAt;
public static final String SERIALIZED_NAME_SCOPES = "scopes";
@SerializedName(SERIALIZED_NAME_SCOPES)
private ScopesNullable scopes;
public ConnectedApplication applicationId(String applicationId) {
this.applicationId = applicationId;
return this;
}
/**
* This field will map to the application ID that is returned from /item/application/list, or provided to the institution in an oauth redirect.
* @return applicationId
**/
@ApiModelProperty(required = true, value = "This field will map to the application ID that is returned from /item/application/list, or provided to the institution in an oauth redirect.")
public String getApplicationId() {
return applicationId;
}
public void setApplicationId(String applicationId) {
this.applicationId = applicationId;
}
public ConnectedApplication name(String name) {
this.name = name;
return this;
}
/**
* The name of the application
* @return name
**/
@ApiModelProperty(required = true, value = "The name of the application")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public ConnectedApplication displayName(String displayName) {
this.displayName = displayName;
return this;
}
/**
* A human-readable name of the application for display purposes
* @return displayName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A human-readable name of the application for display purposes")
public String getDisplayName() {
return displayName;
}
public void setDisplayName(String displayName) {
this.displayName = displayName;
}
public ConnectedApplication logoUrl(String logoUrl) {
this.logoUrl = logoUrl;
return this;
}
/**
* A URL that links to the application logo image.
* @return logoUrl
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A URL that links to the application logo image.")
public String getLogoUrl() {
return logoUrl;
}
public void setLogoUrl(String logoUrl) {
this.logoUrl = logoUrl;
}
public ConnectedApplication applicationUrl(String applicationUrl) {
this.applicationUrl = applicationUrl;
return this;
}
/**
* The URL for the application's website
* @return applicationUrl
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The URL for the application's website")
public String getApplicationUrl() {
return applicationUrl;
}
public void setApplicationUrl(String applicationUrl) {
this.applicationUrl = applicationUrl;
}
public ConnectedApplication reasonForAccess(String reasonForAccess) {
this.reasonForAccess = reasonForAccess;
return this;
}
/**
* A string provided by the connected app stating why they use their respective enabled products.
* @return reasonForAccess
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A string provided by the connected app stating why they use their respective enabled products.")
public String getReasonForAccess() {
return reasonForAccess;
}
public void setReasonForAccess(String reasonForAccess) {
this.reasonForAccess = reasonForAccess;
}
public ConnectedApplication createdAt(OffsetDateTime createdAt) {
this.createdAt = createdAt;
return this;
}
/**
* The date this application was linked in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) (YYYY-MM-DD) format in UTC.
* @return createdAt
**/
@ApiModelProperty(required = true, value = "The date this application was linked in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) (YYYY-MM-DD) format in UTC.")
public OffsetDateTime getCreatedAt() {
return createdAt;
}
public void setCreatedAt(OffsetDateTime createdAt) {
this.createdAt = createdAt;
}
public ConnectedApplication scopes(ScopesNullable scopes) {
this.scopes = scopes;
return this;
}
/**
* Get scopes
* @return scopes
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ScopesNullable getScopes() {
return scopes;
}
public void setScopes(ScopesNullable scopes) {
this.scopes = scopes;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ConnectedApplication connectedApplication = (ConnectedApplication) o;
return Objects.equals(this.applicationId, connectedApplication.applicationId) &&
Objects.equals(this.name, connectedApplication.name) &&
Objects.equals(this.displayName, connectedApplication.displayName) &&
Objects.equals(this.logoUrl, connectedApplication.logoUrl) &&
Objects.equals(this.applicationUrl, connectedApplication.applicationUrl) &&
Objects.equals(this.reasonForAccess, connectedApplication.reasonForAccess) &&
Objects.equals(this.createdAt, connectedApplication.createdAt) &&
Objects.equals(this.scopes, connectedApplication.scopes);
}
@Override
public int hashCode() {
return Objects.hash(applicationId, name, displayName, logoUrl, applicationUrl, reasonForAccess, createdAt, scopes);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ConnectedApplication {\n");
sb.append(" applicationId: ").append(toIndentedString(applicationId)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n");
sb.append(" logoUrl: ").append(toIndentedString(logoUrl)).append("\n");
sb.append(" applicationUrl: ").append(toIndentedString(applicationUrl)).append("\n");
sb.append(" reasonForAccess: ").append(toIndentedString(reasonForAccess)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" scopes: ").append(toIndentedString(scopes)).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/WatchlistScreeningEntityCreateResponse.java | src/main/java/com/plaid/client/model/WatchlistScreeningEntityCreateResponse.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.EntityWatchlistScreeningSearchTerms;
import com.plaid.client.model.WatchlistScreeningAuditTrail;
import com.plaid.client.model.WatchlistScreeningStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The entity screening object allows you to represent an entity in your system, update its profile, and search for it on various watchlists. Note: Rejected entity screenings will not receive new hits, regardless of entity program configuration.
*/
@ApiModel(description = "The entity screening object allows you to represent an entity in your system, update its profile, and search for it on various watchlists. Note: Rejected entity screenings will not receive new hits, regardless of entity program configuration.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class WatchlistScreeningEntityCreateResponse {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
public static final String SERIALIZED_NAME_SEARCH_TERMS = "search_terms";
@SerializedName(SERIALIZED_NAME_SEARCH_TERMS)
private EntityWatchlistScreeningSearchTerms searchTerms;
public static final String SERIALIZED_NAME_ASSIGNEE = "assignee";
@SerializedName(SERIALIZED_NAME_ASSIGNEE)
private String assignee;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private WatchlistScreeningStatus status;
public static final String SERIALIZED_NAME_CLIENT_USER_ID = "client_user_id";
@SerializedName(SERIALIZED_NAME_CLIENT_USER_ID)
private String clientUserId;
public static final String SERIALIZED_NAME_AUDIT_TRAIL = "audit_trail";
@SerializedName(SERIALIZED_NAME_AUDIT_TRAIL)
private WatchlistScreeningAuditTrail auditTrail;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public WatchlistScreeningEntityCreateResponse id(String id) {
this.id = id;
return this;
}
/**
* ID of the associated entity screening.
* @return id
**/
@ApiModelProperty(example = "entscr_52xR9LKo77r1Np", required = true, value = "ID of the associated entity screening.")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public WatchlistScreeningEntityCreateResponse searchTerms(EntityWatchlistScreeningSearchTerms searchTerms) {
this.searchTerms = searchTerms;
return this;
}
/**
* Get searchTerms
* @return searchTerms
**/
@ApiModelProperty(required = true, value = "")
public EntityWatchlistScreeningSearchTerms getSearchTerms() {
return searchTerms;
}
public void setSearchTerms(EntityWatchlistScreeningSearchTerms searchTerms) {
this.searchTerms = searchTerms;
}
public WatchlistScreeningEntityCreateResponse assignee(String assignee) {
this.assignee = assignee;
return this;
}
/**
* ID of the associated user. To retrieve the email address or other details of the person corresponding to this id, use `/dashboard_user/get`.
* @return assignee
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "54350110fedcbaf01234ffee", required = true, value = "ID of the associated user. To retrieve the email address or other details of the person corresponding to this id, use `/dashboard_user/get`.")
public String getAssignee() {
return assignee;
}
public void setAssignee(String assignee) {
this.assignee = assignee;
}
public WatchlistScreeningEntityCreateResponse status(WatchlistScreeningStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@ApiModelProperty(required = true, value = "")
public WatchlistScreeningStatus getStatus() {
return status;
}
public void setStatus(WatchlistScreeningStatus status) {
this.status = status;
}
public WatchlistScreeningEntityCreateResponse clientUserId(String clientUserId) {
this.clientUserId = clientUserId;
return this;
}
/**
* A unique ID that identifies the end user in your system. This ID can also be used to associate user-specific data from other Plaid products. Financial Account Matching requires this field and the `/link/token/create` `client_user_id` to be consistent. Personally identifiable information, such as an email address or phone number, should not be used in the `client_user_id`.
* @return clientUserId
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "your-db-id-3b24110", required = true, value = "A unique ID that identifies the end user in your system. This ID can also be used to associate user-specific data from other Plaid products. Financial Account Matching requires this field and the `/link/token/create` `client_user_id` to be consistent. Personally identifiable information, such as an email address or phone number, should not be used in the `client_user_id`.")
public String getClientUserId() {
return clientUserId;
}
public void setClientUserId(String clientUserId) {
this.clientUserId = clientUserId;
}
public WatchlistScreeningEntityCreateResponse 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 WatchlistScreeningEntityCreateResponse 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;
}
WatchlistScreeningEntityCreateResponse watchlistScreeningEntityCreateResponse = (WatchlistScreeningEntityCreateResponse) o;
return Objects.equals(this.id, watchlistScreeningEntityCreateResponse.id) &&
Objects.equals(this.searchTerms, watchlistScreeningEntityCreateResponse.searchTerms) &&
Objects.equals(this.assignee, watchlistScreeningEntityCreateResponse.assignee) &&
Objects.equals(this.status, watchlistScreeningEntityCreateResponse.status) &&
Objects.equals(this.clientUserId, watchlistScreeningEntityCreateResponse.clientUserId) &&
Objects.equals(this.auditTrail, watchlistScreeningEntityCreateResponse.auditTrail) &&
Objects.equals(this.requestId, watchlistScreeningEntityCreateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(id, searchTerms, assignee, status, clientUserId, auditTrail, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class WatchlistScreeningEntityCreateResponse {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" searchTerms: ").append(toIndentedString(searchTerms)).append("\n");
sb.append(" assignee: ").append(toIndentedString(assignee)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" clientUserId: ").append(toIndentedString(clientUserId)).append("\n");
sb.append(" auditTrail: ").append(toIndentedString(auditTrail)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BeaconBankAccountInsights.java | src/main/java/com/plaid/client/model/BeaconBankAccountInsights.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.AccountSubtype;
import com.plaid.client.model.AccountType;
import com.plaid.client.model.BeaconAccountRiskAttributes;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Bank Account Insights encapsulate the risk insights for a single Bank Account linked to an Item that is assocaited with a Beacon User.
*/
@ApiModel(description = "Bank Account Insights encapsulate the risk insights for a single Bank Account linked to an Item that is assocaited with a Beacon User.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BeaconBankAccountInsights {
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
private String accountId;
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private AccountType type;
public static final String SERIALIZED_NAME_SUBTYPE = "subtype";
@SerializedName(SERIALIZED_NAME_SUBTYPE)
private AccountSubtype subtype;
public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes";
@SerializedName(SERIALIZED_NAME_ATTRIBUTES)
private BeaconAccountRiskAttributes attributes;
public BeaconBankAccountInsights accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* The Plaid `account_id`
* @return accountId
**/
@ApiModelProperty(example = "blgvvBlXw3cq5GMPwqB6s6q4dLKB9WcVqGDGo", required = true, value = "The Plaid `account_id`")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public BeaconBankAccountInsights type(AccountType type) {
this.type = type;
return this;
}
/**
* Get type
* @return type
**/
@ApiModelProperty(required = true, value = "")
public AccountType getType() {
return type;
}
public void setType(AccountType type) {
this.type = type;
}
public BeaconBankAccountInsights subtype(AccountSubtype subtype) {
this.subtype = subtype;
return this;
}
/**
* Get subtype
* @return subtype
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public AccountSubtype getSubtype() {
return subtype;
}
public void setSubtype(AccountSubtype subtype) {
this.subtype = subtype;
}
public BeaconBankAccountInsights attributes(BeaconAccountRiskAttributes attributes) {
this.attributes = attributes;
return this;
}
/**
* Get attributes
* @return attributes
**/
@ApiModelProperty(required = true, value = "")
public BeaconAccountRiskAttributes getAttributes() {
return attributes;
}
public void setAttributes(BeaconAccountRiskAttributes attributes) {
this.attributes = attributes;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BeaconBankAccountInsights beaconBankAccountInsights = (BeaconBankAccountInsights) o;
return Objects.equals(this.accountId, beaconBankAccountInsights.accountId) &&
Objects.equals(this.type, beaconBankAccountInsights.type) &&
Objects.equals(this.subtype, beaconBankAccountInsights.subtype) &&
Objects.equals(this.attributes, beaconBankAccountInsights.attributes);
}
@Override
public int hashCode() {
return Objects.hash(accountId, type, subtype, attributes);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BeaconBankAccountInsights {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" subtype: ").append(toIndentedString(subtype)).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/ProcessorSyncUpdatesAvailableWebhook.java | src/main/java/com/plaid/client/model/ProcessorSyncUpdatesAvailableWebhook.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.WebhookEnvironmentValues;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* This webhook is only sent to [Plaid processor partners](https://plaid.com/docs/auth/partnerships/). Fired when an Item's transactions change. This can be due to any event resulting in new changes, such as an initial 30-day transactions fetch upon the initialization of an Item with transactions, the backfill of historical transactions that occurs shortly after, or when changes are populated from a regularly-scheduled transactions update job. It is recommended to listen for the `SYNC_UPDATES_AVAILABLE` webhook when using the `/processor/transactions/sync` endpoint. Note that when using `/processor/transactions/sync` the older webhooks `INITIAL_UPDATE`, `HISTORICAL_UPDATE`, `DEFAULT_UPDATE`, and `TRANSACTIONS_REMOVED`, which are intended for use with `/processor/transactions/get`, will also continue to be sent in order to maintain backwards compatibility. It is not necessary to listen for and respond to those webhooks when using `/processor/transactions/sync`. After receipt of this webhook, the new changes can be fetched for the Item from `/processor/transactions/sync`. Note that to receive this webhook for an Item, `/processor/transactions/sync` must have been called at least once on that Item. This means that, unlike the `INITIAL_UPDATE` and `HISTORICAL_UPDATE` webhooks, it will not fire immediately upon Item creation. If `/transactions/sync` is called on an Item that was *not* initialized with Transactions, the webhook will fire twice: once the first 30 days of transactions data has been fetched, and a second time when all available historical transactions data has been fetched. This webhook will typically not fire in the Sandbox environment, due to the lack of dynamic transactions data. To test this webhook in Sandbox, call `/sandbox/item/fire_webhook`.
*/
@ApiModel(description = "This webhook is only sent to [Plaid processor partners](https://plaid.com/docs/auth/partnerships/). Fired when an Item's transactions change. This can be due to any event resulting in new changes, such as an initial 30-day transactions fetch upon the initialization of an Item with transactions, the backfill of historical transactions that occurs shortly after, or when changes are populated from a regularly-scheduled transactions update job. It is recommended to listen for the `SYNC_UPDATES_AVAILABLE` webhook when using the `/processor/transactions/sync` endpoint. Note that when using `/processor/transactions/sync` the older webhooks `INITIAL_UPDATE`, `HISTORICAL_UPDATE`, `DEFAULT_UPDATE`, and `TRANSACTIONS_REMOVED`, which are intended for use with `/processor/transactions/get`, will also continue to be sent in order to maintain backwards compatibility. It is not necessary to listen for and respond to those webhooks when using `/processor/transactions/sync`. After receipt of this webhook, the new changes can be fetched for the Item from `/processor/transactions/sync`. Note that to receive this webhook for an Item, `/processor/transactions/sync` must have been called at least once on that Item. This means that, unlike the `INITIAL_UPDATE` and `HISTORICAL_UPDATE` webhooks, it will not fire immediately upon Item creation. If `/transactions/sync` is called on an Item that was *not* initialized with Transactions, the webhook will fire twice: once the first 30 days of transactions data has been fetched, and a second time when all available historical transactions data has been fetched. This webhook will typically not fire in the Sandbox environment, due to the lack of dynamic transactions data. To test this webhook in Sandbox, call `/sandbox/item/fire_webhook`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ProcessorSyncUpdatesAvailableWebhook {
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_INITIAL_UPDATE_COMPLETE = "initial_update_complete";
@SerializedName(SERIALIZED_NAME_INITIAL_UPDATE_COMPLETE)
private Boolean initialUpdateComplete;
public static final String SERIALIZED_NAME_HISTORICAL_UPDATE_COMPLETE = "historical_update_complete";
@SerializedName(SERIALIZED_NAME_HISTORICAL_UPDATE_COMPLETE)
private Boolean historicalUpdateComplete;
public static final String SERIALIZED_NAME_ENVIRONMENT = "environment";
@SerializedName(SERIALIZED_NAME_ENVIRONMENT)
private WebhookEnvironmentValues environment;
public ProcessorSyncUpdatesAvailableWebhook webhookType(String webhookType) {
this.webhookType = webhookType;
return this;
}
/**
* `TRANSACTIONS`
* @return webhookType
**/
@ApiModelProperty(required = true, value = "`TRANSACTIONS`")
public String getWebhookType() {
return webhookType;
}
public void setWebhookType(String webhookType) {
this.webhookType = webhookType;
}
public ProcessorSyncUpdatesAvailableWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `SYNC_UPDATES_AVAILABLE`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`SYNC_UPDATES_AVAILABLE`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public ProcessorSyncUpdatesAvailableWebhook accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* The ID of the account.
* @return accountId
**/
@ApiModelProperty(required = true, value = "The ID of the account.")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public ProcessorSyncUpdatesAvailableWebhook initialUpdateComplete(Boolean initialUpdateComplete) {
this.initialUpdateComplete = initialUpdateComplete;
return this;
}
/**
* Indicates if initial pull information is available.
* @return initialUpdateComplete
**/
@ApiModelProperty(required = true, value = "Indicates if initial pull information is available.")
public Boolean getInitialUpdateComplete() {
return initialUpdateComplete;
}
public void setInitialUpdateComplete(Boolean initialUpdateComplete) {
this.initialUpdateComplete = initialUpdateComplete;
}
public ProcessorSyncUpdatesAvailableWebhook historicalUpdateComplete(Boolean historicalUpdateComplete) {
this.historicalUpdateComplete = historicalUpdateComplete;
return this;
}
/**
* Indicates if historical pull information is available.
* @return historicalUpdateComplete
**/
@ApiModelProperty(required = true, value = "Indicates if historical pull information is available.")
public Boolean getHistoricalUpdateComplete() {
return historicalUpdateComplete;
}
public void setHistoricalUpdateComplete(Boolean historicalUpdateComplete) {
this.historicalUpdateComplete = historicalUpdateComplete;
}
public ProcessorSyncUpdatesAvailableWebhook 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;
}
ProcessorSyncUpdatesAvailableWebhook processorSyncUpdatesAvailableWebhook = (ProcessorSyncUpdatesAvailableWebhook) o;
return Objects.equals(this.webhookType, processorSyncUpdatesAvailableWebhook.webhookType) &&
Objects.equals(this.webhookCode, processorSyncUpdatesAvailableWebhook.webhookCode) &&
Objects.equals(this.accountId, processorSyncUpdatesAvailableWebhook.accountId) &&
Objects.equals(this.initialUpdateComplete, processorSyncUpdatesAvailableWebhook.initialUpdateComplete) &&
Objects.equals(this.historicalUpdateComplete, processorSyncUpdatesAvailableWebhook.historicalUpdateComplete) &&
Objects.equals(this.environment, processorSyncUpdatesAvailableWebhook.environment);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, accountId, initialUpdateComplete, historicalUpdateComplete, environment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProcessorSyncUpdatesAvailableWebhook {\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(" initialUpdateComplete: ").append(toIndentedString(initialUpdateComplete)).append("\n");
sb.append(" historicalUpdateComplete: ").append(toIndentedString(historicalUpdateComplete)).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/FDXEventStatus.java | src/main/java/com/plaid/client/model/FDXEventStatus.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;
/**
* Current status of indicated entity after reported event change. Not all statuses will be supported on all entity types by all data providers
*/
@JsonAdapter(FDXEventStatus.Adapter.class)
public enum FDXEventStatus {
ACTIVE("ACTIVE"),
EXPIRED("EXPIRED"),
REVOKED("REVOKED"),
SUSPENDED("SUSPENDED"),
// 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;
FDXEventStatus(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static FDXEventStatus fromValue(String value) {
for (FDXEventStatus b : FDXEventStatus.values()) {
if (b.value.equals(value)) {
return b;
}
}
return FDXEventStatus.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<FDXEventStatus> {
@Override
public void write(final JsonWriter jsonWriter, final FDXEventStatus enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public FDXEventStatus read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return FDXEventStatus.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/BetaPartnerCustomerV1CreateResponse.java | src/main/java/com/plaid/client/model/BetaPartnerCustomerV1CreateResponse.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.BetaPartnerEndCustomerWithSecrets;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Response schema for `/beta/partner/customer/v1/create`.
*/
@ApiModel(description = "Response schema for `/beta/partner/customer/v1/create`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BetaPartnerCustomerV1CreateResponse {
public static final String SERIALIZED_NAME_END_CUSTOMER = "end_customer";
@SerializedName(SERIALIZED_NAME_END_CUSTOMER)
private BetaPartnerEndCustomerWithSecrets endCustomer;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public BetaPartnerCustomerV1CreateResponse endCustomer(BetaPartnerEndCustomerWithSecrets endCustomer) {
this.endCustomer = endCustomer;
return this;
}
/**
* Get endCustomer
* @return endCustomer
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public BetaPartnerEndCustomerWithSecrets getEndCustomer() {
return endCustomer;
}
public void setEndCustomer(BetaPartnerEndCustomerWithSecrets endCustomer) {
this.endCustomer = endCustomer;
}
public BetaPartnerCustomerV1CreateResponse 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;
}
BetaPartnerCustomerV1CreateResponse betaPartnerCustomerV1CreateResponse = (BetaPartnerCustomerV1CreateResponse) o;
return Objects.equals(this.endCustomer, betaPartnerCustomerV1CreateResponse.endCustomer) &&
Objects.equals(this.requestId, betaPartnerCustomerV1CreateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(endCustomer, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BetaPartnerCustomerV1CreateResponse {\n");
sb.append(" endCustomer: ").append(toIndentedString(endCustomer)).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/AddressData.java | src/main/java/com/plaid/client/model/AddressData.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;
/**
* 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 AddressData {
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 AddressData city(String city) {
this.city = city;
return this;
}
/**
* The full city name
* @return city
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The full city name")
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public AddressData 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(required = true, 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 AddressData street(String street) {
this.street = street;
return this;
}
/**
* The full street address Example: `\"564 Main Street, APT 15\"`
* @return street
**/
@ApiModelProperty(required = true, 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 AddressData 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(required = true, 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 AddressData country(String country) {
this.country = country;
return this;
}
/**
* The ISO 3166-1 alpha-2 country code
* @return country
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, 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;
}
AddressData addressData = (AddressData) o;
return Objects.equals(this.city, addressData.city) &&
Objects.equals(this.region, addressData.region) &&
Objects.equals(this.street, addressData.street) &&
Objects.equals(this.postalCode, addressData.postalCode) &&
Objects.equals(this.country, addressData.country);
}
@Override
public int hashCode() {
return Objects.hash(city, region, street, postalCode, country);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AddressData {\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/TotalOutflowAmount.java | src/main/java/com/plaid/client/model/TotalOutflowAmount.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.math.BigDecimal;
/**
* Total amount of credit transactions into the account in the time period of the report. This field will be empty for non-depository accounts. This field only takes into account USD transactions from the account.
*/
@ApiModel(description = "Total amount of credit transactions into the account in the time period of the report. This field will be empty for non-depository accounts. This field only takes into account USD transactions from the account.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TotalOutflowAmount {
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 TotalOutflowAmount amount(Double amount) {
this.amount = amount;
return this;
}
/**
* Value of amount with up to 2 decimal places.
* @return amount
**/
@ApiModelProperty(required = true, value = "Value of amount with up to 2 decimal places.")
public Double getAmount() {
return amount;
}
public void setAmount(Double amount) {
this.amount = amount;
}
public TotalOutflowAmount isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The ISO 4217 currency code of the amount or balance.
* @return isoCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The ISO 4217 currency code of the amount or balance.")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public TotalOutflowAmount unofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
return this;
}
/**
* The unofficial currency code associated with the amount or balance. Always `null` if `iso_currency_code` is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.
* @return unofficialCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The unofficial currency code associated with the amount or balance. Always `null` if `iso_currency_code` is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.")
public String getUnofficialCurrencyCode() {
return unofficialCurrencyCode;
}
public void setUnofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TotalOutflowAmount totalOutflowAmount = (TotalOutflowAmount) o;
return Objects.equals(this.amount, totalOutflowAmount.amount) &&
Objects.equals(this.isoCurrencyCode, totalOutflowAmount.isoCurrencyCode) &&
Objects.equals(this.unofficialCurrencyCode, totalOutflowAmount.unofficialCurrencyCode);
}
@Override
public int hashCode() {
return Objects.hash(amount, isoCurrencyCode, unofficialCurrencyCode);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TotalOutflowAmount {\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" unofficialCurrencyCode: ").append(toIndentedString(unofficialCurrencyCode)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CreditBankIncomeSource.java | src/main/java/com/plaid/client/model/CreditBankIncomeSource.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.CreditBankIncomeCategory;
import com.plaid.client.model.CreditBankIncomeHistoricalSummary;
import com.plaid.client.model.CreditBankIncomePayFrequency;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
/**
* Detailed information for the income source.
*/
@ApiModel(description = "Detailed information for the income source.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditBankIncomeSource {
public static final String SERIALIZED_NAME_INCOME_SOURCE_ID = "income_source_id";
@SerializedName(SERIALIZED_NAME_INCOME_SOURCE_ID)
private String incomeSourceId;
public static final String SERIALIZED_NAME_INCOME_DESCRIPTION = "income_description";
@SerializedName(SERIALIZED_NAME_INCOME_DESCRIPTION)
private String incomeDescription;
public static final String SERIALIZED_NAME_INCOME_CATEGORY = "income_category";
@SerializedName(SERIALIZED_NAME_INCOME_CATEGORY)
private CreditBankIncomeCategory incomeCategory;
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
private String accountId;
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_PAY_FREQUENCY = "pay_frequency";
@SerializedName(SERIALIZED_NAME_PAY_FREQUENCY)
private CreditBankIncomePayFrequency payFrequency;
public static final String SERIALIZED_NAME_TOTAL_AMOUNT = "total_amount";
@SerializedName(SERIALIZED_NAME_TOTAL_AMOUNT)
private Double totalAmount;
public static final String SERIALIZED_NAME_TRANSACTION_COUNT = "transaction_count";
@SerializedName(SERIALIZED_NAME_TRANSACTION_COUNT)
private Integer transactionCount;
public static final String SERIALIZED_NAME_HISTORICAL_SUMMARY = "historical_summary";
@SerializedName(SERIALIZED_NAME_HISTORICAL_SUMMARY)
private List<CreditBankIncomeHistoricalSummary> historicalSummary = null;
public CreditBankIncomeSource incomeSourceId(String incomeSourceId) {
this.incomeSourceId = incomeSourceId;
return this;
}
/**
* A unique identifier for an income source.
* @return incomeSourceId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A unique identifier for an income source.")
public String getIncomeSourceId() {
return incomeSourceId;
}
public void setIncomeSourceId(String incomeSourceId) {
this.incomeSourceId = incomeSourceId;
}
public CreditBankIncomeSource incomeDescription(String incomeDescription) {
this.incomeDescription = incomeDescription;
return this;
}
/**
* The most common name or original description for the underlying income transactions.
* @return incomeDescription
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The most common name or original description for the underlying income transactions.")
public String getIncomeDescription() {
return incomeDescription;
}
public void setIncomeDescription(String incomeDescription) {
this.incomeDescription = incomeDescription;
}
public CreditBankIncomeSource incomeCategory(CreditBankIncomeCategory incomeCategory) {
this.incomeCategory = incomeCategory;
return this;
}
/**
* Get incomeCategory
* @return incomeCategory
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public CreditBankIncomeCategory getIncomeCategory() {
return incomeCategory;
}
public void setIncomeCategory(CreditBankIncomeCategory incomeCategory) {
this.incomeCategory = incomeCategory;
}
public CreditBankIncomeSource 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 CreditBankIncomeSource startDate(LocalDate startDate) {
this.startDate = startDate;
return this;
}
/**
* Minimum of all dates within the specific income sources in the user's bank account for days requested by the client. The date will be returned in an ISO 8601 format (YYYY-MM-DD).
* @return startDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Minimum of all dates within the specific income sources in the user's bank account for days requested by the client. 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 CreditBankIncomeSource endDate(LocalDate endDate) {
this.endDate = endDate;
return this;
}
/**
* Maximum of all dates within the specific income sources in the user’s bank account for days requested by the client. The date will be returned in an ISO 8601 format (YYYY-MM-DD).
* @return endDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Maximum of all dates within the specific income sources in the user’s bank account for days requested by the client. 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 CreditBankIncomeSource payFrequency(CreditBankIncomePayFrequency payFrequency) {
this.payFrequency = payFrequency;
return this;
}
/**
* Get payFrequency
* @return payFrequency
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public CreditBankIncomePayFrequency getPayFrequency() {
return payFrequency;
}
public void setPayFrequency(CreditBankIncomePayFrequency payFrequency) {
this.payFrequency = payFrequency;
}
public CreditBankIncomeSource totalAmount(Double totalAmount) {
this.totalAmount = totalAmount;
return this;
}
/**
* Total amount of earnings in the user’s bank account for the specific income source for days requested by the client.
* @return totalAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Total amount of earnings in the user’s bank account for the specific income source for days requested by the client.")
public Double getTotalAmount() {
return totalAmount;
}
public void setTotalAmount(Double totalAmount) {
this.totalAmount = totalAmount;
}
public CreditBankIncomeSource transactionCount(Integer transactionCount) {
this.transactionCount = transactionCount;
return this;
}
/**
* Number of transactions for the income source within the start and end date.
* @return transactionCount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Number of transactions for the income source within the start and end date.")
public Integer getTransactionCount() {
return transactionCount;
}
public void setTransactionCount(Integer transactionCount) {
this.transactionCount = transactionCount;
}
public CreditBankIncomeSource historicalSummary(List<CreditBankIncomeHistoricalSummary> historicalSummary) {
this.historicalSummary = historicalSummary;
return this;
}
public CreditBankIncomeSource addHistoricalSummaryItem(CreditBankIncomeHistoricalSummary 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<CreditBankIncomeHistoricalSummary> getHistoricalSummary() {
return historicalSummary;
}
public void setHistoricalSummary(List<CreditBankIncomeHistoricalSummary> historicalSummary) {
this.historicalSummary = historicalSummary;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreditBankIncomeSource creditBankIncomeSource = (CreditBankIncomeSource) o;
return Objects.equals(this.incomeSourceId, creditBankIncomeSource.incomeSourceId) &&
Objects.equals(this.incomeDescription, creditBankIncomeSource.incomeDescription) &&
Objects.equals(this.incomeCategory, creditBankIncomeSource.incomeCategory) &&
Objects.equals(this.accountId, creditBankIncomeSource.accountId) &&
Objects.equals(this.startDate, creditBankIncomeSource.startDate) &&
Objects.equals(this.endDate, creditBankIncomeSource.endDate) &&
Objects.equals(this.payFrequency, creditBankIncomeSource.payFrequency) &&
Objects.equals(this.totalAmount, creditBankIncomeSource.totalAmount) &&
Objects.equals(this.transactionCount, creditBankIncomeSource.transactionCount) &&
Objects.equals(this.historicalSummary, creditBankIncomeSource.historicalSummary);
}
@Override
public int hashCode() {
return Objects.hash(incomeSourceId, incomeDescription, incomeCategory, accountId, startDate, endDate, payFrequency, totalAmount, transactionCount, historicalSummary);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditBankIncomeSource {\n");
sb.append(" incomeSourceId: ").append(toIndentedString(incomeSourceId)).append("\n");
sb.append(" incomeDescription: ").append(toIndentedString(incomeDescription)).append("\n");
sb.append(" incomeCategory: ").append(toIndentedString(incomeCategory)).append("\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n");
sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n");
sb.append(" payFrequency: ").append(toIndentedString(payFrequency)).append("\n");
sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n");
sb.append(" transactionCount: ").append(toIndentedString(transactionCount)).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/DocType.java | src/main/java/com/plaid/client/model/DocType.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 type of document. `DOCUMENT_TYPE_PAYSTUB`: A paystub. `DOCUMENT_TYPE_BANK_STATEMENT`: A bank statement. `DOCUMENT_TYPE_US_TAX_W2`: A W-2 wage and tax statement provided by a US employer reflecting wages earned by the employee. `DOCUMENT_TYPE_US_MILITARY_ERAS`: An electronic Retirement Account Statement (eRAS) issued by the US military. `DOCUMENT_TYPE_US_MILITARY_LES`: A Leave and Earnings Statement (LES) issued by the US military. `DOCUMENT_TYPE_US_MILITARY_CLES`: A Civilian Leave and Earnings Statement (CLES) issued by the US military. `DOCUMENT_TYPE_GIG`: Used to indicate that the income is related to gig work. Does not necessarily correspond to a specific document type. `DOCUMENT_TYPE_NONE`: Used to indicate that there is no underlying document for the data. `DOCUMENT_TYPE_PLAID_GENERATED_PAYSTUB_PDF`: Used to indicate that the PDF for the paystub was generated by Plaid. `UNKNOWN`: Document type could not be determined.
*/
@JsonAdapter(DocType.Adapter.class)
public enum DocType {
UNKNOWN("UNKNOWN"),
DOCUMENT_TYPE_PAYSTUB("DOCUMENT_TYPE_PAYSTUB"),
DOCUMENT_TYPE_BANK_STATEMENT("DOCUMENT_TYPE_BANK_STATEMENT"),
DOCUMENT_TYPE_US_TAX_W2("DOCUMENT_TYPE_US_TAX_W2"),
DOCUMENT_TYPE_US_MILITARY_ERAS("DOCUMENT_TYPE_US_MILITARY_ERAS"),
DOCUMENT_TYPE_US_MILITARY_LES("DOCUMENT_TYPE_US_MILITARY_LES"),
DOCUMENT_TYPE_US_MILITARY_CLES("DOCUMENT_TYPE_US_MILITARY_CLES"),
DOCUMENT_TYPE_GIG("DOCUMENT_TYPE_GIG"),
DOCUMENT_TYPE_NONE("DOCUMENT_TYPE_NONE"),
DOCUMENT_TYPE_US_TAX_1099_MISC("DOCUMENT_TYPE_US_TAX_1099_MISC"),
DOCUMENT_TYPE_US_TAX_1099_K("DOCUMENT_TYPE_US_TAX_1099_K"),
DOCUMENT_TYPE_PLAID_GENERATED_PAYSTUB_PDF("DOCUMENT_TYPE_PLAID_GENERATED_PAYSTUB_PDF"),
// 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;
DocType(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static DocType fromValue(String value) {
for (DocType b : DocType.values()) {
if (b.value.equals(value)) {
return b;
}
}
return DocType.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<DocType> {
@Override
public void write(final JsonWriter jsonWriter, final DocType enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public DocType read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return DocType.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/CashflowReportGetRequest.java | src/main/java/com/plaid/client/model/CashflowReportGetRequest.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.CashflowReportGetRequestOptions;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* CashflowReportGetRequest defines the request schema for `/cashflow_report/get`
*/
@ApiModel(description = "CashflowReportGetRequest defines the request schema for `/cashflow_report/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CashflowReportGetRequest {
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_DAYS_REQUESTED = "days_requested";
@SerializedName(SERIALIZED_NAME_DAYS_REQUESTED)
private Integer daysRequested;
public static final String SERIALIZED_NAME_COUNT = "count";
@SerializedName(SERIALIZED_NAME_COUNT)
private Integer count = 100;
public static final String SERIALIZED_NAME_CURSOR = "cursor";
@SerializedName(SERIALIZED_NAME_CURSOR)
private String cursor;
public static final String SERIALIZED_NAME_OPTIONS = "options";
@SerializedName(SERIALIZED_NAME_OPTIONS)
private CashflowReportGetRequestOptions options;
public CashflowReportGetRequest 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 CashflowReportGetRequest 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 CashflowReportGetRequest 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 CashflowReportGetRequest daysRequested(Integer daysRequested) {
this.daysRequested = daysRequested;
return this;
}
/**
* Number of days to retrieve transactions data for (1 to 730)
* minimum: 1
* maximum: 730
* @return daysRequested
**/
@ApiModelProperty(required = true, value = "Number of days to retrieve transactions data for (1 to 730)")
public Integer getDaysRequested() {
return daysRequested;
}
public void setDaysRequested(Integer daysRequested) {
this.daysRequested = daysRequested;
}
public CashflowReportGetRequest count(Integer count) {
this.count = count;
return this;
}
/**
* Number of transactions to fetch per call
* minimum: 1
* maximum: 500
* @return count
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Number of transactions to fetch per call")
public Integer getCount() {
return count;
}
public void setCount(Integer count) {
this.count = count;
}
public CashflowReportGetRequest cursor(String cursor) {
this.cursor = cursor;
return this;
}
/**
* The cursor value represents the last update requested. Pass in the empty string \"\" in the first call.
* @return cursor
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The cursor value represents the last update requested. Pass in the empty string \"\" in the first call.")
public String getCursor() {
return cursor;
}
public void setCursor(String cursor) {
this.cursor = cursor;
}
public CashflowReportGetRequest options(CashflowReportGetRequestOptions options) {
this.options = options;
return this;
}
/**
* Get options
* @return options
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public CashflowReportGetRequestOptions getOptions() {
return options;
}
public void setOptions(CashflowReportGetRequestOptions options) {
this.options = options;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CashflowReportGetRequest cashflowReportGetRequest = (CashflowReportGetRequest) o;
return Objects.equals(this.clientId, cashflowReportGetRequest.clientId) &&
Objects.equals(this.accessToken, cashflowReportGetRequest.accessToken) &&
Objects.equals(this.secret, cashflowReportGetRequest.secret) &&
Objects.equals(this.daysRequested, cashflowReportGetRequest.daysRequested) &&
Objects.equals(this.count, cashflowReportGetRequest.count) &&
Objects.equals(this.cursor, cashflowReportGetRequest.cursor) &&
Objects.equals(this.options, cashflowReportGetRequest.options);
}
@Override
public int hashCode() {
return Objects.hash(clientId, accessToken, secret, daysRequested, count, cursor, options);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CashflowReportGetRequest {\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(" daysRequested: ").append(toIndentedString(daysRequested)).append("\n");
sb.append(" count: ").append(toIndentedString(count)).append("\n");
sb.append(" cursor: ").append(toIndentedString(cursor)).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/BeaconDuplicateGetResponse.java | src/main/java/com/plaid/client/model/BeaconDuplicateGetResponse.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.BeaconMatchSummaryAnalysis;
import com.plaid.client.model.BeaconUserRevision;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* A Beacon Duplicate represents a pair of matching Beacon Users and an analysis of the fields they matched on.
*/
@ApiModel(description = "A Beacon Duplicate represents a pair of matching Beacon Users and an analysis of the fields they matched on.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BeaconDuplicateGetResponse {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
public static final String SERIALIZED_NAME_BEACON_USER1 = "beacon_user1";
@SerializedName(SERIALIZED_NAME_BEACON_USER1)
private BeaconUserRevision beaconUser1;
public static final String SERIALIZED_NAME_BEACON_USER2 = "beacon_user2";
@SerializedName(SERIALIZED_NAME_BEACON_USER2)
private BeaconUserRevision beaconUser2;
public static final String SERIALIZED_NAME_ANALYSIS = "analysis";
@SerializedName(SERIALIZED_NAME_ANALYSIS)
private BeaconMatchSummaryAnalysis analysis;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public BeaconDuplicateGetResponse id(String id) {
this.id = id;
return this;
}
/**
* ID of the associated Beacon Duplicate.
* @return id
**/
@ApiModelProperty(example = "becdup_11111111111111", required = true, value = "ID of the associated Beacon Duplicate.")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public BeaconDuplicateGetResponse beaconUser1(BeaconUserRevision beaconUser1) {
this.beaconUser1 = beaconUser1;
return this;
}
/**
* Get beaconUser1
* @return beaconUser1
**/
@ApiModelProperty(required = true, value = "")
public BeaconUserRevision getBeaconUser1() {
return beaconUser1;
}
public void setBeaconUser1(BeaconUserRevision beaconUser1) {
this.beaconUser1 = beaconUser1;
}
public BeaconDuplicateGetResponse beaconUser2(BeaconUserRevision beaconUser2) {
this.beaconUser2 = beaconUser2;
return this;
}
/**
* Get beaconUser2
* @return beaconUser2
**/
@ApiModelProperty(required = true, value = "")
public BeaconUserRevision getBeaconUser2() {
return beaconUser2;
}
public void setBeaconUser2(BeaconUserRevision beaconUser2) {
this.beaconUser2 = beaconUser2;
}
public BeaconDuplicateGetResponse analysis(BeaconMatchSummaryAnalysis analysis) {
this.analysis = analysis;
return this;
}
/**
* Get analysis
* @return analysis
**/
@ApiModelProperty(required = true, value = "")
public BeaconMatchSummaryAnalysis getAnalysis() {
return analysis;
}
public void setAnalysis(BeaconMatchSummaryAnalysis analysis) {
this.analysis = analysis;
}
public BeaconDuplicateGetResponse 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;
}
BeaconDuplicateGetResponse beaconDuplicateGetResponse = (BeaconDuplicateGetResponse) o;
return Objects.equals(this.id, beaconDuplicateGetResponse.id) &&
Objects.equals(this.beaconUser1, beaconDuplicateGetResponse.beaconUser1) &&
Objects.equals(this.beaconUser2, beaconDuplicateGetResponse.beaconUser2) &&
Objects.equals(this.analysis, beaconDuplicateGetResponse.analysis) &&
Objects.equals(this.requestId, beaconDuplicateGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(id, beaconUser1, beaconUser2, analysis, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BeaconDuplicateGetResponse {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" beaconUser1: ").append(toIndentedString(beaconUser1)).append("\n");
sb.append(" beaconUser2: ").append(toIndentedString(beaconUser2)).append("\n");
sb.append(" analysis: ").append(toIndentedString(analysis)).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/KYCCheckPhoneSummary.java | src/main/java/com/plaid/client/model/KYCCheckPhoneSummary.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;
/**
* Result summary object specifying how the `phone` field matched.
*/
@ApiModel(description = "Result summary object specifying how the `phone` field matched.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class KYCCheckPhoneSummary {
public static final String SERIALIZED_NAME_SUMMARY = "summary";
@SerializedName(SERIALIZED_NAME_SUMMARY)
private MatchSummaryCode summary;
public static final String SERIALIZED_NAME_AREA_CODE = "area_code";
@SerializedName(SERIALIZED_NAME_AREA_CODE)
private MatchSummaryCode areaCode;
public KYCCheckPhoneSummary 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;
}
public KYCCheckPhoneSummary areaCode(MatchSummaryCode areaCode) {
this.areaCode = areaCode;
return this;
}
/**
* Get areaCode
* @return areaCode
**/
@ApiModelProperty(required = true, value = "")
public MatchSummaryCode getAreaCode() {
return areaCode;
}
public void setAreaCode(MatchSummaryCode areaCode) {
this.areaCode = areaCode;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
KYCCheckPhoneSummary kyCCheckPhoneSummary = (KYCCheckPhoneSummary) o;
return Objects.equals(this.summary, kyCCheckPhoneSummary.summary) &&
Objects.equals(this.areaCode, kyCCheckPhoneSummary.areaCode);
}
@Override
public int hashCode() {
return Objects.hash(summary, areaCode);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class KYCCheckPhoneSummary {\n");
sb.append(" summary: ").append(toIndentedString(summary)).append("\n");
sb.append(" areaCode: ").append(toIndentedString(areaCode)).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/BeaconAccountRiskEvaluateAccountAttributes.java | src/main/java/com/plaid/client/model/BeaconAccountRiskEvaluateAccountAttributes.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 attributes object contains data that can be used to assess account risk. Examples of data include: `days_since_first_plaid_connection`: The number of days since the first time the Item was connected to an application via Plaid `plaid_connections_count_7d`: The number of times the Item has been connected to applications via Plaid over the past 7 days `plaid_connections_count_30d`: The number of times the Item has been connected to applications via Plaid over the past 30 days `total_plaid_connections_count`: The number of times the Item has been connected to applications via Plaid For the full list and detailed documentation of core attributes available, or to request that core attributes not be returned, contact Sales or your Plaid account manager
*/
@ApiModel(description = "The attributes object contains data that can be used to assess account risk. Examples of data include: `days_since_first_plaid_connection`: The number of days since the first time the Item was connected to an application via Plaid `plaid_connections_count_7d`: The number of times the Item has been connected to applications via Plaid over the past 7 days `plaid_connections_count_30d`: The number of times the Item has been connected to applications via Plaid over the past 30 days `total_plaid_connections_count`: The number of times the Item has been connected to applications via Plaid For the full list and detailed documentation of core attributes available, or to request that core attributes not be returned, contact Sales or your Plaid account manager")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BeaconAccountRiskEvaluateAccountAttributes {
public static final String SERIALIZED_NAME_DAYS_SINCE_FIRST_PLAID_CONNECTION = "days_since_first_plaid_connection";
@SerializedName(SERIALIZED_NAME_DAYS_SINCE_FIRST_PLAID_CONNECTION)
private Integer daysSinceFirstPlaidConnection;
public static final String SERIALIZED_NAME_IS_ACCOUNT_CLOSED = "is_account_closed";
@SerializedName(SERIALIZED_NAME_IS_ACCOUNT_CLOSED)
private Boolean isAccountClosed;
public static final String SERIALIZED_NAME_IS_ACCOUNT_FROZEN_OR_RESTRICTED = "is_account_frozen_or_restricted";
@SerializedName(SERIALIZED_NAME_IS_ACCOUNT_FROZEN_OR_RESTRICTED)
private Boolean isAccountFrozenOrRestricted;
public static final String SERIALIZED_NAME_TOTAL_PLAID_CONNECTIONS_COUNT = "total_plaid_connections_count";
@SerializedName(SERIALIZED_NAME_TOTAL_PLAID_CONNECTIONS_COUNT)
private Integer totalPlaidConnectionsCount;
public static final String SERIALIZED_NAME_PLAID_CONNECTIONS_COUNT7D = "plaid_connections_count_7d";
@SerializedName(SERIALIZED_NAME_PLAID_CONNECTIONS_COUNT7D)
private Integer plaidConnectionsCount7d;
public static final String SERIALIZED_NAME_PLAID_CONNECTIONS_COUNT30D = "plaid_connections_count_30d";
@SerializedName(SERIALIZED_NAME_PLAID_CONNECTIONS_COUNT30D)
private Integer plaidConnectionsCount30d;
public static final String SERIALIZED_NAME_FAILED_PLAID_NON_OAUTH_AUTHENTICATION_ATTEMPTS_COUNT3D = "failed_plaid_non_oauth_authentication_attempts_count_3d";
@SerializedName(SERIALIZED_NAME_FAILED_PLAID_NON_OAUTH_AUTHENTICATION_ATTEMPTS_COUNT3D)
private Integer failedPlaidNonOauthAuthenticationAttemptsCount3d;
public static final String SERIALIZED_NAME_PLAID_NON_OAUTH_AUTHENTICATION_ATTEMPTS_COUNT3D = "plaid_non_oauth_authentication_attempts_count_3d";
@SerializedName(SERIALIZED_NAME_PLAID_NON_OAUTH_AUTHENTICATION_ATTEMPTS_COUNT3D)
private Integer plaidNonOauthAuthenticationAttemptsCount3d;
public static final String SERIALIZED_NAME_FAILED_PLAID_NON_OAUTH_AUTHENTICATION_ATTEMPTS_COUNT7D = "failed_plaid_non_oauth_authentication_attempts_count_7d";
@SerializedName(SERIALIZED_NAME_FAILED_PLAID_NON_OAUTH_AUTHENTICATION_ATTEMPTS_COUNT7D)
private Integer failedPlaidNonOauthAuthenticationAttemptsCount7d;
public static final String SERIALIZED_NAME_PLAID_NON_OAUTH_AUTHENTICATION_ATTEMPTS_COUNT7D = "plaid_non_oauth_authentication_attempts_count_7d";
@SerializedName(SERIALIZED_NAME_PLAID_NON_OAUTH_AUTHENTICATION_ATTEMPTS_COUNT7D)
private Integer plaidNonOauthAuthenticationAttemptsCount7d;
public static final String SERIALIZED_NAME_FAILED_PLAID_NON_OAUTH_AUTHENTICATION_ATTEMPTS_COUNT30D = "failed_plaid_non_oauth_authentication_attempts_count_30d";
@SerializedName(SERIALIZED_NAME_FAILED_PLAID_NON_OAUTH_AUTHENTICATION_ATTEMPTS_COUNT30D)
private Integer failedPlaidNonOauthAuthenticationAttemptsCount30d;
public static final String SERIALIZED_NAME_PLAID_NON_OAUTH_AUTHENTICATION_ATTEMPTS_COUNT30D = "plaid_non_oauth_authentication_attempts_count_30d";
@SerializedName(SERIALIZED_NAME_PLAID_NON_OAUTH_AUTHENTICATION_ATTEMPTS_COUNT30D)
private Integer plaidNonOauthAuthenticationAttemptsCount30d;
public static final String SERIALIZED_NAME_DISTINCT_IP_ADDRESSES_COUNT3D = "distinct_ip_addresses_count_3d";
@SerializedName(SERIALIZED_NAME_DISTINCT_IP_ADDRESSES_COUNT3D)
private Integer distinctIpAddressesCount3d;
public static final String SERIALIZED_NAME_DISTINCT_IP_ADDRESSES_COUNT7D = "distinct_ip_addresses_count_7d";
@SerializedName(SERIALIZED_NAME_DISTINCT_IP_ADDRESSES_COUNT7D)
private Integer distinctIpAddressesCount7d;
public static final String SERIALIZED_NAME_DISTINCT_IP_ADDRESSES_COUNT30D = "distinct_ip_addresses_count_30d";
@SerializedName(SERIALIZED_NAME_DISTINCT_IP_ADDRESSES_COUNT30D)
private Integer distinctIpAddressesCount30d;
public static final String SERIALIZED_NAME_DISTINCT_IP_ADDRESSES_COUNT90D = "distinct_ip_addresses_count_90d";
@SerializedName(SERIALIZED_NAME_DISTINCT_IP_ADDRESSES_COUNT90D)
private Integer distinctIpAddressesCount90d;
public static final String SERIALIZED_NAME_DISTINCT_USER_AGENTS_COUNT3D = "distinct_user_agents_count_3d";
@SerializedName(SERIALIZED_NAME_DISTINCT_USER_AGENTS_COUNT3D)
private Integer distinctUserAgentsCount3d;
public static final String SERIALIZED_NAME_DISTINCT_USER_AGENTS_COUNT7D = "distinct_user_agents_count_7d";
@SerializedName(SERIALIZED_NAME_DISTINCT_USER_AGENTS_COUNT7D)
private Integer distinctUserAgentsCount7d;
public static final String SERIALIZED_NAME_DISTINCT_USER_AGENTS_COUNT30D = "distinct_user_agents_count_30d";
@SerializedName(SERIALIZED_NAME_DISTINCT_USER_AGENTS_COUNT30D)
private Integer distinctUserAgentsCount30d;
public static final String SERIALIZED_NAME_DISTINCT_USER_AGENTS_COUNT90D = "distinct_user_agents_count_90d";
@SerializedName(SERIALIZED_NAME_DISTINCT_USER_AGENTS_COUNT90D)
private Integer distinctUserAgentsCount90d;
public static final String SERIALIZED_NAME_ADDRESS_CHANGE_COUNT28D = "address_change_count_28d";
@SerializedName(SERIALIZED_NAME_ADDRESS_CHANGE_COUNT28D)
private Integer addressChangeCount28d;
public static final String SERIALIZED_NAME_EMAIL_CHANGE_COUNT28D = "email_change_count_28d";
@SerializedName(SERIALIZED_NAME_EMAIL_CHANGE_COUNT28D)
private Integer emailChangeCount28d;
public static final String SERIALIZED_NAME_PHONE_CHANGE_COUNT28D = "phone_change_count_28d";
@SerializedName(SERIALIZED_NAME_PHONE_CHANGE_COUNT28D)
private Integer phoneChangeCount28d;
public static final String SERIALIZED_NAME_ADDRESS_CHANGE_COUNT90D = "address_change_count_90d";
@SerializedName(SERIALIZED_NAME_ADDRESS_CHANGE_COUNT90D)
private Integer addressChangeCount90d;
public static final String SERIALIZED_NAME_EMAIL_CHANGE_COUNT90D = "email_change_count_90d";
@SerializedName(SERIALIZED_NAME_EMAIL_CHANGE_COUNT90D)
private Integer emailChangeCount90d;
public static final String SERIALIZED_NAME_PHONE_CHANGE_COUNT90D = "phone_change_count_90d";
@SerializedName(SERIALIZED_NAME_PHONE_CHANGE_COUNT90D)
private Integer phoneChangeCount90d;
public static final String SERIALIZED_NAME_DAYS_SINCE_ACCOUNT_OPENING = "days_since_account_opening";
@SerializedName(SERIALIZED_NAME_DAYS_SINCE_ACCOUNT_OPENING)
private Integer daysSinceAccountOpening;
public static final String SERIALIZED_NAME_DAYS_SINCE_FIRST_OBSERVED_TRANSACTION = "days_since_first_observed_transaction";
@SerializedName(SERIALIZED_NAME_DAYS_SINCE_FIRST_OBSERVED_TRANSACTION)
private Integer daysSinceFirstObservedTransaction;
public BeaconAccountRiskEvaluateAccountAttributes daysSinceFirstPlaidConnection(Integer daysSinceFirstPlaidConnection) {
this.daysSinceFirstPlaidConnection = daysSinceFirstPlaidConnection;
return this;
}
/**
* The number of days since the first time the Item was connected to an application via Plaid
* @return daysSinceFirstPlaidConnection
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of days since the first time the Item was connected to an application via Plaid")
public Integer getDaysSinceFirstPlaidConnection() {
return daysSinceFirstPlaidConnection;
}
public void setDaysSinceFirstPlaidConnection(Integer daysSinceFirstPlaidConnection) {
this.daysSinceFirstPlaidConnection = daysSinceFirstPlaidConnection;
}
public BeaconAccountRiskEvaluateAccountAttributes isAccountClosed(Boolean isAccountClosed) {
this.isAccountClosed = isAccountClosed;
return this;
}
/**
* Indicates if the account has been closed by the financial institution or the consumer, or is at risk of being closed
* @return isAccountClosed
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Indicates if the account has been closed by the financial institution or the consumer, or is at risk of being closed")
public Boolean getIsAccountClosed() {
return isAccountClosed;
}
public void setIsAccountClosed(Boolean isAccountClosed) {
this.isAccountClosed = isAccountClosed;
}
public BeaconAccountRiskEvaluateAccountAttributes isAccountFrozenOrRestricted(Boolean isAccountFrozenOrRestricted) {
this.isAccountFrozenOrRestricted = isAccountFrozenOrRestricted;
return this;
}
/**
* Indicates whether the account has withdrawals and transfers disabled or if access to the account is restricted. This could be due to a freeze by the credit issuer, legal restrictions (e.g., sanctions), or regulatory requirements limiting monthly withdrawals, among other reasons
* @return isAccountFrozenOrRestricted
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Indicates whether the account has withdrawals and transfers disabled or if access to the account is restricted. This could be due to a freeze by the credit issuer, legal restrictions (e.g., sanctions), or regulatory requirements limiting monthly withdrawals, among other reasons")
public Boolean getIsAccountFrozenOrRestricted() {
return isAccountFrozenOrRestricted;
}
public void setIsAccountFrozenOrRestricted(Boolean isAccountFrozenOrRestricted) {
this.isAccountFrozenOrRestricted = isAccountFrozenOrRestricted;
}
public BeaconAccountRiskEvaluateAccountAttributes totalPlaidConnectionsCount(Integer totalPlaidConnectionsCount) {
this.totalPlaidConnectionsCount = totalPlaidConnectionsCount;
return this;
}
/**
* The total number of times the item has been connected to applications via Plaid
* @return totalPlaidConnectionsCount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The total number of times the item has been connected to applications via Plaid")
public Integer getTotalPlaidConnectionsCount() {
return totalPlaidConnectionsCount;
}
public void setTotalPlaidConnectionsCount(Integer totalPlaidConnectionsCount) {
this.totalPlaidConnectionsCount = totalPlaidConnectionsCount;
}
public BeaconAccountRiskEvaluateAccountAttributes plaidConnectionsCount7d(Integer plaidConnectionsCount7d) {
this.plaidConnectionsCount7d = plaidConnectionsCount7d;
return this;
}
/**
* The number of times the Item has been connected to applications via Plaid over the past 7 days
* @return plaidConnectionsCount7d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of times the Item has been connected to applications via Plaid over the past 7 days")
public Integer getPlaidConnectionsCount7d() {
return plaidConnectionsCount7d;
}
public void setPlaidConnectionsCount7d(Integer plaidConnectionsCount7d) {
this.plaidConnectionsCount7d = plaidConnectionsCount7d;
}
public BeaconAccountRiskEvaluateAccountAttributes plaidConnectionsCount30d(Integer plaidConnectionsCount30d) {
this.plaidConnectionsCount30d = plaidConnectionsCount30d;
return this;
}
/**
* The number of times the Item has been connected to applications via Plaid over the past 30 days
* @return plaidConnectionsCount30d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of times the Item has been connected to applications via Plaid over the past 30 days")
public Integer getPlaidConnectionsCount30d() {
return plaidConnectionsCount30d;
}
public void setPlaidConnectionsCount30d(Integer plaidConnectionsCount30d) {
this.plaidConnectionsCount30d = plaidConnectionsCount30d;
}
public BeaconAccountRiskEvaluateAccountAttributes failedPlaidNonOauthAuthenticationAttemptsCount3d(Integer failedPlaidNonOauthAuthenticationAttemptsCount3d) {
this.failedPlaidNonOauthAuthenticationAttemptsCount3d = failedPlaidNonOauthAuthenticationAttemptsCount3d;
return this;
}
/**
* The number of failed non-OAuth authentication attempts via Plaid for this bank account over the past 3 days
* @return failedPlaidNonOauthAuthenticationAttemptsCount3d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of failed non-OAuth authentication attempts via Plaid for this bank account over the past 3 days")
public Integer getFailedPlaidNonOauthAuthenticationAttemptsCount3d() {
return failedPlaidNonOauthAuthenticationAttemptsCount3d;
}
public void setFailedPlaidNonOauthAuthenticationAttemptsCount3d(Integer failedPlaidNonOauthAuthenticationAttemptsCount3d) {
this.failedPlaidNonOauthAuthenticationAttemptsCount3d = failedPlaidNonOauthAuthenticationAttemptsCount3d;
}
public BeaconAccountRiskEvaluateAccountAttributes plaidNonOauthAuthenticationAttemptsCount3d(Integer plaidNonOauthAuthenticationAttemptsCount3d) {
this.plaidNonOauthAuthenticationAttemptsCount3d = plaidNonOauthAuthenticationAttemptsCount3d;
return this;
}
/**
* The number of non-OAuth authentication attempts via Plaid for this bank account over the past 3 days
* @return plaidNonOauthAuthenticationAttemptsCount3d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of non-OAuth authentication attempts via Plaid for this bank account over the past 3 days")
public Integer getPlaidNonOauthAuthenticationAttemptsCount3d() {
return plaidNonOauthAuthenticationAttemptsCount3d;
}
public void setPlaidNonOauthAuthenticationAttemptsCount3d(Integer plaidNonOauthAuthenticationAttemptsCount3d) {
this.plaidNonOauthAuthenticationAttemptsCount3d = plaidNonOauthAuthenticationAttemptsCount3d;
}
public BeaconAccountRiskEvaluateAccountAttributes failedPlaidNonOauthAuthenticationAttemptsCount7d(Integer failedPlaidNonOauthAuthenticationAttemptsCount7d) {
this.failedPlaidNonOauthAuthenticationAttemptsCount7d = failedPlaidNonOauthAuthenticationAttemptsCount7d;
return this;
}
/**
* The number of failed non-OAuth authentication attempts via Plaid for this bank account over the past 7 days
* @return failedPlaidNonOauthAuthenticationAttemptsCount7d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of failed non-OAuth authentication attempts via Plaid for this bank account over the past 7 days")
public Integer getFailedPlaidNonOauthAuthenticationAttemptsCount7d() {
return failedPlaidNonOauthAuthenticationAttemptsCount7d;
}
public void setFailedPlaidNonOauthAuthenticationAttemptsCount7d(Integer failedPlaidNonOauthAuthenticationAttemptsCount7d) {
this.failedPlaidNonOauthAuthenticationAttemptsCount7d = failedPlaidNonOauthAuthenticationAttemptsCount7d;
}
public BeaconAccountRiskEvaluateAccountAttributes plaidNonOauthAuthenticationAttemptsCount7d(Integer plaidNonOauthAuthenticationAttemptsCount7d) {
this.plaidNonOauthAuthenticationAttemptsCount7d = plaidNonOauthAuthenticationAttemptsCount7d;
return this;
}
/**
* The number of non-OAuth authentication attempts via Plaid for this bank account over the past 7 days
* @return plaidNonOauthAuthenticationAttemptsCount7d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of non-OAuth authentication attempts via Plaid for this bank account over the past 7 days")
public Integer getPlaidNonOauthAuthenticationAttemptsCount7d() {
return plaidNonOauthAuthenticationAttemptsCount7d;
}
public void setPlaidNonOauthAuthenticationAttemptsCount7d(Integer plaidNonOauthAuthenticationAttemptsCount7d) {
this.plaidNonOauthAuthenticationAttemptsCount7d = plaidNonOauthAuthenticationAttemptsCount7d;
}
public BeaconAccountRiskEvaluateAccountAttributes failedPlaidNonOauthAuthenticationAttemptsCount30d(Integer failedPlaidNonOauthAuthenticationAttemptsCount30d) {
this.failedPlaidNonOauthAuthenticationAttemptsCount30d = failedPlaidNonOauthAuthenticationAttemptsCount30d;
return this;
}
/**
* The number of failed non-OAuth authentication attempts via Plaid for this bank account over the past 30 days
* @return failedPlaidNonOauthAuthenticationAttemptsCount30d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of failed non-OAuth authentication attempts via Plaid for this bank account over the past 30 days")
public Integer getFailedPlaidNonOauthAuthenticationAttemptsCount30d() {
return failedPlaidNonOauthAuthenticationAttemptsCount30d;
}
public void setFailedPlaidNonOauthAuthenticationAttemptsCount30d(Integer failedPlaidNonOauthAuthenticationAttemptsCount30d) {
this.failedPlaidNonOauthAuthenticationAttemptsCount30d = failedPlaidNonOauthAuthenticationAttemptsCount30d;
}
public BeaconAccountRiskEvaluateAccountAttributes plaidNonOauthAuthenticationAttemptsCount30d(Integer plaidNonOauthAuthenticationAttemptsCount30d) {
this.plaidNonOauthAuthenticationAttemptsCount30d = plaidNonOauthAuthenticationAttemptsCount30d;
return this;
}
/**
* The number of non-OAuth authentication attempts via Plaid for this bank account over the past 30 days
* @return plaidNonOauthAuthenticationAttemptsCount30d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of non-OAuth authentication attempts via Plaid for this bank account over the past 30 days")
public Integer getPlaidNonOauthAuthenticationAttemptsCount30d() {
return plaidNonOauthAuthenticationAttemptsCount30d;
}
public void setPlaidNonOauthAuthenticationAttemptsCount30d(Integer plaidNonOauthAuthenticationAttemptsCount30d) {
this.plaidNonOauthAuthenticationAttemptsCount30d = plaidNonOauthAuthenticationAttemptsCount30d;
}
public BeaconAccountRiskEvaluateAccountAttributes distinctIpAddressesCount3d(Integer distinctIpAddressesCount3d) {
this.distinctIpAddressesCount3d = distinctIpAddressesCount3d;
return this;
}
/**
* The number of distinct IP addresses linked to the same bank account during Plaid authentication in the last 3 days
* @return distinctIpAddressesCount3d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of distinct IP addresses linked to the same bank account during Plaid authentication in the last 3 days")
public Integer getDistinctIpAddressesCount3d() {
return distinctIpAddressesCount3d;
}
public void setDistinctIpAddressesCount3d(Integer distinctIpAddressesCount3d) {
this.distinctIpAddressesCount3d = distinctIpAddressesCount3d;
}
public BeaconAccountRiskEvaluateAccountAttributes distinctIpAddressesCount7d(Integer distinctIpAddressesCount7d) {
this.distinctIpAddressesCount7d = distinctIpAddressesCount7d;
return this;
}
/**
* The number of distinct IP addresses linked to the same bank account during Plaid authentication in the last 7 days
* @return distinctIpAddressesCount7d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of distinct IP addresses linked to the same bank account during Plaid authentication in the last 7 days")
public Integer getDistinctIpAddressesCount7d() {
return distinctIpAddressesCount7d;
}
public void setDistinctIpAddressesCount7d(Integer distinctIpAddressesCount7d) {
this.distinctIpAddressesCount7d = distinctIpAddressesCount7d;
}
public BeaconAccountRiskEvaluateAccountAttributes distinctIpAddressesCount30d(Integer distinctIpAddressesCount30d) {
this.distinctIpAddressesCount30d = distinctIpAddressesCount30d;
return this;
}
/**
* The number of distinct IP addresses linked to the same bank account during Plaid authentication in the last 30 days
* @return distinctIpAddressesCount30d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of distinct IP addresses linked to the same bank account during Plaid authentication in the last 30 days")
public Integer getDistinctIpAddressesCount30d() {
return distinctIpAddressesCount30d;
}
public void setDistinctIpAddressesCount30d(Integer distinctIpAddressesCount30d) {
this.distinctIpAddressesCount30d = distinctIpAddressesCount30d;
}
public BeaconAccountRiskEvaluateAccountAttributes distinctIpAddressesCount90d(Integer distinctIpAddressesCount90d) {
this.distinctIpAddressesCount90d = distinctIpAddressesCount90d;
return this;
}
/**
* The number of distinct IP addresses linked to the same bank account during Plaid authentication in the last 90 days
* @return distinctIpAddressesCount90d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of distinct IP addresses linked to the same bank account during Plaid authentication in the last 90 days")
public Integer getDistinctIpAddressesCount90d() {
return distinctIpAddressesCount90d;
}
public void setDistinctIpAddressesCount90d(Integer distinctIpAddressesCount90d) {
this.distinctIpAddressesCount90d = distinctIpAddressesCount90d;
}
public BeaconAccountRiskEvaluateAccountAttributes distinctUserAgentsCount3d(Integer distinctUserAgentsCount3d) {
this.distinctUserAgentsCount3d = distinctUserAgentsCount3d;
return this;
}
/**
* The number of distinct user agents linked to the same bank account during Plaid authentication in the last 3 days
* @return distinctUserAgentsCount3d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of distinct user agents linked to the same bank account during Plaid authentication in the last 3 days")
public Integer getDistinctUserAgentsCount3d() {
return distinctUserAgentsCount3d;
}
public void setDistinctUserAgentsCount3d(Integer distinctUserAgentsCount3d) {
this.distinctUserAgentsCount3d = distinctUserAgentsCount3d;
}
public BeaconAccountRiskEvaluateAccountAttributes distinctUserAgentsCount7d(Integer distinctUserAgentsCount7d) {
this.distinctUserAgentsCount7d = distinctUserAgentsCount7d;
return this;
}
/**
* The number of distinct user agents linked to the same bank account during Plaid authentication in the last 7 days
* @return distinctUserAgentsCount7d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of distinct user agents linked to the same bank account during Plaid authentication in the last 7 days")
public Integer getDistinctUserAgentsCount7d() {
return distinctUserAgentsCount7d;
}
public void setDistinctUserAgentsCount7d(Integer distinctUserAgentsCount7d) {
this.distinctUserAgentsCount7d = distinctUserAgentsCount7d;
}
public BeaconAccountRiskEvaluateAccountAttributes distinctUserAgentsCount30d(Integer distinctUserAgentsCount30d) {
this.distinctUserAgentsCount30d = distinctUserAgentsCount30d;
return this;
}
/**
* The number of distinct user agents linked to the same bank account during Plaid authentication in the last 30 days
* @return distinctUserAgentsCount30d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of distinct user agents linked to the same bank account during Plaid authentication in the last 30 days")
public Integer getDistinctUserAgentsCount30d() {
return distinctUserAgentsCount30d;
}
public void setDistinctUserAgentsCount30d(Integer distinctUserAgentsCount30d) {
this.distinctUserAgentsCount30d = distinctUserAgentsCount30d;
}
public BeaconAccountRiskEvaluateAccountAttributes distinctUserAgentsCount90d(Integer distinctUserAgentsCount90d) {
this.distinctUserAgentsCount90d = distinctUserAgentsCount90d;
return this;
}
/**
* The number of distinct user agents linked to the same bank account during Plaid authentication in the last 90 days
* @return distinctUserAgentsCount90d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of distinct user agents linked to the same bank account during Plaid authentication in the last 90 days")
public Integer getDistinctUserAgentsCount90d() {
return distinctUserAgentsCount90d;
}
public void setDistinctUserAgentsCount90d(Integer distinctUserAgentsCount90d) {
this.distinctUserAgentsCount90d = distinctUserAgentsCount90d;
}
public BeaconAccountRiskEvaluateAccountAttributes addressChangeCount28d(Integer addressChangeCount28d) {
this.addressChangeCount28d = addressChangeCount28d;
return this;
}
/**
* The number of times the account's addresses on file have changed over the past 28 days
* @return addressChangeCount28d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of times the account's addresses on file have changed over the past 28 days")
public Integer getAddressChangeCount28d() {
return addressChangeCount28d;
}
public void setAddressChangeCount28d(Integer addressChangeCount28d) {
this.addressChangeCount28d = addressChangeCount28d;
}
public BeaconAccountRiskEvaluateAccountAttributes emailChangeCount28d(Integer emailChangeCount28d) {
this.emailChangeCount28d = emailChangeCount28d;
return this;
}
/**
* The number of times the account's email addresses on file have changed over the past 28 days
* @return emailChangeCount28d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of times the account's email addresses on file have changed over the past 28 days")
public Integer getEmailChangeCount28d() {
return emailChangeCount28d;
}
public void setEmailChangeCount28d(Integer emailChangeCount28d) {
this.emailChangeCount28d = emailChangeCount28d;
}
public BeaconAccountRiskEvaluateAccountAttributes phoneChangeCount28d(Integer phoneChangeCount28d) {
this.phoneChangeCount28d = phoneChangeCount28d;
return this;
}
/**
* The number of times the account's phone numbers on file have changed over the past 28 days
* @return phoneChangeCount28d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of times the account's phone numbers on file have changed over the past 28 days")
public Integer getPhoneChangeCount28d() {
return phoneChangeCount28d;
}
public void setPhoneChangeCount28d(Integer phoneChangeCount28d) {
this.phoneChangeCount28d = phoneChangeCount28d;
}
public BeaconAccountRiskEvaluateAccountAttributes addressChangeCount90d(Integer addressChangeCount90d) {
this.addressChangeCount90d = addressChangeCount90d;
return this;
}
/**
* The number of times the account's addresses on file have changed over the past 90 days
* @return addressChangeCount90d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of times the account's addresses on file have changed over the past 90 days")
public Integer getAddressChangeCount90d() {
return addressChangeCount90d;
}
public void setAddressChangeCount90d(Integer addressChangeCount90d) {
this.addressChangeCount90d = addressChangeCount90d;
}
public BeaconAccountRiskEvaluateAccountAttributes emailChangeCount90d(Integer emailChangeCount90d) {
this.emailChangeCount90d = emailChangeCount90d;
return this;
}
/**
* The number of times the account's email addresses on file have changed over the past 90 days
* @return emailChangeCount90d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of times the account's email addresses on file have changed over the past 90 days")
public Integer getEmailChangeCount90d() {
return emailChangeCount90d;
}
public void setEmailChangeCount90d(Integer emailChangeCount90d) {
this.emailChangeCount90d = emailChangeCount90d;
}
public BeaconAccountRiskEvaluateAccountAttributes phoneChangeCount90d(Integer phoneChangeCount90d) {
this.phoneChangeCount90d = phoneChangeCount90d;
return this;
}
/**
* The number of times the account's phone numbers on file have changed over the past 90 days
* @return phoneChangeCount90d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of times the account's phone numbers on file have changed over the past 90 days")
public Integer getPhoneChangeCount90d() {
return phoneChangeCount90d;
}
public void setPhoneChangeCount90d(Integer phoneChangeCount90d) {
this.phoneChangeCount90d = phoneChangeCount90d;
}
public BeaconAccountRiskEvaluateAccountAttributes daysSinceAccountOpening(Integer daysSinceAccountOpening) {
this.daysSinceAccountOpening = daysSinceAccountOpening;
return this;
}
/**
* The number of days since the bank account was opened, as reported by the financial institution
* @return daysSinceAccountOpening
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of days since the bank account was opened, as reported by the financial institution")
public Integer getDaysSinceAccountOpening() {
return daysSinceAccountOpening;
}
public void setDaysSinceAccountOpening(Integer daysSinceAccountOpening) {
this.daysSinceAccountOpening = daysSinceAccountOpening;
}
public BeaconAccountRiskEvaluateAccountAttributes daysSinceFirstObservedTransaction(Integer daysSinceFirstObservedTransaction) {
this.daysSinceFirstObservedTransaction = daysSinceFirstObservedTransaction;
return this;
}
/**
* The number of days since the oldest transaction available to Plaid for this account. This measure, combined with Plaid connection history, can be used to infer the age of the account
* @return daysSinceFirstObservedTransaction
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of days since the oldest transaction available to Plaid for this account. This measure, combined with Plaid connection history, can be used to infer the age of the account")
public Integer getDaysSinceFirstObservedTransaction() {
return daysSinceFirstObservedTransaction;
}
public void setDaysSinceFirstObservedTransaction(Integer daysSinceFirstObservedTransaction) {
this.daysSinceFirstObservedTransaction = daysSinceFirstObservedTransaction;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BeaconAccountRiskEvaluateAccountAttributes beaconAccountRiskEvaluateAccountAttributes = (BeaconAccountRiskEvaluateAccountAttributes) o;
| 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/LinkTokenCreateRequestEmploymentBankIncome.java | src/main/java/com/plaid/client/model/LinkTokenCreateRequestEmploymentBankIncome.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 Bank Employment. This field is required if `employment` is included in the `products` array and `bank` is specified in `employment_source_types`.
*/
@ApiModel(description = "Specifies options for initializing Link for use with Bank Employment. This field is required if `employment` is included in the `products` array and `bank` is specified in `employment_source_types`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkTokenCreateRequestEmploymentBankIncome {
public static final String SERIALIZED_NAME_DAYS_REQUESTED = "days_requested";
@SerializedName(SERIALIZED_NAME_DAYS_REQUESTED)
private Integer daysRequested;
public LinkTokenCreateRequestEmploymentBankIncome daysRequested(Integer daysRequested) {
this.daysRequested = daysRequested;
return this;
}
/**
* The number of days of data to request for the Bank Employment product.
* @return daysRequested
**/
@ApiModelProperty(required = true, value = "The number of days of data to request for the Bank Employment product.")
public Integer getDaysRequested() {
return daysRequested;
}
public void setDaysRequested(Integer daysRequested) {
this.daysRequested = daysRequested;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkTokenCreateRequestEmploymentBankIncome linkTokenCreateRequestEmploymentBankIncome = (LinkTokenCreateRequestEmploymentBankIncome) o;
return Objects.equals(this.daysRequested, linkTokenCreateRequestEmploymentBankIncome.daysRequested);
}
@Override
public int hashCode() {
return Objects.hash(daysRequested);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkTokenCreateRequestEmploymentBankIncome {\n");
sb.append(" daysRequested: ").append(toIndentedString(daysRequested)).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/LoanIdentifiers.java | src/main/java/com/plaid/client/model/LoanIdentifiers.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.LoanIdentifier;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Collection of current and previous identifiers for this loan.
*/
@ApiModel(description = "Collection of current and previous identifiers for this loan.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LoanIdentifiers {
public static final String SERIALIZED_NAME_L_O_A_N_I_D_E_N_T_I_F_I_E_R = "LOAN_IDENTIFIER";
@SerializedName(SERIALIZED_NAME_L_O_A_N_I_D_E_N_T_I_F_I_E_R)
private LoanIdentifier LOAN_IDENTIFIER;
public LoanIdentifiers LOAN_IDENTIFIER(LoanIdentifier LOAN_IDENTIFIER) {
this.LOAN_IDENTIFIER = LOAN_IDENTIFIER;
return this;
}
/**
* Get LOAN_IDENTIFIER
* @return LOAN_IDENTIFIER
**/
@ApiModelProperty(required = true, value = "")
public LoanIdentifier getLOANIDENTIFIER() {
return LOAN_IDENTIFIER;
}
public void setLOANIDENTIFIER(LoanIdentifier LOAN_IDENTIFIER) {
this.LOAN_IDENTIFIER = LOAN_IDENTIFIER;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LoanIdentifiers loanIdentifiers = (LoanIdentifiers) o;
return Objects.equals(this.LOAN_IDENTIFIER, loanIdentifiers.LOAN_IDENTIFIER);
}
@Override
public int hashCode() {
return Objects.hash(LOAN_IDENTIFIER);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LoanIdentifiers {\n");
sb.append(" LOAN_IDENTIFIER: ").append(toIndentedString(LOAN_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/SelfieCheckStatus.java | src/main/java/com/plaid/client/model/SelfieCheckStatus.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 status for the associated Identity Verification attempt's `selfie_check` step. This field will always have the same value as `steps.selfie_check`.
*/
@JsonAdapter(SelfieCheckStatus.Adapter.class)
public enum SelfieCheckStatus {
SUCCESS("success"),
FAILED("failed"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
SelfieCheckStatus(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static SelfieCheckStatus fromValue(String value) {
for (SelfieCheckStatus b : SelfieCheckStatus.values()) {
if (b.value.equals(value)) {
return b;
}
}
return SelfieCheckStatus.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<SelfieCheckStatus> {
@Override
public void write(final JsonWriter jsonWriter, final SelfieCheckStatus enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public SelfieCheckStatus read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return SelfieCheckStatus.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/PartnerEndCustomerOAuthStatusUpdatedWebhook.java | src/main/java/com/plaid/client/model/PartnerEndCustomerOAuthStatusUpdatedWebhook.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.PartnerEndCustomerOAuthStatusUpdatedValues;
import com.plaid.client.model.WebhookEnvironmentValues;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The webhook of type `PARTNER` and code `END_CUSTOMER_OAUTH_STATUS_UPDATED` will be fired when a partner's end customer has an update on their OAuth registration status with an institution.
*/
@ApiModel(description = "The webhook of type `PARTNER` and code `END_CUSTOMER_OAUTH_STATUS_UPDATED` will be fired when a partner's end customer has an update on their OAuth registration status with an institution.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PartnerEndCustomerOAuthStatusUpdatedWebhook {
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_END_CUSTOMER_CLIENT_ID = "end_customer_client_id";
@SerializedName(SERIALIZED_NAME_END_CUSTOMER_CLIENT_ID)
private String endCustomerClientId;
public static final String SERIALIZED_NAME_ENVIRONMENT = "environment";
@SerializedName(SERIALIZED_NAME_ENVIRONMENT)
private WebhookEnvironmentValues environment;
public static final String SERIALIZED_NAME_INSTITUTION_ID = "institution_id";
@SerializedName(SERIALIZED_NAME_INSTITUTION_ID)
private String institutionId;
public static final String SERIALIZED_NAME_INSTITUTION_NAME = "institution_name";
@SerializedName(SERIALIZED_NAME_INSTITUTION_NAME)
private String institutionName;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private PartnerEndCustomerOAuthStatusUpdatedValues status;
public PartnerEndCustomerOAuthStatusUpdatedWebhook webhookType(String webhookType) {
this.webhookType = webhookType;
return this;
}
/**
* `PARTNER`
* @return webhookType
**/
@ApiModelProperty(required = true, value = "`PARTNER`")
public String getWebhookType() {
return webhookType;
}
public void setWebhookType(String webhookType) {
this.webhookType = webhookType;
}
public PartnerEndCustomerOAuthStatusUpdatedWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `END_CUSTOMER_OAUTH_STATUS_UPDATED`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`END_CUSTOMER_OAUTH_STATUS_UPDATED`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public PartnerEndCustomerOAuthStatusUpdatedWebhook endCustomerClientId(String endCustomerClientId) {
this.endCustomerClientId = endCustomerClientId;
return this;
}
/**
* The client ID of the end customer
* @return endCustomerClientId
**/
@ApiModelProperty(required = true, value = "The client ID of the end customer")
public String getEndCustomerClientId() {
return endCustomerClientId;
}
public void setEndCustomerClientId(String endCustomerClientId) {
this.endCustomerClientId = endCustomerClientId;
}
public PartnerEndCustomerOAuthStatusUpdatedWebhook 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 PartnerEndCustomerOAuthStatusUpdatedWebhook institutionId(String institutionId) {
this.institutionId = institutionId;
return this;
}
/**
* The institution ID
* @return institutionId
**/
@ApiModelProperty(required = true, value = "The institution ID")
public String getInstitutionId() {
return institutionId;
}
public void setInstitutionId(String institutionId) {
this.institutionId = institutionId;
}
public PartnerEndCustomerOAuthStatusUpdatedWebhook institutionName(String institutionName) {
this.institutionName = institutionName;
return this;
}
/**
* The institution name
* @return institutionName
**/
@ApiModelProperty(required = true, value = "The institution name")
public String getInstitutionName() {
return institutionName;
}
public void setInstitutionName(String institutionName) {
this.institutionName = institutionName;
}
public PartnerEndCustomerOAuthStatusUpdatedWebhook status(PartnerEndCustomerOAuthStatusUpdatedValues status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@ApiModelProperty(required = true, value = "")
public PartnerEndCustomerOAuthStatusUpdatedValues getStatus() {
return status;
}
public void setStatus(PartnerEndCustomerOAuthStatusUpdatedValues status) {
this.status = status;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PartnerEndCustomerOAuthStatusUpdatedWebhook partnerEndCustomerOAuthStatusUpdatedWebhook = (PartnerEndCustomerOAuthStatusUpdatedWebhook) o;
return Objects.equals(this.webhookType, partnerEndCustomerOAuthStatusUpdatedWebhook.webhookType) &&
Objects.equals(this.webhookCode, partnerEndCustomerOAuthStatusUpdatedWebhook.webhookCode) &&
Objects.equals(this.endCustomerClientId, partnerEndCustomerOAuthStatusUpdatedWebhook.endCustomerClientId) &&
Objects.equals(this.environment, partnerEndCustomerOAuthStatusUpdatedWebhook.environment) &&
Objects.equals(this.institutionId, partnerEndCustomerOAuthStatusUpdatedWebhook.institutionId) &&
Objects.equals(this.institutionName, partnerEndCustomerOAuthStatusUpdatedWebhook.institutionName) &&
Objects.equals(this.status, partnerEndCustomerOAuthStatusUpdatedWebhook.status);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, endCustomerClientId, environment, institutionId, institutionName, status);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PartnerEndCustomerOAuthStatusUpdatedWebhook {\n");
sb.append(" webhookType: ").append(toIndentedString(webhookType)).append("\n");
sb.append(" webhookCode: ").append(toIndentedString(webhookCode)).append("\n");
sb.append(" endCustomerClientId: ").append(toIndentedString(endCustomerClientId)).append("\n");
sb.append(" environment: ").append(toIndentedString(environment)).append("\n");
sb.append(" institutionId: ").append(toIndentedString(institutionId)).append("\n");
sb.append(" institutionName: ").append(toIndentedString(institutionName)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BankTransferEventSyncRequest.java | src/main/java/com/plaid/client/model/BankTransferEventSyncRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines the request schema for `/bank_transfer/event/sync`
*/
@ApiModel(description = "Defines the request schema for `/bank_transfer/event/sync`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BankTransferEventSyncRequest {
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_AFTER_ID = "after_id";
@SerializedName(SERIALIZED_NAME_AFTER_ID)
private Integer afterId;
public static final String SERIALIZED_NAME_COUNT = "count";
@SerializedName(SERIALIZED_NAME_COUNT)
private Integer count = 25;
public BankTransferEventSyncRequest 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 BankTransferEventSyncRequest 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 BankTransferEventSyncRequest afterId(Integer afterId) {
this.afterId = afterId;
return this;
}
/**
* The latest (largest) `event_id` fetched via the sync endpoint, or 0 initially.
* minimum: 0
* @return afterId
**/
@ApiModelProperty(required = true, value = "The latest (largest) `event_id` fetched via the sync endpoint, or 0 initially.")
public Integer getAfterId() {
return afterId;
}
public void setAfterId(Integer afterId) {
this.afterId = afterId;
}
public BankTransferEventSyncRequest count(Integer count) {
this.count = count;
return this;
}
/**
* The maximum number of bank transfer events to return.
* minimum: 1
* maximum: 25
* @return count
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The maximum number of bank transfer events to return.")
public Integer getCount() {
return count;
}
public void setCount(Integer count) {
this.count = count;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BankTransferEventSyncRequest bankTransferEventSyncRequest = (BankTransferEventSyncRequest) o;
return Objects.equals(this.clientId, bankTransferEventSyncRequest.clientId) &&
Objects.equals(this.secret, bankTransferEventSyncRequest.secret) &&
Objects.equals(this.afterId, bankTransferEventSyncRequest.afterId) &&
Objects.equals(this.count, bankTransferEventSyncRequest.count);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, afterId, count);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BankTransferEventSyncRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" afterId: ").append(toIndentedString(afterId)).append("\n");
sb.append(" count: ").append(toIndentedString(count)).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/BetaPartnerCustomerV1GetResponse.java | src/main/java/com/plaid/client/model/BetaPartnerCustomerV1GetResponse.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.BetaPartnerEndCustomer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Response schema for `/beta/partner/customer/v1/get`.
*/
@ApiModel(description = "Response schema for `/beta/partner/customer/v1/get`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BetaPartnerCustomerV1GetResponse {
public static final String SERIALIZED_NAME_END_CUSTOMER = "end_customer";
@SerializedName(SERIALIZED_NAME_END_CUSTOMER)
private BetaPartnerEndCustomer endCustomer;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public BetaPartnerCustomerV1GetResponse endCustomer(BetaPartnerEndCustomer endCustomer) {
this.endCustomer = endCustomer;
return this;
}
/**
* Get endCustomer
* @return endCustomer
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public BetaPartnerEndCustomer getEndCustomer() {
return endCustomer;
}
public void setEndCustomer(BetaPartnerEndCustomer endCustomer) {
this.endCustomer = endCustomer;
}
public BetaPartnerCustomerV1GetResponse 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;
}
BetaPartnerCustomerV1GetResponse betaPartnerCustomerV1GetResponse = (BetaPartnerCustomerV1GetResponse) o;
return Objects.equals(this.endCustomer, betaPartnerCustomerV1GetResponse.endCustomer) &&
Objects.equals(this.requestId, betaPartnerCustomerV1GetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(endCustomer, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BetaPartnerCustomerV1GetResponse {\n");
sb.append(" endCustomer: ").append(toIndentedString(endCustomer)).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/BeaconUserHistoryListResponse.java | src/main/java/com/plaid/client/model/BeaconUserHistoryListResponse.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.BeaconUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* The response schema for `/beacon/user/history/list`
*/
@ApiModel(description = "The response schema for `/beacon/user/history/list`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BeaconUserHistoryListResponse {
public static final String SERIALIZED_NAME_BEACON_USERS = "beacon_users";
@SerializedName(SERIALIZED_NAME_BEACON_USERS)
private List<BeaconUser> beaconUsers = 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 BeaconUserHistoryListResponse beaconUsers(List<BeaconUser> beaconUsers) {
this.beaconUsers = beaconUsers;
return this;
}
public BeaconUserHistoryListResponse addBeaconUsersItem(BeaconUser beaconUsersItem) {
this.beaconUsers.add(beaconUsersItem);
return this;
}
/**
* Get beaconUsers
* @return beaconUsers
**/
@ApiModelProperty(required = true, value = "")
public List<BeaconUser> getBeaconUsers() {
return beaconUsers;
}
public void setBeaconUsers(List<BeaconUser> beaconUsers) {
this.beaconUsers = beaconUsers;
}
public BeaconUserHistoryListResponse 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 BeaconUserHistoryListResponse 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;
}
BeaconUserHistoryListResponse beaconUserHistoryListResponse = (BeaconUserHistoryListResponse) o;
return Objects.equals(this.beaconUsers, beaconUserHistoryListResponse.beaconUsers) &&
Objects.equals(this.nextCursor, beaconUserHistoryListResponse.nextCursor) &&
Objects.equals(this.requestId, beaconUserHistoryListResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(beaconUsers, nextCursor, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BeaconUserHistoryListResponse {\n");
sb.append(" beaconUsers: ").append(toIndentedString(beaconUsers)).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/ProcessorStripeBankAccountTokenCreateRequest.java | src/main/java/com/plaid/client/model/ProcessorStripeBankAccountTokenCreateRequest.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;
/**
* ProcessorStripeBankAccountTokenCreateRequest defines the request schema for `/processor/stripe/bank_account/create`
*/
@ApiModel(description = "ProcessorStripeBankAccountTokenCreateRequest defines the request schema for `/processor/stripe/bank_account/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ProcessorStripeBankAccountTokenCreateRequest {
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;
public ProcessorStripeBankAccountTokenCreateRequest 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 ProcessorStripeBankAccountTokenCreateRequest 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 ProcessorStripeBankAccountTokenCreateRequest 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 ProcessorStripeBankAccountTokenCreateRequest 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;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ProcessorStripeBankAccountTokenCreateRequest processorStripeBankAccountTokenCreateRequest = (ProcessorStripeBankAccountTokenCreateRequest) o;
return Objects.equals(this.clientId, processorStripeBankAccountTokenCreateRequest.clientId) &&
Objects.equals(this.secret, processorStripeBankAccountTokenCreateRequest.secret) &&
Objects.equals(this.accessToken, processorStripeBankAccountTokenCreateRequest.accessToken) &&
Objects.equals(this.accountId, processorStripeBankAccountTokenCreateRequest.accountId);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, accessToken, accountId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProcessorStripeBankAccountTokenCreateRequest {\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("}");
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/LinkSessionBankEmploymentResult.java | src/main/java/com/plaid/client/model/LinkSessionBankEmploymentResult.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.CreditSessionBankEmploymentStatus;
import com.plaid.client.model.LinkSessionSuccessMetadataInstitution;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The details of a bank employment verification in Link.
*/
@ApiModel(description = "The details of a bank employment verification in Link.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkSessionBankEmploymentResult {
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private CreditSessionBankEmploymentStatus status;
public static final String SERIALIZED_NAME_ITEM_ID = "item_id";
@SerializedName(SERIALIZED_NAME_ITEM_ID)
private String itemId;
public static final String SERIALIZED_NAME_INSTITUTION = "institution";
@SerializedName(SERIALIZED_NAME_INSTITUTION)
private LinkSessionSuccessMetadataInstitution institution;
public LinkSessionBankEmploymentResult status(CreditSessionBankEmploymentStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@ApiModelProperty(required = true, value = "")
public CreditSessionBankEmploymentStatus getStatus() {
return status;
}
public void setStatus(CreditSessionBankEmploymentStatus status) {
this.status = status;
}
public LinkSessionBankEmploymentResult itemId(String itemId) {
this.itemId = itemId;
return this;
}
/**
* The Plaid Item ID. The `item_id` is always unique; linking the same account at the same institution twice will result in two Items with different `item_id` values. Like all Plaid identifiers, the `item_id` is case-sensitive.
* @return itemId
**/
@ApiModelProperty(required = true, value = "The Plaid Item ID. The `item_id` is always unique; linking the same account at the same institution twice will result in two Items with different `item_id` values. Like all Plaid identifiers, the `item_id` is case-sensitive.")
public String getItemId() {
return itemId;
}
public void setItemId(String itemId) {
this.itemId = itemId;
}
public LinkSessionBankEmploymentResult institution(LinkSessionSuccessMetadataInstitution institution) {
this.institution = institution;
return this;
}
/**
* Get institution
* @return institution
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public LinkSessionSuccessMetadataInstitution getInstitution() {
return institution;
}
public void setInstitution(LinkSessionSuccessMetadataInstitution institution) {
this.institution = institution;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkSessionBankEmploymentResult linkSessionBankEmploymentResult = (LinkSessionBankEmploymentResult) o;
return Objects.equals(this.status, linkSessionBankEmploymentResult.status) &&
Objects.equals(this.itemId, linkSessionBankEmploymentResult.itemId) &&
Objects.equals(this.institution, linkSessionBankEmploymentResult.institution);
}
@Override
public int hashCode() {
return Objects.hash(status, itemId, institution);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkSessionBankEmploymentResult {\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" itemId: ").append(toIndentedString(itemId)).append("\n");
sb.append(" institution: ").append(toIndentedString(institution)).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/TransferAuthorizationDecisionRationaleCode.java | src/main/java/com/plaid/client/model/TransferAuthorizationDecisionRationaleCode.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* A code representing the rationale for approving or declining the proposed transfer. If the `rationale_code` is `null`, the transfer passed the authorization check. Any non-`null` value for an `approved` transfer indicates that the the authorization check could not be run and that you should perform your own risk assessment on the transfer. The code will indicate why the check could not be run. Possible values for an `approved` transfer are: `MANUALLY_VERIFIED_ITEM` – Item created via a manual entry flow (i.e. Same Day Micro-deposit, Instant Micro-deposit, or database-based verification), limited information available. `ITEM_LOGIN_REQUIRED` – Unable to collect the account information due to Item staleness. Can be resolved by using Link and setting [`transfer.authorization_id`](https://plaid.com/docs/api/link/#link-token-create-request-transfer-authorization-id) in the request to `/link/token/create`. `MIGRATED_ACCOUNT_ITEM` - Item created via `/transfer/migrate_account` endpoint, limited information available. `ERROR` – Unable to collect the account information due to an unspecified error. The following codes indicate that the authorization decision was `declined`: `NSF` – Transaction likely to result in a return due to insufficient funds. `RISK` - Transaction is high-risk. `TRANSFER_LIMIT_REACHED` - One or several transfer limits are reached, e.g. monthly transfer limit. Check the accompanying `description` field to understand which limit has been reached.
*/
@JsonAdapter(TransferAuthorizationDecisionRationaleCode.Adapter.class)
public enum TransferAuthorizationDecisionRationaleCode {
NSF("NSF"),
RISK("RISK"),
TRANSFER_LIMIT_REACHED("TRANSFER_LIMIT_REACHED"),
MANUALLY_VERIFIED_ITEM("MANUALLY_VERIFIED_ITEM"),
ITEM_LOGIN_REQUIRED("ITEM_LOGIN_REQUIRED"),
PAYMENT_PROFILE_LOGIN_REQUIRED("PAYMENT_PROFILE_LOGIN_REQUIRED"),
ERROR("ERROR"),
MIGRATED_ACCOUNT_ITEM("MIGRATED_ACCOUNT_ITEM"),
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;
TransferAuthorizationDecisionRationaleCode(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static TransferAuthorizationDecisionRationaleCode fromValue(String value) {
for (TransferAuthorizationDecisionRationaleCode b : TransferAuthorizationDecisionRationaleCode.values()) {
if (b.value.equals(value)) {
return b;
}
}
return TransferAuthorizationDecisionRationaleCode.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<TransferAuthorizationDecisionRationaleCode> {
@Override
public void write(final JsonWriter jsonWriter, final TransferAuthorizationDecisionRationaleCode enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public TransferAuthorizationDecisionRationaleCode read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return TransferAuthorizationDecisionRationaleCode.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/ProcessorLiabilitiesGetRequest.java | src/main/java/com/plaid/client/model/ProcessorLiabilitiesGetRequest.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;
/**
* ProcessorLiabilitiesGetRequest defines the request schema for `/processor/liabilities/get`
*/
@ApiModel(description = "ProcessorLiabilitiesGetRequest defines the request schema for `/processor/liabilities/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ProcessorLiabilitiesGetRequest {
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 ProcessorLiabilitiesGetRequest 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 ProcessorLiabilitiesGetRequest 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 ProcessorLiabilitiesGetRequest 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;
}
ProcessorLiabilitiesGetRequest processorLiabilitiesGetRequest = (ProcessorLiabilitiesGetRequest) o;
return Objects.equals(this.clientId, processorLiabilitiesGetRequest.clientId) &&
Objects.equals(this.secret, processorLiabilitiesGetRequest.secret) &&
Objects.equals(this.processorToken, processorLiabilitiesGetRequest.processorToken);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, processorToken);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProcessorLiabilitiesGetRequest {\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/CreditEmploymentVerification.java | src/main/java/com/plaid/client/model/CreditEmploymentVerification.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.CreditEmployerVerification;
import com.plaid.client.model.CreditPlatformIds;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
/**
* The object containing proof of employment data for an individual.
*/
@ApiModel(description = "The object containing proof of employment data for an individual.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditEmploymentVerification {
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
private String accountId;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private String status;
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_EMPLOYER = "employer";
@SerializedName(SERIALIZED_NAME_EMPLOYER)
private CreditEmployerVerification employer;
public static final String SERIALIZED_NAME_TITLE = "title";
@SerializedName(SERIALIZED_NAME_TITLE)
private String title;
public static final String SERIALIZED_NAME_PLATFORM_IDS = "platform_ids";
@SerializedName(SERIALIZED_NAME_PLATFORM_IDS)
private CreditPlatformIds platformIds;
public static final String SERIALIZED_NAME_EMPLOYEE_TYPE = "employee_type";
@SerializedName(SERIALIZED_NAME_EMPLOYEE_TYPE)
private String employeeType;
public static final String SERIALIZED_NAME_LAST_PAYSTUB_DATE = "last_paystub_date";
@SerializedName(SERIALIZED_NAME_LAST_PAYSTUB_DATE)
private LocalDate lastPaystubDate;
public CreditEmploymentVerification accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* ID of the payroll provider account.
* @return accountId
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "ID of the payroll provider account.")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public CreditEmploymentVerification status(String status) {
this.status = status;
return this;
}
/**
* Current employment status.
* @return status
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "Current employment status.")
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public CreditEmploymentVerification startDate(LocalDate startDate) {
this.startDate = startDate;
return this;
}
/**
* Start of employment in ISO 8601 format (YYYY-MM-DD).
* @return startDate
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "Start of employment in ISO 8601 format (YYYY-MM-DD).")
public LocalDate getStartDate() {
return startDate;
}
public void setStartDate(LocalDate startDate) {
this.startDate = startDate;
}
public CreditEmploymentVerification endDate(LocalDate endDate) {
this.endDate = endDate;
return this;
}
/**
* End of employment, if applicable. Provided in ISO 8601 format (YYY-MM-DD).
* @return endDate
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "End of employment, if applicable. Provided in ISO 8601 format (YYY-MM-DD).")
public LocalDate getEndDate() {
return endDate;
}
public void setEndDate(LocalDate endDate) {
this.endDate = endDate;
}
public CreditEmploymentVerification employer(CreditEmployerVerification employer) {
this.employer = employer;
return this;
}
/**
* Get employer
* @return employer
**/
@ApiModelProperty(required = true, value = "")
public CreditEmployerVerification getEmployer() {
return employer;
}
public void setEmployer(CreditEmployerVerification employer) {
this.employer = employer;
}
public CreditEmploymentVerification title(String title) {
this.title = title;
return this;
}
/**
* Current title of employee.
* @return title
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "Current title of employee.")
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public CreditEmploymentVerification platformIds(CreditPlatformIds platformIds) {
this.platformIds = platformIds;
return this;
}
/**
* Get platformIds
* @return platformIds
**/
@ApiModelProperty(required = true, value = "")
public CreditPlatformIds getPlatformIds() {
return platformIds;
}
public void setPlatformIds(CreditPlatformIds platformIds) {
this.platformIds = platformIds;
}
public CreditEmploymentVerification employeeType(String employeeType) {
this.employeeType = employeeType;
return this;
}
/**
* The type of employment for the individual. `\"FULL_TIME\"`: A full-time employee. `\"PART_TIME\"`: A part-time employee. `\"CONTRACTOR\"`: An employee typically hired externally through a contracting group. `\"TEMPORARY\"`: A temporary employee. `\"OTHER\"`: The employee type is not one of the above defined types.
* @return employeeType
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The type of employment for the individual. `\"FULL_TIME\"`: A full-time employee. `\"PART_TIME\"`: A part-time employee. `\"CONTRACTOR\"`: An employee typically hired externally through a contracting group. `\"TEMPORARY\"`: A temporary employee. `\"OTHER\"`: The employee type is not one of the above defined types.")
public String getEmployeeType() {
return employeeType;
}
public void setEmployeeType(String employeeType) {
this.employeeType = employeeType;
}
public CreditEmploymentVerification lastPaystubDate(LocalDate lastPaystubDate) {
this.lastPaystubDate = lastPaystubDate;
return this;
}
/**
* The date of the employee's most recent paystub in ISO 8601 format (YYYY-MM-DD).
* @return lastPaystubDate
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The date of the employee's most recent paystub in ISO 8601 format (YYYY-MM-DD).")
public LocalDate getLastPaystubDate() {
return lastPaystubDate;
}
public void setLastPaystubDate(LocalDate lastPaystubDate) {
this.lastPaystubDate = lastPaystubDate;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreditEmploymentVerification creditEmploymentVerification = (CreditEmploymentVerification) o;
return Objects.equals(this.accountId, creditEmploymentVerification.accountId) &&
Objects.equals(this.status, creditEmploymentVerification.status) &&
Objects.equals(this.startDate, creditEmploymentVerification.startDate) &&
Objects.equals(this.endDate, creditEmploymentVerification.endDate) &&
Objects.equals(this.employer, creditEmploymentVerification.employer) &&
Objects.equals(this.title, creditEmploymentVerification.title) &&
Objects.equals(this.platformIds, creditEmploymentVerification.platformIds) &&
Objects.equals(this.employeeType, creditEmploymentVerification.employeeType) &&
Objects.equals(this.lastPaystubDate, creditEmploymentVerification.lastPaystubDate);
}
@Override
public int hashCode() {
return Objects.hash(accountId, status, startDate, endDate, employer, title, platformIds, employeeType, lastPaystubDate);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditEmploymentVerification {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n");
sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n");
sb.append(" employer: ").append(toIndentedString(employer)).append("\n");
sb.append(" title: ").append(toIndentedString(title)).append("\n");
sb.append(" platformIds: ").append(toIndentedString(platformIds)).append("\n");
sb.append(" employeeType: ").append(toIndentedString(employeeType)).append("\n");
sb.append(" lastPaystubDate: ").append(toIndentedString(lastPaystubDate)).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/InstitutionsGetByIdRequest.java | src/main/java/com/plaid/client/model/InstitutionsGetByIdRequest.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.InstitutionsGetByIdRequestOptions;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* InstitutionsGetByIdRequest defines the request schema for `/institutions/get_by_id`
*/
@ApiModel(description = "InstitutionsGetByIdRequest defines the request schema for `/institutions/get_by_id`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class InstitutionsGetByIdRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_INSTITUTION_ID = "institution_id";
@SerializedName(SERIALIZED_NAME_INSTITUTION_ID)
private String institutionId;
public static final String SERIALIZED_NAME_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 InstitutionsGetByIdRequestOptions options;
public InstitutionsGetByIdRequest 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 InstitutionsGetByIdRequest 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 InstitutionsGetByIdRequest institutionId(String institutionId) {
this.institutionId = institutionId;
return this;
}
/**
* The ID of the institution to get details about
* @return institutionId
**/
@ApiModelProperty(required = true, value = "The ID of the institution to get details about")
public String getInstitutionId() {
return institutionId;
}
public void setInstitutionId(String institutionId) {
this.institutionId = institutionId;
}
public InstitutionsGetByIdRequest countryCodes(List<CountryCode> countryCodes) {
this.countryCodes = countryCodes;
return this;
}
public InstitutionsGetByIdRequest 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 InstitutionsGetByIdRequest options(InstitutionsGetByIdRequestOptions options) {
this.options = options;
return this;
}
/**
* Get options
* @return options
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public InstitutionsGetByIdRequestOptions getOptions() {
return options;
}
public void setOptions(InstitutionsGetByIdRequestOptions options) {
this.options = options;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
InstitutionsGetByIdRequest institutionsGetByIdRequest = (InstitutionsGetByIdRequest) o;
return Objects.equals(this.clientId, institutionsGetByIdRequest.clientId) &&
Objects.equals(this.secret, institutionsGetByIdRequest.secret) &&
Objects.equals(this.institutionId, institutionsGetByIdRequest.institutionId) &&
Objects.equals(this.countryCodes, institutionsGetByIdRequest.countryCodes) &&
Objects.equals(this.options, institutionsGetByIdRequest.options);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, institutionId, countryCodes, options);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class InstitutionsGetByIdRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" institutionId: ").append(toIndentedString(institutionId)).append("\n");
sb.append(" 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/LinkSessionPayrollIncomeResult.java | src/main/java/com/plaid/client/model/LinkSessionPayrollIncomeResult.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.LinkSessionSuccessMetadataInstitution;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The details of a digital payroll income verification in Link.
*/
@ApiModel(description = "The details of a digital payroll income verification in Link.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkSessionPayrollIncomeResult {
public static final String SERIALIZED_NAME_NUM_PAYSTUBS_RETRIEVED = "num_paystubs_retrieved";
@SerializedName(SERIALIZED_NAME_NUM_PAYSTUBS_RETRIEVED)
private Integer numPaystubsRetrieved;
public static final String SERIALIZED_NAME_NUM_W2S_RETRIEVED = "num_w2s_retrieved";
@SerializedName(SERIALIZED_NAME_NUM_W2S_RETRIEVED)
private Integer numW2sRetrieved;
public static final String SERIALIZED_NAME_INSTITUTION = "institution";
@SerializedName(SERIALIZED_NAME_INSTITUTION)
private LinkSessionSuccessMetadataInstitution institution;
public LinkSessionPayrollIncomeResult numPaystubsRetrieved(Integer numPaystubsRetrieved) {
this.numPaystubsRetrieved = numPaystubsRetrieved;
return this;
}
/**
* The number of paystubs retrieved from a payroll provider.
* @return numPaystubsRetrieved
**/
@ApiModelProperty(required = true, value = "The number of paystubs retrieved from a payroll provider.")
public Integer getNumPaystubsRetrieved() {
return numPaystubsRetrieved;
}
public void setNumPaystubsRetrieved(Integer numPaystubsRetrieved) {
this.numPaystubsRetrieved = numPaystubsRetrieved;
}
public LinkSessionPayrollIncomeResult numW2sRetrieved(Integer numW2sRetrieved) {
this.numW2sRetrieved = numW2sRetrieved;
return this;
}
/**
* The number of W-2s retrieved from a payroll provider.
* @return numW2sRetrieved
**/
@ApiModelProperty(required = true, value = "The number of W-2s retrieved from a payroll provider.")
public Integer getNumW2sRetrieved() {
return numW2sRetrieved;
}
public void setNumW2sRetrieved(Integer numW2sRetrieved) {
this.numW2sRetrieved = numW2sRetrieved;
}
public LinkSessionPayrollIncomeResult institution(LinkSessionSuccessMetadataInstitution institution) {
this.institution = institution;
return this;
}
/**
* Get institution
* @return institution
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public LinkSessionSuccessMetadataInstitution getInstitution() {
return institution;
}
public void setInstitution(LinkSessionSuccessMetadataInstitution institution) {
this.institution = institution;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkSessionPayrollIncomeResult linkSessionPayrollIncomeResult = (LinkSessionPayrollIncomeResult) o;
return Objects.equals(this.numPaystubsRetrieved, linkSessionPayrollIncomeResult.numPaystubsRetrieved) &&
Objects.equals(this.numW2sRetrieved, linkSessionPayrollIncomeResult.numW2sRetrieved) &&
Objects.equals(this.institution, linkSessionPayrollIncomeResult.institution);
}
@Override
public int hashCode() {
return Objects.hash(numPaystubsRetrieved, numW2sRetrieved, institution);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkSessionPayrollIncomeResult {\n");
sb.append(" numPaystubsRetrieved: ").append(toIndentedString(numPaystubsRetrieved)).append("\n");
sb.append(" numW2sRetrieved: ").append(toIndentedString(numW2sRetrieved)).append("\n");
sb.append(" institution: ").append(toIndentedString(institution)).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/AffordabilityInsights.java | src/main/java/com/plaid/client/model/AffordabilityInsights.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.ExpenditureInsights;
import com.plaid.client.model.IncomeInsights;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Affordability insights focus on providing signal on the ability of a borrower to repay their loan without experiencing financial strain. It provides insights on factors such a user's monthly income and expenses, disposable income, average expenditure, etc., helping lenders gauge the level of affordability of a borrower.
*/
@ApiModel(description = "Affordability insights focus on providing signal on the ability of a borrower to repay their loan without experiencing financial strain. It provides insights on factors such a user's monthly income and expenses, disposable income, average expenditure, etc., helping lenders gauge the level of affordability of a borrower.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class AffordabilityInsights {
public static final String SERIALIZED_NAME_EXPENDITURE = "expenditure";
@SerializedName(SERIALIZED_NAME_EXPENDITURE)
private ExpenditureInsights expenditure;
public static final String SERIALIZED_NAME_INCOME = "income";
@SerializedName(SERIALIZED_NAME_INCOME)
private IncomeInsights income;
public AffordabilityInsights expenditure(ExpenditureInsights expenditure) {
this.expenditure = expenditure;
return this;
}
/**
* Get expenditure
* @return expenditure
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ExpenditureInsights getExpenditure() {
return expenditure;
}
public void setExpenditure(ExpenditureInsights expenditure) {
this.expenditure = expenditure;
}
public AffordabilityInsights income(IncomeInsights income) {
this.income = income;
return this;
}
/**
* Get income
* @return income
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public IncomeInsights getIncome() {
return income;
}
public void setIncome(IncomeInsights income) {
this.income = income;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AffordabilityInsights affordabilityInsights = (AffordabilityInsights) o;
return Objects.equals(this.expenditure, affordabilityInsights.expenditure) &&
Objects.equals(this.income, affordabilityInsights.income);
}
@Override
public int hashCode() {
return Objects.hash(expenditure, income);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AffordabilityInsights {\n");
sb.append(" expenditure: ").append(toIndentedString(expenditure)).append("\n");
sb.append(" income: ").append(toIndentedString(income)).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/AccountType.java | src/main/java/com/plaid/client/model/AccountType.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* `investment:` Investment account. In API versions 2018-05-22 and earlier, this type is called `brokerage` instead. `credit:` Credit card `depository:` Depository account `loan:` Loan account `other:` Non-specified account type See the [Account type schema](https://plaid.com/docs/api/accounts#account-type-schema) for a full listing of account types and corresponding subtypes.
*/
@JsonAdapter(AccountType.Adapter.class)
public enum AccountType {
INVESTMENT("investment"),
CREDIT("credit"),
DEPOSITORY("depository"),
LOAN("loan"),
BROKERAGE("brokerage"),
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;
AccountType(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static AccountType fromValue(String value) {
for (AccountType b : AccountType.values()) {
if (b.value.equals(value)) {
return b;
}
}
return AccountType.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<AccountType> {
@Override
public void write(final JsonWriter jsonWriter, final AccountType enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public AccountType read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return AccountType.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/ProcessorTransactionsSyncRequest.java | src/main/java/com/plaid/client/model/ProcessorTransactionsSyncRequest.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.TransactionsSyncRequestOptions;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* ProcessorTransactionsSyncRequest defines the request schema for `/processor/transactions/sync`
*/
@ApiModel(description = "ProcessorTransactionsSyncRequest defines the request schema for `/processor/transactions/sync`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ProcessorTransactionsSyncRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_PROCESSOR_TOKEN = "processor_token";
@SerializedName(SERIALIZED_NAME_PROCESSOR_TOKEN)
private String processorToken;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_CURSOR = "cursor";
@SerializedName(SERIALIZED_NAME_CURSOR)
private String cursor;
public static final String SERIALIZED_NAME_COUNT = "count";
@SerializedName(SERIALIZED_NAME_COUNT)
private Integer count = 100;
public static final String SERIALIZED_NAME_OPTIONS = "options";
@SerializedName(SERIALIZED_NAME_OPTIONS)
private TransactionsSyncRequestOptions options;
public ProcessorTransactionsSyncRequest 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 ProcessorTransactionsSyncRequest 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;
}
public ProcessorTransactionsSyncRequest 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 ProcessorTransactionsSyncRequest cursor(String cursor) {
this.cursor = cursor;
return this;
}
/**
* The cursor value represents the last update requested. Providing it will cause the response to only return changes after this update. If omitted, the entire history of updates will be returned, starting with the first-added transactions on the item. Note: The upper-bound length of this cursor is 256 characters of base64.
* @return cursor
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The cursor value represents the last update requested. Providing it will cause the response to only return changes after this update. If omitted, the entire history of updates will be returned, starting with the first-added transactions on the item. Note: The upper-bound length of this cursor is 256 characters of base64.")
public String getCursor() {
return cursor;
}
public void setCursor(String cursor) {
this.cursor = cursor;
}
public ProcessorTransactionsSyncRequest count(Integer count) {
this.count = count;
return this;
}
/**
* The number of transaction updates to fetch.
* minimum: 1
* maximum: 500
* @return count
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of transaction updates to fetch.")
public Integer getCount() {
return count;
}
public void setCount(Integer count) {
this.count = count;
}
public ProcessorTransactionsSyncRequest options(TransactionsSyncRequestOptions options) {
this.options = options;
return this;
}
/**
* Get options
* @return options
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public TransactionsSyncRequestOptions getOptions() {
return options;
}
public void setOptions(TransactionsSyncRequestOptions options) {
this.options = options;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ProcessorTransactionsSyncRequest processorTransactionsSyncRequest = (ProcessorTransactionsSyncRequest) o;
return Objects.equals(this.clientId, processorTransactionsSyncRequest.clientId) &&
Objects.equals(this.processorToken, processorTransactionsSyncRequest.processorToken) &&
Objects.equals(this.secret, processorTransactionsSyncRequest.secret) &&
Objects.equals(this.cursor, processorTransactionsSyncRequest.cursor) &&
Objects.equals(this.count, processorTransactionsSyncRequest.count) &&
Objects.equals(this.options, processorTransactionsSyncRequest.options);
}
@Override
public int hashCode() {
return Objects.hash(clientId, processorToken, secret, cursor, count, options);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProcessorTransactionsSyncRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" processorToken: ").append(toIndentedString(processorToken)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" cursor: ").append(toIndentedString(cursor)).append("\n");
sb.append(" count: ").append(toIndentedString(count)).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/LinkTokenCreateRequestEmployment.java | src/main/java/com/plaid/client/model/LinkTokenCreateRequestEmployment.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.EmploymentSourceType;
import com.plaid.client.model.LinkTokenCreateRequestEmploymentBankIncome;
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 Employment product. This field is required if `employment` is included in the `products` array.
*/
@ApiModel(description = "Specifies options for initializing Link for use with the Employment product. This field is required if `employment` 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 LinkTokenCreateRequestEmployment {
public static final String SERIALIZED_NAME_EMPLOYMENT_SOURCE_TYPES = "employment_source_types";
@SerializedName(SERIALIZED_NAME_EMPLOYMENT_SOURCE_TYPES)
private List<EmploymentSourceType> employmentSourceTypes = null;
public static final String SERIALIZED_NAME_BANK_EMPLOYMENT = "bank_employment";
@SerializedName(SERIALIZED_NAME_BANK_EMPLOYMENT)
private LinkTokenCreateRequestEmploymentBankIncome bankEmployment;
public LinkTokenCreateRequestEmployment employmentSourceTypes(List<EmploymentSourceType> employmentSourceTypes) {
this.employmentSourceTypes = employmentSourceTypes;
return this;
}
public LinkTokenCreateRequestEmployment addEmploymentSourceTypesItem(EmploymentSourceType employmentSourceTypesItem) {
if (this.employmentSourceTypes == null) {
this.employmentSourceTypes = new ArrayList<>();
}
this.employmentSourceTypes.add(employmentSourceTypesItem);
return this;
}
/**
* The types of source employment data that users will be permitted to share. Options include `bank` and `payroll`. Currently you can only specify one of these options.
* @return employmentSourceTypes
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The types of source employment data that users will be permitted to share. Options include `bank` and `payroll`. Currently you can only specify one of these options.")
public List<EmploymentSourceType> getEmploymentSourceTypes() {
return employmentSourceTypes;
}
public void setEmploymentSourceTypes(List<EmploymentSourceType> employmentSourceTypes) {
this.employmentSourceTypes = employmentSourceTypes;
}
public LinkTokenCreateRequestEmployment bankEmployment(LinkTokenCreateRequestEmploymentBankIncome bankEmployment) {
this.bankEmployment = bankEmployment;
return this;
}
/**
* Get bankEmployment
* @return bankEmployment
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public LinkTokenCreateRequestEmploymentBankIncome getBankEmployment() {
return bankEmployment;
}
public void setBankEmployment(LinkTokenCreateRequestEmploymentBankIncome bankEmployment) {
this.bankEmployment = bankEmployment;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkTokenCreateRequestEmployment linkTokenCreateRequestEmployment = (LinkTokenCreateRequestEmployment) o;
return Objects.equals(this.employmentSourceTypes, linkTokenCreateRequestEmployment.employmentSourceTypes) &&
Objects.equals(this.bankEmployment, linkTokenCreateRequestEmployment.bankEmployment);
}
@Override
public int hashCode() {
return Objects.hash(employmentSourceTypes, bankEmployment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkTokenCreateRequestEmployment {\n");
sb.append(" employmentSourceTypes: ").append(toIndentedString(employmentSourceTypes)).append("\n");
sb.append(" bankEmployment: ").append(toIndentedString(bankEmployment)).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/DocumentAuthenticityMatchCode.java | src/main/java/com/plaid/client/model/DocumentAuthenticityMatchCode.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;
/**
* High level summary of whether the document in the provided image matches the formatting rules and security checks for the associated jurisdiction. For example, most identity documents have formatting rules like the following: The image of the person's face must have a certain contrast in order to highlight skin tone The subject in the document's image must remove eye glasses and pose in a certain way The informational fields (name, date of birth, ID number, etc.) must be colored and aligned according to specific rules Security features like watermarks and background patterns must be present So a `match` status for this field indicates that the document in the provided image seems to conform to the various formatting and security rules associated with the detected document.
*/
@JsonAdapter(DocumentAuthenticityMatchCode.Adapter.class)
public enum DocumentAuthenticityMatchCode {
MATCH("match"),
PARTIAL_MATCH("partial_match"),
NO_MATCH("no_match"),
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;
DocumentAuthenticityMatchCode(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static DocumentAuthenticityMatchCode fromValue(String value) {
for (DocumentAuthenticityMatchCode b : DocumentAuthenticityMatchCode.values()) {
if (b.value.equals(value)) {
return b;
}
}
return DocumentAuthenticityMatchCode.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<DocumentAuthenticityMatchCode> {
@Override
public void write(final JsonWriter jsonWriter, final DocumentAuthenticityMatchCode enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public DocumentAuthenticityMatchCode read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return DocumentAuthenticityMatchCode.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/SyncUpdatesAvailableWebhook.java | src/main/java/com/plaid/client/model/SyncUpdatesAvailableWebhook.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.WebhookEnvironmentValues;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Fired when an Item's transactions change. This can be due to any event resulting in new changes, such as an initial 30-day transactions fetch upon the initialization of an Item with transactions, the backfill of historical transactions that occurs shortly after, or when changes are populated from a regularly-scheduled transactions update job. It is recommended to listen for the `SYNC_UPDATES_AVAILABLE` webhook when using the `/transactions/sync` endpoint. Note that when using `/transactions/sync` the older webhooks `INITIAL_UPDATE`, `HISTORICAL_UPDATE`, `DEFAULT_UPDATE`, and `TRANSACTIONS_REMOVED`, which are intended for use with `/transactions/get`, will also continue to be sent in order to maintain backwards compatibility. It is not necessary to listen for and respond to those webhooks when using `/transactions/sync`. After receipt of this webhook, the new changes can be fetched for the Item from `/transactions/sync`. Note that to receive this webhook for an Item, `/transactions/sync` must have been called at least once on that Item. This means that, unlike the `INITIAL_UPDATE` and `HISTORICAL_UPDATE` webhooks, it will not fire immediately upon Item creation. If `/transactions/sync` is called on an Item that was *not* initialized with Transactions, the webhook will fire twice: once the first 30 days of transactions data has been fetched, and a second time when all available historical transactions data has been fetched. This webhook will fire in the Sandbox environment as it would in Production. It can also be manually triggered in Sandbox by calling `/sandbox/item/fire_webhook`.
*/
@ApiModel(description = "Fired when an Item's transactions change. This can be due to any event resulting in new changes, such as an initial 30-day transactions fetch upon the initialization of an Item with transactions, the backfill of historical transactions that occurs shortly after, or when changes are populated from a regularly-scheduled transactions update job. It is recommended to listen for the `SYNC_UPDATES_AVAILABLE` webhook when using the `/transactions/sync` endpoint. Note that when using `/transactions/sync` the older webhooks `INITIAL_UPDATE`, `HISTORICAL_UPDATE`, `DEFAULT_UPDATE`, and `TRANSACTIONS_REMOVED`, which are intended for use with `/transactions/get`, will also continue to be sent in order to maintain backwards compatibility. It is not necessary to listen for and respond to those webhooks when using `/transactions/sync`. After receipt of this webhook, the new changes can be fetched for the Item from `/transactions/sync`. Note that to receive this webhook for an Item, `/transactions/sync` must have been called at least once on that Item. This means that, unlike the `INITIAL_UPDATE` and `HISTORICAL_UPDATE` webhooks, it will not fire immediately upon Item creation. If `/transactions/sync` is called on an Item that was *not* initialized with Transactions, the webhook will fire twice: once the first 30 days of transactions data has been fetched, and a second time when all available historical transactions data has been fetched. This webhook will fire in the Sandbox environment as it would in Production. It can also be manually triggered in Sandbox by calling `/sandbox/item/fire_webhook`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SyncUpdatesAvailableWebhook {
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_INITIAL_UPDATE_COMPLETE = "initial_update_complete";
@SerializedName(SERIALIZED_NAME_INITIAL_UPDATE_COMPLETE)
private Boolean initialUpdateComplete;
public static final String SERIALIZED_NAME_HISTORICAL_UPDATE_COMPLETE = "historical_update_complete";
@SerializedName(SERIALIZED_NAME_HISTORICAL_UPDATE_COMPLETE)
private Boolean historicalUpdateComplete;
public static final String SERIALIZED_NAME_ENVIRONMENT = "environment";
@SerializedName(SERIALIZED_NAME_ENVIRONMENT)
private WebhookEnvironmentValues environment;
public SyncUpdatesAvailableWebhook webhookType(String webhookType) {
this.webhookType = webhookType;
return this;
}
/**
* `TRANSACTIONS`
* @return webhookType
**/
@ApiModelProperty(required = true, value = "`TRANSACTIONS`")
public String getWebhookType() {
return webhookType;
}
public void setWebhookType(String webhookType) {
this.webhookType = webhookType;
}
public SyncUpdatesAvailableWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `SYNC_UPDATES_AVAILABLE`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`SYNC_UPDATES_AVAILABLE`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public SyncUpdatesAvailableWebhook 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 SyncUpdatesAvailableWebhook initialUpdateComplete(Boolean initialUpdateComplete) {
this.initialUpdateComplete = initialUpdateComplete;
return this;
}
/**
* Indicates if initial pull information (most recent 30 days of transaction history) is available.
* @return initialUpdateComplete
**/
@ApiModelProperty(required = true, value = "Indicates if initial pull information (most recent 30 days of transaction history) is available.")
public Boolean getInitialUpdateComplete() {
return initialUpdateComplete;
}
public void setInitialUpdateComplete(Boolean initialUpdateComplete) {
this.initialUpdateComplete = initialUpdateComplete;
}
public SyncUpdatesAvailableWebhook historicalUpdateComplete(Boolean historicalUpdateComplete) {
this.historicalUpdateComplete = historicalUpdateComplete;
return this;
}
/**
* Indicates if historical pull information (maximum transaction history requested, up to 2 years) is available.
* @return historicalUpdateComplete
**/
@ApiModelProperty(required = true, value = "Indicates if historical pull information (maximum transaction history requested, up to 2 years) is available.")
public Boolean getHistoricalUpdateComplete() {
return historicalUpdateComplete;
}
public void setHistoricalUpdateComplete(Boolean historicalUpdateComplete) {
this.historicalUpdateComplete = historicalUpdateComplete;
}
public SyncUpdatesAvailableWebhook 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;
}
SyncUpdatesAvailableWebhook syncUpdatesAvailableWebhook = (SyncUpdatesAvailableWebhook) o;
return Objects.equals(this.webhookType, syncUpdatesAvailableWebhook.webhookType) &&
Objects.equals(this.webhookCode, syncUpdatesAvailableWebhook.webhookCode) &&
Objects.equals(this.itemId, syncUpdatesAvailableWebhook.itemId) &&
Objects.equals(this.initialUpdateComplete, syncUpdatesAvailableWebhook.initialUpdateComplete) &&
Objects.equals(this.historicalUpdateComplete, syncUpdatesAvailableWebhook.historicalUpdateComplete) &&
Objects.equals(this.environment, syncUpdatesAvailableWebhook.environment);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, itemId, initialUpdateComplete, historicalUpdateComplete, environment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SyncUpdatesAvailableWebhook {\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(" initialUpdateComplete: ").append(toIndentedString(initialUpdateComplete)).append("\n");
sb.append(" historicalUpdateComplete: ").append(toIndentedString(historicalUpdateComplete)).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/BankTransferBalanceGetRequest.java | src/main/java/com/plaid/client/model/BankTransferBalanceGetRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines the request schema for `/bank_transfer/balance/get`
*/
@ApiModel(description = "Defines the request schema for `/bank_transfer/balance/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BankTransferBalanceGetRequest {
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_ORIGINATION_ACCOUNT_ID = "origination_account_id";
@SerializedName(SERIALIZED_NAME_ORIGINATION_ACCOUNT_ID)
private String originationAccountId;
public BankTransferBalanceGetRequest 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 BankTransferBalanceGetRequest 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 BankTransferBalanceGetRequest originationAccountId(String originationAccountId) {
this.originationAccountId = originationAccountId;
return this;
}
/**
* If multiple origination accounts are available, `origination_account_id` must be used to specify the account for which balance will be returned.
* @return originationAccountId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "If multiple origination accounts are available, `origination_account_id` must be used to specify the account for which balance will be returned.")
public String getOriginationAccountId() {
return originationAccountId;
}
public void setOriginationAccountId(String originationAccountId) {
this.originationAccountId = originationAccountId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BankTransferBalanceGetRequest bankTransferBalanceGetRequest = (BankTransferBalanceGetRequest) o;
return Objects.equals(this.clientId, bankTransferBalanceGetRequest.clientId) &&
Objects.equals(this.secret, bankTransferBalanceGetRequest.secret) &&
Objects.equals(this.originationAccountId, bankTransferBalanceGetRequest.originationAccountId);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, originationAccountId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BankTransferBalanceGetRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" originationAccountId: ").append(toIndentedString(originationAccountId)).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/LinkSessionBankIncomeResult.java | src/main/java/com/plaid/client/model/LinkSessionBankIncomeResult.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.CreditSessionBankIncomeStatus;
import com.plaid.client.model.LinkSessionSuccessMetadataInstitution;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The details of a bank income verification in Link.
*/
@ApiModel(description = "The details of a bank income verification in Link.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkSessionBankIncomeResult {
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private CreditSessionBankIncomeStatus status;
public static final String SERIALIZED_NAME_ITEM_ID = "item_id";
@SerializedName(SERIALIZED_NAME_ITEM_ID)
private String itemId;
public static final String SERIALIZED_NAME_INSTITUTION = "institution";
@SerializedName(SERIALIZED_NAME_INSTITUTION)
private LinkSessionSuccessMetadataInstitution institution;
public LinkSessionBankIncomeResult status(CreditSessionBankIncomeStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@ApiModelProperty(required = true, value = "")
public CreditSessionBankIncomeStatus getStatus() {
return status;
}
public void setStatus(CreditSessionBankIncomeStatus status) {
this.status = status;
}
public LinkSessionBankIncomeResult itemId(String itemId) {
this.itemId = itemId;
return this;
}
/**
* The Plaid Item ID. The `item_id` is always unique; linking the same account at the same institution twice will result in two Items with different `item_id` values. Like all Plaid identifiers, the `item_id` is case-sensitive.
* @return itemId
**/
@ApiModelProperty(required = true, value = "The Plaid Item ID. The `item_id` is always unique; linking the same account at the same institution twice will result in two Items with different `item_id` values. Like all Plaid identifiers, the `item_id` is case-sensitive.")
public String getItemId() {
return itemId;
}
public void setItemId(String itemId) {
this.itemId = itemId;
}
public LinkSessionBankIncomeResult institution(LinkSessionSuccessMetadataInstitution institution) {
this.institution = institution;
return this;
}
/**
* Get institution
* @return institution
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public LinkSessionSuccessMetadataInstitution getInstitution() {
return institution;
}
public void setInstitution(LinkSessionSuccessMetadataInstitution institution) {
this.institution = institution;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkSessionBankIncomeResult linkSessionBankIncomeResult = (LinkSessionBankIncomeResult) o;
return Objects.equals(this.status, linkSessionBankIncomeResult.status) &&
Objects.equals(this.itemId, linkSessionBankIncomeResult.itemId) &&
Objects.equals(this.institution, linkSessionBankIncomeResult.institution);
}
@Override
public int hashCode() {
return Objects.hash(status, itemId, institution);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkSessionBankIncomeResult {\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" itemId: ").append(toIndentedString(itemId)).append("\n");
sb.append(" institution: ").append(toIndentedString(institution)).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/NumbersATON.java | src/main/java/com/plaid/client/model/NumbersATON.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;
/**
* Identifying information for transferring holdings to an investments account via ATON.
*/
@ApiModel(description = "Identifying information for transferring holdings to an investments account via ATON.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class NumbersATON {
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 = "account";
@SerializedName(SERIALIZED_NAME_ACCOUNT)
private String account;
public NumbersATON accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* The Plaid account ID associated with the account numbers
* @return accountId
**/
@ApiModelProperty(required = true, value = "The Plaid account ID associated with the account numbers")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public NumbersATON account(String account) {
this.account = account;
return this;
}
/**
* The full account number for the account
* @return account
**/
@ApiModelProperty(required = true, value = "The full account number for the account")
public String getAccount() {
return account;
}
public void setAccount(String account) {
this.account = account;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
NumbersATON numbersATON = (NumbersATON) o;
return Objects.equals(this.accountId, numbersATON.accountId) &&
Objects.equals(this.account, numbersATON.account);
}
@Override
public int hashCode() {
return Objects.hash(accountId, account);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class NumbersATON {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" account: ").append(toIndentedString(account)).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/TransferRecurringListResponse.java | src/main/java/com/plaid/client/model/TransferRecurringListResponse.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.RecurringTransfer;
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/recurring/list`
*/
@ApiModel(description = "Defines the response schema for `/transfer/recurring/list`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferRecurringListResponse {
public static final String SERIALIZED_NAME_RECURRING_TRANSFERS = "recurring_transfers";
@SerializedName(SERIALIZED_NAME_RECURRING_TRANSFERS)
private List<RecurringTransfer> recurringTransfers = new ArrayList<>();
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public TransferRecurringListResponse recurringTransfers(List<RecurringTransfer> recurringTransfers) {
this.recurringTransfers = recurringTransfers;
return this;
}
public TransferRecurringListResponse addRecurringTransfersItem(RecurringTransfer recurringTransfersItem) {
this.recurringTransfers.add(recurringTransfersItem);
return this;
}
/**
* Get recurringTransfers
* @return recurringTransfers
**/
@ApiModelProperty(required = true, value = "")
public List<RecurringTransfer> getRecurringTransfers() {
return recurringTransfers;
}
public void setRecurringTransfers(List<RecurringTransfer> recurringTransfers) {
this.recurringTransfers = recurringTransfers;
}
public TransferRecurringListResponse 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;
}
TransferRecurringListResponse transferRecurringListResponse = (TransferRecurringListResponse) o;
return Objects.equals(this.recurringTransfers, transferRecurringListResponse.recurringTransfers) &&
Objects.equals(this.requestId, transferRecurringListResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(recurringTransfers, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferRecurringListResponse {\n");
sb.append(" recurringTransfers: ").append(toIndentedString(recurringTransfers)).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/CashflowReportGetRequestOptions.java | src/main/java/com/plaid/client/model/CashflowReportGetRequestOptions.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 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 CashflowReportGetRequestOptions {
public static final String SERIALIZED_NAME_ACCOUNT_IDS = "account_ids";
@SerializedName(SERIALIZED_NAME_ACCOUNT_IDS)
private List<String> accountIds = null;
public CashflowReportGetRequestOptions accountIds(List<String> accountIds) {
this.accountIds = accountIds;
return this;
}
public CashflowReportGetRequestOptions addAccountIdsItem(String accountIdsItem) {
if (this.accountIds == null) {
this.accountIds = new ArrayList<>();
}
this.accountIds.add(accountIdsItem);
return this;
}
/**
* A list of `account_ids` to retrieve for the Item Note: An error will be returned if a provided `account_id` is not associated with the Item.
* @return accountIds
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A list of `account_ids` to retrieve for the Item Note: An error will be returned if a provided `account_id` is not associated with the Item.")
public List<String> getAccountIds() {
return accountIds;
}
public void setAccountIds(List<String> accountIds) {
this.accountIds = accountIds;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CashflowReportGetRequestOptions cashflowReportGetRequestOptions = (CashflowReportGetRequestOptions) o;
return Objects.equals(this.accountIds, cashflowReportGetRequestOptions.accountIds);
}
@Override
public int hashCode() {
return Objects.hash(accountIds);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CashflowReportGetRequestOptions {\n");
sb.append(" accountIds: ").append(toIndentedString(accountIds)).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/ProcessorInitialUpdateWebhook.java | src/main/java/com/plaid/client/model/ProcessorInitialUpdateWebhook.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.WebhookEnvironmentValues;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.math.BigDecimal;
/**
* This webhook is only sent to [Plaid processor partners](https://plaid.com/docs/auth/partnerships/). Fired when an Item's initial transaction pull is completed. Once this webhook has been fired, transaction data for the most recent 30 days can be fetched for the Item. This webhook will also be fired if account selections for the Item are updated, with `new_transactions` set to the number of net new transactions pulled after the account selection update. This webhook is intended for use with `/processor/transactions/get`; if you are using the newer `/processor/transactions/sync` endpoint, this webhook will still be fired to maintain backwards compatibility, but it is recommended to listen for and respond to the `SYNC_UPDATES_AVAILABLE` webhook instead.
*/
@ApiModel(description = "This webhook is only sent to [Plaid processor partners](https://plaid.com/docs/auth/partnerships/). Fired when an Item's initial transaction pull is completed. Once this webhook has been fired, transaction data for the most recent 30 days can be fetched for the Item. This webhook will also be fired if account selections for the Item are updated, with `new_transactions` set to the number of net new transactions pulled after the account selection update. This webhook is intended for use with `/processor/transactions/get`; if you are using the newer `/processor/transactions/sync` endpoint, this webhook will still be fired to maintain backwards compatibility, but it is recommended to listen for and respond to the `SYNC_UPDATES_AVAILABLE` webhook instead.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ProcessorInitialUpdateWebhook {
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_ERROR = "error";
@SerializedName(SERIALIZED_NAME_ERROR)
private String error;
public static final String SERIALIZED_NAME_NEW_TRANSACTIONS = "new_transactions";
@SerializedName(SERIALIZED_NAME_NEW_TRANSACTIONS)
private Double newTransactions;
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
private String accountId;
public static final String SERIALIZED_NAME_ENVIRONMENT = "environment";
@SerializedName(SERIALIZED_NAME_ENVIRONMENT)
private WebhookEnvironmentValues environment;
public ProcessorInitialUpdateWebhook webhookType(String webhookType) {
this.webhookType = webhookType;
return this;
}
/**
* `TRANSACTIONS`
* @return webhookType
**/
@ApiModelProperty(required = true, value = "`TRANSACTIONS`")
public String getWebhookType() {
return webhookType;
}
public void setWebhookType(String webhookType) {
this.webhookType = webhookType;
}
public ProcessorInitialUpdateWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `INITIAL_UPDATE`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`INITIAL_UPDATE`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public ProcessorInitialUpdateWebhook error(String error) {
this.error = error;
return this;
}
/**
* The error code associated with the webhook.
* @return error
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The error code associated with the webhook.")
public String getError() {
return error;
}
public void setError(String error) {
this.error = error;
}
public ProcessorInitialUpdateWebhook newTransactions(Double newTransactions) {
this.newTransactions = newTransactions;
return this;
}
/**
* The number of new transactions available.
* @return newTransactions
**/
@ApiModelProperty(required = true, value = "The number of new transactions available.")
public Double getNewTransactions() {
return newTransactions;
}
public void setNewTransactions(Double newTransactions) {
this.newTransactions = newTransactions;
}
public ProcessorInitialUpdateWebhook accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* The ID of the account.
* @return accountId
**/
@ApiModelProperty(required = true, value = "The ID of the account.")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public ProcessorInitialUpdateWebhook 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;
}
ProcessorInitialUpdateWebhook processorInitialUpdateWebhook = (ProcessorInitialUpdateWebhook) o;
return Objects.equals(this.webhookType, processorInitialUpdateWebhook.webhookType) &&
Objects.equals(this.webhookCode, processorInitialUpdateWebhook.webhookCode) &&
Objects.equals(this.error, processorInitialUpdateWebhook.error) &&
Objects.equals(this.newTransactions, processorInitialUpdateWebhook.newTransactions) &&
Objects.equals(this.accountId, processorInitialUpdateWebhook.accountId) &&
Objects.equals(this.environment, processorInitialUpdateWebhook.environment);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, error, newTransactions, accountId, environment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProcessorInitialUpdateWebhook {\n");
sb.append(" webhookType: ").append(toIndentedString(webhookType)).append("\n");
sb.append(" webhookCode: ").append(toIndentedString(webhookCode)).append("\n");
sb.append(" error: ").append(toIndentedString(error)).append("\n");
sb.append(" newTransactions: ").append(toIndentedString(newTransactions)).append("\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).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/ItemApplicationUnlinkRequest.java | src/main/java/com/plaid/client/model/ItemApplicationUnlinkRequest.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;
/**
* ItemApplicationUnlinkRequest defines the request schema for `/item/application/unlink/`
*/
@ApiModel(description = "ItemApplicationUnlinkRequest defines the request schema for `/item/application/unlink/`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ItemApplicationUnlinkRequest {
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_APPLICATION_ID = "application_id";
@SerializedName(SERIALIZED_NAME_APPLICATION_ID)
private String applicationId;
public ItemApplicationUnlinkRequest 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 ItemApplicationUnlinkRequest 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 ItemApplicationUnlinkRequest 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 ItemApplicationUnlinkRequest applicationId(String applicationId) {
this.applicationId = applicationId;
return this;
}
/**
* This field will map to the application ID that is returned from /item/application/list, or provided to the institution in an oauth redirect.
* @return applicationId
**/
@ApiModelProperty(required = true, value = "This field will map to the application ID that is returned from /item/application/list, or provided to the institution in an oauth redirect.")
public String getApplicationId() {
return applicationId;
}
public void setApplicationId(String applicationId) {
this.applicationId = applicationId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ItemApplicationUnlinkRequest itemApplicationUnlinkRequest = (ItemApplicationUnlinkRequest) o;
return Objects.equals(this.clientId, itemApplicationUnlinkRequest.clientId) &&
Objects.equals(this.secret, itemApplicationUnlinkRequest.secret) &&
Objects.equals(this.accessToken, itemApplicationUnlinkRequest.accessToken) &&
Objects.equals(this.applicationId, itemApplicationUnlinkRequest.applicationId);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, accessToken, applicationId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ItemApplicationUnlinkRequest {\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(" applicationId: ").append(toIndentedString(applicationId)).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/InstitutionSupportedNetworks.java | src/main/java/com/plaid/client/model/InstitutionSupportedNetworks.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.TransferCapabilitiesGetRTP;
import com.plaid.client.model.TransferCapabilitiesGetRfP;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Contains the RTP and RfP network and types supported by the linked Item's institution.
*/
@ApiModel(description = "Contains the RTP and RfP network and types supported by the linked Item's institution.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class InstitutionSupportedNetworks {
public static final String SERIALIZED_NAME_RTP = "rtp";
@SerializedName(SERIALIZED_NAME_RTP)
private TransferCapabilitiesGetRTP rtp;
public static final String SERIALIZED_NAME_RFP = "rfp";
@SerializedName(SERIALIZED_NAME_RFP)
private TransferCapabilitiesGetRfP rfp;
public InstitutionSupportedNetworks rtp(TransferCapabilitiesGetRTP rtp) {
this.rtp = rtp;
return this;
}
/**
* Get rtp
* @return rtp
**/
@ApiModelProperty(required = true, value = "")
public TransferCapabilitiesGetRTP getRtp() {
return rtp;
}
public void setRtp(TransferCapabilitiesGetRTP rtp) {
this.rtp = rtp;
}
public InstitutionSupportedNetworks rfp(TransferCapabilitiesGetRfP rfp) {
this.rfp = rfp;
return this;
}
/**
* Get rfp
* @return rfp
**/
@ApiModelProperty(required = true, value = "")
public TransferCapabilitiesGetRfP getRfp() {
return rfp;
}
public void setRfp(TransferCapabilitiesGetRfP rfp) {
this.rfp = rfp;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
InstitutionSupportedNetworks institutionSupportedNetworks = (InstitutionSupportedNetworks) o;
return Objects.equals(this.rtp, institutionSupportedNetworks.rtp) &&
Objects.equals(this.rfp, institutionSupportedNetworks.rfp);
}
@Override
public int hashCode() {
return Objects.hash(rtp, rfp);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class InstitutionSupportedNetworks {\n");
sb.append(" rtp: ").append(toIndentedString(rtp)).append("\n");
sb.append(" rfp: ").append(toIndentedString(rfp)).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/IdentityVerificationCreateResponse.java | src/main/java/com/plaid/client/model/IdentityVerificationCreateResponse.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 IdentityVerificationCreateResponse {
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 IdentityVerificationCreateResponse 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 IdentityVerificationCreateResponse 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 IdentityVerificationCreateResponse 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 IdentityVerificationCreateResponse 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 IdentityVerificationCreateResponse 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 IdentityVerificationCreateResponse 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 IdentityVerificationCreateResponse 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 IdentityVerificationCreateResponse 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 IdentityVerificationCreateResponse 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 IdentityVerificationCreateResponse 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 IdentityVerificationCreateResponse 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 IdentityVerificationCreateResponse 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 IdentityVerificationCreateResponse 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 IdentityVerificationCreateResponse 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 IdentityVerificationCreateResponse 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 IdentityVerificationCreateResponse 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 IdentityVerificationCreateResponse 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 IdentityVerificationCreateResponse 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 IdentityVerificationCreateResponse 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 IdentityVerificationCreateResponse 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 IdentityVerificationCreateResponse 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;
}
IdentityVerificationCreateResponse identityVerificationCreateResponse = (IdentityVerificationCreateResponse) o;
return Objects.equals(this.id, identityVerificationCreateResponse.id) &&
Objects.equals(this.clientUserId, identityVerificationCreateResponse.clientUserId) &&
Objects.equals(this.createdAt, identityVerificationCreateResponse.createdAt) &&
Objects.equals(this.completedAt, identityVerificationCreateResponse.completedAt) &&
Objects.equals(this.previousAttemptId, identityVerificationCreateResponse.previousAttemptId) &&
Objects.equals(this.shareableUrl, identityVerificationCreateResponse.shareableUrl) &&
Objects.equals(this.template, identityVerificationCreateResponse.template) &&
Objects.equals(this.user, identityVerificationCreateResponse.user) &&
Objects.equals(this.status, identityVerificationCreateResponse.status) &&
Objects.equals(this.steps, identityVerificationCreateResponse.steps) &&
Objects.equals(this.documentaryVerification, identityVerificationCreateResponse.documentaryVerification) &&
Objects.equals(this.selfieCheck, identityVerificationCreateResponse.selfieCheck) &&
Objects.equals(this.kycCheck, identityVerificationCreateResponse.kycCheck) &&
Objects.equals(this.riskCheck, identityVerificationCreateResponse.riskCheck) &&
Objects.equals(this.verifySms, identityVerificationCreateResponse.verifySms) &&
Objects.equals(this.watchlistScreeningId, identityVerificationCreateResponse.watchlistScreeningId) &&
Objects.equals(this.beaconUserId, identityVerificationCreateResponse.beaconUserId) &&
Objects.equals(this.userId, identityVerificationCreateResponse.userId) &&
Objects.equals(this.redactedAt, identityVerificationCreateResponse.redactedAt) &&
Objects.equals(this.latestScoredProtectEvent, identityVerificationCreateResponse.latestScoredProtectEvent) &&
Objects.equals(this.requestId, identityVerificationCreateResponse.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 IdentityVerificationCreateResponse {\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/ProcessorSignalDecisionReportRequest.java | src/main/java/com/plaid/client/model/ProcessorSignalDecisionReportRequest.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.SignalDecisionOutcome;
import com.plaid.client.model.SignalPaymentMethod;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* ProcessorSignalDecisionReportRequest defines the request schema for `/processor/signal/decision/report`
*/
@ApiModel(description = "ProcessorSignalDecisionReportRequest defines the request schema for `/processor/signal/decision/report`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ProcessorSignalDecisionReportRequest {
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 static final String SERIALIZED_NAME_CLIENT_TRANSACTION_ID = "client_transaction_id";
@SerializedName(SERIALIZED_NAME_CLIENT_TRANSACTION_ID)
private String clientTransactionId;
public static final String SERIALIZED_NAME_INITIATED = "initiated";
@SerializedName(SERIALIZED_NAME_INITIATED)
private Boolean initiated;
public static final String SERIALIZED_NAME_DAYS_FUNDS_ON_HOLD = "days_funds_on_hold";
@SerializedName(SERIALIZED_NAME_DAYS_FUNDS_ON_HOLD)
private Integer daysFundsOnHold;
public static final String SERIALIZED_NAME_DECISION_OUTCOME = "decision_outcome";
@SerializedName(SERIALIZED_NAME_DECISION_OUTCOME)
private SignalDecisionOutcome decisionOutcome;
public static final String SERIALIZED_NAME_PAYMENT_METHOD = "payment_method";
@SerializedName(SERIALIZED_NAME_PAYMENT_METHOD)
private SignalPaymentMethod paymentMethod;
public static final String SERIALIZED_NAME_AMOUNT_INSTANTLY_AVAILABLE = "amount_instantly_available";
@SerializedName(SERIALIZED_NAME_AMOUNT_INSTANTLY_AVAILABLE)
private Double amountInstantlyAvailable;
public ProcessorSignalDecisionReportRequest 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 ProcessorSignalDecisionReportRequest 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 ProcessorSignalDecisionReportRequest 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;
}
public ProcessorSignalDecisionReportRequest clientTransactionId(String clientTransactionId) {
this.clientTransactionId = clientTransactionId;
return this;
}
/**
* Must be the same as the `client_transaction_id` supplied when calling `/signal/evaluate`
* @return clientTransactionId
**/
@ApiModelProperty(required = true, value = "Must be the same as the `client_transaction_id` supplied when calling `/signal/evaluate`")
public String getClientTransactionId() {
return clientTransactionId;
}
public void setClientTransactionId(String clientTransactionId) {
this.clientTransactionId = clientTransactionId;
}
public ProcessorSignalDecisionReportRequest initiated(Boolean initiated) {
this.initiated = initiated;
return this;
}
/**
* `true` if the ACH transaction was initiated, `false` otherwise. This field must be returned as a boolean. If formatted incorrectly, this will result in an [`INVALID_FIELD`](https://plaid.com/docs/errors/invalid-request/#invalid_field) error.
* @return initiated
**/
@ApiModelProperty(required = true, value = "`true` if the ACH transaction was initiated, `false` otherwise. This field must be returned as a boolean. If formatted incorrectly, this will result in an [`INVALID_FIELD`](https://plaid.com/docs/errors/invalid-request/#invalid_field) error.")
public Boolean getInitiated() {
return initiated;
}
public void setInitiated(Boolean initiated) {
this.initiated = initiated;
}
public ProcessorSignalDecisionReportRequest daysFundsOnHold(Integer daysFundsOnHold) {
this.daysFundsOnHold = daysFundsOnHold;
return this;
}
/**
* The actual number of days (hold time) since the ACH debit transaction that you wait before making funds available to your customers. The holding time could affect the ACH return rate. For example, use 0 if you make funds available to your customers instantly or the same day following the debit transaction, or 1 if you make funds available the next day following the debit initialization.
* minimum: 0
* @return daysFundsOnHold
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The actual number of days (hold time) since the ACH debit transaction that you wait before making funds available to your customers. The holding time could affect the ACH return rate. For example, use 0 if you make funds available to your customers instantly or the same day following the debit transaction, or 1 if you make funds available the next day following the debit initialization.")
public Integer getDaysFundsOnHold() {
return daysFundsOnHold;
}
public void setDaysFundsOnHold(Integer daysFundsOnHold) {
this.daysFundsOnHold = daysFundsOnHold;
}
public ProcessorSignalDecisionReportRequest decisionOutcome(SignalDecisionOutcome decisionOutcome) {
this.decisionOutcome = decisionOutcome;
return this;
}
/**
* Get decisionOutcome
* @return decisionOutcome
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public SignalDecisionOutcome getDecisionOutcome() {
return decisionOutcome;
}
public void setDecisionOutcome(SignalDecisionOutcome decisionOutcome) {
this.decisionOutcome = decisionOutcome;
}
public ProcessorSignalDecisionReportRequest paymentMethod(SignalPaymentMethod paymentMethod) {
this.paymentMethod = paymentMethod;
return this;
}
/**
* Get paymentMethod
* @return paymentMethod
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public SignalPaymentMethod getPaymentMethod() {
return paymentMethod;
}
public void setPaymentMethod(SignalPaymentMethod paymentMethod) {
this.paymentMethod = paymentMethod;
}
public ProcessorSignalDecisionReportRequest amountInstantlyAvailable(Double amountInstantlyAvailable) {
this.amountInstantlyAvailable = amountInstantlyAvailable;
return this;
}
/**
* The amount (in USD) made available to your customers instantly following the debit transaction. It could be a partial amount of the requested transaction (example: 102.05).
* @return amountInstantlyAvailable
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The amount (in USD) made available to your customers instantly following the debit transaction. It could be a partial amount of the requested transaction (example: 102.05).")
public Double getAmountInstantlyAvailable() {
return amountInstantlyAvailable;
}
public void setAmountInstantlyAvailable(Double amountInstantlyAvailable) {
this.amountInstantlyAvailable = amountInstantlyAvailable;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ProcessorSignalDecisionReportRequest processorSignalDecisionReportRequest = (ProcessorSignalDecisionReportRequest) o;
return Objects.equals(this.clientId, processorSignalDecisionReportRequest.clientId) &&
Objects.equals(this.secret, processorSignalDecisionReportRequest.secret) &&
Objects.equals(this.processorToken, processorSignalDecisionReportRequest.processorToken) &&
Objects.equals(this.clientTransactionId, processorSignalDecisionReportRequest.clientTransactionId) &&
Objects.equals(this.initiated, processorSignalDecisionReportRequest.initiated) &&
Objects.equals(this.daysFundsOnHold, processorSignalDecisionReportRequest.daysFundsOnHold) &&
Objects.equals(this.decisionOutcome, processorSignalDecisionReportRequest.decisionOutcome) &&
Objects.equals(this.paymentMethod, processorSignalDecisionReportRequest.paymentMethod) &&
Objects.equals(this.amountInstantlyAvailable, processorSignalDecisionReportRequest.amountInstantlyAvailable);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, processorToken, clientTransactionId, initiated, daysFundsOnHold, decisionOutcome, paymentMethod, amountInstantlyAvailable);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProcessorSignalDecisionReportRequest {\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(" clientTransactionId: ").append(toIndentedString(clientTransactionId)).append("\n");
sb.append(" initiated: ").append(toIndentedString(initiated)).append("\n");
sb.append(" daysFundsOnHold: ").append(toIndentedString(daysFundsOnHold)).append("\n");
sb.append(" decisionOutcome: ").append(toIndentedString(decisionOutcome)).append("\n");
sb.append(" paymentMethod: ").append(toIndentedString(paymentMethod)).append("\n");
sb.append(" amountInstantlyAvailable: ").append(toIndentedString(amountInstantlyAvailable)).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/LinkSessionCraUpdateResult.java | src/main/java/com/plaid/client/model/LinkSessionCraUpdateResult.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.LinkSessionSuccessMetadataAccount;
import com.plaid.client.model.LinkSessionSuccessMetadataInstitution;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* The details of a Plaid Check Item update via Update Mode in Link.
*/
@ApiModel(description = "The details of a Plaid Check Item update via Update Mode in Link.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkSessionCraUpdateResult {
public static final String SERIALIZED_NAME_ITEM_ID = "item_id";
@SerializedName(SERIALIZED_NAME_ITEM_ID)
private String itemId;
public static final String SERIALIZED_NAME_ACCOUNTS = "accounts";
@SerializedName(SERIALIZED_NAME_ACCOUNTS)
private List<LinkSessionSuccessMetadataAccount> accounts = new ArrayList<>();
public static final String SERIALIZED_NAME_INSTITUTION = "institution";
@SerializedName(SERIALIZED_NAME_INSTITUTION)
private LinkSessionSuccessMetadataInstitution institution;
public LinkSessionCraUpdateResult itemId(String itemId) {
this.itemId = itemId;
return this;
}
/**
* The Plaid Check Item ID. The `item_id` is always unique; linking the same account at the same institution twice will result in two Items with different `item_id` values. The `item_id` is case-sensitive.
* @return itemId
**/
@ApiModelProperty(required = true, value = "The Plaid Check Item ID. The `item_id` is always unique; linking the same account at the same institution twice will result in two Items with different `item_id` values. The `item_id` is case-sensitive.")
public String getItemId() {
return itemId;
}
public void setItemId(String itemId) {
this.itemId = itemId;
}
public LinkSessionCraUpdateResult accounts(List<LinkSessionSuccessMetadataAccount> accounts) {
this.accounts = accounts;
return this;
}
public LinkSessionCraUpdateResult addAccountsItem(LinkSessionSuccessMetadataAccount accountsItem) {
this.accounts.add(accountsItem);
return this;
}
/**
* A list of accounts attached to the connected Item. If Account Select is enabled via the developer dashboard, `accounts` will only include selected accounts.
* @return accounts
**/
@ApiModelProperty(required = true, value = "A list of accounts attached to the connected Item. If Account Select is enabled via the developer dashboard, `accounts` will only include selected accounts.")
public List<LinkSessionSuccessMetadataAccount> getAccounts() {
return accounts;
}
public void setAccounts(List<LinkSessionSuccessMetadataAccount> accounts) {
this.accounts = accounts;
}
public LinkSessionCraUpdateResult institution(LinkSessionSuccessMetadataInstitution institution) {
this.institution = institution;
return this;
}
/**
* Get institution
* @return institution
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public LinkSessionSuccessMetadataInstitution getInstitution() {
return institution;
}
public void setInstitution(LinkSessionSuccessMetadataInstitution institution) {
this.institution = institution;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkSessionCraUpdateResult linkSessionCraUpdateResult = (LinkSessionCraUpdateResult) o;
return Objects.equals(this.itemId, linkSessionCraUpdateResult.itemId) &&
Objects.equals(this.accounts, linkSessionCraUpdateResult.accounts) &&
Objects.equals(this.institution, linkSessionCraUpdateResult.institution);
}
@Override
public int hashCode() {
return Objects.hash(itemId, accounts, institution);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkSessionCraUpdateResult {\n");
sb.append(" itemId: ").append(toIndentedString(itemId)).append("\n");
sb.append(" accounts: ").append(toIndentedString(accounts)).append("\n");
sb.append(" institution: ").append(toIndentedString(institution)).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/CreditBankIncomeGetRequest.java | src/main/java/com/plaid/client/model/CreditBankIncomeGetRequest.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.CreditBankIncomeGetRequestOptions;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* CreditBankIncomeGetRequest defines the request schema for `/credit/bank_income/get`.
*/
@ApiModel(description = "CreditBankIncomeGetRequest defines the request schema for `/credit/bank_income/get`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditBankIncomeGetRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_USER_TOKEN = "user_token";
@SerializedName(SERIALIZED_NAME_USER_TOKEN)
private String userToken;
public static final String SERIALIZED_NAME_OPTIONS = "options";
@SerializedName(SERIALIZED_NAME_OPTIONS)
private CreditBankIncomeGetRequestOptions options;
public CreditBankIncomeGetRequest 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 CreditBankIncomeGetRequest 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 CreditBankIncomeGetRequest userToken(String userToken) {
this.userToken = userToken;
return this;
}
/**
* The user token associated with the User data is being requested for. This field is used only by customers with pre-existing integrations that already use the `user_token` field. All other customers should use the `user_id` instead. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis).
* @return userToken
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The user token associated with the User data is being requested for. This field is used only by customers with pre-existing integrations that already use the `user_token` field. All other customers should use the `user_id` instead. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis).")
public String getUserToken() {
return userToken;
}
public void setUserToken(String userToken) {
this.userToken = userToken;
}
public CreditBankIncomeGetRequest options(CreditBankIncomeGetRequestOptions options) {
this.options = options;
return this;
}
/**
* Get options
* @return options
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public CreditBankIncomeGetRequestOptions getOptions() {
return options;
}
public void setOptions(CreditBankIncomeGetRequestOptions options) {
this.options = options;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreditBankIncomeGetRequest creditBankIncomeGetRequest = (CreditBankIncomeGetRequest) o;
return Objects.equals(this.clientId, creditBankIncomeGetRequest.clientId) &&
Objects.equals(this.secret, creditBankIncomeGetRequest.secret) &&
Objects.equals(this.userToken, creditBankIncomeGetRequest.userToken) &&
Objects.equals(this.options, creditBankIncomeGetRequest.options);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, userToken, options);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditBankIncomeGetRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" userToken: ").append(toIndentedString(userToken)).append("\n");
sb.append(" 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/Products.java | src/main/java/com/plaid/client/model/Products.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* A list of products that an institution can support. All Items must be initialized with at least one product. The Balance product is always available and does not need to be specified during initialization.
*/
@JsonAdapter(Products.Adapter.class)
public enum Products {
ASSETS("assets"),
AUTH("auth"),
BALANCE("balance"),
BALANCE_PLUS("balance_plus"),
BEACON("beacon"),
IDENTITY("identity"),
IDENTITY_MATCH("identity_match"),
INVESTMENTS("investments"),
INVESTMENTS_AUTH("investments_auth"),
LIABILITIES("liabilities"),
PAYMENT_INITIATION("payment_initiation"),
IDENTITY_VERIFICATION("identity_verification"),
TRANSACTIONS("transactions"),
CREDIT_DETAILS("credit_details"),
INCOME("income"),
INCOME_VERIFICATION("income_verification"),
STANDING_ORDERS("standing_orders"),
TRANSFER("transfer"),
EMPLOYMENT("employment"),
RECURRING_TRANSACTIONS("recurring_transactions"),
TRANSACTIONS_REFRESH("transactions_refresh"),
SIGNAL("signal"),
STATEMENTS("statements"),
PROCESSOR_PAYMENTS("processor_payments"),
PROCESSOR_IDENTITY("processor_identity"),
PROFILE("profile"),
CRA_BASE_REPORT("cra_base_report"),
CRA_INCOME_INSIGHTS("cra_income_insights"),
CRA_PARTNER_INSIGHTS("cra_partner_insights"),
CRA_NETWORK_INSIGHTS("cra_network_insights"),
CRA_CASHFLOW_INSIGHTS("cra_cashflow_insights"),
CRA_MONITORING("cra_monitoring"),
CRA_LEND_SCORE("cra_lend_score"),
LAYER("layer"),
PAY_BY_BANK("pay_by_bank"),
PROTECT_LINKED_BANK("protect_linked_bank"),
// 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;
Products(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static Products fromValue(String value) {
for (Products b : Products.values()) {
if (b.value.equals(value)) {
return b;
}
}
return Products.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<Products> {
@Override
public void write(final JsonWriter jsonWriter, final Products enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public Products read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return Products.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/PayStubDeductionsTotal.java | src/main/java/com/plaid/client/model/PayStubDeductionsTotal.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* An object representing the total deductions for the pay period
*/
@ApiModel(description = "An object representing the total deductions for the pay period")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PayStubDeductionsTotal {
public static final String SERIALIZED_NAME_CURRENT_AMOUNT = "current_amount";
@SerializedName(SERIALIZED_NAME_CURRENT_AMOUNT)
private Double currentAmount;
public static final String SERIALIZED_NAME_ISO_CURRENCY_CODE = "iso_currency_code";
@SerializedName(SERIALIZED_NAME_ISO_CURRENCY_CODE)
private String isoCurrencyCode;
public static final String SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE = "unofficial_currency_code";
@SerializedName(SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE)
private String unofficialCurrencyCode;
public static final String SERIALIZED_NAME_YTD_AMOUNT = "ytd_amount";
@SerializedName(SERIALIZED_NAME_YTD_AMOUNT)
private Double ytdAmount;
public PayStubDeductionsTotal currentAmount(Double currentAmount) {
this.currentAmount = currentAmount;
return this;
}
/**
* Raw amount of the deduction
* @return currentAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "Raw amount of the deduction")
public Double getCurrentAmount() {
return currentAmount;
}
public void setCurrentAmount(Double currentAmount) {
this.currentAmount = currentAmount;
}
public PayStubDeductionsTotal isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The ISO-4217 currency code of the line item. Always `null` if `unofficial_currency_code` is non-null.
* @return isoCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The ISO-4217 currency code of the line item. Always `null` if `unofficial_currency_code` is non-null.")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public PayStubDeductionsTotal unofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
return this;
}
/**
* The unofficial currency code associated with the line item. Always `null` if `iso_currency_code` is non-`null`. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `iso_currency_code`s.
* @return unofficialCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The unofficial currency code associated with the line item. Always `null` if `iso_currency_code` is non-`null`. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `iso_currency_code`s.")
public String getUnofficialCurrencyCode() {
return unofficialCurrencyCode;
}
public void setUnofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
}
public PayStubDeductionsTotal ytdAmount(Double ytdAmount) {
this.ytdAmount = ytdAmount;
return this;
}
/**
* The year-to-date total amount of the deductions
* @return ytdAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The year-to-date total amount of the deductions")
public Double getYtdAmount() {
return ytdAmount;
}
public void setYtdAmount(Double ytdAmount) {
this.ytdAmount = ytdAmount;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PayStubDeductionsTotal payStubDeductionsTotal = (PayStubDeductionsTotal) o;
return Objects.equals(this.currentAmount, payStubDeductionsTotal.currentAmount) &&
Objects.equals(this.isoCurrencyCode, payStubDeductionsTotal.isoCurrencyCode) &&
Objects.equals(this.unofficialCurrencyCode, payStubDeductionsTotal.unofficialCurrencyCode) &&
Objects.equals(this.ytdAmount, payStubDeductionsTotal.ytdAmount);
}
@Override
public int hashCode() {
return Objects.hash(currentAmount, isoCurrencyCode, unofficialCurrencyCode, ytdAmount);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PayStubDeductionsTotal {\n");
sb.append(" currentAmount: ").append(toIndentedString(currentAmount)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" unofficialCurrencyCode: ").append(toIndentedString(unofficialCurrencyCode)).append("\n");
sb.append(" ytdAmount: ").append(toIndentedString(ytdAmount)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/FDXUpdateReason.java | src/main/java/com/plaid/client/model/FDXUpdateReason.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;
/**
* Reason for lifecycle event status change
*/
@JsonAdapter(FDXUpdateReason.Adapter.class)
public enum FDXUpdateReason {
BUSINESS_RULE("BUSINESS_RULE"),
SECURITY_EVENT("SECURITY_EVENT"),
USER_ACTION("USER_ACTION"),
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;
FDXUpdateReason(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static FDXUpdateReason fromValue(String value) {
for (FDXUpdateReason b : FDXUpdateReason.values()) {
if (b.value.equals(value)) {
return b;
}
}
return FDXUpdateReason.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<FDXUpdateReason> {
@Override
public void write(final JsonWriter jsonWriter, final FDXUpdateReason enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public FDXUpdateReason read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return FDXUpdateReason.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/SelfieCheck.java | src/main/java/com/plaid/client/model/SelfieCheck.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.SelfieCheckSelfie;
import com.plaid.client.model.SelfieCheckStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Additional information for the `selfie_check` step. This field will be `null` unless `steps.selfie_check` has reached a terminal state of either `success` or `failed`.
*/
@ApiModel(description = "Additional information for the `selfie_check` step. This field will be `null` unless `steps.selfie_check` has reached a terminal state of either `success` or `failed`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SelfieCheck {
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private SelfieCheckStatus status;
public static final String SERIALIZED_NAME_SELFIES = "selfies";
@SerializedName(SERIALIZED_NAME_SELFIES)
private List<SelfieCheckSelfie> selfies = new ArrayList<>();
public SelfieCheck status(SelfieCheckStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@ApiModelProperty(required = true, value = "")
public SelfieCheckStatus getStatus() {
return status;
}
public void setStatus(SelfieCheckStatus status) {
this.status = status;
}
public SelfieCheck selfies(List<SelfieCheckSelfie> selfies) {
this.selfies = selfies;
return this;
}
public SelfieCheck addSelfiesItem(SelfieCheckSelfie selfiesItem) {
this.selfies.add(selfiesItem);
return this;
}
/**
* An array of selfies submitted to the `selfie_check` step. Each entry represents one user submission.
* @return selfies
**/
@ApiModelProperty(required = true, value = "An array of selfies submitted to the `selfie_check` step. Each entry represents one user submission.")
public List<SelfieCheckSelfie> getSelfies() {
return selfies;
}
public void setSelfies(List<SelfieCheckSelfie> selfies) {
this.selfies = selfies;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SelfieCheck selfieCheck = (SelfieCheck) o;
return Objects.equals(this.status, selfieCheck.status) &&
Objects.equals(this.selfies, selfieCheck.selfies);
}
@Override
public int hashCode() {
return Objects.hash(status, selfies);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SelfieCheck {\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" selfies: ").append(toIndentedString(selfies)).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/TransactionsRulesListResponse.java | src/main/java/com/plaid/client/model/TransactionsRulesListResponse.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.TransactionsCategoryRule;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* TransactionsRulesListResponse defines the response schema for `/beta/transactions/rules/v1/list`
*/
@ApiModel(description = "TransactionsRulesListResponse defines the response schema for `/beta/transactions/rules/v1/list`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransactionsRulesListResponse {
public static final String SERIALIZED_NAME_RULES = "rules";
@SerializedName(SERIALIZED_NAME_RULES)
private List<TransactionsCategoryRule> rules = new ArrayList<>();
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public TransactionsRulesListResponse rules(List<TransactionsCategoryRule> rules) {
this.rules = rules;
return this;
}
public TransactionsRulesListResponse addRulesItem(TransactionsCategoryRule rulesItem) {
this.rules.add(rulesItem);
return this;
}
/**
* A list of the Item's transaction rules
* @return rules
**/
@ApiModelProperty(required = true, value = "A list of the Item's transaction rules")
public List<TransactionsCategoryRule> getRules() {
return rules;
}
public void setRules(List<TransactionsCategoryRule> rules) {
this.rules = rules;
}
public TransactionsRulesListResponse 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;
}
TransactionsRulesListResponse transactionsRulesListResponse = (TransactionsRulesListResponse) o;
return Objects.equals(this.rules, transactionsRulesListResponse.rules) &&
Objects.equals(this.requestId, transactionsRulesListResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(rules, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransactionsRulesListResponse {\n");
sb.append(" rules: ").append(toIndentedString(rules)).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/BankTransferNetwork.java | src/main/java/com/plaid/client/model/BankTransferNetwork.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. Valid options are `ach`, `same-day-ach`, or `wire`.
*/
@JsonAdapter(BankTransferNetwork.Adapter.class)
public enum BankTransferNetwork {
ACH("ach"),
SAME_DAY_ACH("same-day-ach"),
WIRE("wire"),
// 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;
BankTransferNetwork(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static BankTransferNetwork fromValue(String value) {
for (BankTransferNetwork b : BankTransferNetwork.values()) {
if (b.value.equals(value)) {
return b;
}
}
return BankTransferNetwork.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<BankTransferNetwork> {
@Override
public void write(final JsonWriter jsonWriter, final BankTransferNetwork enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public BankTransferNetwork read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return BankTransferNetwork.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/WatchlistScreeningIndividualUpdateRequest.java | src/main/java/com/plaid/client/model/WatchlistScreeningIndividualUpdateRequest.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.UpdateIndividualScreeningRequestSearchTerms;
import com.plaid.client.model.WatchlistScreeningIndividualUpdateRequestResettableField;
import com.plaid.client.model.WatchlistScreeningStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Request input for editing an individual watchlist screening
*/
@ApiModel(description = "Request input for editing an individual watchlist screening")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class WatchlistScreeningIndividualUpdateRequest {
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_SEARCH_TERMS = "search_terms";
@SerializedName(SERIALIZED_NAME_SEARCH_TERMS)
private UpdateIndividualScreeningRequestSearchTerms searchTerms;
public static final String SERIALIZED_NAME_ASSIGNEE = "assignee";
@SerializedName(SERIALIZED_NAME_ASSIGNEE)
private String assignee;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private WatchlistScreeningStatus status;
public static final String SERIALIZED_NAME_CLIENT_USER_ID = "client_user_id";
@SerializedName(SERIALIZED_NAME_CLIENT_USER_ID)
private String clientUserId;
public static final String SERIALIZED_NAME_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_RESET_FIELDS = "reset_fields";
@SerializedName(SERIALIZED_NAME_RESET_FIELDS)
private List<WatchlistScreeningIndividualUpdateRequestResettableField> resetFields = null;
public WatchlistScreeningIndividualUpdateRequest watchlistScreeningId(String watchlistScreeningId) {
this.watchlistScreeningId = watchlistScreeningId;
return this;
}
/**
* ID of the associated screening.
* @return watchlistScreeningId
**/
@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 WatchlistScreeningIndividualUpdateRequest searchTerms(UpdateIndividualScreeningRequestSearchTerms searchTerms) {
this.searchTerms = searchTerms;
return this;
}
/**
* Get searchTerms
* @return searchTerms
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public UpdateIndividualScreeningRequestSearchTerms getSearchTerms() {
return searchTerms;
}
public void setSearchTerms(UpdateIndividualScreeningRequestSearchTerms searchTerms) {
this.searchTerms = searchTerms;
}
public WatchlistScreeningIndividualUpdateRequest assignee(String assignee) {
this.assignee = assignee;
return this;
}
/**
* ID of the associated user. To retrieve the email address or other details of the person corresponding to this id, use `/dashboard_user/get`.
* @return assignee
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "54350110fedcbaf01234ffee", value = "ID of the associated user. To retrieve the email address or other details of the person corresponding to this id, use `/dashboard_user/get`.")
public String getAssignee() {
return assignee;
}
public void setAssignee(String assignee) {
this.assignee = assignee;
}
public WatchlistScreeningIndividualUpdateRequest status(WatchlistScreeningStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public WatchlistScreeningStatus getStatus() {
return status;
}
public void setStatus(WatchlistScreeningStatus status) {
this.status = status;
}
public WatchlistScreeningIndividualUpdateRequest clientUserId(String clientUserId) {
this.clientUserId = clientUserId;
return this;
}
/**
* A unique ID that identifies the end user in your system. This ID can also be used to associate user-specific data from other Plaid products. Financial Account Matching requires this field and the `/link/token/create` `client_user_id` to be consistent. Personally identifiable information, such as an email address or phone number, should not be used in the `client_user_id`.
* @return clientUserId
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "your-db-id-3b24110", 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 WatchlistScreeningIndividualUpdateRequest 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 WatchlistScreeningIndividualUpdateRequest 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 WatchlistScreeningIndividualUpdateRequest resetFields(List<WatchlistScreeningIndividualUpdateRequestResettableField> resetFields) {
this.resetFields = resetFields;
return this;
}
public WatchlistScreeningIndividualUpdateRequest addResetFieldsItem(WatchlistScreeningIndividualUpdateRequestResettableField resetFieldsItem) {
if (this.resetFields == null) {
this.resetFields = new ArrayList<>();
}
this.resetFields.add(resetFieldsItem);
return this;
}
/**
* A list of fields to reset back to null
* @return resetFields
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A list of fields to reset back to null")
public List<WatchlistScreeningIndividualUpdateRequestResettableField> getResetFields() {
return resetFields;
}
public void setResetFields(List<WatchlistScreeningIndividualUpdateRequestResettableField> resetFields) {
this.resetFields = resetFields;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
WatchlistScreeningIndividualUpdateRequest watchlistScreeningIndividualUpdateRequest = (WatchlistScreeningIndividualUpdateRequest) o;
return Objects.equals(this.watchlistScreeningId, watchlistScreeningIndividualUpdateRequest.watchlistScreeningId) &&
Objects.equals(this.searchTerms, watchlistScreeningIndividualUpdateRequest.searchTerms) &&
Objects.equals(this.assignee, watchlistScreeningIndividualUpdateRequest.assignee) &&
Objects.equals(this.status, watchlistScreeningIndividualUpdateRequest.status) &&
Objects.equals(this.clientUserId, watchlistScreeningIndividualUpdateRequest.clientUserId) &&
Objects.equals(this.clientId, watchlistScreeningIndividualUpdateRequest.clientId) &&
Objects.equals(this.secret, watchlistScreeningIndividualUpdateRequest.secret) &&
Objects.equals(this.resetFields, watchlistScreeningIndividualUpdateRequest.resetFields);
}
@Override
public int hashCode() {
return Objects.hash(watchlistScreeningId, searchTerms, assignee, status, clientUserId, clientId, secret, resetFields);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class WatchlistScreeningIndividualUpdateRequest {\n");
sb.append(" watchlistScreeningId: ").append(toIndentedString(watchlistScreeningId)).append("\n");
sb.append(" searchTerms: ").append(toIndentedString(searchTerms)).append("\n");
sb.append(" assignee: ").append(toIndentedString(assignee)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" clientUserId: ").append(toIndentedString(clientUserId)).append("\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" resetFields: ").append(toIndentedString(resetFields)).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/EntityScreeningHitUrlsItems.java | src/main/java/com/plaid/client/model/EntityScreeningHitUrlsItems.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.EntityScreeningHitUrls;
import com.plaid.client.model.MatchSummary;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Analyzed URLs for the associated hit
*/
@ApiModel(description = "Analyzed URLs for the associated hit")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class EntityScreeningHitUrlsItems {
public static final String SERIALIZED_NAME_ANALYSIS = "analysis";
@SerializedName(SERIALIZED_NAME_ANALYSIS)
private MatchSummary analysis;
public static final String SERIALIZED_NAME_DATA = "data";
@SerializedName(SERIALIZED_NAME_DATA)
private EntityScreeningHitUrls data;
public EntityScreeningHitUrlsItems analysis(MatchSummary analysis) {
this.analysis = analysis;
return this;
}
/**
* Get analysis
* @return analysis
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public MatchSummary getAnalysis() {
return analysis;
}
public void setAnalysis(MatchSummary analysis) {
this.analysis = analysis;
}
public EntityScreeningHitUrlsItems data(EntityScreeningHitUrls data) {
this.data = data;
return this;
}
/**
* Get data
* @return data
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public EntityScreeningHitUrls getData() {
return data;
}
public void setData(EntityScreeningHitUrls data) {
this.data = data;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
EntityScreeningHitUrlsItems entityScreeningHitUrlsItems = (EntityScreeningHitUrlsItems) o;
return Objects.equals(this.analysis, entityScreeningHitUrlsItems.analysis) &&
Objects.equals(this.data, entityScreeningHitUrlsItems.data);
}
@Override
public int hashCode() {
return Objects.hash(analysis, data);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class EntityScreeningHitUrlsItems {\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/CreditAuditCopyTokenRemoveResponse.java | src/main/java/com/plaid/client/model/CreditAuditCopyTokenRemoveResponse.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;
/**
* CreditAuditCopyTokenRemoveResponse defines the response schema for `/credit/audit_copy_token/remove`
*/
@ApiModel(description = "CreditAuditCopyTokenRemoveResponse defines the response schema for `/credit/audit_copy_token/remove`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditAuditCopyTokenRemoveResponse {
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 CreditAuditCopyTokenRemoveResponse removed(Boolean removed) {
this.removed = removed;
return this;
}
/**
* `true` if the Audit Copy was successfully removed.
* @return removed
**/
@ApiModelProperty(required = true, value = "`true` if the Audit Copy was successfully removed.")
public Boolean getRemoved() {
return removed;
}
public void setRemoved(Boolean removed) {
this.removed = removed;
}
public CreditAuditCopyTokenRemoveResponse 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;
}
CreditAuditCopyTokenRemoveResponse creditAuditCopyTokenRemoveResponse = (CreditAuditCopyTokenRemoveResponse) o;
return Objects.equals(this.removed, creditAuditCopyTokenRemoveResponse.removed) &&
Objects.equals(this.requestId, creditAuditCopyTokenRemoveResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(removed, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditAuditCopyTokenRemoveResponse {\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/NumbersBACS.java | src/main/java/com/plaid/client/model/NumbersBACS.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;
/**
* Identifying information for transferring money to or from a UK bank account via BACS.
*/
@ApiModel(description = "Identifying information for transferring money to or from a UK bank account via BACS.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class NumbersBACS {
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 = "account";
@SerializedName(SERIALIZED_NAME_ACCOUNT)
private String account;
public static final String SERIALIZED_NAME_SORT_CODE = "sort_code";
@SerializedName(SERIALIZED_NAME_SORT_CODE)
private String sortCode;
public NumbersBACS accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* The Plaid account ID associated with the account numbers
* @return accountId
**/
@ApiModelProperty(required = true, value = "The Plaid account ID associated with the account numbers")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public NumbersBACS account(String account) {
this.account = account;
return this;
}
/**
* The BACS account number for the account
* @return account
**/
@ApiModelProperty(required = true, value = "The BACS account number for the account")
public String getAccount() {
return account;
}
public void setAccount(String account) {
this.account = account;
}
public NumbersBACS sortCode(String sortCode) {
this.sortCode = sortCode;
return this;
}
/**
* The BACS sort code for the account
* @return sortCode
**/
@ApiModelProperty(required = true, value = "The BACS sort code for the account")
public String getSortCode() {
return sortCode;
}
public void setSortCode(String sortCode) {
this.sortCode = sortCode;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
NumbersBACS numbersBACS = (NumbersBACS) o;
return Objects.equals(this.accountId, numbersBACS.accountId) &&
Objects.equals(this.account, numbersBACS.account) &&
Objects.equals(this.sortCode, numbersBACS.sortCode);
}
@Override
public int hashCode() {
return Objects.hash(accountId, account, sortCode);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class NumbersBACS {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" account: ").append(toIndentedString(account)).append("\n");
sb.append(" sortCode: ").append(toIndentedString(sortCode)).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/CashflowReportRefreshResponse.java | src/main/java/com/plaid/client/model/CashflowReportRefreshResponse.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;
/**
* CashflowReportRefreshResponse defines the response schema for `/cashflow_report/response`
*/
@ApiModel(description = "CashflowReportRefreshResponse defines the response schema for `/cashflow_report/response`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CashflowReportRefreshResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public CashflowReportRefreshResponse 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;
}
CashflowReportRefreshResponse cashflowReportRefreshResponse = (CashflowReportRefreshResponse) o;
return Objects.equals(this.requestId, cashflowReportRefreshResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CashflowReportRefreshResponse {\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/PartnerEndCustomerWithSecrets.java | src/main/java/com/plaid/client/model/PartnerEndCustomerWithSecrets.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.PartnerEndCustomer;
import com.plaid.client.model.PartnerEndCustomerSecrets;
import com.plaid.client.model.PartnerEndCustomerStatus;
import com.plaid.client.model.PartnerEndCustomerWithSecretsAllOf;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The details for the newly created end customer, including secrets for Sandbox and Limited Production.
*/
@ApiModel(description = "The details for the newly created end customer, including secrets for Sandbox and Limited Production.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PartnerEndCustomerWithSecrets {
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_SECRETS = "secrets";
@SerializedName(SERIALIZED_NAME_SECRETS)
private PartnerEndCustomerSecrets secrets;
public PartnerEndCustomerWithSecrets 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 PartnerEndCustomerWithSecrets 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 PartnerEndCustomerWithSecrets 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 PartnerEndCustomerWithSecrets secrets(PartnerEndCustomerSecrets secrets) {
this.secrets = secrets;
return this;
}
/**
* Get secrets
* @return secrets
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PartnerEndCustomerSecrets getSecrets() {
return secrets;
}
public void setSecrets(PartnerEndCustomerSecrets secrets) {
this.secrets = secrets;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PartnerEndCustomerWithSecrets partnerEndCustomerWithSecrets = (PartnerEndCustomerWithSecrets) o;
return Objects.equals(this.clientId, partnerEndCustomerWithSecrets.clientId) &&
Objects.equals(this.companyName, partnerEndCustomerWithSecrets.companyName) &&
Objects.equals(this.status, partnerEndCustomerWithSecrets.status) &&
Objects.equals(this.secrets, partnerEndCustomerWithSecrets.secrets);
}
@Override
public int hashCode() {
return Objects.hash(clientId, companyName, status, secrets);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PartnerEndCustomerWithSecrets {\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(" secrets: ").append(toIndentedString(secrets)).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/LinkTokenCreateLoanFilter.java | src/main/java/com/plaid/client/model/LinkTokenCreateLoanFilter.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.LoanAccountSubtype;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* A filter to apply to `loan`-type accounts
*/
@ApiModel(description = "A filter to apply to `loan`-type accounts")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkTokenCreateLoanFilter {
public static final String SERIALIZED_NAME_ACCOUNT_SUBTYPES = "account_subtypes";
@SerializedName(SERIALIZED_NAME_ACCOUNT_SUBTYPES)
private List<LoanAccountSubtype> accountSubtypes = null;
public LinkTokenCreateLoanFilter accountSubtypes(List<LoanAccountSubtype> accountSubtypes) {
this.accountSubtypes = accountSubtypes;
return this;
}
public LinkTokenCreateLoanFilter addAccountSubtypesItem(LoanAccountSubtype accountSubtypesItem) {
if (this.accountSubtypes == null) {
this.accountSubtypes = new ArrayList<>();
}
this.accountSubtypes.add(accountSubtypesItem);
return this;
}
/**
* An array of account subtypes to display in Link. If not specified, all account subtypes will be shown. For a full list of valid types and subtypes, see the [Account schema](https://plaid.com/docs/api/accounts#account-type-schema).
* @return accountSubtypes
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "An array of account subtypes to display in Link. If not specified, all account subtypes will be shown. For a full list of valid types and subtypes, see the [Account schema](https://plaid.com/docs/api/accounts#account-type-schema). ")
public List<LoanAccountSubtype> getAccountSubtypes() {
return accountSubtypes;
}
public void setAccountSubtypes(List<LoanAccountSubtype> accountSubtypes) {
this.accountSubtypes = accountSubtypes;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkTokenCreateLoanFilter linkTokenCreateLoanFilter = (LinkTokenCreateLoanFilter) o;
return Objects.equals(this.accountSubtypes, linkTokenCreateLoanFilter.accountSubtypes);
}
@Override
public int hashCode() {
return Objects.hash(accountSubtypes);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkTokenCreateLoanFilter {\n");
sb.append(" accountSubtypes: ").append(toIndentedString(accountSubtypes)).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/CreditFreddieMacParty.java | src/main/java/com/plaid/client/model/CreditFreddieMacParty.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.CreditFreddieMacPartyIndividual;
import com.plaid.client.model.Roles;
import com.plaid.client.model.TaxpayerIdentifiers;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* A collection of information about a single party to a transaction. Included direct participants like the borrower and seller as well as indirect participants such as the flood certificate provider.
*/
@ApiModel(description = "A collection of information about a single party to a transaction. Included direct participants like the borrower and seller as well as indirect participants such as the flood certificate provider.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditFreddieMacParty {
public static final String SERIALIZED_NAME_I_N_D_I_V_I_D_U_A_L = "INDIVIDUAL";
@SerializedName(SERIALIZED_NAME_I_N_D_I_V_I_D_U_A_L)
private CreditFreddieMacPartyIndividual INDIVIDUAL;
public static final String SERIALIZED_NAME_R_O_L_E_S = "ROLES";
@SerializedName(SERIALIZED_NAME_R_O_L_E_S)
private Roles ROLES;
public static final String SERIALIZED_NAME_T_A_X_P_A_Y_E_R_I_D_E_N_T_I_F_I_E_R_S = "TAXPAYER_IDENTIFIERS";
@SerializedName(SERIALIZED_NAME_T_A_X_P_A_Y_E_R_I_D_E_N_T_I_F_I_E_R_S)
private TaxpayerIdentifiers TAXPAYER_IDENTIFIERS;
public CreditFreddieMacParty INDIVIDUAL(CreditFreddieMacPartyIndividual INDIVIDUAL) {
this.INDIVIDUAL = INDIVIDUAL;
return this;
}
/**
* Get INDIVIDUAL
* @return INDIVIDUAL
**/
@ApiModelProperty(required = true, value = "")
public CreditFreddieMacPartyIndividual getINDIVIDUAL() {
return INDIVIDUAL;
}
public void setINDIVIDUAL(CreditFreddieMacPartyIndividual INDIVIDUAL) {
this.INDIVIDUAL = INDIVIDUAL;
}
public CreditFreddieMacParty ROLES(Roles ROLES) {
this.ROLES = ROLES;
return this;
}
/**
* Get ROLES
* @return ROLES
**/
@ApiModelProperty(required = true, value = "")
public Roles getROLES() {
return ROLES;
}
public void setROLES(Roles ROLES) {
this.ROLES = ROLES;
}
public CreditFreddieMacParty TAXPAYER_IDENTIFIERS(TaxpayerIdentifiers TAXPAYER_IDENTIFIERS) {
this.TAXPAYER_IDENTIFIERS = TAXPAYER_IDENTIFIERS;
return this;
}
/**
* Get TAXPAYER_IDENTIFIERS
* @return TAXPAYER_IDENTIFIERS
**/
@ApiModelProperty(required = true, value = "")
public TaxpayerIdentifiers getTAXPAYERIDENTIFIERS() {
return TAXPAYER_IDENTIFIERS;
}
public void setTAXPAYERIDENTIFIERS(TaxpayerIdentifiers TAXPAYER_IDENTIFIERS) {
this.TAXPAYER_IDENTIFIERS = TAXPAYER_IDENTIFIERS;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreditFreddieMacParty creditFreddieMacParty = (CreditFreddieMacParty) o;
return Objects.equals(this.INDIVIDUAL, creditFreddieMacParty.INDIVIDUAL) &&
Objects.equals(this.ROLES, creditFreddieMacParty.ROLES) &&
Objects.equals(this.TAXPAYER_IDENTIFIERS, creditFreddieMacParty.TAXPAYER_IDENTIFIERS);
}
@Override
public int hashCode() {
return Objects.hash(INDIVIDUAL, ROLES, TAXPAYER_IDENTIFIERS);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditFreddieMacParty {\n");
sb.append(" INDIVIDUAL: ").append(toIndentedString(INDIVIDUAL)).append("\n");
sb.append(" ROLES: ").append(toIndentedString(ROLES)).append("\n");
sb.append(" TAXPAYER_IDENTIFIERS: ").append(toIndentedString(TAXPAYER_IDENTIFIERS)).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/WeakAliasDetermination.java | src/main/java/com/plaid/client/model/WeakAliasDetermination.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;
/**
* Names that are explicitly marked as low quality either by their `source` list, or by `plaid` by a series of additional checks done by Plaid. Plaid does not ever surface a hit as a result of a weak name alone. If a name has no quality issues, this value will be `none`.
*/
@JsonAdapter(WeakAliasDetermination.Adapter.class)
public enum WeakAliasDetermination {
NONE("none"),
SOURCE("source"),
PLAID("plaid"),
// 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;
WeakAliasDetermination(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static WeakAliasDetermination fromValue(String value) {
for (WeakAliasDetermination b : WeakAliasDetermination.values()) {
if (b.value.equals(value)) {
return b;
}
}
return WeakAliasDetermination.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<WeakAliasDetermination> {
@Override
public void write(final JsonWriter jsonWriter, final WeakAliasDetermination enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public WeakAliasDetermination read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return WeakAliasDetermination.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/OAuthTokenRequest.java | src/main/java/com/plaid/client/model/OAuthTokenRequest.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.OAuthGrantType;
import com.plaid.client.model.OAuthSubjectTokenType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* OAuth token grant request.
*/
@ApiModel(description = "OAuth token grant request.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class OAuthTokenRequest {
public static final String SERIALIZED_NAME_GRANT_TYPE = "grant_type";
@SerializedName(SERIALIZED_NAME_GRANT_TYPE)
private OAuthGrantType grantType;
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_CLIENT_SECRET = "client_secret";
@SerializedName(SERIALIZED_NAME_CLIENT_SECRET)
private String clientSecret;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_SCOPE = "scope";
@SerializedName(SERIALIZED_NAME_SCOPE)
private String scope;
public static final String SERIALIZED_NAME_REFRESH_TOKEN = "refresh_token";
@SerializedName(SERIALIZED_NAME_REFRESH_TOKEN)
private String refreshToken;
public static final String SERIALIZED_NAME_RESOURCE = "resource";
@SerializedName(SERIALIZED_NAME_RESOURCE)
private String resource;
public static final String SERIALIZED_NAME_AUDIENCE = "audience";
@SerializedName(SERIALIZED_NAME_AUDIENCE)
private String audience;
public static final String SERIALIZED_NAME_SUBJECT_TOKEN = "subject_token";
@SerializedName(SERIALIZED_NAME_SUBJECT_TOKEN)
private String subjectToken;
public static final String SERIALIZED_NAME_SUBJECT_TOKEN_TYPE = "subject_token_type";
@SerializedName(SERIALIZED_NAME_SUBJECT_TOKEN_TYPE)
private OAuthSubjectTokenType subjectTokenType;
public OAuthTokenRequest grantType(OAuthGrantType grantType) {
this.grantType = grantType;
return this;
}
/**
* Get grantType
* @return grantType
**/
@ApiModelProperty(required = true, value = "")
public OAuthGrantType getGrantType() {
return grantType;
}
public void setGrantType(OAuthGrantType grantType) {
this.grantType = grantType;
}
public OAuthTokenRequest 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 OAuthTokenRequest clientSecret(String clientSecret) {
this.clientSecret = clientSecret;
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 as either `secret` or `client_secret`.
* @return clientSecret
**/
@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 as either `secret` or `client_secret`.")
public String getClientSecret() {
return clientSecret;
}
public void setClientSecret(String clientSecret) {
this.clientSecret = clientSecret;
}
public OAuthTokenRequest 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 as either `secret` or `client_secret`.
* @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 as either `secret` or `client_secret`.")
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
public OAuthTokenRequest scope(String scope) {
this.scope = scope;
return this;
}
/**
* A JSON string containing a space-separated list of scopes associated with this token, in the format described in [https://datatracker.ietf.org/doc/html/rfc6749#section-3.3](https://datatracker.ietf.org/doc/html/rfc6749#section-3.3). Currently accepted values are: `user:read` allows reading user data. `user:write` allows writing user data. `exchange` allows exchanging a token using the `urn:plaid:params:oauth:user-token` grant type. `mcp:dashboard` allows access to the MCP dashboard server.
* @return scope
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "user:read user:write exchange", value = "A JSON string containing a space-separated list of scopes associated with this token, in the format described in [https://datatracker.ietf.org/doc/html/rfc6749#section-3.3](https://datatracker.ietf.org/doc/html/rfc6749#section-3.3). Currently accepted values are: `user:read` allows reading user data. `user:write` allows writing user data. `exchange` allows exchanging a token using the `urn:plaid:params:oauth:user-token` grant type. `mcp:dashboard` allows access to the MCP dashboard server.")
public String getScope() {
return scope;
}
public void setScope(String scope) {
this.scope = scope;
}
public OAuthTokenRequest refreshToken(String refreshToken) {
this.refreshToken = refreshToken;
return this;
}
/**
* Refresh token for OAuth
* @return refreshToken
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Refresh token for OAuth")
public String getRefreshToken() {
return refreshToken;
}
public void setRefreshToken(String refreshToken) {
this.refreshToken = refreshToken;
}
public OAuthTokenRequest resource(String resource) {
this.resource = resource;
return this;
}
/**
* URI of the target resource server
* @return resource
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "https://production.plaid.com", value = "URI of the target resource server")
public String getResource() {
return resource;
}
public void setResource(String resource) {
this.resource = resource;
}
public OAuthTokenRequest audience(String audience) {
this.audience = audience;
return this;
}
/**
* Used when exchanging a token. The meaning depends on the `subject_token_type`: - For `urn:plaid:params:tokens:user`: Must be the same as the `client_id`. - For `urn:plaid:params:oauth:user-token`: The other `client_id` to exchange tokens to. - For `urn:plaid:params:credit:multi-user`: a `client_id` or one of the supported CRA partner URNs: `urn:plaid:params:cra-partner:experian`, `urn:plaid:params:cra-partner:fannie-mae`, or `urn:plaid:params:cra-partner:freddie-mac`.
* @return audience
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "68028ce48d2b0dec68747f6c", value = "Used when exchanging a token. The meaning depends on the `subject_token_type`: - For `urn:plaid:params:tokens:user`: Must be the same as the `client_id`. - For `urn:plaid:params:oauth:user-token`: The other `client_id` to exchange tokens to. - For `urn:plaid:params:credit:multi-user`: a `client_id` or one of the supported CRA partner URNs: `urn:plaid:params:cra-partner:experian`, `urn:plaid:params:cra-partner:fannie-mae`, or `urn:plaid:params:cra-partner:freddie-mac`.")
public String getAudience() {
return audience;
}
public void setAudience(String audience) {
this.audience = audience;
}
public OAuthTokenRequest subjectToken(String subjectToken) {
this.subjectToken = subjectToken;
return this;
}
/**
* Token representing the subject. The `subject token` must be an OAuth refresh token issued from the `/oauth/token` endpoint. The meaning depends on the `subject_token_type`.
* @return subjectToken
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "user-sandbox-b0e2c4ee-a763-4df5-bfe9-46a46bce993d", value = "Token representing the subject. The `subject token` must be an OAuth refresh token issued from the `/oauth/token` endpoint. The meaning depends on the `subject_token_type`.")
public String getSubjectToken() {
return subjectToken;
}
public void setSubjectToken(String subjectToken) {
this.subjectToken = subjectToken;
}
public OAuthTokenRequest subjectTokenType(OAuthSubjectTokenType subjectTokenType) {
this.subjectTokenType = subjectTokenType;
return this;
}
/**
* Get subjectTokenType
* @return subjectTokenType
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public OAuthSubjectTokenType getSubjectTokenType() {
return subjectTokenType;
}
public void setSubjectTokenType(OAuthSubjectTokenType subjectTokenType) {
this.subjectTokenType = subjectTokenType;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
OAuthTokenRequest oauthTokenRequest = (OAuthTokenRequest) o;
return Objects.equals(this.grantType, oauthTokenRequest.grantType) &&
Objects.equals(this.clientId, oauthTokenRequest.clientId) &&
Objects.equals(this.clientSecret, oauthTokenRequest.clientSecret) &&
Objects.equals(this.secret, oauthTokenRequest.secret) &&
Objects.equals(this.scope, oauthTokenRequest.scope) &&
Objects.equals(this.refreshToken, oauthTokenRequest.refreshToken) &&
Objects.equals(this.resource, oauthTokenRequest.resource) &&
Objects.equals(this.audience, oauthTokenRequest.audience) &&
Objects.equals(this.subjectToken, oauthTokenRequest.subjectToken) &&
Objects.equals(this.subjectTokenType, oauthTokenRequest.subjectTokenType);
}
@Override
public int hashCode() {
return Objects.hash(grantType, clientId, clientSecret, secret, scope, refreshToken, resource, audience, subjectToken, subjectTokenType);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class OAuthTokenRequest {\n");
sb.append(" grantType: ").append(toIndentedString(grantType)).append("\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" clientSecret: ").append(toIndentedString(clientSecret)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" scope: ").append(toIndentedString(scope)).append("\n");
sb.append(" refreshToken: ").append(toIndentedString(refreshToken)).append("\n");
sb.append(" resource: ").append(toIndentedString(resource)).append("\n");
sb.append(" audience: ").append(toIndentedString(audience)).append("\n");
sb.append(" subjectToken: ").append(toIndentedString(subjectToken)).append("\n");
sb.append(" subjectTokenType: ").append(toIndentedString(subjectTokenType)).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/AssetReportTransactionType.java | src/main/java/com/plaid/client/model/AssetReportTransactionType.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;
/**
* `digital:` transactions that took place online. `place:` transactions that were made at a physical location. `special:` transactions that relate to banks, e.g. fees or deposits. `unresolved:` transactions that do not fit into the other three types.
*/
@JsonAdapter(AssetReportTransactionType.Adapter.class)
public enum AssetReportTransactionType {
DIGITAL("digital"),
PLACE("place"),
SPECIAL("special"),
UNRESOLVED("unresolved"),
// 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;
AssetReportTransactionType(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static AssetReportTransactionType fromValue(String value) {
for (AssetReportTransactionType b : AssetReportTransactionType.values()) {
if (b.value.equals(value)) {
return b;
}
}
return AssetReportTransactionType.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<AssetReportTransactionType> {
@Override
public void write(final JsonWriter jsonWriter, final AssetReportTransactionType enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public AssetReportTransactionType read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return AssetReportTransactionType.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/BusinessFinanceCategory.java | src/main/java/com/plaid/client/model/BusinessFinanceCategory.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 describing the intent of the transaction. Most relevant for business finance use cases, but not limited to such use cases.
*/
@ApiModel(description = "Information describing the intent of the transaction. Most relevant for business finance use cases, but not limited to such use cases.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BusinessFinanceCategory {
public static final String SERIALIZED_NAME_PRIMARY = "primary";
@SerializedName(SERIALIZED_NAME_PRIMARY)
private String primary;
public static final String SERIALIZED_NAME_DETAILED = "detailed";
@SerializedName(SERIALIZED_NAME_DETAILED)
private String detailed;
public static final String SERIALIZED_NAME_CONFIDENCE_LEVEL = "confidence_level";
@SerializedName(SERIALIZED_NAME_CONFIDENCE_LEVEL)
private String confidenceLevel;
public BusinessFinanceCategory primary(String primary) {
this.primary = primary;
return this;
}
/**
* A high level category that communicates the broad category of the transaction.
* @return primary
**/
@ApiModelProperty(required = true, value = "A high level category that communicates the broad category of the transaction.")
public String getPrimary() {
return primary;
}
public void setPrimary(String primary) {
this.primary = primary;
}
public BusinessFinanceCategory detailed(String detailed) {
this.detailed = detailed;
return this;
}
/**
* A granular category conveying the transaction's intent. This field can also be used as a unique identifier for the category.
* @return detailed
**/
@ApiModelProperty(required = true, value = "A granular category conveying the transaction's intent. This field can also be used as a unique identifier for the category.")
public String getDetailed() {
return detailed;
}
public void setDetailed(String detailed) {
this.detailed = detailed;
}
public BusinessFinanceCategory confidenceLevel(String confidenceLevel) {
this.confidenceLevel = confidenceLevel;
return this;
}
/**
* A description of how confident we are that the provided categories accurately describe the transaction intent. `VERY_HIGH`: We are more than 98% confident that this category reflects the intent of the transaction. `HIGH`: We are more than 90% confident that this category reflects the intent of the transaction. `MEDIUM`: We are moderately confident that this category reflects the intent of the transaction. `LOW`: This category may reflect the intent, but there may be other categories that are more accurate. `UNKNOWN`: We don’t know the confidence level for this category.
* @return confidenceLevel
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A description of how confident we are that the provided categories accurately describe the transaction intent. `VERY_HIGH`: We are more than 98% confident that this category reflects the intent of the transaction. `HIGH`: We are more than 90% confident that this category reflects the intent of the transaction. `MEDIUM`: We are moderately confident that this category reflects the intent of the transaction. `LOW`: This category may reflect the intent, but there may be other categories that are more accurate. `UNKNOWN`: We don’t know the confidence level for this category.")
public String getConfidenceLevel() {
return confidenceLevel;
}
public void setConfidenceLevel(String confidenceLevel) {
this.confidenceLevel = confidenceLevel;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BusinessFinanceCategory businessFinanceCategory = (BusinessFinanceCategory) o;
return Objects.equals(this.primary, businessFinanceCategory.primary) &&
Objects.equals(this.detailed, businessFinanceCategory.detailed) &&
Objects.equals(this.confidenceLevel, businessFinanceCategory.confidenceLevel);
}
@Override
public int hashCode() {
return Objects.hash(primary, detailed, confidenceLevel);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BusinessFinanceCategory {\n");
sb.append(" primary: ").append(toIndentedString(primary)).append("\n");
sb.append(" detailed: ").append(toIndentedString(detailed)).append("\n");
sb.append(" confidenceLevel: ").append(toIndentedString(confidenceLevel)).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/TotalInflowAmount60d.java | src/main/java/com/plaid/client/model/TotalInflowAmount60d.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.math.BigDecimal;
/**
* Total amount of debit transactions into the account in the last 60 days. This field will be empty for non-depository accounts. This field only takes into account USD transactions from the account.
*/
@ApiModel(description = "Total amount of debit transactions into the account in the last 60 days. This field will be empty for non-depository accounts. This field only takes into account USD transactions from the account.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TotalInflowAmount60d {
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 TotalInflowAmount60d amount(Double amount) {
this.amount = amount;
return this;
}
/**
* Value of amount with up to 2 decimal places.
* @return amount
**/
@ApiModelProperty(required = true, value = "Value of amount with up to 2 decimal places.")
public Double getAmount() {
return amount;
}
public void setAmount(Double amount) {
this.amount = amount;
}
public TotalInflowAmount60d isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The ISO 4217 currency code of the amount or balance.
* @return isoCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The ISO 4217 currency code of the amount or balance.")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public TotalInflowAmount60d unofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
return this;
}
/**
* The unofficial currency code associated with the amount or balance. Always `null` if `iso_currency_code` is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.
* @return unofficialCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The unofficial currency code associated with the amount or balance. Always `null` if `iso_currency_code` is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.")
public String getUnofficialCurrencyCode() {
return unofficialCurrencyCode;
}
public void setUnofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TotalInflowAmount60d totalInflowAmount60d = (TotalInflowAmount60d) o;
return Objects.equals(this.amount, totalInflowAmount60d.amount) &&
Objects.equals(this.isoCurrencyCode, totalInflowAmount60d.isoCurrencyCode) &&
Objects.equals(this.unofficialCurrencyCode, totalInflowAmount60d.unofficialCurrencyCode);
}
@Override
public int hashCode() {
return Objects.hash(amount, isoCurrencyCode, unofficialCurrencyCode);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TotalInflowAmount60d {\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" unofficialCurrencyCode: ").append(toIndentedString(unofficialCurrencyCode)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BaseReportItem.java | src/main/java/com/plaid/client/model/BaseReportItem.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.BaseReportAccount;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.List;
/**
* A representation of an Item within a Base Report.
*/
@ApiModel(description = "A representation of an Item within a Base Report.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BaseReportItem {
public static final String SERIALIZED_NAME_INSTITUTION_NAME = "institution_name";
@SerializedName(SERIALIZED_NAME_INSTITUTION_NAME)
private String institutionName;
public static final String SERIALIZED_NAME_INSTITUTION_ID = "institution_id";
@SerializedName(SERIALIZED_NAME_INSTITUTION_ID)
private String institutionId;
public static final String SERIALIZED_NAME_DATE_LAST_UPDATED = "date_last_updated";
@SerializedName(SERIALIZED_NAME_DATE_LAST_UPDATED)
private OffsetDateTime dateLastUpdated;
public static final String SERIALIZED_NAME_ITEM_ID = "item_id";
@SerializedName(SERIALIZED_NAME_ITEM_ID)
private String itemId;
public static final String SERIALIZED_NAME_ACCOUNTS = "accounts";
@SerializedName(SERIALIZED_NAME_ACCOUNTS)
private List<BaseReportAccount> accounts = new ArrayList<>();
public BaseReportItem institutionName(String institutionName) {
this.institutionName = institutionName;
return this;
}
/**
* The full financial institution name associated with the Item.
* @return institutionName
**/
@ApiModelProperty(required = true, value = "The full financial institution name associated with the Item.")
public String getInstitutionName() {
return institutionName;
}
public void setInstitutionName(String institutionName) {
this.institutionName = institutionName;
}
public BaseReportItem institutionId(String institutionId) {
this.institutionId = institutionId;
return this;
}
/**
* The id of the financial institution associated with the Item.
* @return institutionId
**/
@ApiModelProperty(required = true, value = "The id of the financial institution associated with the Item.")
public String getInstitutionId() {
return institutionId;
}
public void setInstitutionId(String institutionId) {
this.institutionId = institutionId;
}
public BaseReportItem dateLastUpdated(OffsetDateTime dateLastUpdated) {
this.dateLastUpdated = dateLastUpdated;
return this;
}
/**
* The date and time when this Item’s data was last retrieved from the financial institution, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
* @return dateLastUpdated
**/
@ApiModelProperty(required = true, value = "The date and time when this Item’s data was last retrieved from the financial institution, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.")
public OffsetDateTime getDateLastUpdated() {
return dateLastUpdated;
}
public void setDateLastUpdated(OffsetDateTime dateLastUpdated) {
this.dateLastUpdated = dateLastUpdated;
}
public BaseReportItem 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 BaseReportItem accounts(List<BaseReportAccount> accounts) {
this.accounts = accounts;
return this;
}
public BaseReportItem addAccountsItem(BaseReportAccount accountsItem) {
this.accounts.add(accountsItem);
return this;
}
/**
* Data about each of the accounts open on the Item.
* @return accounts
**/
@ApiModelProperty(required = true, value = "Data about each of the accounts open on the Item.")
public List<BaseReportAccount> getAccounts() {
return accounts;
}
public void setAccounts(List<BaseReportAccount> accounts) {
this.accounts = accounts;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BaseReportItem baseReportItem = (BaseReportItem) o;
return Objects.equals(this.institutionName, baseReportItem.institutionName) &&
Objects.equals(this.institutionId, baseReportItem.institutionId) &&
Objects.equals(this.dateLastUpdated, baseReportItem.dateLastUpdated) &&
Objects.equals(this.itemId, baseReportItem.itemId) &&
Objects.equals(this.accounts, baseReportItem.accounts);
}
@Override
public int hashCode() {
return Objects.hash(institutionName, institutionId, dateLastUpdated, itemId, accounts);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BaseReportItem {\n");
sb.append(" institutionName: ").append(toIndentedString(institutionName)).append("\n");
sb.append(" institutionId: ").append(toIndentedString(institutionId)).append("\n");
sb.append(" dateLastUpdated: ").append(toIndentedString(dateLastUpdated)).append("\n");
sb.append(" itemId: ").append(toIndentedString(itemId)).append("\n");
sb.append(" accounts: ").append(toIndentedString(accounts)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/RiskLevel.java | src/main/java/com/plaid/client/model/RiskLevel.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;
/**
* Risk level for the given risk check type.
*/
@JsonAdapter(RiskLevel.Adapter.class)
public enum RiskLevel {
LOW("low"),
MEDIUM("medium"),
HIGH("high"),
// 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;
RiskLevel(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static RiskLevel fromValue(String value) {
for (RiskLevel b : RiskLevel.values()) {
if (b.value.equals(value)) {
return b;
}
}
return RiskLevel.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<RiskLevel> {
@Override
public void write(final JsonWriter jsonWriter, final RiskLevel enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public RiskLevel read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return RiskLevel.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/SandboxPublicTokenCreateRequestOptionsTransactions.java | src/main/java/com/plaid/client/model/SandboxPublicTokenCreateRequestOptionsTransactions.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
/**
* An optional set of parameters corresponding to transactions options.
*/
@ApiModel(description = "An optional set of parameters corresponding to transactions options.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SandboxPublicTokenCreateRequestOptionsTransactions {
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_DAYS_REQUESTED = "days_requested";
@SerializedName(SERIALIZED_NAME_DAYS_REQUESTED)
private Integer daysRequested = 90;
public SandboxPublicTokenCreateRequestOptionsTransactions startDate(LocalDate startDate) {
this.startDate = startDate;
return this;
}
/**
* The earliest date for which to fetch transaction history. Dates should be formatted as YYYY-MM-DD.
* @return startDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The earliest date for which to fetch transaction history. Dates should be formatted as YYYY-MM-DD.")
public LocalDate getStartDate() {
return startDate;
}
public void setStartDate(LocalDate startDate) {
this.startDate = startDate;
}
public SandboxPublicTokenCreateRequestOptionsTransactions endDate(LocalDate endDate) {
this.endDate = endDate;
return this;
}
/**
* The most recent date for which to fetch transaction history. Dates should be formatted as YYYY-MM-DD.
* @return endDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The most recent date for which to fetch transaction history. Dates should be formatted as YYYY-MM-DD.")
public LocalDate getEndDate() {
return endDate;
}
public void setEndDate(LocalDate endDate) {
this.endDate = endDate;
}
public SandboxPublicTokenCreateRequestOptionsTransactions daysRequested(Integer daysRequested) {
this.daysRequested = daysRequested;
return this;
}
/**
* The maximum number of days of transaction history to request for the Transactions product.
* minimum: 1
* maximum: 730
* @return daysRequested
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The maximum number of days of transaction history to request for the Transactions product.")
public Integer getDaysRequested() {
return daysRequested;
}
public void setDaysRequested(Integer daysRequested) {
this.daysRequested = daysRequested;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SandboxPublicTokenCreateRequestOptionsTransactions sandboxPublicTokenCreateRequestOptionsTransactions = (SandboxPublicTokenCreateRequestOptionsTransactions) o;
return Objects.equals(this.startDate, sandboxPublicTokenCreateRequestOptionsTransactions.startDate) &&
Objects.equals(this.endDate, sandboxPublicTokenCreateRequestOptionsTransactions.endDate) &&
Objects.equals(this.daysRequested, sandboxPublicTokenCreateRequestOptionsTransactions.daysRequested);
}
@Override
public int hashCode() {
return Objects.hash(startDate, endDate, daysRequested);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SandboxPublicTokenCreateRequestOptionsTransactions {\n");
sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n");
sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n");
sb.append(" daysRequested: ").append(toIndentedString(daysRequested)).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/TransactionsRecurringGetResponse.java | src/main/java/com/plaid/client/model/TransactionsRecurringGetResponse.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;
/**
* TransactionsRecurringGetResponse defines the response schema for `/transactions/recurring/get`
*/
@ApiModel(description = "TransactionsRecurringGetResponse defines the response schema for `/transactions/recurring/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransactionsRecurringGetResponse {
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 TransactionsRecurringGetResponse inflowStreams(List<TransactionStream> inflowStreams) {
this.inflowStreams = inflowStreams;
return this;
}
public TransactionsRecurringGetResponse 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 TransactionsRecurringGetResponse outflowStreams(List<TransactionStream> outflowStreams) {
this.outflowStreams = outflowStreams;
return this;
}
public TransactionsRecurringGetResponse 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 TransactionsRecurringGetResponse 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 TransactionsRecurringGetResponse 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 TransactionsRecurringGetResponse 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;
}
TransactionsRecurringGetResponse transactionsRecurringGetResponse = (TransactionsRecurringGetResponse) o;
return Objects.equals(this.inflowStreams, transactionsRecurringGetResponse.inflowStreams) &&
Objects.equals(this.outflowStreams, transactionsRecurringGetResponse.outflowStreams) &&
Objects.equals(this.updatedDatetime, transactionsRecurringGetResponse.updatedDatetime) &&
Objects.equals(this.personalFinanceCategoryVersion, transactionsRecurringGetResponse.personalFinanceCategoryVersion) &&
Objects.equals(this.requestId, transactionsRecurringGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(inflowStreams, outflowStreams, updatedDatetime, personalFinanceCategoryVersion, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransactionsRecurringGetResponse {\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/IdentityVerificationRequestUserName.java | src/main/java/com/plaid/client/model/IdentityVerificationRequestUserName.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;
/**
* You can use this field to pre-populate the user's legal name; if it is provided here, they will not be prompted to enter their name in the identity verification attempt.
*/
@ApiModel(description = "You can use this field to pre-populate the user's legal name; if it is provided here, they will not be prompted to enter their name in the identity verification attempt.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class IdentityVerificationRequestUserName {
public static final String SERIALIZED_NAME_GIVEN_NAME = "given_name";
@SerializedName(SERIALIZED_NAME_GIVEN_NAME)
private String givenName;
public static final String SERIALIZED_NAME_FAMILY_NAME = "family_name";
@SerializedName(SERIALIZED_NAME_FAMILY_NAME)
private String familyName;
public IdentityVerificationRequestUserName givenName(String givenName) {
this.givenName = givenName;
return this;
}
/**
* A string with at least one non-whitespace character, with a max length of 100 characters.
* @return givenName
**/
@ApiModelProperty(example = "Leslie", required = true, value = "A string with at least one non-whitespace character, with a max length of 100 characters.")
public String getGivenName() {
return givenName;
}
public void setGivenName(String givenName) {
this.givenName = givenName;
}
public IdentityVerificationRequestUserName familyName(String familyName) {
this.familyName = familyName;
return this;
}
/**
* A string with at least one non-whitespace character, with a max length of 100 characters.
* @return familyName
**/
@ApiModelProperty(example = "Knope", required = true, value = "A string with at least one non-whitespace character, with a max length of 100 characters.")
public String getFamilyName() {
return familyName;
}
public void setFamilyName(String familyName) {
this.familyName = familyName;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
IdentityVerificationRequestUserName identityVerificationRequestUserName = (IdentityVerificationRequestUserName) o;
return Objects.equals(this.givenName, identityVerificationRequestUserName.givenName) &&
Objects.equals(this.familyName, identityVerificationRequestUserName.familyName);
}
@Override
public int hashCode() {
return Objects.hash(givenName, familyName);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IdentityVerificationRequestUserName {\n");
sb.append(" givenName: ").append(toIndentedString(givenName)).append("\n");
sb.append(" familyName: ").append(toIndentedString(familyName)).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/CraBankIncomeStatus.java | src/main/java/com/plaid/client/model/CraBankIncomeStatus.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 income sources. `ACTIVE`: The income source is active. `INACTIVE`: The income source is inactive. `UNKNOWN`: The income source status is unknown.
*/
@JsonAdapter(CraBankIncomeStatus.Adapter.class)
public enum CraBankIncomeStatus {
ACTIVE("ACTIVE"),
INACTIVE("INACTIVE"),
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;
CraBankIncomeStatus(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static CraBankIncomeStatus fromValue(String value) {
for (CraBankIncomeStatus b : CraBankIncomeStatus.values()) {
if (b.value.equals(value)) {
return b;
}
}
return CraBankIncomeStatus.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<CraBankIncomeStatus> {
@Override
public void write(final JsonWriter jsonWriter, final CraBankIncomeStatus enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public CraBankIncomeStatus read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return CraBankIncomeStatus.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/ClientUserIdentityAddress.java | src/main/java/com/plaid/client/model/ClientUserIdentityAddress.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;
/**
* User address information.
*/
@ApiModel(description = "User address information.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ClientUserIdentityAddress {
public static final String SERIALIZED_NAME_STREET1 = "street_1";
@SerializedName(SERIALIZED_NAME_STREET1)
private String street1;
public static final String SERIALIZED_NAME_STREET2 = "street_2";
@SerializedName(SERIALIZED_NAME_STREET2)
private String street2;
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_COUNTRY = "country";
@SerializedName(SERIALIZED_NAME_COUNTRY)
private String country;
public static final String SERIALIZED_NAME_POSTAL_CODE = "postal_code";
@SerializedName(SERIALIZED_NAME_POSTAL_CODE)
private String postalCode;
public static final String SERIALIZED_NAME_PRIMARY = "primary";
@SerializedName(SERIALIZED_NAME_PRIMARY)
private Boolean primary;
public ClientUserIdentityAddress street1(String street1) {
this.street1 = street1;
return this;
}
/**
* First line of street address.
* @return street1
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "First line of street address.")
public String getStreet1() {
return street1;
}
public void setStreet1(String street1) {
this.street1 = street1;
}
public ClientUserIdentityAddress street2(String street2) {
this.street2 = street2;
return this;
}
/**
* Second line of street address.
* @return street2
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Second line of street address.")
public String getStreet2() {
return street2;
}
public void setStreet2(String street2) {
this.street2 = street2;
}
public ClientUserIdentityAddress city(String city) {
this.city = city;
return this;
}
/**
* City name.
* @return city
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "City name.")
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public ClientUserIdentityAddress region(String region) {
this.region = region;
return this;
}
/**
* State, province or region.
* @return region
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "State, province or region.")
public String getRegion() {
return region;
}
public void setRegion(String region) {
this.region = region;
}
public ClientUserIdentityAddress country(String country) {
this.country = country;
return this;
}
/**
* Country code.
* @return country
**/
@ApiModelProperty(required = true, value = "Country code.")
public String getCountry() {
return country;
}
public void setCountry(String country) {
this.country = country;
}
public ClientUserIdentityAddress postalCode(String postalCode) {
this.postalCode = postalCode;
return this;
}
/**
* Postal or ZIP code.
* @return postalCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Postal or ZIP code.")
public String getPostalCode() {
return postalCode;
}
public void setPostalCode(String postalCode) {
this.postalCode = postalCode;
}
public ClientUserIdentityAddress primary(Boolean primary) {
this.primary = primary;
return this;
}
/**
* Indicates whether this is the primary address for the User.
* @return primary
**/
@ApiModelProperty(required = true, value = "Indicates whether this is the primary address for the User.")
public Boolean getPrimary() {
return primary;
}
public void setPrimary(Boolean primary) {
this.primary = primary;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ClientUserIdentityAddress clientUserIdentityAddress = (ClientUserIdentityAddress) o;
return Objects.equals(this.street1, clientUserIdentityAddress.street1) &&
Objects.equals(this.street2, clientUserIdentityAddress.street2) &&
Objects.equals(this.city, clientUserIdentityAddress.city) &&
Objects.equals(this.region, clientUserIdentityAddress.region) &&
Objects.equals(this.country, clientUserIdentityAddress.country) &&
Objects.equals(this.postalCode, clientUserIdentityAddress.postalCode) &&
Objects.equals(this.primary, clientUserIdentityAddress.primary);
}
@Override
public int hashCode() {
return Objects.hash(street1, street2, city, region, country, postalCode, primary);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ClientUserIdentityAddress {\n");
sb.append(" street1: ").append(toIndentedString(street1)).append("\n");
sb.append(" street2: ").append(toIndentedString(street2)).append("\n");
sb.append(" city: ").append(toIndentedString(city)).append("\n");
sb.append(" region: ").append(toIndentedString(region)).append("\n");
sb.append(" country: ").append(toIndentedString(country)).append("\n");
sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n");
sb.append(" primary: ").append(toIndentedString(primary)).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.