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/ItemAccessTokenInvalidateRequest.java | src/main/java/com/plaid/client/model/ItemAccessTokenInvalidateRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* ItemAccessTokenInvalidateRequest defines the request schema for `/item/access_token/invalidate`
*/
@ApiModel(description = "ItemAccessTokenInvalidateRequest defines the request schema for `/item/access_token/invalidate`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ItemAccessTokenInvalidateRequest {
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 ItemAccessTokenInvalidateRequest 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 ItemAccessTokenInvalidateRequest 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 ItemAccessTokenInvalidateRequest 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;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ItemAccessTokenInvalidateRequest itemAccessTokenInvalidateRequest = (ItemAccessTokenInvalidateRequest) o;
return Objects.equals(this.clientId, itemAccessTokenInvalidateRequest.clientId) &&
Objects.equals(this.secret, itemAccessTokenInvalidateRequest.secret) &&
Objects.equals(this.accessToken, itemAccessTokenInvalidateRequest.accessToken);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, accessToken);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ItemAccessTokenInvalidateRequest {\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("}");
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/BankTransferEventListRequest.java | src/main/java/com/plaid/client/model/BankTransferEventListRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.BankTransferEventListBankTransferType;
import com.plaid.client.model.BankTransferEventListDirection;
import com.plaid.client.model.BankTransferEventType;
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 `/bank_transfer/event/list`
*/
@ApiModel(description = "Defines the request schema for `/bank_transfer/event/list`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BankTransferEventListRequest {
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_BANK_TRANSFER_ID = "bank_transfer_id";
@SerializedName(SERIALIZED_NAME_BANK_TRANSFER_ID)
private String bankTransferId;
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
private String accountId;
public static final String SERIALIZED_NAME_BANK_TRANSFER_TYPE = "bank_transfer_type";
@SerializedName(SERIALIZED_NAME_BANK_TRANSFER_TYPE)
private BankTransferEventListBankTransferType bankTransferType;
public static final String SERIALIZED_NAME_EVENT_TYPES = "event_types";
@SerializedName(SERIALIZED_NAME_EVENT_TYPES)
private List<BankTransferEventType> eventTypes = null;
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_DIRECTION = "direction";
@SerializedName(SERIALIZED_NAME_DIRECTION)
private BankTransferEventListDirection direction;
public BankTransferEventListRequest 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 BankTransferEventListRequest 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 BankTransferEventListRequest startDate(OffsetDateTime startDate) {
this.startDate = startDate;
return this;
}
/**
* The start datetime of bank 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 datetime of bank 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 BankTransferEventListRequest endDate(OffsetDateTime endDate) {
this.endDate = endDate;
return this;
}
/**
* The end datetime of bank 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 datetime of bank 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 BankTransferEventListRequest bankTransferId(String bankTransferId) {
this.bankTransferId = bankTransferId;
return this;
}
/**
* Plaid’s unique identifier for a bank transfer.
* @return bankTransferId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Plaid’s unique identifier for a bank transfer.")
public String getBankTransferId() {
return bankTransferId;
}
public void setBankTransferId(String bankTransferId) {
this.bankTransferId = bankTransferId;
}
public BankTransferEventListRequest 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 BankTransferEventListRequest bankTransferType(BankTransferEventListBankTransferType bankTransferType) {
this.bankTransferType = bankTransferType;
return this;
}
/**
* Get bankTransferType
* @return bankTransferType
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public BankTransferEventListBankTransferType getBankTransferType() {
return bankTransferType;
}
public void setBankTransferType(BankTransferEventListBankTransferType bankTransferType) {
this.bankTransferType = bankTransferType;
}
public BankTransferEventListRequest eventTypes(List<BankTransferEventType> eventTypes) {
this.eventTypes = eventTypes;
return this;
}
public BankTransferEventListRequest addEventTypesItem(BankTransferEventType 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<BankTransferEventType> getEventTypes() {
return eventTypes;
}
public void setEventTypes(List<BankTransferEventType> eventTypes) {
this.eventTypes = eventTypes;
}
public BankTransferEventListRequest count(Integer count) {
this.count = count;
return this;
}
/**
* The maximum number of bank 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 bank 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 BankTransferEventListRequest offset(Integer offset) {
this.offset = offset;
return this;
}
/**
* The offset into the list of bank transfer events. When `count`=25 and `offset`=0, the first 25 events will be returned. When `count`=25 and `offset`=25, the next 25 bank transfer events will be returned.
* minimum: 0
* @return offset
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The offset into the list of bank transfer events. When `count`=25 and `offset`=0, the first 25 events will be returned. When `count`=25 and `offset`=25, the next 25 bank transfer events will be returned.")
public Integer getOffset() {
return offset;
}
public void setOffset(Integer offset) {
this.offset = offset;
}
public BankTransferEventListRequest 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 BankTransferEventListRequest direction(BankTransferEventListDirection direction) {
this.direction = direction;
return this;
}
/**
* Get direction
* @return direction
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public BankTransferEventListDirection getDirection() {
return direction;
}
public void setDirection(BankTransferEventListDirection direction) {
this.direction = direction;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BankTransferEventListRequest bankTransferEventListRequest = (BankTransferEventListRequest) o;
return Objects.equals(this.clientId, bankTransferEventListRequest.clientId) &&
Objects.equals(this.secret, bankTransferEventListRequest.secret) &&
Objects.equals(this.startDate, bankTransferEventListRequest.startDate) &&
Objects.equals(this.endDate, bankTransferEventListRequest.endDate) &&
Objects.equals(this.bankTransferId, bankTransferEventListRequest.bankTransferId) &&
Objects.equals(this.accountId, bankTransferEventListRequest.accountId) &&
Objects.equals(this.bankTransferType, bankTransferEventListRequest.bankTransferType) &&
Objects.equals(this.eventTypes, bankTransferEventListRequest.eventTypes) &&
Objects.equals(this.count, bankTransferEventListRequest.count) &&
Objects.equals(this.offset, bankTransferEventListRequest.offset) &&
Objects.equals(this.originationAccountId, bankTransferEventListRequest.originationAccountId) &&
Objects.equals(this.direction, bankTransferEventListRequest.direction);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, startDate, endDate, bankTransferId, accountId, bankTransferType, eventTypes, count, offset, originationAccountId, direction);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BankTransferEventListRequest {\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(" bankTransferId: ").append(toIndentedString(bankTransferId)).append("\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" bankTransferType: ").append(toIndentedString(bankTransferType)).append("\n");
sb.append(" eventTypes: ").append(toIndentedString(eventTypes)).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(" direction: ").append(toIndentedString(direction)).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/TransferIntentGetFailureReason.java | src/main/java/com/plaid/client/model/TransferIntentGetFailureReason.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 reason for a failed transfer intent. Returned only if the transfer intent status is `failed`. Null otherwise.
*/
@ApiModel(description = "The reason for a failed transfer intent. Returned only if the transfer intent status is `failed`. Null otherwise.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferIntentGetFailureReason {
public static final String SERIALIZED_NAME_ERROR_TYPE = "error_type";
@SerializedName(SERIALIZED_NAME_ERROR_TYPE)
private String errorType;
public static final String SERIALIZED_NAME_ERROR_CODE = "error_code";
@SerializedName(SERIALIZED_NAME_ERROR_CODE)
private String errorCode;
public static final String SERIALIZED_NAME_ERROR_MESSAGE = "error_message";
@SerializedName(SERIALIZED_NAME_ERROR_MESSAGE)
private String errorMessage;
public TransferIntentGetFailureReason errorType(String errorType) {
this.errorType = errorType;
return this;
}
/**
* A broad categorization of the error.
* @return errorType
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A broad categorization of the error.")
public String getErrorType() {
return errorType;
}
public void setErrorType(String errorType) {
this.errorType = errorType;
}
public TransferIntentGetFailureReason errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* A code representing the reason for a failed transfer intent (i.e., an API error or the authorization being declined).
* @return errorCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A code representing the reason for a failed transfer intent (i.e., an API error or the authorization being declined).")
public String getErrorCode() {
return errorCode;
}
public void setErrorCode(String errorCode) {
this.errorCode = errorCode;
}
public TransferIntentGetFailureReason errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* A human-readable description of the code associated with a failed transfer intent.
* @return errorMessage
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A human-readable description of the code associated with a failed transfer intent.")
public String getErrorMessage() {
return errorMessage;
}
public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferIntentGetFailureReason transferIntentGetFailureReason = (TransferIntentGetFailureReason) o;
return Objects.equals(this.errorType, transferIntentGetFailureReason.errorType) &&
Objects.equals(this.errorCode, transferIntentGetFailureReason.errorCode) &&
Objects.equals(this.errorMessage, transferIntentGetFailureReason.errorMessage);
}
@Override
public int hashCode() {
return Objects.hash(errorType, errorCode, errorMessage);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferIntentGetFailureReason {\n");
sb.append(" errorType: ").append(toIndentedString(errorType)).append("\n");
sb.append(" errorCode: ").append(toIndentedString(errorCode)).append("\n");
sb.append(" errorMessage: ").append(toIndentedString(errorMessage)).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/ItemAuthMethod.java | src/main/java/com/plaid/client/model/ItemAuthMethod.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 method used to populate Auth data for the Item. This field is only populated for Items that have had Auth numbers data set on at least one of its accounts, and will be `null` otherwise. For info about the various flows, see our [Auth coverage documentation](https://plaid.com/docs/auth/coverage/). `INSTANT_AUTH`: The Item's Auth data was provided directly by the user's institution connection. `INSTANT_MATCH`: The Item's Auth data was provided via the Instant Match fallback flow. `AUTOMATED_MICRODEPOSITS`: The Item's Auth data was provided via the Automated Micro-deposits flow. `SAME_DAY_MICRODEPOSITS`: The Item's Auth data was provided via the Same Day Micro-deposits flow. `INSTANT_MICRODEPOSITS`: The Item's Auth data was provided via the Instant Micro-deposits flow. `DATABASE_MATCH`: The Item's Auth data was provided via the Database Match flow. `DATABASE_INSIGHTS`: The Item's Auth data was provided via the Database Insights flow. `TRANSFER_MIGRATED`: The Item's Auth data was provided via [`/transfer/migrate_account`](https://plaid.com/docs/api/products/transfer/account-linking/#migrate-account-into-transfers). `INVESTMENTS_FALLBACK`: The Item's Auth data for Investments Move was provided via a [fallback flow](https://plaid.com/docs/investments-move/#fallback-flows).
*/
@JsonAdapter(ItemAuthMethod.Adapter.class)
public enum ItemAuthMethod {
INSTANT_AUTH("INSTANT_AUTH"),
INSTANT_MATCH("INSTANT_MATCH"),
AUTOMATED_MICRODEPOSITS("AUTOMATED_MICRODEPOSITS"),
SAME_DAY_MICRODEPOSITS("SAME_DAY_MICRODEPOSITS"),
INSTANT_MICRODEPOSITS("INSTANT_MICRODEPOSITS"),
DATABASE_MATCH("DATABASE_MATCH"),
DATABASE_INSIGHTS("DATABASE_INSIGHTS"),
TRANSFER_MIGRATED("TRANSFER_MIGRATED"),
INVESTMENTS_FALLBACK("INVESTMENTS_FALLBACK"),
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;
ItemAuthMethod(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static ItemAuthMethod fromValue(String value) {
for (ItemAuthMethod b : ItemAuthMethod.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null; }
public static class Adapter extends TypeAdapter<ItemAuthMethod> {
@Override
public void write(final JsonWriter jsonWriter, final ItemAuthMethod enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public ItemAuthMethod read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return ItemAuthMethod.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/FDXNotificationPayloadIdType.java | src/main/java/com/plaid/client/model/FDXNotificationPayloadIdType.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* Type of entity causing origination of a notification
*/
@JsonAdapter(FDXNotificationPayloadIdType.Adapter.class)
public enum FDXNotificationPayloadIdType {
ACCOUNT("ACCOUNT"),
CUSTOMER("CUSTOMER"),
PARTY("PARTY"),
MAINTENANCE("MAINTENANCE"),
CONSENT("CONSENT"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
FDXNotificationPayloadIdType(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static FDXNotificationPayloadIdType fromValue(String value) {
for (FDXNotificationPayloadIdType b : FDXNotificationPayloadIdType.values()) {
if (b.value.equals(value)) {
return b;
}
}
return FDXNotificationPayloadIdType.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<FDXNotificationPayloadIdType> {
@Override
public void write(final JsonWriter jsonWriter, final FDXNotificationPayloadIdType enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public FDXNotificationPayloadIdType read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return FDXNotificationPayloadIdType.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/FDXInitiatorFiAttribute.java | src/main/java/com/plaid/client/model/FDXInitiatorFiAttribute.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.FDXPartyType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Initiator Fi Attribute
*/
@ApiModel(description = "Initiator Fi Attribute")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class FDXInitiatorFiAttribute {
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public static final String SERIALIZED_NAME_VALUE = "value";
@SerializedName(SERIALIZED_NAME_VALUE)
private FDXPartyType value;
public FDXInitiatorFiAttribute name(String name) {
this.name = name;
return this;
}
/**
* Get name
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public FDXInitiatorFiAttribute value(FDXPartyType value) {
this.value = value;
return this;
}
/**
* Get value
* @return value
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public FDXPartyType getValue() {
return value;
}
public void setValue(FDXPartyType value) {
this.value = value;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
FDXInitiatorFiAttribute fdXInitiatorFiAttribute = (FDXInitiatorFiAttribute) o;
return Objects.equals(this.name, fdXInitiatorFiAttribute.name) &&
Objects.equals(this.value, fdXInitiatorFiAttribute.value);
}
@Override
public int hashCode() {
return Objects.hash(name, value);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FDXInitiatorFiAttribute {\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" value: ").append(toIndentedString(value)).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/SignalDevice.java | src/main/java/com/plaid/client/model/SignalDevice.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* Details about the end user's device. These fields are optional, but strongly recommended to increase the accuracy of results when using Signal Transaction Scores. When using a Balance-only Ruleset, these fields are ignored if the Signal Addendum has been signed; if it has not been signed, using these fields will result in an error.
*/
@ApiModel(description = "Details about the end user's device. These fields are optional, but strongly recommended to increase the accuracy of results when using Signal Transaction Scores. When using a Balance-only Ruleset, these fields are ignored if the Signal Addendum has been signed; if it has not been signed, using these fields will result in an error.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SignalDevice {
public static final String SERIALIZED_NAME_IP_ADDRESS = "ip_address";
@SerializedName(SERIALIZED_NAME_IP_ADDRESS)
private String ipAddress;
public static final String SERIALIZED_NAME_USER_AGENT = "user_agent";
@SerializedName(SERIALIZED_NAME_USER_AGENT)
private String userAgent;
public SignalDevice ipAddress(String ipAddress) {
this.ipAddress = ipAddress;
return this;
}
/**
* The IP address of the device that initiated the transaction
* @return ipAddress
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The IP address of the device that initiated the transaction")
public String getIpAddress() {
return ipAddress;
}
public void setIpAddress(String ipAddress) {
this.ipAddress = ipAddress;
}
public SignalDevice userAgent(String userAgent) {
this.userAgent = userAgent;
return this;
}
/**
* The user agent of the device that initiated the transaction (e.g. \"Mozilla/5.0\")
* @return userAgent
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The user agent of the device that initiated the transaction (e.g. \"Mozilla/5.0\")")
public String getUserAgent() {
return userAgent;
}
public void setUserAgent(String userAgent) {
this.userAgent = userAgent;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SignalDevice signalDevice = (SignalDevice) o;
return Objects.equals(this.ipAddress, signalDevice.ipAddress) &&
Objects.equals(this.userAgent, signalDevice.userAgent);
}
@Override
public int hashCode() {
return Objects.hash(ipAddress, userAgent);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SignalDevice {\n");
sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n");
sb.append(" userAgent: ").append(toIndentedString(userAgent)).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/TransactionsUserInsightsGetResponse.java | src/main/java/com/plaid/client/model/TransactionsUserInsightsGetResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.CategoryInsights;
import com.plaid.client.model.CounterpartyInsights;
import com.plaid.client.model.RecurringTransactions;
import com.plaid.client.model.UserDataOverview;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* TransactionsUserInsightsGetResponse defines the response schema for `/beta/transactions/user_insights/v1/get`.
*/
@ApiModel(description = "TransactionsUserInsightsGetResponse defines the response schema for `/beta/transactions/user_insights/v1/get`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransactionsUserInsightsGetResponse {
public static final String SERIALIZED_NAME_USER_DATA_OVERVIEW = "user_data_overview";
@SerializedName(SERIALIZED_NAME_USER_DATA_OVERVIEW)
private UserDataOverview userDataOverview;
public static final String SERIALIZED_NAME_COUNTERPARTY_INSIGHTS = "counterparty_insights";
@SerializedName(SERIALIZED_NAME_COUNTERPARTY_INSIGHTS)
private CounterpartyInsights counterpartyInsights;
public static final String SERIALIZED_NAME_CATEGORY_INSIGHTS = "category_insights";
@SerializedName(SERIALIZED_NAME_CATEGORY_INSIGHTS)
private CategoryInsights categoryInsights;
public static final String SERIALIZED_NAME_RECURRING_TRANSACTIONS = "recurring_transactions";
@SerializedName(SERIALIZED_NAME_RECURRING_TRANSACTIONS)
private RecurringTransactions recurringTransactions;
public TransactionsUserInsightsGetResponse userDataOverview(UserDataOverview userDataOverview) {
this.userDataOverview = userDataOverview;
return this;
}
/**
* Get userDataOverview
* @return userDataOverview
**/
@ApiModelProperty(required = true, value = "")
public UserDataOverview getUserDataOverview() {
return userDataOverview;
}
public void setUserDataOverview(UserDataOverview userDataOverview) {
this.userDataOverview = userDataOverview;
}
public TransactionsUserInsightsGetResponse counterpartyInsights(CounterpartyInsights counterpartyInsights) {
this.counterpartyInsights = counterpartyInsights;
return this;
}
/**
* Get counterpartyInsights
* @return counterpartyInsights
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public CounterpartyInsights getCounterpartyInsights() {
return counterpartyInsights;
}
public void setCounterpartyInsights(CounterpartyInsights counterpartyInsights) {
this.counterpartyInsights = counterpartyInsights;
}
public TransactionsUserInsightsGetResponse categoryInsights(CategoryInsights categoryInsights) {
this.categoryInsights = categoryInsights;
return this;
}
/**
* Get categoryInsights
* @return categoryInsights
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public CategoryInsights getCategoryInsights() {
return categoryInsights;
}
public void setCategoryInsights(CategoryInsights categoryInsights) {
this.categoryInsights = categoryInsights;
}
public TransactionsUserInsightsGetResponse recurringTransactions(RecurringTransactions recurringTransactions) {
this.recurringTransactions = recurringTransactions;
return this;
}
/**
* Get recurringTransactions
* @return recurringTransactions
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public RecurringTransactions getRecurringTransactions() {
return recurringTransactions;
}
public void setRecurringTransactions(RecurringTransactions recurringTransactions) {
this.recurringTransactions = recurringTransactions;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransactionsUserInsightsGetResponse transactionsUserInsightsGetResponse = (TransactionsUserInsightsGetResponse) o;
return Objects.equals(this.userDataOverview, transactionsUserInsightsGetResponse.userDataOverview) &&
Objects.equals(this.counterpartyInsights, transactionsUserInsightsGetResponse.counterpartyInsights) &&
Objects.equals(this.categoryInsights, transactionsUserInsightsGetResponse.categoryInsights) &&
Objects.equals(this.recurringTransactions, transactionsUserInsightsGetResponse.recurringTransactions);
}
@Override
public int hashCode() {
return Objects.hash(userDataOverview, counterpartyInsights, categoryInsights, recurringTransactions);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransactionsUserInsightsGetResponse {\n");
sb.append(" userDataOverview: ").append(toIndentedString(userDataOverview)).append("\n");
sb.append(" counterpartyInsights: ").append(toIndentedString(counterpartyInsights)).append("\n");
sb.append(" categoryInsights: ").append(toIndentedString(categoryInsights)).append("\n");
sb.append(" recurringTransactions: ").append(toIndentedString(recurringTransactions)).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/PaymentProfileRemoveResponse.java | src/main/java/com/plaid/client/model/PaymentProfileRemoveResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* PaymentProfileRemoveResponse defines the response schema for `/payment_profile/remove`
*/
@ApiModel(description = "PaymentProfileRemoveResponse defines the response schema for `/payment_profile/remove`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PaymentProfileRemoveResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public PaymentProfileRemoveResponse 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;
}
PaymentProfileRemoveResponse paymentProfileRemoveResponse = (PaymentProfileRemoveResponse) o;
return Objects.equals(this.requestId, paymentProfileRemoveResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaymentProfileRemoveResponse {\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/AssetReportPDFGetRequest.java | src/main/java/com/plaid/client/model/AssetReportPDFGetRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.AssetReportPDFGetRequestOptions;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* AssetReportPDFGetRequest defines the request schema for `/asset_report/pdf/get`
*/
@ApiModel(description = "AssetReportPDFGetRequest defines the request schema for `/asset_report/pdf/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class AssetReportPDFGetRequest {
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_ASSET_REPORT_TOKEN = "asset_report_token";
@SerializedName(SERIALIZED_NAME_ASSET_REPORT_TOKEN)
private String assetReportToken;
public static final String SERIALIZED_NAME_OPTIONS = "options";
@SerializedName(SERIALIZED_NAME_OPTIONS)
private AssetReportPDFGetRequestOptions options;
public AssetReportPDFGetRequest 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 AssetReportPDFGetRequest 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 AssetReportPDFGetRequest assetReportToken(String assetReportToken) {
this.assetReportToken = assetReportToken;
return this;
}
/**
* A token that can be provided to endpoints such as `/asset_report/get` or `/asset_report/pdf/get` to fetch or update an Asset Report.
* @return assetReportToken
**/
@ApiModelProperty(required = true, value = "A token that can be provided to endpoints such as `/asset_report/get` or `/asset_report/pdf/get` to fetch or update an Asset Report.")
public String getAssetReportToken() {
return assetReportToken;
}
public void setAssetReportToken(String assetReportToken) {
this.assetReportToken = assetReportToken;
}
public AssetReportPDFGetRequest options(AssetReportPDFGetRequestOptions options) {
this.options = options;
return this;
}
/**
* Get options
* @return options
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public AssetReportPDFGetRequestOptions getOptions() {
return options;
}
public void setOptions(AssetReportPDFGetRequestOptions options) {
this.options = options;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AssetReportPDFGetRequest assetReportPDFGetRequest = (AssetReportPDFGetRequest) o;
return Objects.equals(this.clientId, assetReportPDFGetRequest.clientId) &&
Objects.equals(this.secret, assetReportPDFGetRequest.secret) &&
Objects.equals(this.assetReportToken, assetReportPDFGetRequest.assetReportToken) &&
Objects.equals(this.options, assetReportPDFGetRequest.options);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, assetReportToken, options);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AssetReportPDFGetRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" assetReportToken: ").append(toIndentedString(assetReportToken)).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/PaymentInitiationConsentGetRequest.java | src/main/java/com/plaid/client/model/PaymentInitiationConsentGetRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* PaymentInitiationConsentGetRequest defines the request schema for `/payment_initiation/consent/get`
*/
@ApiModel(description = "PaymentInitiationConsentGetRequest defines the request schema for `/payment_initiation/consent/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PaymentInitiationConsentGetRequest {
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_CONSENT_ID = "consent_id";
@SerializedName(SERIALIZED_NAME_CONSENT_ID)
private String consentId;
public PaymentInitiationConsentGetRequest 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 PaymentInitiationConsentGetRequest 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 PaymentInitiationConsentGetRequest consentId(String consentId) {
this.consentId = consentId;
return this;
}
/**
* The `consent_id` returned from `/payment_initiation/consent/create`.
* @return consentId
**/
@ApiModelProperty(required = true, value = "The `consent_id` returned from `/payment_initiation/consent/create`.")
public String getConsentId() {
return consentId;
}
public void setConsentId(String consentId) {
this.consentId = consentId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PaymentInitiationConsentGetRequest paymentInitiationConsentGetRequest = (PaymentInitiationConsentGetRequest) o;
return Objects.equals(this.clientId, paymentInitiationConsentGetRequest.clientId) &&
Objects.equals(this.secret, paymentInitiationConsentGetRequest.secret) &&
Objects.equals(this.consentId, paymentInitiationConsentGetRequest.consentId);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, consentId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaymentInitiationConsentGetRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" consentId: ").append(toIndentedString(consentId)).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/PSLFStatus.java | src/main/java/com/plaid/client/model/PSLFStatus.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* Information about the student's eligibility in the Public Service Loan Forgiveness program. This is only returned if the institution is FedLoan (`ins_116527`). Since FedLoan no longer services student loans, this field is no longer returned.
*/
@ApiModel(description = "Information about the student's eligibility in the Public Service Loan Forgiveness program. This is only returned if the institution is FedLoan (`ins_116527`). Since FedLoan no longer services student loans, this field is no longer returned. ")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PSLFStatus {
public static final String SERIALIZED_NAME_ESTIMATED_ELIGIBILITY_DATE = "estimated_eligibility_date";
@SerializedName(SERIALIZED_NAME_ESTIMATED_ELIGIBILITY_DATE)
private LocalDate estimatedEligibilityDate;
public static final String SERIALIZED_NAME_PAYMENTS_MADE = "payments_made";
@SerializedName(SERIALIZED_NAME_PAYMENTS_MADE)
private Integer paymentsMade;
public static final String SERIALIZED_NAME_PAYMENTS_REMAINING = "payments_remaining";
@SerializedName(SERIALIZED_NAME_PAYMENTS_REMAINING)
private Integer paymentsRemaining;
public PSLFStatus estimatedEligibilityDate(LocalDate estimatedEligibilityDate) {
this.estimatedEligibilityDate = estimatedEligibilityDate;
return this;
}
/**
* The estimated date borrower will have completed 120 qualifying monthly payments. Returned in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (YYYY-MM-DD).
* @return estimatedEligibilityDate
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The estimated date borrower will have completed 120 qualifying monthly payments. Returned in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (YYYY-MM-DD).")
public LocalDate getEstimatedEligibilityDate() {
return estimatedEligibilityDate;
}
public void setEstimatedEligibilityDate(LocalDate estimatedEligibilityDate) {
this.estimatedEligibilityDate = estimatedEligibilityDate;
}
public PSLFStatus paymentsMade(Integer paymentsMade) {
this.paymentsMade = paymentsMade;
return this;
}
/**
* The number of qualifying payments that have been made.
* @return paymentsMade
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The number of qualifying payments that have been made.")
public Integer getPaymentsMade() {
return paymentsMade;
}
public void setPaymentsMade(Integer paymentsMade) {
this.paymentsMade = paymentsMade;
}
public PSLFStatus paymentsRemaining(Integer paymentsRemaining) {
this.paymentsRemaining = paymentsRemaining;
return this;
}
/**
* The number of qualifying payments remaining.
* @return paymentsRemaining
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The number of qualifying payments remaining.")
public Integer getPaymentsRemaining() {
return paymentsRemaining;
}
public void setPaymentsRemaining(Integer paymentsRemaining) {
this.paymentsRemaining = paymentsRemaining;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PSLFStatus psLFStatus = (PSLFStatus) o;
return Objects.equals(this.estimatedEligibilityDate, psLFStatus.estimatedEligibilityDate) &&
Objects.equals(this.paymentsMade, psLFStatus.paymentsMade) &&
Objects.equals(this.paymentsRemaining, psLFStatus.paymentsRemaining);
}
@Override
public int hashCode() {
return Objects.hash(estimatedEligibilityDate, paymentsMade, paymentsRemaining);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PSLFStatus {\n");
sb.append(" estimatedEligibilityDate: ").append(toIndentedString(estimatedEligibilityDate)).append("\n");
sb.append(" paymentsMade: ").append(toIndentedString(paymentsMade)).append("\n");
sb.append(" paymentsRemaining: ").append(toIndentedString(paymentsRemaining)).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/CreditPayrollIncomeParsingConfigUpdateRequest.java | src/main/java/com/plaid/client/model/CreditPayrollIncomeParsingConfigUpdateRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.IncomeVerificationDocParsingConfig;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* CreditPayrollIncomeParsingConfigUpdateRequest defines the request schema for `/credit/payroll_income/documents/update`.
*/
@ApiModel(description = "CreditPayrollIncomeParsingConfigUpdateRequest defines the request schema for `/credit/payroll_income/documents/update`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditPayrollIncomeParsingConfigUpdateRequest {
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_ITEM_ID = "item_id";
@SerializedName(SERIALIZED_NAME_ITEM_ID)
private String itemId;
public static final String SERIALIZED_NAME_PARSING_CONFIG = "parsing_config";
@SerializedName(SERIALIZED_NAME_PARSING_CONFIG)
private List<IncomeVerificationDocParsingConfig> parsingConfig = new ArrayList<>();
public CreditPayrollIncomeParsingConfigUpdateRequest 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 CreditPayrollIncomeParsingConfigUpdateRequest 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 CreditPayrollIncomeParsingConfigUpdateRequest userToken(String userToken) {
this.userToken = userToken;
return this;
}
/**
* The user token associated with the User data is being requested for. This field is used only by customers with pre-existing integrations that already use the `user_token` field. All other customers should use the `user_id` instead. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis).
* @return userToken
**/
@ApiModelProperty(required = true, value = "The user token associated with the User data is being requested for. This field is used only by customers with pre-existing integrations that already use the `user_token` field. All other customers should use the `user_id` instead. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis).")
public String getUserToken() {
return userToken;
}
public void setUserToken(String userToken) {
this.userToken = userToken;
}
public CreditPayrollIncomeParsingConfigUpdateRequest itemId(String itemId) {
this.itemId = itemId;
return this;
}
/**
* The `item_id` of the Item associated with this webhook, warning, or error
* @return itemId
**/
@javax.annotation.Nullable
@ApiModelProperty(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 CreditPayrollIncomeParsingConfigUpdateRequest parsingConfig(List<IncomeVerificationDocParsingConfig> parsingConfig) {
this.parsingConfig = parsingConfig;
return this;
}
public CreditPayrollIncomeParsingConfigUpdateRequest addParsingConfigItem(IncomeVerificationDocParsingConfig parsingConfigItem) {
this.parsingConfig.add(parsingConfigItem);
return this;
}
/**
* The types of analysis to enable for the document income verification session
* @return parsingConfig
**/
@ApiModelProperty(required = true, value = "The types of analysis to enable for the document income verification session")
public List<IncomeVerificationDocParsingConfig> getParsingConfig() {
return parsingConfig;
}
public void setParsingConfig(List<IncomeVerificationDocParsingConfig> parsingConfig) {
this.parsingConfig = parsingConfig;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreditPayrollIncomeParsingConfigUpdateRequest creditPayrollIncomeParsingConfigUpdateRequest = (CreditPayrollIncomeParsingConfigUpdateRequest) o;
return Objects.equals(this.clientId, creditPayrollIncomeParsingConfigUpdateRequest.clientId) &&
Objects.equals(this.secret, creditPayrollIncomeParsingConfigUpdateRequest.secret) &&
Objects.equals(this.userToken, creditPayrollIncomeParsingConfigUpdateRequest.userToken) &&
Objects.equals(this.itemId, creditPayrollIncomeParsingConfigUpdateRequest.itemId) &&
Objects.equals(this.parsingConfig, creditPayrollIncomeParsingConfigUpdateRequest.parsingConfig);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, userToken, itemId, parsingConfig);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditPayrollIncomeParsingConfigUpdateRequest {\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(" itemId: ").append(toIndentedString(itemId)).append("\n");
sb.append(" parsingConfig: ").append(toIndentedString(parsingConfig)).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/AccountAssets.java | src/main/java/com/plaid/client/model/AccountAssets.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.AccountInsights;
import com.plaid.client.model.AccountSubtype;
import com.plaid.client.model.AccountType;
import com.plaid.client.model.AssetReportAccountBalance;
import com.plaid.client.model.AssetReportInvestments;
import com.plaid.client.model.AssetReportTransaction;
import com.plaid.client.model.HistoricalBalance;
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;
/**
* Asset information about an account
*/
@ApiModel(description = "Asset information about an account")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class AccountAssets {
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 AssetReportAccountBalance balances;
public static final String SERIALIZED_NAME_MASK = "mask";
@SerializedName(SERIALIZED_NAME_MASK)
private String mask;
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;
/**
* The current verification status of an Auth Item initiated through Automated or Manual micro-deposits. Returned for Auth Items only. `pending_automatic_verification`: The Item is pending automatic verification `pending_manual_verification`: The Item is pending manual micro-deposit verification. Items remain in this state until the user successfully verifies the micro-deposit. `automatically_verified`: The Item has successfully been automatically verified `manually_verified`: The Item has successfully been manually verified `verification_expired`: Plaid was unable to automatically verify the deposit within 7 calendar days and will no longer attempt to validate the Item. Users may retry by submitting their information again through Link. `verification_failed`: The Item failed manual micro-deposit verification because the user exhausted all 3 verification attempts. Users may retry by submitting their information again through Link. `database_matched`: The Item has successfully been verified using Plaid's data sources. Note: Database Match is currently a beta feature, please contact your account manager for more information.
*/
@JsonAdapter(VerificationStatusEnum.Adapter.class)
public enum VerificationStatusEnum {
AUTOMATICALLY_VERIFIED("automatically_verified"),
PENDING_AUTOMATIC_VERIFICATION("pending_automatic_verification"),
PENDING_MANUAL_VERIFICATION("pending_manual_verification"),
MANUALLY_VERIFIED("manually_verified"),
VERIFICATION_EXPIRED("verification_expired"),
VERIFICATION_FAILED("verification_failed"),
DATABASE_MATCHED("database_matched");
private String value;
VerificationStatusEnum(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static VerificationStatusEnum fromValue(String value) {
for (VerificationStatusEnum b : VerificationStatusEnum.values()) {
if (b.value.equals(value)) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
}
public static class Adapter extends TypeAdapter<VerificationStatusEnum> {
@Override
public void write(final JsonWriter jsonWriter, final VerificationStatusEnum enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public VerificationStatusEnum read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return VerificationStatusEnum.fromValue(value);
}
}
}
public static final String SERIALIZED_NAME_VERIFICATION_STATUS = "verification_status";
@SerializedName(SERIALIZED_NAME_VERIFICATION_STATUS)
private VerificationStatusEnum verificationStatus;
public static final String SERIALIZED_NAME_PERSISTENT_ACCOUNT_ID = "persistent_account_id";
@SerializedName(SERIALIZED_NAME_PERSISTENT_ACCOUNT_ID)
private String persistentAccountId;
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<AssetReportTransaction> transactions = new ArrayList<>();
public static final String SERIALIZED_NAME_INVESTMENTS = "investments";
@SerializedName(SERIALIZED_NAME_INVESTMENTS)
private AssetReportInvestments investments;
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<HistoricalBalance> historicalBalances = new ArrayList<>();
public static final String SERIALIZED_NAME_ACCOUNT_INSIGHTS = "account_insights";
@SerializedName(SERIALIZED_NAME_ACCOUNT_INSIGHTS)
private AccountInsights accountInsights;
public AccountAssets 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. The `account_id` can also change if the `access_token` is deleted and the same credentials that were used to generate that `access_token` are used to generate a new `access_token` on a later date. In that case, the new `account_id` will be different from the old `account_id`. 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. The `account_id` can also change if the `access_token` is deleted and the same credentials that were used to generate that `access_token` are used to generate a new `access_token` on a later date. In that case, the new `account_id` will be different from the old `account_id`. 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 AccountAssets balances(AssetReportAccountBalance balances) {
this.balances = balances;
return this;
}
/**
* Get balances
* @return balances
**/
@ApiModelProperty(required = true, value = "")
public AssetReportAccountBalance getBalances() {
return balances;
}
public void setBalances(AssetReportAccountBalance balances) {
this.balances = balances;
}
public AccountAssets 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 AccountAssets 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 AccountAssets 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 AccountAssets 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 AccountAssets 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 AccountAssets verificationStatus(VerificationStatusEnum verificationStatus) {
this.verificationStatus = verificationStatus;
return this;
}
/**
* The current verification status of an Auth Item initiated through Automated or Manual micro-deposits. Returned for Auth Items only. `pending_automatic_verification`: The Item is pending automatic verification `pending_manual_verification`: The Item is pending manual micro-deposit verification. Items remain in this state until the user successfully verifies the micro-deposit. `automatically_verified`: The Item has successfully been automatically verified `manually_verified`: The Item has successfully been manually verified `verification_expired`: Plaid was unable to automatically verify the deposit within 7 calendar days and will no longer attempt to validate the Item. Users may retry by submitting their information again through Link. `verification_failed`: The Item failed manual micro-deposit verification because the user exhausted all 3 verification attempts. Users may retry by submitting their information again through Link. `database_matched`: The Item has successfully been verified using Plaid's data sources. Note: Database Match is currently a beta feature, please contact your account manager for more information.
* @return verificationStatus
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The current verification status of an Auth Item initiated through Automated or Manual micro-deposits. Returned for Auth Items only. `pending_automatic_verification`: The Item is pending automatic verification `pending_manual_verification`: The Item is pending manual micro-deposit verification. Items remain in this state until the user successfully verifies the micro-deposit. `automatically_verified`: The Item has successfully been automatically verified `manually_verified`: The Item has successfully been manually verified `verification_expired`: Plaid was unable to automatically verify the deposit within 7 calendar days and will no longer attempt to validate the Item. Users may retry by submitting their information again through Link. `verification_failed`: The Item failed manual micro-deposit verification because the user exhausted all 3 verification attempts. Users may retry by submitting their information again through Link. `database_matched`: The Item has successfully been verified using Plaid's data sources. Note: Database Match is currently a beta feature, please contact your account manager for more information. ")
public VerificationStatusEnum getVerificationStatus() {
return verificationStatus;
}
public void setVerificationStatus(VerificationStatusEnum verificationStatus) {
this.verificationStatus = verificationStatus;
}
public AccountAssets persistentAccountId(String persistentAccountId) {
this.persistentAccountId = persistentAccountId;
return this;
}
/**
* A unique and persistent identifier for accounts that can be used to trace multiple instances of the same account across different Items for depository accounts. This is currently an opt-in field and only supported for Chase Items.
* @return persistentAccountId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A unique and persistent identifier for accounts that can be used to trace multiple instances of the same account across different Items for depository accounts. This is currently an opt-in field and only supported for Chase Items.")
public String getPersistentAccountId() {
return persistentAccountId;
}
public void setPersistentAccountId(String persistentAccountId) {
this.persistentAccountId = persistentAccountId;
}
public AccountAssets 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 AccountAssets transactions(List<AssetReportTransaction> transactions) {
this.transactions = transactions;
return this;
}
public AccountAssets addTransactionsItem(AssetReportTransaction transactionsItem) {
this.transactions.add(transactionsItem);
return this;
}
/**
* Transaction history associated with the account.
* @return transactions
**/
@ApiModelProperty(required = true, value = "Transaction history associated with the account.")
public List<AssetReportTransaction> getTransactions() {
return transactions;
}
public void setTransactions(List<AssetReportTransaction> transactions) {
this.transactions = transactions;
}
public AccountAssets investments(AssetReportInvestments investments) {
this.investments = investments;
return this;
}
/**
* Get investments
* @return investments
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public AssetReportInvestments getInvestments() {
return investments;
}
public void setInvestments(AssetReportInvestments investments) {
this.investments = investments;
}
public AccountAssets owners(List<Owner> owners) {
this.owners = owners;
return this;
}
public AccountAssets 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. In API versions 2018-05-22 and earlier, the `owners` object is not returned, and instead identity information is returned in the top level `identity` object. For more details, see [Plaid API versioning](https://plaid.com/docs/api/versioning/#version-2019-05-29)
* @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. In API versions 2018-05-22 and earlier, the `owners` object is not returned, and instead identity information is returned in the top level `identity` object. For more details, see [Plaid API versioning](https://plaid.com/docs/api/versioning/#version-2019-05-29)")
public List<Owner> getOwners() {
return owners;
}
public void setOwners(List<Owner> owners) {
this.owners = owners;
}
public AccountAssets ownershipType(OwnershipType ownershipType) {
this.ownershipType = ownershipType;
return this;
}
/**
* Get ownershipType
* @return ownershipType
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public OwnershipType getOwnershipType() {
return ownershipType;
}
public void setOwnershipType(OwnershipType ownershipType) {
this.ownershipType = ownershipType;
}
public AccountAssets historicalBalances(List<HistoricalBalance> historicalBalances) {
this.historicalBalances = historicalBalances;
return this;
}
public AccountAssets addHistoricalBalancesItem(HistoricalBalance historicalBalancesItem) {
this.historicalBalances.add(historicalBalancesItem);
return this;
}
/**
* Calculated data about the historical balances on the account. Available for `credit` and `depository` type accounts.
* @return historicalBalances
**/
@ApiModelProperty(required = true, value = "Calculated data about the historical balances on the account. Available for `credit` and `depository` type accounts.")
public List<HistoricalBalance> getHistoricalBalances() {
return historicalBalances;
}
public void setHistoricalBalances(List<HistoricalBalance> historicalBalances) {
this.historicalBalances = historicalBalances;
}
public AccountAssets accountInsights(AccountInsights accountInsights) {
this.accountInsights = accountInsights;
return this;
}
/**
* Get accountInsights
* @return accountInsights
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public AccountInsights getAccountInsights() {
return accountInsights;
}
public void setAccountInsights(AccountInsights accountInsights) {
this.accountInsights = accountInsights;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AccountAssets accountAssets = (AccountAssets) o;
return Objects.equals(this.accountId, accountAssets.accountId) &&
Objects.equals(this.balances, accountAssets.balances) &&
Objects.equals(this.mask, accountAssets.mask) &&
Objects.equals(this.name, accountAssets.name) &&
Objects.equals(this.officialName, accountAssets.officialName) &&
Objects.equals(this.type, accountAssets.type) &&
Objects.equals(this.subtype, accountAssets.subtype) &&
Objects.equals(this.verificationStatus, accountAssets.verificationStatus) &&
Objects.equals(this.persistentAccountId, accountAssets.persistentAccountId) &&
Objects.equals(this.daysAvailable, accountAssets.daysAvailable) &&
Objects.equals(this.transactions, accountAssets.transactions) &&
Objects.equals(this.investments, accountAssets.investments) &&
Objects.equals(this.owners, accountAssets.owners) &&
Objects.equals(this.ownershipType, accountAssets.ownershipType) &&
Objects.equals(this.historicalBalances, accountAssets.historicalBalances) &&
Objects.equals(this.accountInsights, accountAssets.accountInsights);
}
@Override
public int hashCode() {
return Objects.hash(accountId, balances, mask, name, officialName, type, subtype, verificationStatus, persistentAccountId, daysAvailable, transactions, investments, owners, ownershipType, historicalBalances, accountInsights);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AccountAssets {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" balances: ").append(toIndentedString(balances)).append("\n");
sb.append(" mask: ").append(toIndentedString(mask)).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(" verificationStatus: ").append(toIndentedString(verificationStatus)).append("\n");
sb.append(" persistentAccountId: ").append(toIndentedString(persistentAccountId)).append("\n");
sb.append(" daysAvailable: ").append(toIndentedString(daysAvailable)).append("\n");
sb.append(" transactions: ").append(toIndentedString(transactions)).append("\n");
sb.append(" investments: ").append(toIndentedString(investments)).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("}");
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/WatchlistScreeningEntityReviewCreateRequest.java | src/main/java/com/plaid/client/model/WatchlistScreeningEntityReviewCreateRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* Request input for creating a review for an entity screening
*/
@ApiModel(description = "Request input for creating a review for an entity screening")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class WatchlistScreeningEntityReviewCreateRequest {
public static final String SERIALIZED_NAME_CONFIRMED_HITS = "confirmed_hits";
@SerializedName(SERIALIZED_NAME_CONFIRMED_HITS)
private List<String> confirmedHits = new ArrayList<>();
public static final String SERIALIZED_NAME_DISMISSED_HITS = "dismissed_hits";
@SerializedName(SERIALIZED_NAME_DISMISSED_HITS)
private List<String> dismissedHits = new ArrayList<>();
public static final String SERIALIZED_NAME_COMMENT = "comment";
@SerializedName(SERIALIZED_NAME_COMMENT)
private String comment;
public static final String SERIALIZED_NAME_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_ENTITY_WATCHLIST_SCREENING_ID = "entity_watchlist_screening_id";
@SerializedName(SERIALIZED_NAME_ENTITY_WATCHLIST_SCREENING_ID)
private String entityWatchlistScreeningId;
public WatchlistScreeningEntityReviewCreateRequest confirmedHits(List<String> confirmedHits) {
this.confirmedHits = confirmedHits;
return this;
}
public WatchlistScreeningEntityReviewCreateRequest addConfirmedHitsItem(String confirmedHitsItem) {
this.confirmedHits.add(confirmedHitsItem);
return this;
}
/**
* Hits to mark as a true positive after thorough manual review. These hits will never recur or be updated once dismissed. In most cases, confirmed hits indicate that the customer should be rejected.
* @return confirmedHits
**/
@ApiModelProperty(required = true, value = "Hits to mark as a true positive after thorough manual review. These hits will never recur or be updated once dismissed. In most cases, confirmed hits indicate that the customer should be rejected.")
public List<String> getConfirmedHits() {
return confirmedHits;
}
public void setConfirmedHits(List<String> confirmedHits) {
this.confirmedHits = confirmedHits;
}
public WatchlistScreeningEntityReviewCreateRequest dismissedHits(List<String> dismissedHits) {
this.dismissedHits = dismissedHits;
return this;
}
public WatchlistScreeningEntityReviewCreateRequest addDismissedHitsItem(String dismissedHitsItem) {
this.dismissedHits.add(dismissedHitsItem);
return this;
}
/**
* Hits to mark as a false positive after thorough manual review. These hits will never recur or be updated once dismissed.
* @return dismissedHits
**/
@ApiModelProperty(required = true, value = "Hits to mark as a false positive after thorough manual review. These hits will never recur or be updated once dismissed.")
public List<String> getDismissedHits() {
return dismissedHits;
}
public void setDismissedHits(List<String> dismissedHits) {
this.dismissedHits = dismissedHits;
}
public WatchlistScreeningEntityReviewCreateRequest comment(String comment) {
this.comment = comment;
return this;
}
/**
* A comment submitted by a team member as part of reviewing a watchlist screening.
* @return comment
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "These look like legitimate matches, rejecting the customer.", value = "A comment submitted by a team member as part of reviewing a watchlist screening.")
public String getComment() {
return comment;
}
public void setComment(String comment) {
this.comment = comment;
}
public WatchlistScreeningEntityReviewCreateRequest 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 WatchlistScreeningEntityReviewCreateRequest 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 WatchlistScreeningEntityReviewCreateRequest entityWatchlistScreeningId(String entityWatchlistScreeningId) {
this.entityWatchlistScreeningId = entityWatchlistScreeningId;
return this;
}
/**
* ID of the associated entity screening.
* @return entityWatchlistScreeningId
**/
@ApiModelProperty(example = "entscr_52xR9LKo77r1Np", required = true, value = "ID of the associated entity screening.")
public String getEntityWatchlistScreeningId() {
return entityWatchlistScreeningId;
}
public void setEntityWatchlistScreeningId(String entityWatchlistScreeningId) {
this.entityWatchlistScreeningId = entityWatchlistScreeningId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
WatchlistScreeningEntityReviewCreateRequest watchlistScreeningEntityReviewCreateRequest = (WatchlistScreeningEntityReviewCreateRequest) o;
return Objects.equals(this.confirmedHits, watchlistScreeningEntityReviewCreateRequest.confirmedHits) &&
Objects.equals(this.dismissedHits, watchlistScreeningEntityReviewCreateRequest.dismissedHits) &&
Objects.equals(this.comment, watchlistScreeningEntityReviewCreateRequest.comment) &&
Objects.equals(this.clientId, watchlistScreeningEntityReviewCreateRequest.clientId) &&
Objects.equals(this.secret, watchlistScreeningEntityReviewCreateRequest.secret) &&
Objects.equals(this.entityWatchlistScreeningId, watchlistScreeningEntityReviewCreateRequest.entityWatchlistScreeningId);
}
@Override
public int hashCode() {
return Objects.hash(confirmedHits, dismissedHits, comment, clientId, secret, entityWatchlistScreeningId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class WatchlistScreeningEntityReviewCreateRequest {\n");
sb.append(" confirmedHits: ").append(toIndentedString(confirmedHits)).append("\n");
sb.append(" dismissedHits: ").append(toIndentedString(dismissedHits)).append("\n");
sb.append(" comment: ").append(toIndentedString(comment)).append("\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" entityWatchlistScreeningId: ").append(toIndentedString(entityWatchlistScreeningId)).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/BetaPartnerCustomerV1EnableResponse.java | src/main/java/com/plaid/client/model/BetaPartnerCustomerV1EnableResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.PartnerEndCustomerStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Response schema for `/beta/partner/customer/v1/enable`.
*/
@ApiModel(description = "Response schema for `/beta/partner/customer/v1/enable`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BetaPartnerCustomerV1EnableResponse {
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_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private PartnerEndCustomerStatus status;
public static final String SERIALIZED_NAME_PRODUCT_STATUSES = "product_statuses";
@SerializedName(SERIALIZED_NAME_PRODUCT_STATUSES)
private Object productStatuses;
public static final String SERIALIZED_NAME_PRODUCTION_SECRET = "production_secret";
@SerializedName(SERIALIZED_NAME_PRODUCTION_SECRET)
private String productionSecret;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public BetaPartnerCustomerV1EnableResponse endCustomerClientId(String endCustomerClientId) {
this.endCustomerClientId = endCustomerClientId;
return this;
}
/**
* Get endCustomerClientId
* @return endCustomerClientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getEndCustomerClientId() {
return endCustomerClientId;
}
public void setEndCustomerClientId(String endCustomerClientId) {
this.endCustomerClientId = endCustomerClientId;
}
public BetaPartnerCustomerV1EnableResponse 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 BetaPartnerCustomerV1EnableResponse productStatuses(Object productStatuses) {
this.productStatuses = productStatuses;
return this;
}
/**
* Mapping of product names to their current status.
* @return productStatuses
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Mapping of product names to their current status.")
public Object getProductStatuses() {
return productStatuses;
}
public void setProductStatuses(Object productStatuses) {
this.productStatuses = productStatuses;
}
public BetaPartnerCustomerV1EnableResponse productionSecret(String productionSecret) {
this.productionSecret = productionSecret;
return this;
}
/**
* Get productionSecret
* @return productionSecret
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getProductionSecret() {
return productionSecret;
}
public void setProductionSecret(String productionSecret) {
this.productionSecret = productionSecret;
}
public BetaPartnerCustomerV1EnableResponse 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;
}
BetaPartnerCustomerV1EnableResponse betaPartnerCustomerV1EnableResponse = (BetaPartnerCustomerV1EnableResponse) o;
return Objects.equals(this.endCustomerClientId, betaPartnerCustomerV1EnableResponse.endCustomerClientId) &&
Objects.equals(this.status, betaPartnerCustomerV1EnableResponse.status) &&
Objects.equals(this.productStatuses, betaPartnerCustomerV1EnableResponse.productStatuses) &&
Objects.equals(this.productionSecret, betaPartnerCustomerV1EnableResponse.productionSecret) &&
Objects.equals(this.requestId, betaPartnerCustomerV1EnableResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(endCustomerClientId, status, productStatuses, productionSecret, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BetaPartnerCustomerV1EnableResponse {\n");
sb.append(" endCustomerClientId: ").append(toIndentedString(endCustomerClientId)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" productStatuses: ").append(toIndentedString(productStatuses)).append("\n");
sb.append(" productionSecret: ").append(toIndentedString(productionSecret)).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/CashFlowUpdatesExpectedDepositMissedWebhook.java | src/main/java/com/plaid/client/model/CashFlowUpdatesExpectedDepositMissedWebhook.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.MonitoringInsightsStatus;
import com.plaid.client.model.WebhookEnvironmentValues;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* For each user's item enabled for Cash Flow Updates, this webhook will fire when an update detects that an expected deposit was missed. Upon receiving the webhook, call `/cra/monitoring_insights/get` to retrieve the updated insights.
*/
@ApiModel(description = "For each user's item enabled for Cash Flow Updates, this webhook will fire when an update detects that an expected deposit was missed. Upon receiving the webhook, call `/cra/monitoring_insights/get` to retrieve the updated insights.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CashFlowUpdatesExpectedDepositMissedWebhook {
public static final String SERIALIZED_NAME_WEBHOOK_TYPE = "webhook_type";
@SerializedName(SERIALIZED_NAME_WEBHOOK_TYPE)
private String webhookType;
public static final String SERIALIZED_NAME_WEBHOOK_CODE = "webhook_code";
@SerializedName(SERIALIZED_NAME_WEBHOOK_CODE)
private String webhookCode;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private MonitoringInsightsStatus status;
public static final String SERIALIZED_NAME_USER_ID = "user_id";
@SerializedName(SERIALIZED_NAME_USER_ID)
private String userId;
public static final String SERIALIZED_NAME_ENVIRONMENT = "environment";
@SerializedName(SERIALIZED_NAME_ENVIRONMENT)
private WebhookEnvironmentValues environment;
public CashFlowUpdatesExpectedDepositMissedWebhook webhookType(String webhookType) {
this.webhookType = webhookType;
return this;
}
/**
* `CASH_FLOW_UPDATES`
* @return webhookType
**/
@ApiModelProperty(required = true, value = "`CASH_FLOW_UPDATES`")
public String getWebhookType() {
return webhookType;
}
public void setWebhookType(String webhookType) {
this.webhookType = webhookType;
}
public CashFlowUpdatesExpectedDepositMissedWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `EXPECTED_DEPOSIT_MISSED`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`EXPECTED_DEPOSIT_MISSED`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public CashFlowUpdatesExpectedDepositMissedWebhook status(MonitoringInsightsStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@ApiModelProperty(required = true, value = "")
public MonitoringInsightsStatus getStatus() {
return status;
}
public void setStatus(MonitoringInsightsStatus status) {
this.status = status;
}
public CashFlowUpdatesExpectedDepositMissedWebhook userId(String userId) {
this.userId = userId;
return this;
}
/**
* The `user_id` that the report is associated with
* @return userId
**/
@ApiModelProperty(required = true, value = "The `user_id` that the report is associated with")
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public CashFlowUpdatesExpectedDepositMissedWebhook 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;
}
CashFlowUpdatesExpectedDepositMissedWebhook cashFlowUpdatesExpectedDepositMissedWebhook = (CashFlowUpdatesExpectedDepositMissedWebhook) o;
return Objects.equals(this.webhookType, cashFlowUpdatesExpectedDepositMissedWebhook.webhookType) &&
Objects.equals(this.webhookCode, cashFlowUpdatesExpectedDepositMissedWebhook.webhookCode) &&
Objects.equals(this.status, cashFlowUpdatesExpectedDepositMissedWebhook.status) &&
Objects.equals(this.userId, cashFlowUpdatesExpectedDepositMissedWebhook.userId) &&
Objects.equals(this.environment, cashFlowUpdatesExpectedDepositMissedWebhook.environment);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, status, userId, environment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CashFlowUpdatesExpectedDepositMissedWebhook {\n");
sb.append(" webhookType: ").append(toIndentedString(webhookType)).append("\n");
sb.append(" webhookCode: ").append(toIndentedString(webhookCode)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" userId: ").append(toIndentedString(userId)).append("\n");
sb.append(" environment: ").append(toIndentedString(environment)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BetaPartnerCustomerV1UpdateResponse.java | src/main/java/com/plaid/client/model/BetaPartnerCustomerV1UpdateResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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/update`.
*/
@ApiModel(description = "Response schema for `/beta/partner/customer/v1/update`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BetaPartnerCustomerV1UpdateResponse {
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 BetaPartnerCustomerV1UpdateResponse 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 BetaPartnerCustomerV1UpdateResponse 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;
}
BetaPartnerCustomerV1UpdateResponse betaPartnerCustomerV1UpdateResponse = (BetaPartnerCustomerV1UpdateResponse) o;
return Objects.equals(this.endCustomer, betaPartnerCustomerV1UpdateResponse.endCustomer) &&
Objects.equals(this.requestId, betaPartnerCustomerV1UpdateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(endCustomer, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BetaPartnerCustomerV1UpdateResponse {\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/StatementsDownloadRequest.java | src/main/java/com/plaid/client/model/StatementsDownloadRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* StatementsDownloadRequest defines the request schema for `/statements/download`
*/
@ApiModel(description = "StatementsDownloadRequest defines the request schema for `/statements/download`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class StatementsDownloadRequest {
public static final String SERIALIZED_NAME_ACCESS_TOKEN = "access_token";
@SerializedName(SERIALIZED_NAME_ACCESS_TOKEN)
private String accessToken;
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_STATEMENT_ID = "statement_id";
@SerializedName(SERIALIZED_NAME_STATEMENT_ID)
private String statementId;
public StatementsDownloadRequest 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 StatementsDownloadRequest 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 StatementsDownloadRequest 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 StatementsDownloadRequest statementId(String statementId) {
this.statementId = statementId;
return this;
}
/**
* Plaid's unique identifier for the statements.
* @return statementId
**/
@ApiModelProperty(required = true, value = "Plaid's unique identifier for the statements.")
public String getStatementId() {
return statementId;
}
public void setStatementId(String statementId) {
this.statementId = statementId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
StatementsDownloadRequest statementsDownloadRequest = (StatementsDownloadRequest) o;
return Objects.equals(this.accessToken, statementsDownloadRequest.accessToken) &&
Objects.equals(this.clientId, statementsDownloadRequest.clientId) &&
Objects.equals(this.secret, statementsDownloadRequest.secret) &&
Objects.equals(this.statementId, statementsDownloadRequest.statementId);
}
@Override
public int hashCode() {
return Objects.hash(accessToken, clientId, secret, statementId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class StatementsDownloadRequest {\n");
sb.append(" accessToken: ").append(toIndentedString(accessToken)).append("\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" statementId: ").append(toIndentedString(statementId)).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/CreditBankStatementUploadAccountOwnerAddress.java | src/main/java/com/plaid/client/model/CreditBankStatementUploadAccountOwnerAddress.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* Address on the uploaded bank statement
*/
@ApiModel(description = "Address on the uploaded bank statement")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditBankStatementUploadAccountOwnerAddress {
public static final String SERIALIZED_NAME_CITY = "city";
@SerializedName(SERIALIZED_NAME_CITY)
private String city;
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_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 CreditBankStatementUploadAccountOwnerAddress 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 CreditBankStatementUploadAccountOwnerAddress 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;
}
public CreditBankStatementUploadAccountOwnerAddress postalCode(String postalCode) {
this.postalCode = postalCode;
return this;
}
/**
* The postal code of the address.
* @return postalCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The postal code of the address.")
public String getPostalCode() {
return postalCode;
}
public void setPostalCode(String postalCode) {
this.postalCode = postalCode;
}
public CreditBankStatementUploadAccountOwnerAddress region(String region) {
this.region = region;
return this;
}
/**
* The region or state. Example: `\"NC\"`
* @return region
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The region or state. Example: `\"NC\"`")
public String getRegion() {
return region;
}
public void setRegion(String region) {
this.region = region;
}
public CreditBankStatementUploadAccountOwnerAddress street(String street) {
this.street = street;
return this;
}
/**
* The full street address.
* @return street
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The full street address.")
public String getStreet() {
return street;
}
public void setStreet(String street) {
this.street = street;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreditBankStatementUploadAccountOwnerAddress creditBankStatementUploadAccountOwnerAddress = (CreditBankStatementUploadAccountOwnerAddress) o;
return Objects.equals(this.city, creditBankStatementUploadAccountOwnerAddress.city) &&
Objects.equals(this.country, creditBankStatementUploadAccountOwnerAddress.country) &&
Objects.equals(this.postalCode, creditBankStatementUploadAccountOwnerAddress.postalCode) &&
Objects.equals(this.region, creditBankStatementUploadAccountOwnerAddress.region) &&
Objects.equals(this.street, creditBankStatementUploadAccountOwnerAddress.street);
}
@Override
public int hashCode() {
return Objects.hash(city, country, postalCode, region, street);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditBankStatementUploadAccountOwnerAddress {\n");
sb.append(" city: ").append(toIndentedString(city)).append("\n");
sb.append(" country: ").append(toIndentedString(country)).append("\n");
sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n");
sb.append(" region: ").append(toIndentedString(region)).append("\n");
sb.append(" street: ").append(toIndentedString(street)).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/ItemCreateAuthentication.java | src/main/java/com/plaid/client/model/ItemCreateAuthentication.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* Enum representing the entity authenticating the user.
*/
@JsonAdapter(ItemCreateAuthentication.Adapter.class)
public enum ItemCreateAuthentication {
UNKNOWN("UNKNOWN"),
DATA_PARTNER("DATA_PARTNER"),
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;
ItemCreateAuthentication(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static ItemCreateAuthentication fromValue(String value) {
for (ItemCreateAuthentication b : ItemCreateAuthentication.values()) {
if (b.value.equals(value)) {
return b;
}
}
return ItemCreateAuthentication.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<ItemCreateAuthentication> {
@Override
public void write(final JsonWriter jsonWriter, final ItemCreateAuthentication enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public ItemCreateAuthentication read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return ItemCreateAuthentication.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/WalletTransactionStatus.java | src/main/java/com/plaid/client/model/WalletTransactionStatus.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 transaction. `AUTHORISING`: The transaction is being processed for validation and compliance. `INITIATED`: The transaction has been initiated and is currently being processed. `EXECUTED`: The transaction has been successfully executed and is considered complete. This is only applicable for debit transactions. `SETTLED`: The transaction has settled and funds are available for use. This is only applicable for credit transactions. A transaction will typically settle within seconds to several days, depending on which payment rail is used. `FAILED`: The transaction failed to process successfully. This is a terminal status. `BLOCKED`: The transaction has been blocked for violating compliance rules. This is a terminal status.
*/
@JsonAdapter(WalletTransactionStatus.Adapter.class)
public enum WalletTransactionStatus {
AUTHORISING("AUTHORISING"),
INITIATED("INITIATED"),
EXECUTED("EXECUTED"),
SETTLED("SETTLED"),
BLOCKED("BLOCKED"),
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;
WalletTransactionStatus(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static WalletTransactionStatus fromValue(String value) {
for (WalletTransactionStatus b : WalletTransactionStatus.values()) {
if (b.value.equals(value)) {
return b;
}
}
return WalletTransactionStatus.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<WalletTransactionStatus> {
@Override
public void write(final JsonWriter jsonWriter, final WalletTransactionStatus enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public WalletTransactionStatus read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return WalletTransactionStatus.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/IdentityVerificationRetryRequestStepsObject.java | src/main/java/com/plaid/client/model/IdentityVerificationRetryRequestStepsObject.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* Instructions for the `custom` retry strategy specifying which steps should be required or skipped. Note: This field must be provided when the retry strategy is `custom` and must be omitted otherwise. Custom retries override settings in your Plaid Template. For example, if your Plaid Template has `verify_sms` disabled, a custom retry with `verify_sms` enabled will still require the step. The `selfie_check` step is currently not supported on the sandbox server. Sandbox requests will silently disable the `selfie_check` step when provided.
*/
@ApiModel(description = "Instructions for the `custom` retry strategy specifying which steps should be required or skipped. Note: This field must be provided when the retry strategy is `custom` and must be omitted otherwise. Custom retries override settings in your Plaid Template. For example, if your Plaid Template has `verify_sms` disabled, a custom retry with `verify_sms` enabled will still require the step. The `selfie_check` step is currently not supported on the sandbox server. Sandbox requests will silently disable the `selfie_check` step when provided.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class IdentityVerificationRetryRequestStepsObject {
public static final String SERIALIZED_NAME_VERIFY_SMS = "verify_sms";
@SerializedName(SERIALIZED_NAME_VERIFY_SMS)
private Boolean verifySms;
public static final String SERIALIZED_NAME_KYC_CHECK = "kyc_check";
@SerializedName(SERIALIZED_NAME_KYC_CHECK)
private Boolean kycCheck;
public static final String SERIALIZED_NAME_DOCUMENTARY_VERIFICATION = "documentary_verification";
@SerializedName(SERIALIZED_NAME_DOCUMENTARY_VERIFICATION)
private Boolean documentaryVerification;
public static final String SERIALIZED_NAME_SELFIE_CHECK = "selfie_check";
@SerializedName(SERIALIZED_NAME_SELFIE_CHECK)
private Boolean selfieCheck;
public IdentityVerificationRetryRequestStepsObject verifySms(Boolean verifySms) {
this.verifySms = verifySms;
return this;
}
/**
* A boolean field specifying whether the new session should require or skip the `verify_sms` step.
* @return verifySms
**/
@ApiModelProperty(required = true, value = "A boolean field specifying whether the new session should require or skip the `verify_sms` step.")
public Boolean getVerifySms() {
return verifySms;
}
public void setVerifySms(Boolean verifySms) {
this.verifySms = verifySms;
}
public IdentityVerificationRetryRequestStepsObject kycCheck(Boolean kycCheck) {
this.kycCheck = kycCheck;
return this;
}
/**
* A boolean field specifying whether the new session should require or skip the `kyc_check` (Data Source Verification) step.
* @return kycCheck
**/
@ApiModelProperty(required = true, value = "A boolean field specifying whether the new session should require or skip the `kyc_check` (Data Source Verification) step.")
public Boolean getKycCheck() {
return kycCheck;
}
public void setKycCheck(Boolean kycCheck) {
this.kycCheck = kycCheck;
}
public IdentityVerificationRetryRequestStepsObject documentaryVerification(Boolean documentaryVerification) {
this.documentaryVerification = documentaryVerification;
return this;
}
/**
* A boolean field specifying whether the new session should require or skip the `documentary_verification` step.
* @return documentaryVerification
**/
@ApiModelProperty(required = true, value = "A boolean field specifying whether the new session should require or skip the `documentary_verification` step.")
public Boolean getDocumentaryVerification() {
return documentaryVerification;
}
public void setDocumentaryVerification(Boolean documentaryVerification) {
this.documentaryVerification = documentaryVerification;
}
public IdentityVerificationRetryRequestStepsObject selfieCheck(Boolean selfieCheck) {
this.selfieCheck = selfieCheck;
return this;
}
/**
* A boolean field specifying whether the new session should require or skip the `selfie_check` step. If a previous session has already passed the `selfie_check` step, the new selfie check will be a Selfie Reauthentication check, in which the selfie is tested for liveness and for consistency with the previous selfie.
* @return selfieCheck
**/
@ApiModelProperty(required = true, value = "A boolean field specifying whether the new session should require or skip the `selfie_check` step. If a previous session has already passed the `selfie_check` step, the new selfie check will be a Selfie Reauthentication check, in which the selfie is tested for liveness and for consistency with the previous selfie.")
public Boolean getSelfieCheck() {
return selfieCheck;
}
public void setSelfieCheck(Boolean selfieCheck) {
this.selfieCheck = selfieCheck;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
IdentityVerificationRetryRequestStepsObject identityVerificationRetryRequestStepsObject = (IdentityVerificationRetryRequestStepsObject) o;
return Objects.equals(this.verifySms, identityVerificationRetryRequestStepsObject.verifySms) &&
Objects.equals(this.kycCheck, identityVerificationRetryRequestStepsObject.kycCheck) &&
Objects.equals(this.documentaryVerification, identityVerificationRetryRequestStepsObject.documentaryVerification) &&
Objects.equals(this.selfieCheck, identityVerificationRetryRequestStepsObject.selfieCheck);
}
@Override
public int hashCode() {
return Objects.hash(verifySms, kycCheck, documentaryVerification, selfieCheck);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IdentityVerificationRetryRequestStepsObject {\n");
sb.append(" verifySms: ").append(toIndentedString(verifySms)).append("\n");
sb.append(" kycCheck: ").append(toIndentedString(kycCheck)).append("\n");
sb.append(" documentaryVerification: ").append(toIndentedString(documentaryVerification)).append("\n");
sb.append(" selfieCheck: ").append(toIndentedString(selfieCheck)).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/CreditBankIncomeRefreshResponse.java | src/main/java/com/plaid/client/model/CreditBankIncomeRefreshResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* CreditBankIncomeRefreshResponse defines the response schema for `/credit/bank_income/refresh`.
*/
@ApiModel(description = "CreditBankIncomeRefreshResponse defines the response schema for `/credit/bank_income/refresh`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditBankIncomeRefreshResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public CreditBankIncomeRefreshResponse 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;
}
CreditBankIncomeRefreshResponse creditBankIncomeRefreshResponse = (CreditBankIncomeRefreshResponse) o;
return Objects.equals(this.requestId, creditBankIncomeRefreshResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditBankIncomeRefreshResponse {\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/CraLoanRegister.java | src/main/java/com/plaid/client/model/CraLoanRegister.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.CraLoanOpenedStatus;
import com.plaid.client.model.CraLoanPaymentSchedule;
import com.plaid.client.model.CraLoanRegisterApplication;
import com.plaid.client.model.CraLoanType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.math.BigDecimal;
import java.time.LocalDate;
/**
* Contains loan data to register.
*/
@ApiModel(description = "Contains loan data to register.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraLoanRegister {
public static final String SERIALIZED_NAME_USER_TOKEN = "user_token";
@SerializedName(SERIALIZED_NAME_USER_TOKEN)
private String userToken;
public static final String SERIALIZED_NAME_LOAN_ID = "loan_id";
@SerializedName(SERIALIZED_NAME_LOAN_ID)
private String loanId;
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private CraLoanType type;
public static final String SERIALIZED_NAME_PAYMENT_SCHEDULE = "payment_schedule";
@SerializedName(SERIALIZED_NAME_PAYMENT_SCHEDULE)
private CraLoanPaymentSchedule paymentSchedule;
public static final String SERIALIZED_NAME_OPENED_DATE = "opened_date";
@SerializedName(SERIALIZED_NAME_OPENED_DATE)
private LocalDate openedDate;
public static final String SERIALIZED_NAME_OPENED_WITH_STATUS = "opened_with_status";
@SerializedName(SERIALIZED_NAME_OPENED_WITH_STATUS)
private CraLoanOpenedStatus openedWithStatus;
public static final String SERIALIZED_NAME_LOAN_AMOUNT = "loan_amount";
@SerializedName(SERIALIZED_NAME_LOAN_AMOUNT)
private Double loanAmount;
public static final String SERIALIZED_NAME_APPLICATION = "application";
@SerializedName(SERIALIZED_NAME_APPLICATION)
private CraLoanRegisterApplication application;
public CraLoanRegister userToken(String userToken) {
this.userToken = userToken;
return this;
}
/**
* The user token for the user associated with the loan.
* @return userToken
**/
@ApiModelProperty(required = true, value = "The user token for the user associated with the loan.")
public String getUserToken() {
return userToken;
}
public void setUserToken(String userToken) {
this.userToken = userToken;
}
public CraLoanRegister loanId(String loanId) {
this.loanId = loanId;
return this;
}
/**
* A unique identifier for the loan. Personally identifiable information, such as an email address or phone number, should not be used in the `loan_id`.
* @return loanId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the loan. Personally identifiable information, such as an email address or phone number, should not be used in the `loan_id`.")
public String getLoanId() {
return loanId;
}
public void setLoanId(String loanId) {
this.loanId = loanId;
}
public CraLoanRegister type(CraLoanType type) {
this.type = type;
return this;
}
/**
* Get type
* @return type
**/
@ApiModelProperty(required = true, value = "")
public CraLoanType getType() {
return type;
}
public void setType(CraLoanType type) {
this.type = type;
}
public CraLoanRegister paymentSchedule(CraLoanPaymentSchedule paymentSchedule) {
this.paymentSchedule = paymentSchedule;
return this;
}
/**
* Get paymentSchedule
* @return paymentSchedule
**/
@ApiModelProperty(required = true, value = "")
public CraLoanPaymentSchedule getPaymentSchedule() {
return paymentSchedule;
}
public void setPaymentSchedule(CraLoanPaymentSchedule paymentSchedule) {
this.paymentSchedule = paymentSchedule;
}
public CraLoanRegister openedDate(LocalDate openedDate) {
this.openedDate = openedDate;
return this;
}
/**
* The date the loan account was opened. The date should be in ISO 8601 format (YYYY-MM-DD).
* @return openedDate
**/
@ApiModelProperty(required = true, value = "The date the loan account was opened. The date should be in ISO 8601 format (YYYY-MM-DD).")
public LocalDate getOpenedDate() {
return openedDate;
}
public void setOpenedDate(LocalDate openedDate) {
this.openedDate = openedDate;
}
public CraLoanRegister openedWithStatus(CraLoanOpenedStatus openedWithStatus) {
this.openedWithStatus = openedWithStatus;
return this;
}
/**
* Get openedWithStatus
* @return openedWithStatus
**/
@ApiModelProperty(required = true, value = "")
public CraLoanOpenedStatus getOpenedWithStatus() {
return openedWithStatus;
}
public void setOpenedWithStatus(CraLoanOpenedStatus openedWithStatus) {
this.openedWithStatus = openedWithStatus;
}
public CraLoanRegister loanAmount(Double loanAmount) {
this.loanAmount = loanAmount;
return this;
}
/**
* The total amount of the approved loan.
* @return loanAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The total amount of the approved loan.")
public Double getLoanAmount() {
return loanAmount;
}
public void setLoanAmount(Double loanAmount) {
this.loanAmount = loanAmount;
}
public CraLoanRegister application(CraLoanRegisterApplication application) {
this.application = application;
return this;
}
/**
* Get application
* @return application
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public CraLoanRegisterApplication getApplication() {
return application;
}
public void setApplication(CraLoanRegisterApplication application) {
this.application = application;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CraLoanRegister craLoanRegister = (CraLoanRegister) o;
return Objects.equals(this.userToken, craLoanRegister.userToken) &&
Objects.equals(this.loanId, craLoanRegister.loanId) &&
Objects.equals(this.type, craLoanRegister.type) &&
Objects.equals(this.paymentSchedule, craLoanRegister.paymentSchedule) &&
Objects.equals(this.openedDate, craLoanRegister.openedDate) &&
Objects.equals(this.openedWithStatus, craLoanRegister.openedWithStatus) &&
Objects.equals(this.loanAmount, craLoanRegister.loanAmount) &&
Objects.equals(this.application, craLoanRegister.application);
}
@Override
public int hashCode() {
return Objects.hash(userToken, loanId, type, paymentSchedule, openedDate, openedWithStatus, loanAmount, application);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraLoanRegister {\n");
sb.append(" userToken: ").append(toIndentedString(userToken)).append("\n");
sb.append(" loanId: ").append(toIndentedString(loanId)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" paymentSchedule: ").append(toIndentedString(paymentSchedule)).append("\n");
sb.append(" openedDate: ").append(toIndentedString(openedDate)).append("\n");
sb.append(" openedWithStatus: ").append(toIndentedString(openedWithStatus)).append("\n");
sb.append(" loanAmount: ").append(toIndentedString(loanAmount)).append("\n");
sb.append(" application: ").append(toIndentedString(application)).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/TransferLedgerWithdrawResponse.java | src/main/java/com/plaid/client/model/TransferLedgerWithdrawResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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/withdraw`
*/
@ApiModel(description = "Defines the response schema for `/transfer/ledger/withdraw`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferLedgerWithdrawResponse {
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 TransferLedgerWithdrawResponse 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 TransferLedgerWithdrawResponse 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;
}
TransferLedgerWithdrawResponse transferLedgerWithdrawResponse = (TransferLedgerWithdrawResponse) o;
return Objects.equals(this.sweep, transferLedgerWithdrawResponse.sweep) &&
Objects.equals(this.requestId, transferLedgerWithdrawResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(sweep, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferLedgerWithdrawResponse {\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/TransactionAllOf.java | src/main/java/com/plaid/client/model/TransactionAllOf.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.BusinessFinanceCategory;
import com.plaid.client.model.ClientCustomization;
import com.plaid.client.model.PersonalFinanceCategory;
import com.plaid.client.model.TransactionCode;
import com.plaid.client.model.TransactionCounterparty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.List;
/**
* TransactionAllOf
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransactionAllOf {
public static final String SERIALIZED_NAME_AUTHORIZED_DATE = "authorized_date";
@SerializedName(SERIALIZED_NAME_AUTHORIZED_DATE)
private LocalDate authorizedDate;
public static final String SERIALIZED_NAME_AUTHORIZED_DATETIME = "authorized_datetime";
@SerializedName(SERIALIZED_NAME_AUTHORIZED_DATETIME)
private OffsetDateTime authorizedDatetime;
public static final String SERIALIZED_NAME_DATETIME = "datetime";
@SerializedName(SERIALIZED_NAME_DATETIME)
private OffsetDateTime datetime;
/**
* The channel used to make a payment. `online:` transactions that took place online. `in store:` transactions that were made at a physical location. `other:` transactions that relate to banks, e.g. fees or deposits. This field replaces the `transaction_type` field.
*/
@JsonAdapter(PaymentChannelEnum.Adapter.class)
public enum PaymentChannelEnum {
ONLINE("online"),
IN_STORE("in store"),
OTHER("other");
private String value;
PaymentChannelEnum(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static PaymentChannelEnum fromValue(String value) {
for (PaymentChannelEnum b : PaymentChannelEnum.values()) {
if (b.value.equals(value)) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
}
public static class Adapter extends TypeAdapter<PaymentChannelEnum> {
@Override
public void write(final JsonWriter jsonWriter, final PaymentChannelEnum enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public PaymentChannelEnum read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return PaymentChannelEnum.fromValue(value);
}
}
}
public static final String SERIALIZED_NAME_PAYMENT_CHANNEL = "payment_channel";
@SerializedName(SERIALIZED_NAME_PAYMENT_CHANNEL)
private PaymentChannelEnum paymentChannel;
public static final String SERIALIZED_NAME_PERSONAL_FINANCE_CATEGORY = "personal_finance_category";
@SerializedName(SERIALIZED_NAME_PERSONAL_FINANCE_CATEGORY)
private PersonalFinanceCategory personalFinanceCategory;
public static final String SERIALIZED_NAME_BUSINESS_FINANCE_CATEGORY = "business_finance_category";
@SerializedName(SERIALIZED_NAME_BUSINESS_FINANCE_CATEGORY)
private BusinessFinanceCategory businessFinanceCategory;
public static final String SERIALIZED_NAME_TRANSACTION_CODE = "transaction_code";
@SerializedName(SERIALIZED_NAME_TRANSACTION_CODE)
private TransactionCode transactionCode;
public static final String SERIALIZED_NAME_PERSONAL_FINANCE_CATEGORY_ICON_URL = "personal_finance_category_icon_url";
@SerializedName(SERIALIZED_NAME_PERSONAL_FINANCE_CATEGORY_ICON_URL)
private String personalFinanceCategoryIconUrl;
public static final String SERIALIZED_NAME_COUNTERPARTIES = "counterparties";
@SerializedName(SERIALIZED_NAME_COUNTERPARTIES)
private List<TransactionCounterparty> counterparties = null;
public static final String SERIALIZED_NAME_MERCHANT_ENTITY_ID = "merchant_entity_id";
@SerializedName(SERIALIZED_NAME_MERCHANT_ENTITY_ID)
private String merchantEntityId;
public static final String SERIALIZED_NAME_CLIENT_CUSTOMIZATION = "client_customization";
@SerializedName(SERIALIZED_NAME_CLIENT_CUSTOMIZATION)
private ClientCustomization clientCustomization;
public TransactionAllOf authorizedDate(LocalDate authorizedDate) {
this.authorizedDate = authorizedDate;
return this;
}
/**
* The date that the transaction was authorized. For posted transactions, the `date` field will indicate the posted date, but `authorized_date` will indicate the day the transaction was authorized by the financial institution. If presenting transactions to the user in a UI, the `authorized_date`, when available, is generally preferable to use over the `date` field for posted transactions, as it will generally represent the date the user actually made the transaction. Dates are returned in an [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format ( `YYYY-MM-DD` ).
* @return authorizedDate
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The date that the transaction was authorized. For posted transactions, the `date` field will indicate the posted date, but `authorized_date` will indicate the day the transaction was authorized by the financial institution. If presenting transactions to the user in a UI, the `authorized_date`, when available, is generally preferable to use over the `date` field for posted transactions, as it will generally represent the date the user actually made the transaction. Dates are returned in an [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format ( `YYYY-MM-DD` ).")
public LocalDate getAuthorizedDate() {
return authorizedDate;
}
public void setAuthorizedDate(LocalDate authorizedDate) {
this.authorizedDate = authorizedDate;
}
public TransactionAllOf authorizedDatetime(OffsetDateTime authorizedDatetime) {
this.authorizedDatetime = authorizedDatetime;
return this;
}
/**
* Date and time when a transaction was authorized in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format ( `YYYY-MM-DDTHH:mm:ssZ` ). For posted transactions, the `datetime` field will indicate the posted date, but `authorized_datetime` will indicate the day the transaction was authorized by the financial institution. If presenting transactions to the user in a UI, the `authorized_datetime`, when available, is generally preferable to use over the `datetime` field for posted transactions, as it will generally represent the date the user actually made the transaction. This field is returned for select financial institutions and comes as provided by the institution. It may contain default time values (such as 00:00:00). This field is only populated in API version 2019-05-29 and later.
* @return authorizedDatetime
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "Date and time when a transaction was authorized in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format ( `YYYY-MM-DDTHH:mm:ssZ` ). For posted transactions, the `datetime` field will indicate the posted date, but `authorized_datetime` will indicate the day the transaction was authorized by the financial institution. If presenting transactions to the user in a UI, the `authorized_datetime`, when available, is generally preferable to use over the `datetime` field for posted transactions, as it will generally represent the date the user actually made the transaction. This field is returned for select financial institutions and comes as provided by the institution. It may contain default time values (such as 00:00:00). This field is only populated in API version 2019-05-29 and later.")
public OffsetDateTime getAuthorizedDatetime() {
return authorizedDatetime;
}
public void setAuthorizedDatetime(OffsetDateTime authorizedDatetime) {
this.authorizedDatetime = authorizedDatetime;
}
public TransactionAllOf datetime(OffsetDateTime datetime) {
this.datetime = datetime;
return this;
}
/**
* Date and time when a transaction was posted in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format ( `YYYY-MM-DDTHH:mm:ssZ` ). For the date that the transaction was initiated, rather than posted, see the `authorized_datetime` field. This field is returned for select financial institutions and comes as provided by the institution. It may contain default time values (such as 00:00:00). This field is only populated in API version 2019-05-29 and later.
* @return datetime
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "Date and time when a transaction was posted in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format ( `YYYY-MM-DDTHH:mm:ssZ` ). For the date that the transaction was initiated, rather than posted, see the `authorized_datetime` field. This field is returned for select financial institutions and comes as provided by the institution. It may contain default time values (such as 00:00:00). This field is only populated in API version 2019-05-29 and later.")
public OffsetDateTime getDatetime() {
return datetime;
}
public void setDatetime(OffsetDateTime datetime) {
this.datetime = datetime;
}
public TransactionAllOf paymentChannel(PaymentChannelEnum paymentChannel) {
this.paymentChannel = paymentChannel;
return this;
}
/**
* The channel used to make a payment. `online:` transactions that took place online. `in store:` transactions that were made at a physical location. `other:` transactions that relate to banks, e.g. fees or deposits. This field replaces the `transaction_type` field.
* @return paymentChannel
**/
@ApiModelProperty(required = true, value = "The channel used to make a payment. `online:` transactions that took place online. `in store:` transactions that were made at a physical location. `other:` transactions that relate to banks, e.g. fees or deposits. This field replaces the `transaction_type` field. ")
public PaymentChannelEnum getPaymentChannel() {
return paymentChannel;
}
public void setPaymentChannel(PaymentChannelEnum paymentChannel) {
this.paymentChannel = paymentChannel;
}
public TransactionAllOf personalFinanceCategory(PersonalFinanceCategory personalFinanceCategory) {
this.personalFinanceCategory = personalFinanceCategory;
return this;
}
/**
* Get personalFinanceCategory
* @return personalFinanceCategory
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PersonalFinanceCategory getPersonalFinanceCategory() {
return personalFinanceCategory;
}
public void setPersonalFinanceCategory(PersonalFinanceCategory personalFinanceCategory) {
this.personalFinanceCategory = personalFinanceCategory;
}
public TransactionAllOf businessFinanceCategory(BusinessFinanceCategory businessFinanceCategory) {
this.businessFinanceCategory = businessFinanceCategory;
return this;
}
/**
* Get businessFinanceCategory
* @return businessFinanceCategory
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public BusinessFinanceCategory getBusinessFinanceCategory() {
return businessFinanceCategory;
}
public void setBusinessFinanceCategory(BusinessFinanceCategory businessFinanceCategory) {
this.businessFinanceCategory = businessFinanceCategory;
}
public TransactionAllOf transactionCode(TransactionCode transactionCode) {
this.transactionCode = transactionCode;
return this;
}
/**
* Get transactionCode
* @return transactionCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public TransactionCode getTransactionCode() {
return transactionCode;
}
public void setTransactionCode(TransactionCode transactionCode) {
this.transactionCode = transactionCode;
}
public TransactionAllOf personalFinanceCategoryIconUrl(String personalFinanceCategoryIconUrl) {
this.personalFinanceCategoryIconUrl = personalFinanceCategoryIconUrl;
return this;
}
/**
* The URL of an icon associated with the primary personal finance category. The icon will always be 100×100 pixel PNG file.
* @return personalFinanceCategoryIconUrl
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The URL of an icon associated with the primary personal finance category. The icon will always be 100×100 pixel PNG file.")
public String getPersonalFinanceCategoryIconUrl() {
return personalFinanceCategoryIconUrl;
}
public void setPersonalFinanceCategoryIconUrl(String personalFinanceCategoryIconUrl) {
this.personalFinanceCategoryIconUrl = personalFinanceCategoryIconUrl;
}
public TransactionAllOf counterparties(List<TransactionCounterparty> counterparties) {
this.counterparties = counterparties;
return this;
}
public TransactionAllOf addCounterpartiesItem(TransactionCounterparty counterpartiesItem) {
if (this.counterparties == null) {
this.counterparties = new ArrayList<>();
}
this.counterparties.add(counterpartiesItem);
return this;
}
/**
* The counterparties present in the transaction. Counterparties, such as the merchant or the financial institution, are extracted by Plaid from the raw description.
* @return counterparties
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The counterparties present in the transaction. Counterparties, such as the merchant or the financial institution, are extracted by Plaid from the raw description.")
public List<TransactionCounterparty> getCounterparties() {
return counterparties;
}
public void setCounterparties(List<TransactionCounterparty> counterparties) {
this.counterparties = counterparties;
}
public TransactionAllOf merchantEntityId(String merchantEntityId) {
this.merchantEntityId = merchantEntityId;
return this;
}
/**
* A unique, stable, Plaid-generated ID that maps to the merchant. In the case of a merchant with multiple retail locations, this field will map to the broader merchant, not a specific location or store.
* @return merchantEntityId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A unique, stable, Plaid-generated ID that maps to the merchant. In the case of a merchant with multiple retail locations, this field will map to the broader merchant, not a specific location or store.")
public String getMerchantEntityId() {
return merchantEntityId;
}
public void setMerchantEntityId(String merchantEntityId) {
this.merchantEntityId = merchantEntityId;
}
public TransactionAllOf clientCustomization(ClientCustomization clientCustomization) {
this.clientCustomization = clientCustomization;
return this;
}
/**
* Get clientCustomization
* @return clientCustomization
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ClientCustomization getClientCustomization() {
return clientCustomization;
}
public void setClientCustomization(ClientCustomization clientCustomization) {
this.clientCustomization = clientCustomization;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransactionAllOf transactionAllOf = (TransactionAllOf) o;
return Objects.equals(this.authorizedDate, transactionAllOf.authorizedDate) &&
Objects.equals(this.authorizedDatetime, transactionAllOf.authorizedDatetime) &&
Objects.equals(this.datetime, transactionAllOf.datetime) &&
Objects.equals(this.paymentChannel, transactionAllOf.paymentChannel) &&
Objects.equals(this.personalFinanceCategory, transactionAllOf.personalFinanceCategory) &&
Objects.equals(this.businessFinanceCategory, transactionAllOf.businessFinanceCategory) &&
Objects.equals(this.transactionCode, transactionAllOf.transactionCode) &&
Objects.equals(this.personalFinanceCategoryIconUrl, transactionAllOf.personalFinanceCategoryIconUrl) &&
Objects.equals(this.counterparties, transactionAllOf.counterparties) &&
Objects.equals(this.merchantEntityId, transactionAllOf.merchantEntityId) &&
Objects.equals(this.clientCustomization, transactionAllOf.clientCustomization);
}
@Override
public int hashCode() {
return Objects.hash(authorizedDate, authorizedDatetime, datetime, paymentChannel, personalFinanceCategory, businessFinanceCategory, transactionCode, personalFinanceCategoryIconUrl, counterparties, merchantEntityId, clientCustomization);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransactionAllOf {\n");
sb.append(" authorizedDate: ").append(toIndentedString(authorizedDate)).append("\n");
sb.append(" authorizedDatetime: ").append(toIndentedString(authorizedDatetime)).append("\n");
sb.append(" datetime: ").append(toIndentedString(datetime)).append("\n");
sb.append(" paymentChannel: ").append(toIndentedString(paymentChannel)).append("\n");
sb.append(" personalFinanceCategory: ").append(toIndentedString(personalFinanceCategory)).append("\n");
sb.append(" businessFinanceCategory: ").append(toIndentedString(businessFinanceCategory)).append("\n");
sb.append(" transactionCode: ").append(toIndentedString(transactionCode)).append("\n");
sb.append(" personalFinanceCategoryIconUrl: ").append(toIndentedString(personalFinanceCategoryIconUrl)).append("\n");
sb.append(" counterparties: ").append(toIndentedString(counterparties)).append("\n");
sb.append(" merchantEntityId: ").append(toIndentedString(merchantEntityId)).append("\n");
sb.append(" clientCustomization: ").append(toIndentedString(clientCustomization)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/LinkSessionSuccessMetadataAccount.java | src/main/java/com/plaid/client/model/LinkSessionSuccessMetadataAccount.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 account attached to the connected Item.
*/
@ApiModel(description = "An account attached to the connected Item.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkSessionSuccessMetadataAccount {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public static final String SERIALIZED_NAME_MASK = "mask";
@SerializedName(SERIALIZED_NAME_MASK)
private String mask;
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private String type;
public static final String SERIALIZED_NAME_SUBTYPE = "subtype";
@SerializedName(SERIALIZED_NAME_SUBTYPE)
private String subtype;
public static final String SERIALIZED_NAME_VERIFICATION_STATUS = "verification_status";
@SerializedName(SERIALIZED_NAME_VERIFICATION_STATUS)
private String verificationStatus;
public static final String SERIALIZED_NAME_CLASS_TYPE = "class_type";
@SerializedName(SERIALIZED_NAME_CLASS_TYPE)
private String classType;
public LinkSessionSuccessMetadataAccount id(String id) {
this.id = id;
return this;
}
/**
* The Plaid `account_id`
* @return id
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The Plaid `account_id` ")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public LinkSessionSuccessMetadataAccount name(String name) {
this.name = name;
return this;
}
/**
* The official account name
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The official account name")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public LinkSessionSuccessMetadataAccount 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. It may also not match the mask that the bank displays to the user.
* @return mask
**/
@javax.annotation.Nullable
@ApiModelProperty(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. 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 LinkSessionSuccessMetadataAccount type(String type) {
this.type = type;
return this;
}
/**
* The account type. See the [Account schema](https://plaid.com/docs/api/accounts#account-type-schema) for a full list of possible values
* @return type
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The account type. See the [Account schema](https://plaid.com/docs/api/accounts#account-type-schema) for a full list of possible values")
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public LinkSessionSuccessMetadataAccount subtype(String subtype) {
this.subtype = subtype;
return this;
}
/**
* The account subtype. See the [Account schema](https://plaid.com/docs/api/accounts#account-type-schema) for a full list of possible values
* @return subtype
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The account subtype. See the [Account schema](https://plaid.com/docs/api/accounts#account-type-schema) for a full list of possible values")
public String getSubtype() {
return subtype;
}
public void setSubtype(String subtype) {
this.subtype = subtype;
}
public LinkSessionSuccessMetadataAccount verificationStatus(String verificationStatus) {
this.verificationStatus = verificationStatus;
return this;
}
/**
* Indicates an Item's micro-deposit-based verification or database verification status. This field is only populated when using Auth and falling back to micro-deposit or database verification. Possible values are: `pending_automatic_verification`: The Item is pending automatic verification. `pending_manual_verification`: The Item is pending manual micro-deposit verification. Items remain in this state until the user successfully verifies the code. `automatically_verified`: The Item has successfully been automatically verified. `manually_verified`: The Item has successfully been manually verified. `verification_expired`: Plaid was unable to automatically verify the deposit within 7 calendar days and will no longer attempt to validate the Item. Users may retry by submitting their information again through Link. `verification_failed`: The Item failed manual micro-deposit verification because the user exhausted all 3 verification attempts. Users may retry by submitting their information again through Link. `unsent`: The Item is pending micro-deposit verification, but Plaid has not yet sent the micro-deposit. `database_insights_pending`: The Database Auth result is pending and will be available upon Auth request. `database_insights_fail`: The Item's numbers have been verified using Plaid's data sources and have signal for being invalid and/or have no signal for being valid. Typically this indicates that the routing number is invalid, the account number does not match the account number format associated with the routing number, or the account has been reported as closed or frozen. Only returned for Auth Items created via Database Auth. `database_insights_pass`: The Item's numbers have been verified using Plaid's data sources: the routing and account number match a routing and account number of an account recognized on the Plaid network, and the account is not known by Plaid to be frozen or closed. Only returned for Auth Items created via Database Auth. `database_insights_pass_with_caution`: The Item's numbers have been verified using Plaid's data sources and have some signal for being valid: the routing and account number were not recognized on the Plaid network, but the routing number is valid and the account number is a potential valid account number for that routing number. Only returned for Auth Items created via Database Auth. `database_matched`: (deprecated) The Item has successfully been verified using Plaid's data sources. Only returned for Auth Items created via Database Match. `null` or empty string: Neither micro-deposit-based verification nor database verification are being used for the Item.
* @return verificationStatus
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Indicates an Item's micro-deposit-based verification or database verification status. This field is only populated when using Auth and falling back to micro-deposit or database verification. Possible values are: `pending_automatic_verification`: The Item is pending automatic verification. `pending_manual_verification`: The Item is pending manual micro-deposit verification. Items remain in this state until the user successfully verifies the code. `automatically_verified`: The Item has successfully been automatically verified. `manually_verified`: The Item has successfully been manually verified. `verification_expired`: Plaid was unable to automatically verify the deposit within 7 calendar days and will no longer attempt to validate the Item. Users may retry by submitting their information again through Link. `verification_failed`: The Item failed manual micro-deposit verification because the user exhausted all 3 verification attempts. Users may retry by submitting their information again through Link. `unsent`: The Item is pending micro-deposit verification, but Plaid has not yet sent the micro-deposit. `database_insights_pending`: The Database Auth result is pending and will be available upon Auth request. `database_insights_fail`: The Item's numbers have been verified using Plaid's data sources and have signal for being invalid and/or have no signal for being valid. Typically this indicates that the routing number is invalid, the account number does not match the account number format associated with the routing number, or the account has been reported as closed or frozen. Only returned for Auth Items created via Database Auth. `database_insights_pass`: The Item's numbers have been verified using Plaid's data sources: the routing and account number match a routing and account number of an account recognized on the Plaid network, and the account is not known by Plaid to be frozen or closed. Only returned for Auth Items created via Database Auth. `database_insights_pass_with_caution`: The Item's numbers have been verified using Plaid's data sources and have some signal for being valid: the routing and account number were not recognized on the Plaid network, but the routing number is valid and the account number is a potential valid account number for that routing number. Only returned for Auth Items created via Database Auth. `database_matched`: (deprecated) The Item has successfully been verified using Plaid's data sources. Only returned for Auth Items created via Database Match. `null` or empty string: Neither micro-deposit-based verification nor database verification are being used for the Item. ")
public String getVerificationStatus() {
return verificationStatus;
}
public void setVerificationStatus(String verificationStatus) {
this.verificationStatus = verificationStatus;
}
public LinkSessionSuccessMetadataAccount classType(String classType) {
this.classType = classType;
return this;
}
/**
* If micro-deposit verification was being used, indicates the user's selection when asked if the account being verified is a `business` or `personal` account. This field is deprecated as Plaid no longer collects this information during the micro-deposit flow. To see whether an account is business or personal, use the `holder_category` field instead.
* @return classType
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "If micro-deposit verification was being used, indicates the user's selection when asked if the account being verified is a `business` or `personal` account. This field is deprecated as Plaid no longer collects this information during the micro-deposit flow. To see whether an account is business or personal, use the `holder_category` field instead.")
public String getClassType() {
return classType;
}
public void setClassType(String classType) {
this.classType = classType;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkSessionSuccessMetadataAccount linkSessionSuccessMetadataAccount = (LinkSessionSuccessMetadataAccount) o;
return Objects.equals(this.id, linkSessionSuccessMetadataAccount.id) &&
Objects.equals(this.name, linkSessionSuccessMetadataAccount.name) &&
Objects.equals(this.mask, linkSessionSuccessMetadataAccount.mask) &&
Objects.equals(this.type, linkSessionSuccessMetadataAccount.type) &&
Objects.equals(this.subtype, linkSessionSuccessMetadataAccount.subtype) &&
Objects.equals(this.verificationStatus, linkSessionSuccessMetadataAccount.verificationStatus) &&
Objects.equals(this.classType, linkSessionSuccessMetadataAccount.classType);
}
@Override
public int hashCode() {
return Objects.hash(id, name, mask, type, subtype, verificationStatus, classType);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkSessionSuccessMetadataAccount {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" mask: ").append(toIndentedString(mask)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" subtype: ").append(toIndentedString(subtype)).append("\n");
sb.append(" verificationStatus: ").append(toIndentedString(verificationStatus)).append("\n");
sb.append(" classType: ").append(toIndentedString(classType)).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/UserCustomPassword.java | src/main/java/com/plaid/client/model/UserCustomPassword.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.MFA;
import com.plaid.client.model.OverrideAccounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Custom test accounts are configured with a JSON configuration object formulated according to the schema below. All top level fields are optional. Sending an empty object as a configuration will result in an account configured with random balances and transaction history.
*/
@ApiModel(description = "Custom test accounts are configured with a JSON configuration object formulated according to the schema below. All top level fields are optional. Sending an empty object as a configuration will result in an account configured with random balances and transaction history.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class UserCustomPassword {
public static final String SERIALIZED_NAME_VERSION = "version";
@SerializedName(SERIALIZED_NAME_VERSION)
private String version;
public static final String SERIALIZED_NAME_SEED = "seed";
@SerializedName(SERIALIZED_NAME_SEED)
private String seed;
public static final String SERIALIZED_NAME_OVERRIDE_ACCOUNTS = "override_accounts";
@SerializedName(SERIALIZED_NAME_OVERRIDE_ACCOUNTS)
private List<OverrideAccounts> overrideAccounts = new ArrayList<>();
public static final String SERIALIZED_NAME_MFA = "mfa";
@SerializedName(SERIALIZED_NAME_MFA)
private MFA mfa;
public static final String SERIALIZED_NAME_RECAPTCHA = "recaptcha";
@SerializedName(SERIALIZED_NAME_RECAPTCHA)
private String recaptcha;
public static final String SERIALIZED_NAME_FORCE_ERROR = "force_error";
@SerializedName(SERIALIZED_NAME_FORCE_ERROR)
private String forceError;
public UserCustomPassword version(String version) {
this.version = version;
return this;
}
/**
* The version of the password schema to use, possible values are 1 or 2. The default value is 2. You should only specify 1 if you know it is necessary for your test suite.
* @return version
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The version of the password schema to use, possible values are 1 or 2. The default value is 2. You should only specify 1 if you know it is necessary for your test suite.")
public String getVersion() {
return version;
}
public void setVersion(String version) {
this.version = version;
}
public UserCustomPassword seed(String seed) {
this.seed = seed;
return this;
}
/**
* A seed, in the form of a string, that will be used to randomly generate account and transaction data, if this data is not specified using the `override_accounts` argument. If no seed is specified, the randomly generated data will be different each time. Note that transactions data is generated relative to the Item's creation date. Different Items created on different dates with the same seed for transactions data will have different dates for the transactions. The number of days between each transaction and the Item creation will remain constant. For example, an Item created on December 15 might show a transaction on December 14. An Item created on December 20, using the same seed, would show that same transaction occurring on December 19.
* @return seed
**/
@ApiModelProperty(required = true, value = "A seed, in the form of a string, that will be used to randomly generate account and transaction data, if this data is not specified using the `override_accounts` argument. If no seed is specified, the randomly generated data will be different each time. Note that transactions data is generated relative to the Item's creation date. Different Items created on different dates with the same seed for transactions data will have different dates for the transactions. The number of days between each transaction and the Item creation will remain constant. For example, an Item created on December 15 might show a transaction on December 14. An Item created on December 20, using the same seed, would show that same transaction occurring on December 19.")
public String getSeed() {
return seed;
}
public void setSeed(String seed) {
this.seed = seed;
}
public UserCustomPassword overrideAccounts(List<OverrideAccounts> overrideAccounts) {
this.overrideAccounts = overrideAccounts;
return this;
}
public UserCustomPassword addOverrideAccountsItem(OverrideAccounts overrideAccountsItem) {
this.overrideAccounts.add(overrideAccountsItem);
return this;
}
/**
* An array of account overrides to configure the accounts for the Item. By default, if no override is specified, transactions and account data will be randomly generated based on the account type and subtype, and other products will have fixed or empty data.
* @return overrideAccounts
**/
@ApiModelProperty(required = true, value = "An array of account overrides to configure the accounts for the Item. By default, if no override is specified, transactions and account data will be randomly generated based on the account type and subtype, and other products will have fixed or empty data.")
public List<OverrideAccounts> getOverrideAccounts() {
return overrideAccounts;
}
public void setOverrideAccounts(List<OverrideAccounts> overrideAccounts) {
this.overrideAccounts = overrideAccounts;
}
public UserCustomPassword mfa(MFA mfa) {
this.mfa = mfa;
return this;
}
/**
* Get mfa
* @return mfa
**/
@ApiModelProperty(required = true, value = "")
public MFA getMfa() {
return mfa;
}
public void setMfa(MFA mfa) {
this.mfa = mfa;
}
public UserCustomPassword recaptcha(String recaptcha) {
this.recaptcha = recaptcha;
return this;
}
/**
* You may trigger a reCAPTCHA in Plaid Link in the Sandbox environment by using the recaptcha field. Possible values are `good` or `bad`. A value of `good` will result in successful Item creation and `bad` will result in a `RECAPTCHA_BAD` error to simulate a failed reCAPTCHA. Both values require the reCAPTCHA to be manually solved within Plaid Link.
* @return recaptcha
**/
@ApiModelProperty(required = true, value = "You may trigger a reCAPTCHA in Plaid Link in the Sandbox environment by using the recaptcha field. Possible values are `good` or `bad`. A value of `good` will result in successful Item creation and `bad` will result in a `RECAPTCHA_BAD` error to simulate a failed reCAPTCHA. Both values require the reCAPTCHA to be manually solved within Plaid Link.")
public String getRecaptcha() {
return recaptcha;
}
public void setRecaptcha(String recaptcha) {
this.recaptcha = recaptcha;
}
public UserCustomPassword forceError(String forceError) {
this.forceError = forceError;
return this;
}
/**
* An error code to force on Item creation. Possible values are: `\"INSTITUTION_NOT_RESPONDING\"` `\"INSTITUTION_NO_LONGER_SUPPORTED\"` `\"INVALID_CREDENTIALS\"` `\"INVALID_MFA\"` `\"ITEM_LOCKED\"` `\"ITEM_LOGIN_REQUIRED\"` `\"ITEM_NOT_SUPPORTED\"` `\"INVALID_LINK_TOKEN\"` `\"MFA_NOT_SUPPORTED\"` `\"NO_ACCOUNTS\"` `\"PLAID_ERROR\"` `\"USER_INPUT_TIMEOUT\"` `\"USER_SETUP_REQUIRED\"`
* @return forceError
**/
@ApiModelProperty(required = true, value = "An error code to force on Item creation. Possible values are: `\"INSTITUTION_NOT_RESPONDING\"` `\"INSTITUTION_NO_LONGER_SUPPORTED\"` `\"INVALID_CREDENTIALS\"` `\"INVALID_MFA\"` `\"ITEM_LOCKED\"` `\"ITEM_LOGIN_REQUIRED\"` `\"ITEM_NOT_SUPPORTED\"` `\"INVALID_LINK_TOKEN\"` `\"MFA_NOT_SUPPORTED\"` `\"NO_ACCOUNTS\"` `\"PLAID_ERROR\"` `\"USER_INPUT_TIMEOUT\"` `\"USER_SETUP_REQUIRED\"`")
public String getForceError() {
return forceError;
}
public void setForceError(String forceError) {
this.forceError = forceError;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
UserCustomPassword userCustomPassword = (UserCustomPassword) o;
return Objects.equals(this.version, userCustomPassword.version) &&
Objects.equals(this.seed, userCustomPassword.seed) &&
Objects.equals(this.overrideAccounts, userCustomPassword.overrideAccounts) &&
Objects.equals(this.mfa, userCustomPassword.mfa) &&
Objects.equals(this.recaptcha, userCustomPassword.recaptcha) &&
Objects.equals(this.forceError, userCustomPassword.forceError);
}
@Override
public int hashCode() {
return Objects.hash(version, seed, overrideAccounts, mfa, recaptcha, forceError);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UserCustomPassword {\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append(" seed: ").append(toIndentedString(seed)).append("\n");
sb.append(" overrideAccounts: ").append(toIndentedString(overrideAccounts)).append("\n");
sb.append(" mfa: ").append(toIndentedString(mfa)).append("\n");
sb.append(" recaptcha: ").append(toIndentedString(recaptcha)).append("\n");
sb.append(" forceError: ").append(toIndentedString(forceError)).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/SandboxTransferTestClockAdvanceRequest.java | src/main/java/com/plaid/client/model/SandboxTransferTestClockAdvanceRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* Defines the request schema for `/sandbox/transfer/test_clock/advance`
*/
@ApiModel(description = "Defines the request schema for `/sandbox/transfer/test_clock/advance`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SandboxTransferTestClockAdvanceRequest {
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_TEST_CLOCK_ID = "test_clock_id";
@SerializedName(SERIALIZED_NAME_TEST_CLOCK_ID)
private String testClockId;
public static final String SERIALIZED_NAME_NEW_VIRTUAL_TIME = "new_virtual_time";
@SerializedName(SERIALIZED_NAME_NEW_VIRTUAL_TIME)
private OffsetDateTime newVirtualTime;
public SandboxTransferTestClockAdvanceRequest 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 SandboxTransferTestClockAdvanceRequest 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 SandboxTransferTestClockAdvanceRequest testClockId(String testClockId) {
this.testClockId = testClockId;
return this;
}
/**
* Plaid’s unique identifier for a test clock. This field is only populated in the Sandbox environment, and only if a `test_clock_id` was included in the `/transfer/recurring/create` request. For more details, see [Simulating recurring transfers](https://plaid.com/docs/transfer/sandbox/#simulating-recurring-transfers).
* @return testClockId
**/
@ApiModelProperty(required = true, value = "Plaid’s unique identifier for a test clock. This field is only populated in the Sandbox environment, and only if a `test_clock_id` was included in the `/transfer/recurring/create` request. For more details, see [Simulating recurring transfers](https://plaid.com/docs/transfer/sandbox/#simulating-recurring-transfers).")
public String getTestClockId() {
return testClockId;
}
public void setTestClockId(String testClockId) {
this.testClockId = testClockId;
}
public SandboxTransferTestClockAdvanceRequest newVirtualTime(OffsetDateTime newVirtualTime) {
this.newVirtualTime = newVirtualTime;
return this;
}
/**
* The virtual timestamp on the test clock. This will be of the form `2006-01-02T15:04:05Z`.
* @return newVirtualTime
**/
@ApiModelProperty(required = true, value = "The virtual timestamp on the test clock. This will be of the form `2006-01-02T15:04:05Z`.")
public OffsetDateTime getNewVirtualTime() {
return newVirtualTime;
}
public void setNewVirtualTime(OffsetDateTime newVirtualTime) {
this.newVirtualTime = newVirtualTime;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SandboxTransferTestClockAdvanceRequest sandboxTransferTestClockAdvanceRequest = (SandboxTransferTestClockAdvanceRequest) o;
return Objects.equals(this.clientId, sandboxTransferTestClockAdvanceRequest.clientId) &&
Objects.equals(this.secret, sandboxTransferTestClockAdvanceRequest.secret) &&
Objects.equals(this.testClockId, sandboxTransferTestClockAdvanceRequest.testClockId) &&
Objects.equals(this.newVirtualTime, sandboxTransferTestClockAdvanceRequest.newVirtualTime);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, testClockId, newVirtualTime);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SandboxTransferTestClockAdvanceRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" testClockId: ").append(toIndentedString(testClockId)).append("\n");
sb.append(" newVirtualTime: ").append(toIndentedString(newVirtualTime)).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/EntityScreeningHitEmails.java | src/main/java/com/plaid/client/model/EntityScreeningHitEmails.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* Email address information for the associated entity watchlist hit
*/
@ApiModel(description = "Email address information for the associated entity watchlist hit")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class EntityScreeningHitEmails {
public static final String SERIALIZED_NAME_EMAIL_ADDRESS = "email_address";
@SerializedName(SERIALIZED_NAME_EMAIL_ADDRESS)
private String emailAddress;
public EntityScreeningHitEmails emailAddress(String emailAddress) {
this.emailAddress = emailAddress;
return this;
}
/**
* A valid email address. Must not have leading or trailing spaces and address must be RFC compliant. For more information, see [RFC 3696](https://datatracker.ietf.org/doc/html/rfc3696).
* @return emailAddress
**/
@ApiModelProperty(example = "user@example.com", required = true, value = "A valid email address. Must not have leading or trailing spaces and address must be RFC compliant. For more information, see [RFC 3696](https://datatracker.ietf.org/doc/html/rfc3696).")
public String getEmailAddress() {
return emailAddress;
}
public void setEmailAddress(String emailAddress) {
this.emailAddress = emailAddress;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
EntityScreeningHitEmails entityScreeningHitEmails = (EntityScreeningHitEmails) o;
return Objects.equals(this.emailAddress, entityScreeningHitEmails.emailAddress);
}
@Override
public int hashCode() {
return Objects.hash(emailAddress);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class EntityScreeningHitEmails {\n");
sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).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/PlaidErrorType.java | src/main/java/com/plaid/client/model/PlaidErrorType.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* A broad categorization of the error. Safe for programmatic use.
*/
@JsonAdapter(PlaidErrorType.Adapter.class)
public enum PlaidErrorType {
INVALID_REQUEST("INVALID_REQUEST"),
INVALID_RESULT("INVALID_RESULT"),
INVALID_INPUT("INVALID_INPUT"),
INSTITUTION_ERROR("INSTITUTION_ERROR"),
RATE_LIMIT_EXCEEDED("RATE_LIMIT_EXCEEDED"),
API_ERROR("API_ERROR"),
ITEM_ERROR("ITEM_ERROR"),
ASSET_REPORT_ERROR("ASSET_REPORT_ERROR"),
RECAPTCHA_ERROR("RECAPTCHA_ERROR"),
OAUTH_ERROR("OAUTH_ERROR"),
PAYMENT_ERROR("PAYMENT_ERROR"),
BANK_TRANSFER_ERROR("BANK_TRANSFER_ERROR"),
INCOME_VERIFICATION_ERROR("INCOME_VERIFICATION_ERROR"),
MICRODEPOSITS_ERROR("MICRODEPOSITS_ERROR"),
SANDBOX_ERROR("SANDBOX_ERROR"),
PARTNER_ERROR("PARTNER_ERROR"),
SIGNAL_ERROR("SIGNAL_ERROR"),
TRANSACTIONS_ERROR("TRANSACTIONS_ERROR"),
TRANSACTION_ERROR("TRANSACTION_ERROR"),
TRANSFER_ERROR("TRANSFER_ERROR"),
CHECK_REPORT_ERROR("CHECK_REPORT_ERROR"),
CONSUMER_REPORT_ERROR("CONSUMER_REPORT_ERROR"),
USER_ERROR("USER_ERROR"),
// 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;
PlaidErrorType(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static PlaidErrorType fromValue(String value) {
for (PlaidErrorType b : PlaidErrorType.values()) {
if (b.value.equals(value)) {
return b;
}
}
return PlaidErrorType.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<PlaidErrorType> {
@Override
public void write(final JsonWriter jsonWriter, final PlaidErrorType enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public PlaidErrorType read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return PlaidErrorType.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/YieldRate.java | src/main/java/com/plaid/client/model/YieldRate.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.YieldRateType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Details about a fixed income security's expected rate of return.
*/
@ApiModel(description = "Details about a fixed income security's expected rate of return.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class YieldRate {
public static final String SERIALIZED_NAME_PERCENTAGE = "percentage";
@SerializedName(SERIALIZED_NAME_PERCENTAGE)
private Double percentage;
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private YieldRateType type;
public YieldRate percentage(Double percentage) {
this.percentage = percentage;
return this;
}
/**
* The fixed income security's expected rate of return.
* @return percentage
**/
@ApiModelProperty(required = true, value = "The fixed income security's expected rate of return.")
public Double getPercentage() {
return percentage;
}
public void setPercentage(Double percentage) {
this.percentage = percentage;
}
public YieldRate type(YieldRateType type) {
this.type = type;
return this;
}
/**
* Get type
* @return type
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public YieldRateType getType() {
return type;
}
public void setType(YieldRateType type) {
this.type = type;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
YieldRate yieldRate = (YieldRate) o;
return Objects.equals(this.percentage, yieldRate.percentage) &&
Objects.equals(this.type, yieldRate.type);
}
@Override
public int hashCode() {
return Objects.hash(percentage, type);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class YieldRate {\n");
sb.append(" percentage: ").append(toIndentedString(percentage)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CategoryInsights.java | src/main/java/com/plaid/client/model/CategoryInsights.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.CategoryInsightDetails;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Insights on a user's top personal finance categories.
*/
@ApiModel(description = "Insights on a user's top personal finance categories.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CategoryInsights {
public static final String SERIALIZED_NAME_PRIMARY_CATEGORY_INSIGHTS = "primary_category_insights";
@SerializedName(SERIALIZED_NAME_PRIMARY_CATEGORY_INSIGHTS)
private List<CategoryInsightDetails> primaryCategoryInsights = null;
public static final String SERIALIZED_NAME_DETAILED_CATEGORY_INSIGHTS = "detailed_category_insights";
@SerializedName(SERIALIZED_NAME_DETAILED_CATEGORY_INSIGHTS)
private List<CategoryInsightDetails> detailedCategoryInsights = null;
public CategoryInsights primaryCategoryInsights(List<CategoryInsightDetails> primaryCategoryInsights) {
this.primaryCategoryInsights = primaryCategoryInsights;
return this;
}
public CategoryInsights addPrimaryCategoryInsightsItem(CategoryInsightDetails primaryCategoryInsightsItem) {
if (this.primaryCategoryInsights == null) {
this.primaryCategoryInsights = new ArrayList<>();
}
this.primaryCategoryInsights.add(primaryCategoryInsightsItem);
return this;
}
/**
* List of insights of top primary personal finance categories ranked by outflow.
* @return primaryCategoryInsights
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "List of insights of top primary personal finance categories ranked by outflow.")
public List<CategoryInsightDetails> getPrimaryCategoryInsights() {
return primaryCategoryInsights;
}
public void setPrimaryCategoryInsights(List<CategoryInsightDetails> primaryCategoryInsights) {
this.primaryCategoryInsights = primaryCategoryInsights;
}
public CategoryInsights detailedCategoryInsights(List<CategoryInsightDetails> detailedCategoryInsights) {
this.detailedCategoryInsights = detailedCategoryInsights;
return this;
}
public CategoryInsights addDetailedCategoryInsightsItem(CategoryInsightDetails detailedCategoryInsightsItem) {
if (this.detailedCategoryInsights == null) {
this.detailedCategoryInsights = new ArrayList<>();
}
this.detailedCategoryInsights.add(detailedCategoryInsightsItem);
return this;
}
/**
* List of insights of top detailed personal finance categories ranked by outflow.
* @return detailedCategoryInsights
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "List of insights of top detailed personal finance categories ranked by outflow.")
public List<CategoryInsightDetails> getDetailedCategoryInsights() {
return detailedCategoryInsights;
}
public void setDetailedCategoryInsights(List<CategoryInsightDetails> detailedCategoryInsights) {
this.detailedCategoryInsights = detailedCategoryInsights;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CategoryInsights categoryInsights = (CategoryInsights) o;
return Objects.equals(this.primaryCategoryInsights, categoryInsights.primaryCategoryInsights) &&
Objects.equals(this.detailedCategoryInsights, categoryInsights.detailedCategoryInsights);
}
@Override
public int hashCode() {
return Objects.hash(primaryCategoryInsights, detailedCategoryInsights);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CategoryInsights {\n");
sb.append(" primaryCategoryInsights: ").append(toIndentedString(primaryCategoryInsights)).append("\n");
sb.append(" detailedCategoryInsights: ").append(toIndentedString(detailedCategoryInsights)).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/ImageQualityOutcome.java | src/main/java/com/plaid/client/model/ImageQualityOutcome.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* The outcome of the image quality check.
*/
@JsonAdapter(ImageQualityOutcome.Adapter.class)
public enum ImageQualityOutcome {
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;
ImageQualityOutcome(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static ImageQualityOutcome fromValue(String value) {
for (ImageQualityOutcome b : ImageQualityOutcome.values()) {
if (b.value.equals(value)) {
return b;
}
}
return ImageQualityOutcome.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<ImageQualityOutcome> {
@Override
public void write(final JsonWriter jsonWriter, final ImageQualityOutcome enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public ImageQualityOutcome read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return ImageQualityOutcome.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/PaystubOverrideEmployerAddress.java | src/main/java/com/plaid/client/model/PaystubOverrideEmployerAddress.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 address of the employer.
*/
@ApiModel(description = "The address of the employer.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PaystubOverrideEmployerAddress {
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 PaystubOverrideEmployerAddress 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 PaystubOverrideEmployerAddress 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 PaystubOverrideEmployerAddress 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 PaystubOverrideEmployerAddress postalCode(String postalCode) {
this.postalCode = postalCode;
return this;
}
/**
* 5 digit postal code.
* @return postalCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "5 digit postal code.")
public String getPostalCode() {
return postalCode;
}
public void setPostalCode(String postalCode) {
this.postalCode = postalCode;
}
public PaystubOverrideEmployerAddress country(String country) {
this.country = country;
return this;
}
/**
* The country of the address.
* @return country
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The country of the address.")
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;
}
PaystubOverrideEmployerAddress paystubOverrideEmployerAddress = (PaystubOverrideEmployerAddress) o;
return Objects.equals(this.city, paystubOverrideEmployerAddress.city) &&
Objects.equals(this.region, paystubOverrideEmployerAddress.region) &&
Objects.equals(this.street, paystubOverrideEmployerAddress.street) &&
Objects.equals(this.postalCode, paystubOverrideEmployerAddress.postalCode) &&
Objects.equals(this.country, paystubOverrideEmployerAddress.country);
}
@Override
public int hashCode() {
return Objects.hash(city, region, street, postalCode, country);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaystubOverrideEmployerAddress {\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/CreditFreddieMacReportingInformation.java | src/main/java/com/plaid/client/model/CreditFreddieMacReportingInformation.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Information about an report identifier and a report name.
*/
@ApiModel(description = "Information about an report identifier and a report name.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditFreddieMacReportingInformation {
public static final String SERIALIZED_NAME_REPORT_DATE_TIME = "ReportDateTime";
@SerializedName(SERIALIZED_NAME_REPORT_DATE_TIME)
private String reportDateTime;
public static final String SERIALIZED_NAME_REPORT_IDENTIFIER_TYPE = "ReportIdentifierType";
@SerializedName(SERIALIZED_NAME_REPORT_IDENTIFIER_TYPE)
private String reportIdentifierType;
public static final String SERIALIZED_NAME_REPORTING_INFORMATION_PARENT_IDENTIFIER = "ReportingInformationParentIdentifier";
@SerializedName(SERIALIZED_NAME_REPORTING_INFORMATION_PARENT_IDENTIFIER)
private String reportingInformationParentIdentifier;
public static final String SERIALIZED_NAME_REPORTING_INFORMATION_IDENTIFIER = "ReportingInformationIdentifier";
@SerializedName(SERIALIZED_NAME_REPORTING_INFORMATION_IDENTIFIER)
private String reportingInformationIdentifier;
public CreditFreddieMacReportingInformation reportDateTime(String reportDateTime) {
this.reportDateTime = reportDateTime;
return this;
}
/**
* Documentation not found in the MISMO model viewer and not provided by Freddie Mac.
* @return reportDateTime
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Documentation not found in the MISMO model viewer and not provided by Freddie Mac.")
public String getReportDateTime() {
return reportDateTime;
}
public void setReportDateTime(String reportDateTime) {
this.reportDateTime = reportDateTime;
}
public CreditFreddieMacReportingInformation reportIdentifierType(String reportIdentifierType) {
this.reportIdentifierType = reportIdentifierType;
return this;
}
/**
* Documentation not found in the MISMO model viewer and not provided by Freddie Mac. The value can only be \"ReportID\"
* @return reportIdentifierType
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Documentation not found in the MISMO model viewer and not provided by Freddie Mac. The value can only be \"ReportID\"")
public String getReportIdentifierType() {
return reportIdentifierType;
}
public void setReportIdentifierType(String reportIdentifierType) {
this.reportIdentifierType = reportIdentifierType;
}
public CreditFreddieMacReportingInformation reportingInformationParentIdentifier(String reportingInformationParentIdentifier) {
this.reportingInformationParentIdentifier = reportingInformationParentIdentifier;
return this;
}
/**
* Documentation not found in the MISMO model viewer and not provided by Freddie Mac.
* @return reportingInformationParentIdentifier
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Documentation not found in the MISMO model viewer and not provided by Freddie Mac.")
public String getReportingInformationParentIdentifier() {
return reportingInformationParentIdentifier;
}
public void setReportingInformationParentIdentifier(String reportingInformationParentIdentifier) {
this.reportingInformationParentIdentifier = reportingInformationParentIdentifier;
}
public CreditFreddieMacReportingInformation reportingInformationIdentifier(String reportingInformationIdentifier) {
this.reportingInformationIdentifier = reportingInformationIdentifier;
return this;
}
/**
* Documentation not found in the MISMO model viewer and not provided by Freddie Mac.
* @return reportingInformationIdentifier
**/
@ApiModelProperty(required = true, value = "Documentation not found in the MISMO model viewer and not provided by Freddie Mac.")
public String getReportingInformationIdentifier() {
return reportingInformationIdentifier;
}
public void setReportingInformationIdentifier(String reportingInformationIdentifier) {
this.reportingInformationIdentifier = reportingInformationIdentifier;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreditFreddieMacReportingInformation creditFreddieMacReportingInformation = (CreditFreddieMacReportingInformation) o;
return Objects.equals(this.reportDateTime, creditFreddieMacReportingInformation.reportDateTime) &&
Objects.equals(this.reportIdentifierType, creditFreddieMacReportingInformation.reportIdentifierType) &&
Objects.equals(this.reportingInformationParentIdentifier, creditFreddieMacReportingInformation.reportingInformationParentIdentifier) &&
Objects.equals(this.reportingInformationIdentifier, creditFreddieMacReportingInformation.reportingInformationIdentifier);
}
@Override
public int hashCode() {
return Objects.hash(reportDateTime, reportIdentifierType, reportingInformationParentIdentifier, reportingInformationIdentifier);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditFreddieMacReportingInformation {\n");
sb.append(" reportDateTime: ").append(toIndentedString(reportDateTime)).append("\n");
sb.append(" reportIdentifierType: ").append(toIndentedString(reportIdentifierType)).append("\n");
sb.append(" reportingInformationParentIdentifier: ").append(toIndentedString(reportingInformationParentIdentifier)).append("\n");
sb.append(" reportingInformationIdentifier: ").append(toIndentedString(reportingInformationIdentifier)).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/PrismProduct.java | src/main/java/com/plaid/client/model/PrismProduct.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 Prism products that can be returned by the Plaid API
*/
@JsonAdapter(PrismProduct.Adapter.class)
public enum PrismProduct {
INSIGHTS("insights"),
SCORES("scores"),
// 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;
PrismProduct(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static PrismProduct fromValue(String value) {
for (PrismProduct b : PrismProduct.values()) {
if (b.value.equals(value)) {
return b;
}
}
return PrismProduct.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<PrismProduct> {
@Override
public void write(final JsonWriter jsonWriter, final PrismProduct enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public PrismProduct read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return PrismProduct.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/UserAccountSessionGetResponse.java | src/main/java/com/plaid/client/model/UserAccountSessionGetResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.UserAccountIdentity;
import com.plaid.client.model.UserAccountItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* UserAccountSessionGetResponse defines the response schema for `/user_account/session/get`
*/
@ApiModel(description = "UserAccountSessionGetResponse defines the response schema for `/user_account/session/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class UserAccountSessionGetResponse {
public static final String SERIALIZED_NAME_IDENTITY = "identity";
@SerializedName(SERIALIZED_NAME_IDENTITY)
private UserAccountIdentity identity;
public static final String SERIALIZED_NAME_ITEMS = "items";
@SerializedName(SERIALIZED_NAME_ITEMS)
private List<UserAccountItem> items = new ArrayList<>();
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public UserAccountSessionGetResponse identity(UserAccountIdentity identity) {
this.identity = identity;
return this;
}
/**
* Get identity
* @return identity
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public UserAccountIdentity getIdentity() {
return identity;
}
public void setIdentity(UserAccountIdentity identity) {
this.identity = identity;
}
public UserAccountSessionGetResponse items(List<UserAccountItem> items) {
this.items = items;
return this;
}
public UserAccountSessionGetResponse addItemsItem(UserAccountItem itemsItem) {
this.items.add(itemsItem);
return this;
}
/**
* Get items
* @return items
**/
@ApiModelProperty(required = true, value = "")
public List<UserAccountItem> getItems() {
return items;
}
public void setItems(List<UserAccountItem> items) {
this.items = items;
}
public UserAccountSessionGetResponse 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;
}
UserAccountSessionGetResponse userAccountSessionGetResponse = (UserAccountSessionGetResponse) o;
return Objects.equals(this.identity, userAccountSessionGetResponse.identity) &&
Objects.equals(this.items, userAccountSessionGetResponse.items) &&
Objects.equals(this.requestId, userAccountSessionGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(identity, items, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UserAccountSessionGetResponse {\n");
sb.append(" identity: ").append(toIndentedString(identity)).append("\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/MonitoringLoanInsights.java | src/main/java/com/plaid/client/model/MonitoringLoanInsights.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.LoanPaymentsCounts;
import com.plaid.client.model.LoanPaymentsMerchantCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.math.BigDecimal;
/**
* An object representing the loan exposure subcategory of the report
*/
@ApiModel(description = "An object representing the loan exposure subcategory of the report")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class MonitoringLoanInsights {
public static final String SERIALIZED_NAME_LOAN_PAYMENTS_COUNTS = "loan_payments_counts";
@SerializedName(SERIALIZED_NAME_LOAN_PAYMENTS_COUNTS)
private LoanPaymentsCounts loanPaymentsCounts;
public static final String SERIALIZED_NAME_LOAN_DISBURSEMENTS_COUNT = "loan_disbursements_count";
@SerializedName(SERIALIZED_NAME_LOAN_DISBURSEMENTS_COUNT)
private Double loanDisbursementsCount;
public static final String SERIALIZED_NAME_LOAN_PAYMENT_MERCHANTS_COUNTS = "loan_payment_merchants_counts";
@SerializedName(SERIALIZED_NAME_LOAN_PAYMENT_MERCHANTS_COUNTS)
private LoanPaymentsMerchantCounts loanPaymentMerchantsCounts;
public MonitoringLoanInsights loanPaymentsCounts(LoanPaymentsCounts loanPaymentsCounts) {
this.loanPaymentsCounts = loanPaymentsCounts;
return this;
}
/**
* Get loanPaymentsCounts
* @return loanPaymentsCounts
**/
@ApiModelProperty(required = true, value = "")
public LoanPaymentsCounts getLoanPaymentsCounts() {
return loanPaymentsCounts;
}
public void setLoanPaymentsCounts(LoanPaymentsCounts loanPaymentsCounts) {
this.loanPaymentsCounts = loanPaymentsCounts;
}
public MonitoringLoanInsights loanDisbursementsCount(Double loanDisbursementsCount) {
this.loanDisbursementsCount = loanDisbursementsCount;
return this;
}
/**
* The number of loan disbursements detected in the last 30 days
* @return loanDisbursementsCount
**/
@ApiModelProperty(required = true, value = "The number of loan disbursements detected in the last 30 days")
public Double getLoanDisbursementsCount() {
return loanDisbursementsCount;
}
public void setLoanDisbursementsCount(Double loanDisbursementsCount) {
this.loanDisbursementsCount = loanDisbursementsCount;
}
public MonitoringLoanInsights loanPaymentMerchantsCounts(LoanPaymentsMerchantCounts loanPaymentMerchantsCounts) {
this.loanPaymentMerchantsCounts = loanPaymentMerchantsCounts;
return this;
}
/**
* Get loanPaymentMerchantsCounts
* @return loanPaymentMerchantsCounts
**/
@ApiModelProperty(required = true, value = "")
public LoanPaymentsMerchantCounts getLoanPaymentMerchantsCounts() {
return loanPaymentMerchantsCounts;
}
public void setLoanPaymentMerchantsCounts(LoanPaymentsMerchantCounts loanPaymentMerchantsCounts) {
this.loanPaymentMerchantsCounts = loanPaymentMerchantsCounts;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
MonitoringLoanInsights monitoringLoanInsights = (MonitoringLoanInsights) o;
return Objects.equals(this.loanPaymentsCounts, monitoringLoanInsights.loanPaymentsCounts) &&
Objects.equals(this.loanDisbursementsCount, monitoringLoanInsights.loanDisbursementsCount) &&
Objects.equals(this.loanPaymentMerchantsCounts, monitoringLoanInsights.loanPaymentMerchantsCounts);
}
@Override
public int hashCode() {
return Objects.hash(loanPaymentsCounts, loanDisbursementsCount, loanPaymentMerchantsCounts);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MonitoringLoanInsights {\n");
sb.append(" loanPaymentsCounts: ").append(toIndentedString(loanPaymentsCounts)).append("\n");
sb.append(" loanDisbursementsCount: ").append(toIndentedString(loanDisbursementsCount)).append("\n");
sb.append(" loanPaymentMerchantsCounts: ").append(toIndentedString(loanPaymentMerchantsCounts)).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/ValidationSources.java | src/main/java/com/plaid/client/model/ValidationSources.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.ValidationSource;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Documentation not found in the MISMO model viewer and not provided by Freddie Mac.
*/
@ApiModel(description = "Documentation not found in the MISMO model viewer and not provided by Freddie Mac.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ValidationSources {
public static final String SERIALIZED_NAME_V_A_L_I_D_A_T_I_O_N_S_O_U_R_C_E = "VALIDATION_SOURCE";
@SerializedName(SERIALIZED_NAME_V_A_L_I_D_A_T_I_O_N_S_O_U_R_C_E)
private List<ValidationSource> VALIDATION_SOURCE = new ArrayList<>();
public ValidationSources VALIDATION_SOURCE(List<ValidationSource> VALIDATION_SOURCE) {
this.VALIDATION_SOURCE = VALIDATION_SOURCE;
return this;
}
public ValidationSources addVALIDATIONSOURCEItem(ValidationSource VALIDATION_SOURCEItem) {
this.VALIDATION_SOURCE.add(VALIDATION_SOURCEItem);
return this;
}
/**
* Documentation not found in the MISMO model viewer and not provided by Freddie Mac.
* @return VALIDATION_SOURCE
**/
@ApiModelProperty(required = true, value = "Documentation not found in the MISMO model viewer and not provided by Freddie Mac.")
public List<ValidationSource> getVALIDATIONSOURCE() {
return VALIDATION_SOURCE;
}
public void setVALIDATIONSOURCE(List<ValidationSource> VALIDATION_SOURCE) {
this.VALIDATION_SOURCE = VALIDATION_SOURCE;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ValidationSources validationSources = (ValidationSources) o;
return Objects.equals(this.VALIDATION_SOURCE, validationSources.VALIDATION_SOURCE);
}
@Override
public int hashCode() {
return Objects.hash(VALIDATION_SOURCE);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ValidationSources {\n");
sb.append(" VALIDATION_SOURCE: ").append(toIndentedString(VALIDATION_SOURCE)).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/CashflowReportPaymentMeta.java | src/main/java/com/plaid/client/model/CashflowReportPaymentMeta.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* Transaction information specific to inter-bank transfers. If the transaction was not an inter-bank transfer, all fields will be `null`.
*/
@ApiModel(description = "Transaction information specific to inter-bank transfers. If the transaction was not an inter-bank transfer, all fields will be `null`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CashflowReportPaymentMeta {
public static final String SERIALIZED_NAME_REFERENCE_NUMBER = "reference_number";
@SerializedName(SERIALIZED_NAME_REFERENCE_NUMBER)
private String referenceNumber;
public static final String SERIALIZED_NAME_PPD_ID = "ppd_id";
@SerializedName(SERIALIZED_NAME_PPD_ID)
private String ppdId;
public static final String SERIALIZED_NAME_PAYEE = "payee";
@SerializedName(SERIALIZED_NAME_PAYEE)
private String payee;
public static final String SERIALIZED_NAME_BY_ORDER_OF = "by_order_of";
@SerializedName(SERIALIZED_NAME_BY_ORDER_OF)
private String byOrderOf;
public static final String SERIALIZED_NAME_PAYER = "payer";
@SerializedName(SERIALIZED_NAME_PAYER)
private String payer;
public static final String SERIALIZED_NAME_PAYMENT_METHOD = "payment_method";
@SerializedName(SERIALIZED_NAME_PAYMENT_METHOD)
private String paymentMethod;
public static final String SERIALIZED_NAME_PAYMENT_PROCESSOR = "payment_processor";
@SerializedName(SERIALIZED_NAME_PAYMENT_PROCESSOR)
private String paymentProcessor;
public static final String SERIALIZED_NAME_REASON = "reason";
@SerializedName(SERIALIZED_NAME_REASON)
private String reason;
public CashflowReportPaymentMeta referenceNumber(String referenceNumber) {
this.referenceNumber = referenceNumber;
return this;
}
/**
* The transaction reference number supplied by the financial institution.
* @return referenceNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The transaction reference number supplied by the financial institution.")
public String getReferenceNumber() {
return referenceNumber;
}
public void setReferenceNumber(String referenceNumber) {
this.referenceNumber = referenceNumber;
}
public CashflowReportPaymentMeta ppdId(String ppdId) {
this.ppdId = ppdId;
return this;
}
/**
* The ACH PPD ID for the payer.
* @return ppdId
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The ACH PPD ID for the payer.")
public String getPpdId() {
return ppdId;
}
public void setPpdId(String ppdId) {
this.ppdId = ppdId;
}
public CashflowReportPaymentMeta payee(String payee) {
this.payee = payee;
return this;
}
/**
* For transfers, the party that is receiving the transaction.
* @return payee
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "For transfers, the party that is receiving the transaction.")
public String getPayee() {
return payee;
}
public void setPayee(String payee) {
this.payee = payee;
}
public CashflowReportPaymentMeta byOrderOf(String byOrderOf) {
this.byOrderOf = byOrderOf;
return this;
}
/**
* The party initiating a wire transfer. Will be `null` if the transaction is not a wire transfer.
* @return byOrderOf
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The party initiating a wire transfer. Will be `null` if the transaction is not a wire transfer.")
public String getByOrderOf() {
return byOrderOf;
}
public void setByOrderOf(String byOrderOf) {
this.byOrderOf = byOrderOf;
}
public CashflowReportPaymentMeta payer(String payer) {
this.payer = payer;
return this;
}
/**
* For transfers, the party that is paying the transaction.
* @return payer
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "For transfers, the party that is paying the transaction.")
public String getPayer() {
return payer;
}
public void setPayer(String payer) {
this.payer = payer;
}
public CashflowReportPaymentMeta paymentMethod(String paymentMethod) {
this.paymentMethod = paymentMethod;
return this;
}
/**
* The type of transfer, e.g. 'ACH'
* @return paymentMethod
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The type of transfer, e.g. 'ACH'")
public String getPaymentMethod() {
return paymentMethod;
}
public void setPaymentMethod(String paymentMethod) {
this.paymentMethod = paymentMethod;
}
public CashflowReportPaymentMeta paymentProcessor(String paymentProcessor) {
this.paymentProcessor = paymentProcessor;
return this;
}
/**
* The name of the payment processor
* @return paymentProcessor
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The name of the payment processor")
public String getPaymentProcessor() {
return paymentProcessor;
}
public void setPaymentProcessor(String paymentProcessor) {
this.paymentProcessor = paymentProcessor;
}
public CashflowReportPaymentMeta reason(String reason) {
this.reason = reason;
return this;
}
/**
* The payer-supplied description of the transfer.
* @return reason
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The payer-supplied description of the transfer.")
public String getReason() {
return reason;
}
public void setReason(String reason) {
this.reason = reason;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CashflowReportPaymentMeta cashflowReportPaymentMeta = (CashflowReportPaymentMeta) o;
return Objects.equals(this.referenceNumber, cashflowReportPaymentMeta.referenceNumber) &&
Objects.equals(this.ppdId, cashflowReportPaymentMeta.ppdId) &&
Objects.equals(this.payee, cashflowReportPaymentMeta.payee) &&
Objects.equals(this.byOrderOf, cashflowReportPaymentMeta.byOrderOf) &&
Objects.equals(this.payer, cashflowReportPaymentMeta.payer) &&
Objects.equals(this.paymentMethod, cashflowReportPaymentMeta.paymentMethod) &&
Objects.equals(this.paymentProcessor, cashflowReportPaymentMeta.paymentProcessor) &&
Objects.equals(this.reason, cashflowReportPaymentMeta.reason);
}
@Override
public int hashCode() {
return Objects.hash(referenceNumber, ppdId, payee, byOrderOf, payer, paymentMethod, paymentProcessor, reason);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CashflowReportPaymentMeta {\n");
sb.append(" referenceNumber: ").append(toIndentedString(referenceNumber)).append("\n");
sb.append(" ppdId: ").append(toIndentedString(ppdId)).append("\n");
sb.append(" payee: ").append(toIndentedString(payee)).append("\n");
sb.append(" byOrderOf: ").append(toIndentedString(byOrderOf)).append("\n");
sb.append(" payer: ").append(toIndentedString(payer)).append("\n");
sb.append(" paymentMethod: ").append(toIndentedString(paymentMethod)).append("\n");
sb.append(" paymentProcessor: ").append(toIndentedString(paymentProcessor)).append("\n");
sb.append(" reason: ").append(toIndentedString(reason)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/PayStubDistributionBreakdown.java | src/main/java/com/plaid/client/model/PayStubDistributionBreakdown.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Information about the accounts that the payment was distributed to.
*/
@ApiModel(description = "Information about the accounts that the payment was distributed to.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PayStubDistributionBreakdown {
public static final String SERIALIZED_NAME_ACCOUNT_NAME = "account_name";
@SerializedName(SERIALIZED_NAME_ACCOUNT_NAME)
private String accountName;
public static final String SERIALIZED_NAME_BANK_NAME = "bank_name";
@SerializedName(SERIALIZED_NAME_BANK_NAME)
private String bankName;
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_MASK = "mask";
@SerializedName(SERIALIZED_NAME_MASK)
private String mask;
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private String type;
public static final String SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE = "unofficial_currency_code";
@SerializedName(SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE)
private String unofficialCurrencyCode;
public PayStubDistributionBreakdown accountName(String accountName) {
this.accountName = accountName;
return this;
}
/**
* Name of the account for the given distribution.
* @return accountName
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "Name of the account for the given distribution.")
public String getAccountName() {
return accountName;
}
public void setAccountName(String accountName) {
this.accountName = accountName;
}
public PayStubDistributionBreakdown bankName(String bankName) {
this.bankName = bankName;
return this;
}
/**
* The name of the bank that the payment is being deposited to.
* @return bankName
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The name of the bank that the payment is being deposited to.")
public String getBankName() {
return bankName;
}
public void setBankName(String bankName) {
this.bankName = bankName;
}
public PayStubDistributionBreakdown currentAmount(Double currentAmount) {
this.currentAmount = currentAmount;
return this;
}
/**
* The amount distributed to this account.
* @return currentAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The amount distributed to this account.")
public Double getCurrentAmount() {
return currentAmount;
}
public void setCurrentAmount(Double currentAmount) {
this.currentAmount = currentAmount;
}
public PayStubDistributionBreakdown 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 PayStubDistributionBreakdown mask(String mask) {
this.mask = mask;
return this;
}
/**
* The last 2-4 alphanumeric characters of an account's official account number.
* @return mask
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The last 2-4 alphanumeric characters of an account's official account number.")
public String getMask() {
return mask;
}
public void setMask(String mask) {
this.mask = mask;
}
public PayStubDistributionBreakdown type(String type) {
this.type = type;
return this;
}
/**
* Type of the account that the paystub was sent to (e.g. 'checking').
* @return type
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "Type of the account that the paystub was sent to (e.g. 'checking').")
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public PayStubDistributionBreakdown 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;
}
PayStubDistributionBreakdown payStubDistributionBreakdown = (PayStubDistributionBreakdown) o;
return Objects.equals(this.accountName, payStubDistributionBreakdown.accountName) &&
Objects.equals(this.bankName, payStubDistributionBreakdown.bankName) &&
Objects.equals(this.currentAmount, payStubDistributionBreakdown.currentAmount) &&
Objects.equals(this.isoCurrencyCode, payStubDistributionBreakdown.isoCurrencyCode) &&
Objects.equals(this.mask, payStubDistributionBreakdown.mask) &&
Objects.equals(this.type, payStubDistributionBreakdown.type) &&
Objects.equals(this.unofficialCurrencyCode, payStubDistributionBreakdown.unofficialCurrencyCode);
}
@Override
public int hashCode() {
return Objects.hash(accountName, bankName, currentAmount, isoCurrencyCode, mask, type, unofficialCurrencyCode);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PayStubDistributionBreakdown {\n");
sb.append(" accountName: ").append(toIndentedString(accountName)).append("\n");
sb.append(" bankName: ").append(toIndentedString(bankName)).append("\n");
sb.append(" currentAmount: ").append(toIndentedString(currentAmount)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" mask: ").append(toIndentedString(mask)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).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/TransferRefundCancelRequest.java | src/main/java/com/plaid/client/model/TransferRefundCancelRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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/refund/cancel`
*/
@ApiModel(description = "Defines the request schema for `/transfer/refund/cancel`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferRefundCancelRequest {
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_REFUND_ID = "refund_id";
@SerializedName(SERIALIZED_NAME_REFUND_ID)
private String refundId;
public TransferRefundCancelRequest 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 TransferRefundCancelRequest 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 TransferRefundCancelRequest refundId(String refundId) {
this.refundId = refundId;
return this;
}
/**
* Plaid’s unique identifier for a refund.
* @return refundId
**/
@ApiModelProperty(required = true, value = "Plaid’s unique identifier for a refund.")
public String getRefundId() {
return refundId;
}
public void setRefundId(String refundId) {
this.refundId = refundId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferRefundCancelRequest transferRefundCancelRequest = (TransferRefundCancelRequest) o;
return Objects.equals(this.clientId, transferRefundCancelRequest.clientId) &&
Objects.equals(this.secret, transferRefundCancelRequest.secret) &&
Objects.equals(this.refundId, transferRefundCancelRequest.refundId);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, refundId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferRefundCancelRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" refundId: ").append(toIndentedString(refundId)).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/RiskCheckBehaviorFraudRingDetectedLabel.java | src/main/java/com/plaid/client/model/RiskCheckBehaviorFraudRingDetectedLabel.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* Field describing the outcome of a fraud ring behavior risk check. `yes` indicates that fraud ring activity was detected. `no` indicates that fraud ring activity was not detected. `no_data` indicates there was not enough information available to give an accurate signal.
*/
@JsonAdapter(RiskCheckBehaviorFraudRingDetectedLabel.Adapter.class)
public enum RiskCheckBehaviorFraudRingDetectedLabel {
YES("yes"),
NO("no"),
NO_DATA("no_data"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
RiskCheckBehaviorFraudRingDetectedLabel(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static RiskCheckBehaviorFraudRingDetectedLabel fromValue(String value) {
for (RiskCheckBehaviorFraudRingDetectedLabel b : RiskCheckBehaviorFraudRingDetectedLabel.values()) {
if (b.value.equals(value)) {
return b;
}
}
return RiskCheckBehaviorFraudRingDetectedLabel.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<RiskCheckBehaviorFraudRingDetectedLabel> {
@Override
public void write(final JsonWriter jsonWriter, final RiskCheckBehaviorFraudRingDetectedLabel enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public RiskCheckBehaviorFraudRingDetectedLabel read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return RiskCheckBehaviorFraudRingDetectedLabel.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/BeaconSyndicatedReportDepositoryAccountMatchAnalysis.java | src/main/java/com/plaid/client/model/BeaconSyndicatedReportDepositoryAccountMatchAnalysis.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.BeaconMatchSummaryCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Analysis of whether this account matched between the originally reported Beacon User and the Beacon User that the report syndicated to.
*/
@ApiModel(description = "Analysis of whether this account matched between the originally reported Beacon User and the Beacon User that the report syndicated to.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BeaconSyndicatedReportDepositoryAccountMatchAnalysis {
public static final String SERIALIZED_NAME_ACCOUNT_MASK = "account_mask";
@SerializedName(SERIALIZED_NAME_ACCOUNT_MASK)
private String accountMask;
public static final String SERIALIZED_NAME_ROUTING_NUMBER = "routing_number";
@SerializedName(SERIALIZED_NAME_ROUTING_NUMBER)
private String routingNumber;
public static final String SERIALIZED_NAME_MATCH_STATUS = "match_status";
@SerializedName(SERIALIZED_NAME_MATCH_STATUS)
private BeaconMatchSummaryCode matchStatus;
public BeaconSyndicatedReportDepositoryAccountMatchAnalysis accountMask(String accountMask) {
this.accountMask = accountMask;
return this;
}
/**
* The last 2-4 numeric characters of this account’s account number.
* @return accountMask
**/
@ApiModelProperty(example = "4000", required = true, value = "The last 2-4 numeric characters of this account’s account number.")
public String getAccountMask() {
return accountMask;
}
public void setAccountMask(String accountMask) {
this.accountMask = accountMask;
}
public BeaconSyndicatedReportDepositoryAccountMatchAnalysis routingNumber(String routingNumber) {
this.routingNumber = routingNumber;
return this;
}
/**
* The routing number of the account.
* @return routingNumber
**/
@ApiModelProperty(example = "021000021", required = true, value = "The routing number of the account.")
public String getRoutingNumber() {
return routingNumber;
}
public void setRoutingNumber(String routingNumber) {
this.routingNumber = routingNumber;
}
public BeaconSyndicatedReportDepositoryAccountMatchAnalysis matchStatus(BeaconMatchSummaryCode matchStatus) {
this.matchStatus = matchStatus;
return this;
}
/**
* Get matchStatus
* @return matchStatus
**/
@ApiModelProperty(required = true, value = "")
public BeaconMatchSummaryCode getMatchStatus() {
return matchStatus;
}
public void setMatchStatus(BeaconMatchSummaryCode matchStatus) {
this.matchStatus = matchStatus;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BeaconSyndicatedReportDepositoryAccountMatchAnalysis beaconSyndicatedReportDepositoryAccountMatchAnalysis = (BeaconSyndicatedReportDepositoryAccountMatchAnalysis) o;
return Objects.equals(this.accountMask, beaconSyndicatedReportDepositoryAccountMatchAnalysis.accountMask) &&
Objects.equals(this.routingNumber, beaconSyndicatedReportDepositoryAccountMatchAnalysis.routingNumber) &&
Objects.equals(this.matchStatus, beaconSyndicatedReportDepositoryAccountMatchAnalysis.matchStatus);
}
@Override
public int hashCode() {
return Objects.hash(accountMask, routingNumber, matchStatus);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BeaconSyndicatedReportDepositoryAccountMatchAnalysis {\n");
sb.append(" accountMask: ").append(toIndentedString(accountMask)).append("\n");
sb.append(" routingNumber: ").append(toIndentedString(routingNumber)).append("\n");
sb.append(" matchStatus: ").append(toIndentedString(matchStatus)).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/Category.java | src/main/java/com/plaid/client/model/Category.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* Information describing a transaction category
*/
@ApiModel(description = "Information describing a transaction category")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class Category {
public static final String SERIALIZED_NAME_CATEGORY_ID = "category_id";
@SerializedName(SERIALIZED_NAME_CATEGORY_ID)
private String categoryId;
public static final String SERIALIZED_NAME_GROUP = "group";
@SerializedName(SERIALIZED_NAME_GROUP)
private String group;
public static final String SERIALIZED_NAME_HIERARCHY = "hierarchy";
@SerializedName(SERIALIZED_NAME_HIERARCHY)
private List<String> hierarchy = new ArrayList<>();
public Category categoryId(String categoryId) {
this.categoryId = categoryId;
return this;
}
/**
* An identifying number for the category. `category_id` is a Plaid-specific identifier and does not necessarily correspond to merchant category codes.
* @return categoryId
**/
@ApiModelProperty(required = true, value = "An identifying number for the category. `category_id` is a Plaid-specific identifier and does not necessarily correspond to merchant category codes.")
public String getCategoryId() {
return categoryId;
}
public void setCategoryId(String categoryId) {
this.categoryId = categoryId;
}
public Category group(String group) {
this.group = group;
return this;
}
/**
* `place` for physical transactions or `special` for other transactions such as bank charges.
* @return group
**/
@ApiModelProperty(required = true, value = "`place` for physical transactions or `special` for other transactions such as bank charges.")
public String getGroup() {
return group;
}
public void setGroup(String group) {
this.group = group;
}
public Category hierarchy(List<String> hierarchy) {
this.hierarchy = hierarchy;
return this;
}
public Category addHierarchyItem(String hierarchyItem) {
this.hierarchy.add(hierarchyItem);
return this;
}
/**
* A hierarchical array of the categories to which this `category_id` belongs.
* @return hierarchy
**/
@ApiModelProperty(required = true, value = "A hierarchical array of the categories to which this `category_id` belongs.")
public List<String> getHierarchy() {
return hierarchy;
}
public void setHierarchy(List<String> hierarchy) {
this.hierarchy = hierarchy;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Category category = (Category) o;
return Objects.equals(this.categoryId, category.categoryId) &&
Objects.equals(this.group, category.group) &&
Objects.equals(this.hierarchy, category.hierarchy);
}
@Override
public int hashCode() {
return Objects.hash(categoryId, group, hierarchy);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Category {\n");
sb.append(" categoryId: ").append(toIndentedString(categoryId)).append("\n");
sb.append(" group: ").append(toIndentedString(group)).append("\n");
sb.append(" hierarchy: ").append(toIndentedString(hierarchy)).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/TransferRecurringCreateResponse.java | src/main/java/com/plaid/client/model/TransferRecurringCreateResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.RecurringTransferNullable;
import com.plaid.client.model.TransferAuthorizationDecision;
import com.plaid.client.model.TransferAuthorizationDecisionRationale;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines the response schema for `/transfer/recurring/create`
*/
@ApiModel(description = "Defines the response schema for `/transfer/recurring/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferRecurringCreateResponse {
public static final String SERIALIZED_NAME_RECURRING_TRANSFER = "recurring_transfer";
@SerializedName(SERIALIZED_NAME_RECURRING_TRANSFER)
private RecurringTransferNullable recurringTransfer;
public static final String SERIALIZED_NAME_DECISION = "decision";
@SerializedName(SERIALIZED_NAME_DECISION)
private TransferAuthorizationDecision decision;
public static final String SERIALIZED_NAME_DECISION_RATIONALE = "decision_rationale";
@SerializedName(SERIALIZED_NAME_DECISION_RATIONALE)
private TransferAuthorizationDecisionRationale decisionRationale;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public TransferRecurringCreateResponse recurringTransfer(RecurringTransferNullable recurringTransfer) {
this.recurringTransfer = recurringTransfer;
return this;
}
/**
* Get recurringTransfer
* @return recurringTransfer
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public RecurringTransferNullable getRecurringTransfer() {
return recurringTransfer;
}
public void setRecurringTransfer(RecurringTransferNullable recurringTransfer) {
this.recurringTransfer = recurringTransfer;
}
public TransferRecurringCreateResponse decision(TransferAuthorizationDecision decision) {
this.decision = decision;
return this;
}
/**
* Get decision
* @return decision
**/
@ApiModelProperty(required = true, value = "")
public TransferAuthorizationDecision getDecision() {
return decision;
}
public void setDecision(TransferAuthorizationDecision decision) {
this.decision = decision;
}
public TransferRecurringCreateResponse decisionRationale(TransferAuthorizationDecisionRationale decisionRationale) {
this.decisionRationale = decisionRationale;
return this;
}
/**
* Get decisionRationale
* @return decisionRationale
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public TransferAuthorizationDecisionRationale getDecisionRationale() {
return decisionRationale;
}
public void setDecisionRationale(TransferAuthorizationDecisionRationale decisionRationale) {
this.decisionRationale = decisionRationale;
}
public TransferRecurringCreateResponse 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;
}
TransferRecurringCreateResponse transferRecurringCreateResponse = (TransferRecurringCreateResponse) o;
return Objects.equals(this.recurringTransfer, transferRecurringCreateResponse.recurringTransfer) &&
Objects.equals(this.decision, transferRecurringCreateResponse.decision) &&
Objects.equals(this.decisionRationale, transferRecurringCreateResponse.decisionRationale) &&
Objects.equals(this.requestId, transferRecurringCreateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(recurringTransfer, decision, decisionRationale, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferRecurringCreateResponse {\n");
sb.append(" recurringTransfer: ").append(toIndentedString(recurringTransfer)).append("\n");
sb.append(" decision: ").append(toIndentedString(decision)).append("\n");
sb.append(" decisionRationale: ").append(toIndentedString(decisionRationale)).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/IndividualScreeningHitNames.java | src/main/java/com/plaid/client/model/IndividualScreeningHitNames.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.WeakAliasDetermination;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Name information for the associated individual watchlist hit
*/
@ApiModel(description = "Name information for the associated individual watchlist hit")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class IndividualScreeningHitNames {
public static final String SERIALIZED_NAME_FULL = "full";
@SerializedName(SERIALIZED_NAME_FULL)
private String full;
public static final String SERIALIZED_NAME_IS_PRIMARY = "is_primary";
@SerializedName(SERIALIZED_NAME_IS_PRIMARY)
private Boolean isPrimary;
public static final String SERIALIZED_NAME_WEAK_ALIAS_DETERMINATION = "weak_alias_determination";
@SerializedName(SERIALIZED_NAME_WEAK_ALIAS_DETERMINATION)
private WeakAliasDetermination weakAliasDetermination;
public IndividualScreeningHitNames full(String full) {
this.full = full;
return this;
}
/**
* The full name of the individual, including all parts.
* @return full
**/
@ApiModelProperty(example = "Aleksey Potemkin", required = true, value = "The full name of the individual, including all parts.")
public String getFull() {
return full;
}
public void setFull(String full) {
this.full = full;
}
public IndividualScreeningHitNames isPrimary(Boolean isPrimary) {
this.isPrimary = isPrimary;
return this;
}
/**
* Primary names are those most commonly used to refer to this person. Only one name will ever be marked as primary.
* @return isPrimary
**/
@ApiModelProperty(example = "false", required = true, value = "Primary names are those most commonly used to refer to this person. Only one name will ever be marked as primary.")
public Boolean getIsPrimary() {
return isPrimary;
}
public void setIsPrimary(Boolean isPrimary) {
this.isPrimary = isPrimary;
}
public IndividualScreeningHitNames weakAliasDetermination(WeakAliasDetermination weakAliasDetermination) {
this.weakAliasDetermination = weakAliasDetermination;
return this;
}
/**
* Get weakAliasDetermination
* @return weakAliasDetermination
**/
@ApiModelProperty(required = true, value = "")
public WeakAliasDetermination getWeakAliasDetermination() {
return weakAliasDetermination;
}
public void setWeakAliasDetermination(WeakAliasDetermination weakAliasDetermination) {
this.weakAliasDetermination = weakAliasDetermination;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
IndividualScreeningHitNames individualScreeningHitNames = (IndividualScreeningHitNames) o;
return Objects.equals(this.full, individualScreeningHitNames.full) &&
Objects.equals(this.isPrimary, individualScreeningHitNames.isPrimary) &&
Objects.equals(this.weakAliasDetermination, individualScreeningHitNames.weakAliasDetermination);
}
@Override
public int hashCode() {
return Objects.hash(full, isPrimary, weakAliasDetermination);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IndividualScreeningHitNames {\n");
sb.append(" full: ").append(toIndentedString(full)).append("\n");
sb.append(" isPrimary: ").append(toIndentedString(isPrimary)).append("\n");
sb.append(" weakAliasDetermination: ").append(toIndentedString(weakAliasDetermination)).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/FDXContentTypes.java | src/main/java/com/plaid/client/model/FDXContentTypes.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* Types of document formats. (Suggested values)
*/
@JsonAdapter(FDXContentTypes.Adapter.class)
public enum FDXContentTypes {
APPLICATION_PDF("application/pdf"),
IMAGE_GIF("image/gif"),
IMAGE_JPEG("image/jpeg"),
IMAGE_TIFF("image/tiff"),
IMAGE_PNG("image/png"),
APPLICATION_JSON("application/json"),
// 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;
FDXContentTypes(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static FDXContentTypes fromValue(String value) {
for (FDXContentTypes b : FDXContentTypes.values()) {
if (b.value.equals(value)) {
return b;
}
}
return FDXContentTypes.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<FDXContentTypes> {
@Override
public void write(final JsonWriter jsonWriter, final FDXContentTypes enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public FDXContentTypes read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return FDXContentTypes.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/ScreeningHitData.java | src/main/java/com/plaid/client/model/ScreeningHitData.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.GenericScreeningHitLocationItems;
import com.plaid.client.model.ScreeningHitDateOfBirthItem;
import com.plaid.client.model.ScreeningHitDocumentsItems;
import com.plaid.client.model.ScreeningHitNamesItems;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Information associated with the watchlist hit
*/
@ApiModel(description = "Information associated with the watchlist hit")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ScreeningHitData {
public static final String SERIALIZED_NAME_DATES_OF_BIRTH = "dates_of_birth";
@SerializedName(SERIALIZED_NAME_DATES_OF_BIRTH)
private List<ScreeningHitDateOfBirthItem> datesOfBirth = null;
public static final String SERIALIZED_NAME_DOCUMENTS = "documents";
@SerializedName(SERIALIZED_NAME_DOCUMENTS)
private List<ScreeningHitDocumentsItems> documents = null;
public static final String SERIALIZED_NAME_LOCATIONS = "locations";
@SerializedName(SERIALIZED_NAME_LOCATIONS)
private List<GenericScreeningHitLocationItems> locations = null;
public static final String SERIALIZED_NAME_NAMES = "names";
@SerializedName(SERIALIZED_NAME_NAMES)
private List<ScreeningHitNamesItems> names = null;
public ScreeningHitData datesOfBirth(List<ScreeningHitDateOfBirthItem> datesOfBirth) {
this.datesOfBirth = datesOfBirth;
return this;
}
public ScreeningHitData addDatesOfBirthItem(ScreeningHitDateOfBirthItem datesOfBirthItem) {
if (this.datesOfBirth == null) {
this.datesOfBirth = new ArrayList<>();
}
this.datesOfBirth.add(datesOfBirthItem);
return this;
}
/**
* Dates of birth associated with the watchlist hit
* @return datesOfBirth
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Dates of birth associated with the watchlist hit")
public List<ScreeningHitDateOfBirthItem> getDatesOfBirth() {
return datesOfBirth;
}
public void setDatesOfBirth(List<ScreeningHitDateOfBirthItem> datesOfBirth) {
this.datesOfBirth = datesOfBirth;
}
public ScreeningHitData documents(List<ScreeningHitDocumentsItems> documents) {
this.documents = documents;
return this;
}
public ScreeningHitData addDocumentsItem(ScreeningHitDocumentsItems documentsItem) {
if (this.documents == null) {
this.documents = new ArrayList<>();
}
this.documents.add(documentsItem);
return this;
}
/**
* Documents associated with the watchlist hit
* @return documents
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Documents associated with the watchlist hit")
public List<ScreeningHitDocumentsItems> getDocuments() {
return documents;
}
public void setDocuments(List<ScreeningHitDocumentsItems> documents) {
this.documents = documents;
}
public ScreeningHitData locations(List<GenericScreeningHitLocationItems> locations) {
this.locations = locations;
return this;
}
public ScreeningHitData addLocationsItem(GenericScreeningHitLocationItems locationsItem) {
if (this.locations == null) {
this.locations = new ArrayList<>();
}
this.locations.add(locationsItem);
return this;
}
/**
* Locations associated with the watchlist hit
* @return locations
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Locations associated with the watchlist hit")
public List<GenericScreeningHitLocationItems> getLocations() {
return locations;
}
public void setLocations(List<GenericScreeningHitLocationItems> locations) {
this.locations = locations;
}
public ScreeningHitData names(List<ScreeningHitNamesItems> names) {
this.names = names;
return this;
}
public ScreeningHitData addNamesItem(ScreeningHitNamesItems namesItem) {
if (this.names == null) {
this.names = new ArrayList<>();
}
this.names.add(namesItem);
return this;
}
/**
* Names associated with the watchlist hit
* @return names
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Names associated with the watchlist hit")
public List<ScreeningHitNamesItems> getNames() {
return names;
}
public void setNames(List<ScreeningHitNamesItems> names) {
this.names = names;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ScreeningHitData screeningHitData = (ScreeningHitData) o;
return Objects.equals(this.datesOfBirth, screeningHitData.datesOfBirth) &&
Objects.equals(this.documents, screeningHitData.documents) &&
Objects.equals(this.locations, screeningHitData.locations) &&
Objects.equals(this.names, screeningHitData.names);
}
@Override
public int hashCode() {
return Objects.hash(datesOfBirth, documents, locations, names);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ScreeningHitData {\n");
sb.append(" datesOfBirth: ").append(toIndentedString(datesOfBirth)).append("\n");
sb.append(" documents: ").append(toIndentedString(documents)).append("\n");
sb.append(" locations: ").append(toIndentedString(locations)).append("\n");
sb.append(" names: ").append(toIndentedString(names)).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/SandboxItemResetLoginResponse.java | src/main/java/com/plaid/client/model/SandboxItemResetLoginResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* SandboxItemResetLoginResponse defines the response schema for `/sandbox/item/reset_login`
*/
@ApiModel(description = "SandboxItemResetLoginResponse defines the response schema for `/sandbox/item/reset_login`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SandboxItemResetLoginResponse {
public static final String SERIALIZED_NAME_RESET_LOGIN = "reset_login";
@SerializedName(SERIALIZED_NAME_RESET_LOGIN)
private Boolean resetLogin;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public SandboxItemResetLoginResponse resetLogin(Boolean resetLogin) {
this.resetLogin = resetLogin;
return this;
}
/**
* `true` if the call succeeded
* @return resetLogin
**/
@ApiModelProperty(required = true, value = "`true` if the call succeeded")
public Boolean getResetLogin() {
return resetLogin;
}
public void setResetLogin(Boolean resetLogin) {
this.resetLogin = resetLogin;
}
public SandboxItemResetLoginResponse 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;
}
SandboxItemResetLoginResponse sandboxItemResetLoginResponse = (SandboxItemResetLoginResponse) o;
return Objects.equals(this.resetLogin, sandboxItemResetLoginResponse.resetLogin) &&
Objects.equals(this.requestId, sandboxItemResetLoginResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(resetLogin, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SandboxItemResetLoginResponse {\n");
sb.append(" resetLogin: ").append(toIndentedString(resetLogin)).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/UserGetRequest.java | src/main/java/com/plaid/client/model/UserGetRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* UserGetRequest defines the request schema for `/user/get`.
*/
@ApiModel(description = "UserGetRequest defines the request schema for `/user/get`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class UserGetRequest {
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_ID = "user_id";
@SerializedName(SERIALIZED_NAME_USER_ID)
private String userId;
public UserGetRequest 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 UserGetRequest 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 UserGetRequest 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
**/
@ApiModelProperty(required = true, value = "A unique user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [new user APIs](https://plaid.com/docs/api/users/user-apis).")
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
UserGetRequest userGetRequest = (UserGetRequest) o;
return Objects.equals(this.clientId, userGetRequest.clientId) &&
Objects.equals(this.secret, userGetRequest.secret) &&
Objects.equals(this.userId, userGetRequest.userId);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, userId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UserGetRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" userId: ").append(toIndentedString(userId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ProcessorBankTransferCreateRequest.java | src/main/java/com/plaid/client/model/ProcessorBankTransferCreateRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.ACHClass;
import com.plaid.client.model.BankTransferNetwork;
import com.plaid.client.model.BankTransferType;
import com.plaid.client.model.BankTransferUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* Defines the request schema for `/processor/bank_transfer/create`
*/
@ApiModel(description = "Defines the request schema for `/processor/bank_transfer/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ProcessorBankTransferCreateRequest {
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_IDEMPOTENCY_KEY = "idempotency_key";
@SerializedName(SERIALIZED_NAME_IDEMPOTENCY_KEY)
private String idempotencyKey;
public static final String SERIALIZED_NAME_PROCESSOR_TOKEN = "processor_token";
@SerializedName(SERIALIZED_NAME_PROCESSOR_TOKEN)
private String processorToken;
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private BankTransferType type;
public static final String SERIALIZED_NAME_NETWORK = "network";
@SerializedName(SERIALIZED_NAME_NETWORK)
private BankTransferNetwork network;
public static final String SERIALIZED_NAME_AMOUNT = "amount";
@SerializedName(SERIALIZED_NAME_AMOUNT)
private String amount;
public static final String SERIALIZED_NAME_ISO_CURRENCY_CODE = "iso_currency_code";
@SerializedName(SERIALIZED_NAME_ISO_CURRENCY_CODE)
private String isoCurrencyCode;
public static final String SERIALIZED_NAME_DESCRIPTION = "description";
@SerializedName(SERIALIZED_NAME_DESCRIPTION)
private String description;
public static final String SERIALIZED_NAME_ACH_CLASS = "ach_class";
@SerializedName(SERIALIZED_NAME_ACH_CLASS)
private ACHClass achClass;
public static final String SERIALIZED_NAME_USER = "user";
@SerializedName(SERIALIZED_NAME_USER)
private BankTransferUser user;
public static final String SERIALIZED_NAME_CUSTOM_TAG = "custom_tag";
@SerializedName(SERIALIZED_NAME_CUSTOM_TAG)
private String customTag;
public static final String SERIALIZED_NAME_METADATA = "metadata";
@SerializedName(SERIALIZED_NAME_METADATA)
private Map<String, String> metadata = null;
public static final String SERIALIZED_NAME_ORIGINATION_ACCOUNT_ID = "origination_account_id";
@SerializedName(SERIALIZED_NAME_ORIGINATION_ACCOUNT_ID)
private String originationAccountId;
public ProcessorBankTransferCreateRequest 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 ProcessorBankTransferCreateRequest 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 ProcessorBankTransferCreateRequest idempotencyKey(String idempotencyKey) {
this.idempotencyKey = idempotencyKey;
return this;
}
/**
* A random key provided by the client, per unique bank transfer. Maximum of 50 characters. The API supports idempotency for safely retrying requests without accidentally performing the same operation twice. For example, if a request to create a bank transfer fails due to a network connection error, you can retry the request with the same idempotency key to guarantee that only a single bank transfer is created.
* @return idempotencyKey
**/
@ApiModelProperty(required = true, value = "A random key provided by the client, per unique bank transfer. Maximum of 50 characters. The API supports idempotency for safely retrying requests without accidentally performing the same operation twice. For example, if a request to create a bank transfer fails due to a network connection error, you can retry the request with the same idempotency key to guarantee that only a single bank transfer is created.")
public String getIdempotencyKey() {
return idempotencyKey;
}
public void setIdempotencyKey(String idempotencyKey) {
this.idempotencyKey = idempotencyKey;
}
public ProcessorBankTransferCreateRequest 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 ProcessorBankTransferCreateRequest type(BankTransferType type) {
this.type = type;
return this;
}
/**
* Get type
* @return type
**/
@ApiModelProperty(required = true, value = "")
public BankTransferType getType() {
return type;
}
public void setType(BankTransferType type) {
this.type = type;
}
public ProcessorBankTransferCreateRequest network(BankTransferNetwork network) {
this.network = network;
return this;
}
/**
* Get network
* @return network
**/
@ApiModelProperty(required = true, value = "")
public BankTransferNetwork getNetwork() {
return network;
}
public void setNetwork(BankTransferNetwork network) {
this.network = network;
}
public ProcessorBankTransferCreateRequest amount(String amount) {
this.amount = amount;
return this;
}
/**
* The amount of the bank transfer (decimal string with two digits of precision e.g. \"10.00\").
* @return amount
**/
@ApiModelProperty(required = true, value = "The amount of the bank transfer (decimal string with two digits of precision e.g. \"10.00\").")
public String getAmount() {
return amount;
}
public void setAmount(String amount) {
this.amount = amount;
}
public ProcessorBankTransferCreateRequest isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The currency of the transfer amount – should be set to \"USD\".
* @return isoCurrencyCode
**/
@ApiModelProperty(required = true, value = "The currency of the transfer amount – should be set to \"USD\".")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public ProcessorBankTransferCreateRequest description(String description) {
this.description = description;
return this;
}
/**
* The transfer description. Maximum of 10 characters.
* @return description
**/
@ApiModelProperty(required = true, value = "The transfer description. Maximum of 10 characters.")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public ProcessorBankTransferCreateRequest achClass(ACHClass achClass) {
this.achClass = achClass;
return this;
}
/**
* Get achClass
* @return achClass
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ACHClass getAchClass() {
return achClass;
}
public void setAchClass(ACHClass achClass) {
this.achClass = achClass;
}
public ProcessorBankTransferCreateRequest user(BankTransferUser user) {
this.user = user;
return this;
}
/**
* Get user
* @return user
**/
@ApiModelProperty(required = true, value = "")
public BankTransferUser getUser() {
return user;
}
public void setUser(BankTransferUser user) {
this.user = user;
}
public ProcessorBankTransferCreateRequest customTag(String customTag) {
this.customTag = customTag;
return this;
}
/**
* An arbitrary string provided by the client for storage with the bank transfer. May be up to 100 characters.
* @return customTag
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "An arbitrary string provided by the client for storage with the bank transfer. May be up to 100 characters.")
public String getCustomTag() {
return customTag;
}
public void setCustomTag(String customTag) {
this.customTag = customTag;
}
public ProcessorBankTransferCreateRequest metadata(Map<String, String> metadata) {
this.metadata = metadata;
return this;
}
public ProcessorBankTransferCreateRequest putMetadataItem(String key, String metadataItem) {
if (this.metadata == null) {
this.metadata = new HashMap<>();
}
this.metadata.put(key, metadataItem);
return this;
}
/**
* The Metadata object is a mapping of client-provided string fields to any string value. The following limitations apply: The JSON values must be Strings (no nested JSON objects allowed) Only ASCII characters may be used Maximum of 50 key/value pairs Maximum key length of 40 characters Maximum value length of 500 characters
* @return metadata
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The Metadata object is a mapping of client-provided string fields to any string value. The following limitations apply: The JSON values must be Strings (no nested JSON objects allowed) Only ASCII characters may be used Maximum of 50 key/value pairs Maximum key length of 40 characters Maximum value length of 500 characters ")
public Map<String, String> getMetadata() {
return metadata;
}
public void setMetadata(Map<String, String> metadata) {
this.metadata = metadata;
}
public ProcessorBankTransferCreateRequest originationAccountId(String originationAccountId) {
this.originationAccountId = originationAccountId;
return this;
}
/**
* Plaid’s unique identifier for the origination account for this transfer. If you have more than one origination account, this value must be specified.
* @return originationAccountId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Plaid’s unique identifier for the origination account for this transfer. If you have more than one origination account, this value must be specified.")
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;
}
ProcessorBankTransferCreateRequest processorBankTransferCreateRequest = (ProcessorBankTransferCreateRequest) o;
return Objects.equals(this.clientId, processorBankTransferCreateRequest.clientId) &&
Objects.equals(this.secret, processorBankTransferCreateRequest.secret) &&
Objects.equals(this.idempotencyKey, processorBankTransferCreateRequest.idempotencyKey) &&
Objects.equals(this.processorToken, processorBankTransferCreateRequest.processorToken) &&
Objects.equals(this.type, processorBankTransferCreateRequest.type) &&
Objects.equals(this.network, processorBankTransferCreateRequest.network) &&
Objects.equals(this.amount, processorBankTransferCreateRequest.amount) &&
Objects.equals(this.isoCurrencyCode, processorBankTransferCreateRequest.isoCurrencyCode) &&
Objects.equals(this.description, processorBankTransferCreateRequest.description) &&
Objects.equals(this.achClass, processorBankTransferCreateRequest.achClass) &&
Objects.equals(this.user, processorBankTransferCreateRequest.user) &&
Objects.equals(this.customTag, processorBankTransferCreateRequest.customTag) &&
Objects.equals(this.metadata, processorBankTransferCreateRequest.metadata) &&
Objects.equals(this.originationAccountId, processorBankTransferCreateRequest.originationAccountId);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, idempotencyKey, processorToken, type, network, amount, isoCurrencyCode, description, achClass, user, customTag, metadata, originationAccountId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProcessorBankTransferCreateRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" idempotencyKey: ").append(toIndentedString(idempotencyKey)).append("\n");
sb.append(" processorToken: ").append(toIndentedString(processorToken)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" network: ").append(toIndentedString(network)).append("\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" achClass: ").append(toIndentedString(achClass)).append("\n");
sb.append(" user: ").append(toIndentedString(user)).append("\n");
sb.append(" customTag: ").append(toIndentedString(customTag)).append("\n");
sb.append(" metadata: ").append(toIndentedString(metadata)).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/PayStubEarningsTotal.java | src/main/java/com/plaid/client/model/PayStubEarningsTotal.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.math.BigDecimal;
/**
* An object representing both the current pay period and year to date amount for an earning category.
*/
@ApiModel(description = "An object representing both the current pay period and year to date amount for an earning category.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PayStubEarningsTotal {
public static final String SERIALIZED_NAME_CURRENT_AMOUNT = "current_amount";
@SerializedName(SERIALIZED_NAME_CURRENT_AMOUNT)
private Double currentAmount;
public static final String SERIALIZED_NAME_HOURS = "hours";
@SerializedName(SERIALIZED_NAME_HOURS)
private Double hours;
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 PayStubEarningsTotal currentAmount(Double currentAmount) {
this.currentAmount = currentAmount;
return this;
}
/**
* Total amount of the earnings for this pay period.
* @return currentAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "Total amount of the earnings for this pay period.")
public Double getCurrentAmount() {
return currentAmount;
}
public void setCurrentAmount(Double currentAmount) {
this.currentAmount = currentAmount;
}
public PayStubEarningsTotal hours(Double hours) {
this.hours = hours;
return this;
}
/**
* Total number of hours worked for this pay period.
* @return hours
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "Total number of hours worked for this pay period.")
public Double getHours() {
return hours;
}
public void setHours(Double hours) {
this.hours = hours;
}
public PayStubEarningsTotal 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 PayStubEarningsTotal unofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
return this;
}
/**
* The unofficial currency code associated with the security. 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 security. 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 PayStubEarningsTotal ytdAmount(Double ytdAmount) {
this.ytdAmount = ytdAmount;
return this;
}
/**
* The total year-to-date amount of the earnings.
* @return ytdAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The total year-to-date amount of the earnings.")
public Double getYtdAmount() {
return ytdAmount;
}
public void setYtdAmount(Double ytdAmount) {
this.ytdAmount = ytdAmount;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PayStubEarningsTotal payStubEarningsTotal = (PayStubEarningsTotal) o;
return Objects.equals(this.currentAmount, payStubEarningsTotal.currentAmount) &&
Objects.equals(this.hours, payStubEarningsTotal.hours) &&
Objects.equals(this.isoCurrencyCode, payStubEarningsTotal.isoCurrencyCode) &&
Objects.equals(this.unofficialCurrencyCode, payStubEarningsTotal.unofficialCurrencyCode) &&
Objects.equals(this.ytdAmount, payStubEarningsTotal.ytdAmount);
}
@Override
public int hashCode() {
return Objects.hash(currentAmount, hours, isoCurrencyCode, unofficialCurrencyCode, ytdAmount);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PayStubEarningsTotal {\n");
sb.append(" currentAmount: ").append(toIndentedString(currentAmount)).append("\n");
sb.append(" hours: ").append(toIndentedString(hours)).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/BeaconReport.java | src/main/java/com/plaid/client/model/BeaconReport.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.BeaconAuditTrail;
import com.plaid.client.model.BeaconReportType;
import com.plaid.client.model.FraudAmount;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
/**
* A Beacon Report describes the type of fraud committed by a user as well as the date the fraud was committed and the total amount of money lost due to the fraud incident. This information is used to block similar fraud attempts on your platform as well as alert other companies who screen a user with matching identity information. Other companies will not receive any new identity information, just what matched, plus information such as industry, type of fraud, and date of fraud. You can manage your fraud reports by adding, deleting, or editing reports as you get additional information on fraudulent users.
*/
@ApiModel(description = "A Beacon Report describes the type of fraud committed by a user as well as the date the fraud was committed and the total amount of money lost due to the fraud incident. This information is used to block similar fraud attempts on your platform as well as alert other companies who screen a user with matching identity information. Other companies will not receive any new identity information, just what matched, plus information such as industry, type of fraud, and date of fraud. You can manage your fraud reports by adding, deleting, or editing reports as you get additional information on fraudulent users.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BeaconReport {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
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_CREATED_AT = "created_at";
@SerializedName(SERIALIZED_NAME_CREATED_AT)
private java.sql.Timestamp createdAt;
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private BeaconReportType type;
public static final String SERIALIZED_NAME_FRAUD_DATE = "fraud_date";
@SerializedName(SERIALIZED_NAME_FRAUD_DATE)
private LocalDate fraudDate;
public static final String SERIALIZED_NAME_EVENT_DATE = "event_date";
@SerializedName(SERIALIZED_NAME_EVENT_DATE)
private LocalDate eventDate;
public static final String SERIALIZED_NAME_FRAUD_AMOUNT = "fraud_amount";
@SerializedName(SERIALIZED_NAME_FRAUD_AMOUNT)
private FraudAmount fraudAmount;
public static final String SERIALIZED_NAME_AUDIT_TRAIL = "audit_trail";
@SerializedName(SERIALIZED_NAME_AUDIT_TRAIL)
private BeaconAuditTrail auditTrail;
public BeaconReport id(String id) {
this.id = id;
return this;
}
/**
* ID of the associated Beacon Report.
* @return id
**/
@ApiModelProperty(example = "becrpt_11111111111111", required = true, value = "ID of the associated Beacon Report.")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public BeaconReport 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 BeaconReport 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 BeaconReport type(BeaconReportType type) {
this.type = type;
return this;
}
/**
* Get type
* @return type
**/
@ApiModelProperty(required = true, value = "")
public BeaconReportType getType() {
return type;
}
public void setType(BeaconReportType type) {
this.type = type;
}
public BeaconReport fraudDate(LocalDate fraudDate) {
this.fraudDate = fraudDate;
return this;
}
/**
* A date in the format YYYY-MM-DD (RFC 3339 Section 5.6).
* @return fraudDate
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "Tue May 29 00:00:00 UTC 1990", required = true, value = "A date in the format YYYY-MM-DD (RFC 3339 Section 5.6).")
public LocalDate getFraudDate() {
return fraudDate;
}
public void setFraudDate(LocalDate fraudDate) {
this.fraudDate = fraudDate;
}
public BeaconReport eventDate(LocalDate eventDate) {
this.eventDate = eventDate;
return this;
}
/**
* A date in the format YYYY-MM-DD (RFC 3339 Section 5.6).
* @return eventDate
**/
@ApiModelProperty(example = "Tue May 29 00:00:00 UTC 1990", required = true, value = "A date in the format YYYY-MM-DD (RFC 3339 Section 5.6).")
public LocalDate getEventDate() {
return eventDate;
}
public void setEventDate(LocalDate eventDate) {
this.eventDate = eventDate;
}
public BeaconReport fraudAmount(FraudAmount fraudAmount) {
this.fraudAmount = fraudAmount;
return this;
}
/**
* Get fraudAmount
* @return fraudAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public FraudAmount getFraudAmount() {
return fraudAmount;
}
public void setFraudAmount(FraudAmount fraudAmount) {
this.fraudAmount = fraudAmount;
}
public BeaconReport auditTrail(BeaconAuditTrail auditTrail) {
this.auditTrail = auditTrail;
return this;
}
/**
* Get auditTrail
* @return auditTrail
**/
@ApiModelProperty(required = true, value = "")
public BeaconAuditTrail getAuditTrail() {
return auditTrail;
}
public void setAuditTrail(BeaconAuditTrail auditTrail) {
this.auditTrail = auditTrail;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BeaconReport beaconReport = (BeaconReport) o;
return Objects.equals(this.id, beaconReport.id) &&
Objects.equals(this.beaconUserId, beaconReport.beaconUserId) &&
Objects.equals(this.createdAt, beaconReport.createdAt) &&
Objects.equals(this.type, beaconReport.type) &&
Objects.equals(this.fraudDate, beaconReport.fraudDate) &&
Objects.equals(this.eventDate, beaconReport.eventDate) &&
Objects.equals(this.fraudAmount, beaconReport.fraudAmount) &&
Objects.equals(this.auditTrail, beaconReport.auditTrail);
}
@Override
public int hashCode() {
return Objects.hash(id, beaconUserId, createdAt, type, fraudDate, eventDate, fraudAmount, auditTrail);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BeaconReport {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" beaconUserId: ").append(toIndentedString(beaconUserId)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" fraudDate: ").append(toIndentedString(fraudDate)).append("\n");
sb.append(" eventDate: ").append(toIndentedString(eventDate)).append("\n");
sb.append(" fraudAmount: ").append(toIndentedString(fraudAmount)).append("\n");
sb.append(" auditTrail: ").append(toIndentedString(auditTrail)).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/Holding.java | src/main/java/com/plaid/client/model/Holding.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
import java.time.OffsetDateTime;
/**
* A securities holding at an institution.
*/
@ApiModel(description = "A securities holding at an institution.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class Holding {
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
private String accountId;
public static final String SERIALIZED_NAME_SECURITY_ID = "security_id";
@SerializedName(SERIALIZED_NAME_SECURITY_ID)
private String securityId;
public static final String SERIALIZED_NAME_INSTITUTION_PRICE = "institution_price";
@SerializedName(SERIALIZED_NAME_INSTITUTION_PRICE)
private Double institutionPrice;
public static final String SERIALIZED_NAME_INSTITUTION_PRICE_AS_OF = "institution_price_as_of";
@SerializedName(SERIALIZED_NAME_INSTITUTION_PRICE_AS_OF)
private LocalDate institutionPriceAsOf;
public static final String SERIALIZED_NAME_INSTITUTION_PRICE_DATETIME = "institution_price_datetime";
@SerializedName(SERIALIZED_NAME_INSTITUTION_PRICE_DATETIME)
private OffsetDateTime institutionPriceDatetime;
public static final String SERIALIZED_NAME_INSTITUTION_VALUE = "institution_value";
@SerializedName(SERIALIZED_NAME_INSTITUTION_VALUE)
private Double institutionValue;
public static final String SERIALIZED_NAME_COST_BASIS = "cost_basis";
@SerializedName(SERIALIZED_NAME_COST_BASIS)
private Double costBasis;
public static final String SERIALIZED_NAME_QUANTITY = "quantity";
@SerializedName(SERIALIZED_NAME_QUANTITY)
private Double quantity;
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_VESTED_QUANTITY = "vested_quantity";
@SerializedName(SERIALIZED_NAME_VESTED_QUANTITY)
private Double vestedQuantity;
public static final String SERIALIZED_NAME_VESTED_VALUE = "vested_value";
@SerializedName(SERIALIZED_NAME_VESTED_VALUE)
private Double vestedValue;
public Holding accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* The Plaid `account_id` associated with the holding.
* @return accountId
**/
@ApiModelProperty(required = true, value = "The Plaid `account_id` associated with the holding.")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public Holding securityId(String securityId) {
this.securityId = securityId;
return this;
}
/**
* The Plaid `security_id` associated with the holding. Security data is not specific to a user's account; any user who held the same security at the same financial institution at the same time would have identical security data. The `security_id` for the same security will typically be the same across different institutions, but this is not guaranteed. The `security_id` does not typically change, but may change if inherent details of the security change due to a corporate action, for example, in the event of a ticker symbol change or CUSIP change.
* @return securityId
**/
@ApiModelProperty(required = true, value = "The Plaid `security_id` associated with the holding. Security data is not specific to a user's account; any user who held the same security at the same financial institution at the same time would have identical security data. The `security_id` for the same security will typically be the same across different institutions, but this is not guaranteed. The `security_id` does not typically change, but may change if inherent details of the security change due to a corporate action, for example, in the event of a ticker symbol change or CUSIP change.")
public String getSecurityId() {
return securityId;
}
public void setSecurityId(String securityId) {
this.securityId = securityId;
}
public Holding institutionPrice(Double institutionPrice) {
this.institutionPrice = institutionPrice;
return this;
}
/**
* The last price given by the institution for this security.
* @return institutionPrice
**/
@ApiModelProperty(required = true, value = "The last price given by the institution for this security.")
public Double getInstitutionPrice() {
return institutionPrice;
}
public void setInstitutionPrice(Double institutionPrice) {
this.institutionPrice = institutionPrice;
}
public Holding institutionPriceAsOf(LocalDate institutionPriceAsOf) {
this.institutionPriceAsOf = institutionPriceAsOf;
return this;
}
/**
* The date at which `institution_price` was current.
* @return institutionPriceAsOf
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The date at which `institution_price` was current.")
public LocalDate getInstitutionPriceAsOf() {
return institutionPriceAsOf;
}
public void setInstitutionPriceAsOf(LocalDate institutionPriceAsOf) {
this.institutionPriceAsOf = institutionPriceAsOf;
}
public Holding institutionPriceDatetime(OffsetDateTime institutionPriceDatetime) {
this.institutionPriceDatetime = institutionPriceDatetime;
return this;
}
/**
* Date and time at which `institution_price` was current, in ISO 8601 format (YYYY-MM-DDTHH:mm:ssZ). This field is returned for select financial institutions and comes as provided by the institution. It may contain default time values (such as 00:00:00).
* @return institutionPriceDatetime
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Date and time at which `institution_price` was current, in ISO 8601 format (YYYY-MM-DDTHH:mm:ssZ). This field is returned for select financial institutions and comes as provided by the institution. It may contain default time values (such as 00:00:00). ")
public OffsetDateTime getInstitutionPriceDatetime() {
return institutionPriceDatetime;
}
public void setInstitutionPriceDatetime(OffsetDateTime institutionPriceDatetime) {
this.institutionPriceDatetime = institutionPriceDatetime;
}
public Holding institutionValue(Double institutionValue) {
this.institutionValue = institutionValue;
return this;
}
/**
* The value of the holding, as reported by the institution.
* @return institutionValue
**/
@ApiModelProperty(required = true, value = "The value of the holding, as reported by the institution.")
public Double getInstitutionValue() {
return institutionValue;
}
public void setInstitutionValue(Double institutionValue) {
this.institutionValue = institutionValue;
}
public Holding costBasis(Double costBasis) {
this.costBasis = costBasis;
return this;
}
/**
* The total cost basis of the holding (e.g., the total amount spent to acquire all assets currently in the holding).
* @return costBasis
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The total cost basis of the holding (e.g., the total amount spent to acquire all assets currently in the holding).")
public Double getCostBasis() {
return costBasis;
}
public void setCostBasis(Double costBasis) {
this.costBasis = costBasis;
}
public Holding quantity(Double quantity) {
this.quantity = quantity;
return this;
}
/**
* The total quantity of the asset held, as reported by the financial institution. If the security is an option, `quantity` will reflect the total number of options (typically the number of contracts multiplied by 100), not the number of contracts.
* @return quantity
**/
@ApiModelProperty(required = true, value = "The total quantity of the asset held, as reported by the financial institution. If the security is an option, `quantity` will reflect the total number of options (typically the number of contracts multiplied by 100), not the number of contracts.")
public Double getQuantity() {
return quantity;
}
public void setQuantity(Double quantity) {
this.quantity = quantity;
}
public Holding isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The ISO-4217 currency code of the holding. 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 holding. Always `null` if `unofficial_currency_code` is non-`null`.")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public Holding unofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
return this;
}
/**
* The unofficial currency code associated with the holding. 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 holding. 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 Holding vestedQuantity(Double vestedQuantity) {
this.vestedQuantity = vestedQuantity;
return this;
}
/**
* The total quantity of vested assets held, as reported by the financial institution. Vested assets are only associated with [equities](https://plaid.com/docs/api/products/investments/#investments-holdings-get-response-securities-type).
* @return vestedQuantity
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The total quantity of vested assets held, as reported by the financial institution. Vested assets are only associated with [equities](https://plaid.com/docs/api/products/investments/#investments-holdings-get-response-securities-type).")
public Double getVestedQuantity() {
return vestedQuantity;
}
public void setVestedQuantity(Double vestedQuantity) {
this.vestedQuantity = vestedQuantity;
}
public Holding vestedValue(Double vestedValue) {
this.vestedValue = vestedValue;
return this;
}
/**
* The value of the vested holdings as reported by the institution.
* @return vestedValue
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The value of the vested holdings as reported by the institution.")
public Double getVestedValue() {
return vestedValue;
}
public void setVestedValue(Double vestedValue) {
this.vestedValue = vestedValue;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Holding holding = (Holding) o;
return Objects.equals(this.accountId, holding.accountId) &&
Objects.equals(this.securityId, holding.securityId) &&
Objects.equals(this.institutionPrice, holding.institutionPrice) &&
Objects.equals(this.institutionPriceAsOf, holding.institutionPriceAsOf) &&
Objects.equals(this.institutionPriceDatetime, holding.institutionPriceDatetime) &&
Objects.equals(this.institutionValue, holding.institutionValue) &&
Objects.equals(this.costBasis, holding.costBasis) &&
Objects.equals(this.quantity, holding.quantity) &&
Objects.equals(this.isoCurrencyCode, holding.isoCurrencyCode) &&
Objects.equals(this.unofficialCurrencyCode, holding.unofficialCurrencyCode) &&
Objects.equals(this.vestedQuantity, holding.vestedQuantity) &&
Objects.equals(this.vestedValue, holding.vestedValue);
}
@Override
public int hashCode() {
return Objects.hash(accountId, securityId, institutionPrice, institutionPriceAsOf, institutionPriceDatetime, institutionValue, costBasis, quantity, isoCurrencyCode, unofficialCurrencyCode, vestedQuantity, vestedValue);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Holding {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" securityId: ").append(toIndentedString(securityId)).append("\n");
sb.append(" institutionPrice: ").append(toIndentedString(institutionPrice)).append("\n");
sb.append(" institutionPriceAsOf: ").append(toIndentedString(institutionPriceAsOf)).append("\n");
sb.append(" institutionPriceDatetime: ").append(toIndentedString(institutionPriceDatetime)).append("\n");
sb.append(" institutionValue: ").append(toIndentedString(institutionValue)).append("\n");
sb.append(" costBasis: ").append(toIndentedString(costBasis)).append("\n");
sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" unofficialCurrencyCode: ").append(toIndentedString(unofficialCurrencyCode)).append("\n");
sb.append(" vestedQuantity: ").append(toIndentedString(vestedQuantity)).append("\n");
sb.append(" vestedValue: ").append(toIndentedString(vestedValue)).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/ConsentEvent.java | src/main/java/com/plaid/client/model/ConsentEvent.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.ConsentEventCode;
import com.plaid.client.model.ConsentEventInitiator;
import com.plaid.client.model.ConsentEventType;
import com.plaid.client.model.ConsentedAccount;
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;
/**
* Describes a consent event.
*/
@ApiModel(description = "Describes a consent event.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ConsentEvent {
public static final String SERIALIZED_NAME_ITEM_ID = "item_id";
@SerializedName(SERIALIZED_NAME_ITEM_ID)
private String itemId;
public static final String SERIALIZED_NAME_CREATED_AT = "created_at";
@SerializedName(SERIALIZED_NAME_CREATED_AT)
private OffsetDateTime createdAt;
public static final String SERIALIZED_NAME_EVENT_TYPE = "event_type";
@SerializedName(SERIALIZED_NAME_EVENT_TYPE)
private ConsentEventType eventType;
public static final String SERIALIZED_NAME_EVENT_CODE = "event_code";
@SerializedName(SERIALIZED_NAME_EVENT_CODE)
private ConsentEventCode eventCode;
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_INITIATOR = "initiator";
@SerializedName(SERIALIZED_NAME_INITIATOR)
private ConsentEventInitiator initiator;
public static final String SERIALIZED_NAME_CONSENTED_USE_CASES = "consented_use_cases";
@SerializedName(SERIALIZED_NAME_CONSENTED_USE_CASES)
private List<String> consentedUseCases = null;
public static final String SERIALIZED_NAME_CONSENTED_DATA_SCOPES = "consented_data_scopes";
@SerializedName(SERIALIZED_NAME_CONSENTED_DATA_SCOPES)
private List<String> consentedDataScopes = null;
public static final String SERIALIZED_NAME_CONSENTED_ACCOUNTS = "consented_accounts";
@SerializedName(SERIALIZED_NAME_CONSENTED_ACCOUNTS)
private List<ConsentedAccount> consentedAccounts = null;
public ConsentEvent 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
**/
@javax.annotation.Nullable
@ApiModelProperty(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 ConsentEvent createdAt(OffsetDateTime createdAt) {
this.createdAt = createdAt;
return this;
}
/**
* The date and time when the consent event occurred, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
* @return createdAt
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The date and time when the consent event occurred, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.")
public OffsetDateTime getCreatedAt() {
return createdAt;
}
public void setCreatedAt(OffsetDateTime createdAt) {
this.createdAt = createdAt;
}
public ConsentEvent eventType(ConsentEventType eventType) {
this.eventType = eventType;
return this;
}
/**
* Get eventType
* @return eventType
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ConsentEventType getEventType() {
return eventType;
}
public void setEventType(ConsentEventType eventType) {
this.eventType = eventType;
}
public ConsentEvent eventCode(ConsentEventCode eventCode) {
this.eventCode = eventCode;
return this;
}
/**
* Get eventCode
* @return eventCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ConsentEventCode getEventCode() {
return eventCode;
}
public void setEventCode(ConsentEventCode eventCode) {
this.eventCode = eventCode;
}
public ConsentEvent institutionId(String institutionId) {
this.institutionId = institutionId;
return this;
}
/**
* Unique identifier for the institution associated with the Item. Field is `null` for Items created via Same Day Micro-deposits.
* @return institutionId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Unique identifier for the institution associated with the Item. Field is `null` for Items created via Same Day Micro-deposits.")
public String getInstitutionId() {
return institutionId;
}
public void setInstitutionId(String institutionId) {
this.institutionId = institutionId;
}
public ConsentEvent institutionName(String institutionName) {
this.institutionName = institutionName;
return this;
}
/**
* The full name of the institution associated with the Item. Field is `null` for Items created via Same Day Micro-deposits.
* @return institutionName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The full name of the institution associated with the Item. Field is `null` for Items created via Same Day Micro-deposits.")
public String getInstitutionName() {
return institutionName;
}
public void setInstitutionName(String institutionName) {
this.institutionName = institutionName;
}
public ConsentEvent initiator(ConsentEventInitiator initiator) {
this.initiator = initiator;
return this;
}
/**
* Get initiator
* @return initiator
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ConsentEventInitiator getInitiator() {
return initiator;
}
public void setInitiator(ConsentEventInitiator initiator) {
this.initiator = initiator;
}
public ConsentEvent consentedUseCases(List<String> consentedUseCases) {
this.consentedUseCases = consentedUseCases;
return this;
}
public ConsentEvent addConsentedUseCasesItem(String consentedUseCasesItem) {
if (this.consentedUseCases == null) {
this.consentedUseCases = new ArrayList<>();
}
this.consentedUseCases.add(consentedUseCasesItem);
return this;
}
/**
* A list of strings containing the full list of use cases the end user has consented to for the Item. See the [full list](https://plaid.com/docs/link/data-transparency-messaging-migration-guide/#updating-link-customizations) of use cases.
* @return consentedUseCases
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A list of strings containing the full list of use cases the end user has consented to for the Item. See the [full list](https://plaid.com/docs/link/data-transparency-messaging-migration-guide/#updating-link-customizations) of use cases.")
public List<String> getConsentedUseCases() {
return consentedUseCases;
}
public void setConsentedUseCases(List<String> consentedUseCases) {
this.consentedUseCases = consentedUseCases;
}
public ConsentEvent consentedDataScopes(List<String> consentedDataScopes) {
this.consentedDataScopes = consentedDataScopes;
return this;
}
public ConsentEvent addConsentedDataScopesItem(String consentedDataScopesItem) {
if (this.consentedDataScopes == null) {
this.consentedDataScopes = new ArrayList<>();
}
this.consentedDataScopes.add(consentedDataScopesItem);
return this;
}
/**
* A list of strings containing the full list of data scopes the end user has consented to for the Item. These correspond to consented products; see the [full mapping](https://plaid.com/docs/link/data-transparency-messaging-migration-guide/#data-scopes-by-product) of data scopes and products.
* @return consentedDataScopes
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A list of strings containing the full list of data scopes the end user has consented to for the Item. These correspond to consented products; see the [full mapping](https://plaid.com/docs/link/data-transparency-messaging-migration-guide/#data-scopes-by-product) of data scopes and products.")
public List<String> getConsentedDataScopes() {
return consentedDataScopes;
}
public void setConsentedDataScopes(List<String> consentedDataScopes) {
this.consentedDataScopes = consentedDataScopes;
}
public ConsentEvent consentedAccounts(List<ConsentedAccount> consentedAccounts) {
this.consentedAccounts = consentedAccounts;
return this;
}
public ConsentEvent addConsentedAccountsItem(ConsentedAccount consentedAccountsItem) {
if (this.consentedAccounts == null) {
this.consentedAccounts = new ArrayList<>();
}
this.consentedAccounts.add(consentedAccountsItem);
return this;
}
/**
* An array containing the accounts associated with the Item for which authorizations are granted.
* @return consentedAccounts
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "An array containing the accounts associated with the Item for which authorizations are granted.")
public List<ConsentedAccount> getConsentedAccounts() {
return consentedAccounts;
}
public void setConsentedAccounts(List<ConsentedAccount> consentedAccounts) {
this.consentedAccounts = consentedAccounts;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ConsentEvent consentEvent = (ConsentEvent) o;
return Objects.equals(this.itemId, consentEvent.itemId) &&
Objects.equals(this.createdAt, consentEvent.createdAt) &&
Objects.equals(this.eventType, consentEvent.eventType) &&
Objects.equals(this.eventCode, consentEvent.eventCode) &&
Objects.equals(this.institutionId, consentEvent.institutionId) &&
Objects.equals(this.institutionName, consentEvent.institutionName) &&
Objects.equals(this.initiator, consentEvent.initiator) &&
Objects.equals(this.consentedUseCases, consentEvent.consentedUseCases) &&
Objects.equals(this.consentedDataScopes, consentEvent.consentedDataScopes) &&
Objects.equals(this.consentedAccounts, consentEvent.consentedAccounts);
}
@Override
public int hashCode() {
return Objects.hash(itemId, createdAt, eventType, eventCode, institutionId, institutionName, initiator, consentedUseCases, consentedDataScopes, consentedAccounts);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ConsentEvent {\n");
sb.append(" itemId: ").append(toIndentedString(itemId)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" eventType: ").append(toIndentedString(eventType)).append("\n");
sb.append(" eventCode: ").append(toIndentedString(eventCode)).append("\n");
sb.append(" institutionId: ").append(toIndentedString(institutionId)).append("\n");
sb.append(" institutionName: ").append(toIndentedString(institutionName)).append("\n");
sb.append(" initiator: ").append(toIndentedString(initiator)).append("\n");
sb.append(" consentedUseCases: ").append(toIndentedString(consentedUseCases)).append("\n");
sb.append(" consentedDataScopes: ").append(toIndentedString(consentedDataScopes)).append("\n");
sb.append(" consentedAccounts: ").append(toIndentedString(consentedAccounts)).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/EmploymentVerification.java | src/main/java/com/plaid/client/model/EmploymentVerification.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.EmployerVerification;
import com.plaid.client.model.EmploymentVerificationStatus;
import com.plaid.client.model.PlatformIds;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
/**
* An object containing proof of employment data for an individual
*/
@ApiModel(description = "An 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 EmploymentVerification {
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private EmploymentVerificationStatus 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 EmployerVerification 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 PlatformIds platformIds;
public EmploymentVerification status(EmploymentVerificationStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public EmploymentVerificationStatus getStatus() {
return status;
}
public void setStatus(EmploymentVerificationStatus status) {
this.status = status;
}
public EmploymentVerification startDate(LocalDate startDate) {
this.startDate = startDate;
return this;
}
/**
* Start of employment in ISO 8601 format (YYYY-MM-DD).
* @return startDate
**/
@javax.annotation.Nullable
@ApiModelProperty(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 EmploymentVerification 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(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 EmploymentVerification employer(EmployerVerification employer) {
this.employer = employer;
return this;
}
/**
* Get employer
* @return employer
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public EmployerVerification getEmployer() {
return employer;
}
public void setEmployer(EmployerVerification employer) {
this.employer = employer;
}
public EmploymentVerification title(String title) {
this.title = title;
return this;
}
/**
* Current title of employee.
* @return title
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Current title of employee.")
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public EmploymentVerification platformIds(PlatformIds platformIds) {
this.platformIds = platformIds;
return this;
}
/**
* Get platformIds
* @return platformIds
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PlatformIds getPlatformIds() {
return platformIds;
}
public void setPlatformIds(PlatformIds platformIds) {
this.platformIds = platformIds;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
EmploymentVerification employmentVerification = (EmploymentVerification) o;
return Objects.equals(this.status, employmentVerification.status) &&
Objects.equals(this.startDate, employmentVerification.startDate) &&
Objects.equals(this.endDate, employmentVerification.endDate) &&
Objects.equals(this.employer, employmentVerification.employer) &&
Objects.equals(this.title, employmentVerification.title) &&
Objects.equals(this.platformIds, employmentVerification.platformIds);
}
@Override
public int hashCode() {
return Objects.hash(status, startDate, endDate, employer, title, platformIds);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class EmploymentVerification {\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("}");
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/ItemPublicTokenCreateRequest.java | src/main/java/com/plaid/client/model/ItemPublicTokenCreateRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* ItemPublicTokenCreateRequest defines the request schema for `/item/public_token/create`
*/
@ApiModel(description = "ItemPublicTokenCreateRequest defines the request schema for `/item/public_token/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ItemPublicTokenCreateRequest {
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 ItemPublicTokenCreateRequest 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 ItemPublicTokenCreateRequest 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 ItemPublicTokenCreateRequest 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;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ItemPublicTokenCreateRequest itemPublicTokenCreateRequest = (ItemPublicTokenCreateRequest) o;
return Objects.equals(this.clientId, itemPublicTokenCreateRequest.clientId) &&
Objects.equals(this.secret, itemPublicTokenCreateRequest.secret) &&
Objects.equals(this.accessToken, itemPublicTokenCreateRequest.accessToken);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, accessToken);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ItemPublicTokenCreateRequest {\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("}");
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/CraCheckReportNetworkInsightsGetOptions.java | src/main/java/com/plaid/client/model/CraCheckReportNetworkInsightsGetOptions.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.NetworkInsightsVersion;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines configuration options to generate Network Insights
*/
@ApiModel(description = "Defines configuration options to generate Network Insights")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraCheckReportNetworkInsightsGetOptions {
public static final String SERIALIZED_NAME_NETWORK_INSIGHTS_VERSION = "network_insights_version";
@SerializedName(SERIALIZED_NAME_NETWORK_INSIGHTS_VERSION)
private NetworkInsightsVersion networkInsightsVersion;
public CraCheckReportNetworkInsightsGetOptions networkInsightsVersion(NetworkInsightsVersion networkInsightsVersion) {
this.networkInsightsVersion = networkInsightsVersion;
return this;
}
/**
* Get networkInsightsVersion
* @return networkInsightsVersion
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public NetworkInsightsVersion getNetworkInsightsVersion() {
return networkInsightsVersion;
}
public void setNetworkInsightsVersion(NetworkInsightsVersion networkInsightsVersion) {
this.networkInsightsVersion = networkInsightsVersion;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CraCheckReportNetworkInsightsGetOptions craCheckReportNetworkInsightsGetOptions = (CraCheckReportNetworkInsightsGetOptions) o;
return Objects.equals(this.networkInsightsVersion, craCheckReportNetworkInsightsGetOptions.networkInsightsVersion);
}
@Override
public int hashCode() {
return Objects.hash(networkInsightsVersion);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraCheckReportNetworkInsightsGetOptions {\n");
sb.append(" networkInsightsVersion: ").append(toIndentedString(networkInsightsVersion)).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/CashflowReportMonthlySummaryTotalPayroll.java | src/main/java/com/plaid/client/model/CashflowReportMonthlySummaryTotalPayroll.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* The total amount of all payroll transactions during this month.
*/
@ApiModel(description = "The total amount of all payroll transactions during this month.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CashflowReportMonthlySummaryTotalPayroll {
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 CashflowReportMonthlySummaryTotalPayroll 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 CashflowReportMonthlySummaryTotalPayroll isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The ISO-4217 currency code of the amount. Always `null` if `unofficial_currency_code` is non-`null`
* @return isoCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The ISO-4217 currency code of the amount. Always `null` if `unofficial_currency_code` is non-`null`")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public CashflowReportMonthlySummaryTotalPayroll unofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
return this;
}
/**
* The unofficial currency code of the amount. 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 of the amount. 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;
}
CashflowReportMonthlySummaryTotalPayroll cashflowReportMonthlySummaryTotalPayroll = (CashflowReportMonthlySummaryTotalPayroll) o;
return Objects.equals(this.amount, cashflowReportMonthlySummaryTotalPayroll.amount) &&
Objects.equals(this.isoCurrencyCode, cashflowReportMonthlySummaryTotalPayroll.isoCurrencyCode) &&
Objects.equals(this.unofficialCurrencyCode, cashflowReportMonthlySummaryTotalPayroll.unofficialCurrencyCode);
}
@Override
public int hashCode() {
return Objects.hash(amount, isoCurrencyCode, unofficialCurrencyCode);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CashflowReportMonthlySummaryTotalPayroll {\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/CraPDFAddOns.java | src/main/java/com/plaid/client/model/CraPDFAddOns.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 add-ons that can be included in the PDF. `cra_income_insights`: Include Income Insights report in the PDF. `cra_partner_insights`: Include Partner Insights report in the PDF.
*/
@JsonAdapter(CraPDFAddOns.Adapter.class)
public enum CraPDFAddOns {
INCOME_INSIGHTS("cra_income_insights"),
PARTNER_INSIGHTS("cra_partner_insights"),
// 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;
CraPDFAddOns(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static CraPDFAddOns fromValue(String value) {
for (CraPDFAddOns b : CraPDFAddOns.values()) {
if (b.value.equals(value)) {
return b;
}
}
return CraPDFAddOns.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<CraPDFAddOns> {
@Override
public void write(final JsonWriter jsonWriter, final CraPDFAddOns enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public CraPDFAddOns read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return CraPDFAddOns.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/ReportType.java | src/main/java/com/plaid/client/model/ReportType.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 report type. It can be `asset`. Income report types are not yet supported.
*/
@JsonAdapter(ReportType.Adapter.class)
public enum ReportType {
ASSET("asset"),
// 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;
ReportType(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static ReportType fromValue(String value) {
for (ReportType b : ReportType.values()) {
if (b.value.equals(value)) {
return b;
}
}
return ReportType.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<ReportType> {
@Override
public void write(final JsonWriter jsonWriter, final ReportType enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public ReportType read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return ReportType.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/ItemErrorWebhook.java | src/main/java/com/plaid/client/model/ItemErrorWebhook.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.PlaidError;
import com.plaid.client.model.WebhookEnvironmentValues;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Fired when an error is encountered with an Item. The error can be resolved by having the user go through Link’s update mode.
*/
@ApiModel(description = "Fired when an error is encountered with an Item. The error can be resolved by having the user go through Link’s update mode.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ItemErrorWebhook {
public static final String SERIALIZED_NAME_WEBHOOK_TYPE = "webhook_type";
@SerializedName(SERIALIZED_NAME_WEBHOOK_TYPE)
private String webhookType;
public static final String SERIALIZED_NAME_WEBHOOK_CODE = "webhook_code";
@SerializedName(SERIALIZED_NAME_WEBHOOK_CODE)
private String webhookCode;
public static final String SERIALIZED_NAME_ITEM_ID = "item_id";
@SerializedName(SERIALIZED_NAME_ITEM_ID)
private String itemId;
public static final String SERIALIZED_NAME_ERROR = "error";
@SerializedName(SERIALIZED_NAME_ERROR)
private PlaidError error;
public static final String SERIALIZED_NAME_ENVIRONMENT = "environment";
@SerializedName(SERIALIZED_NAME_ENVIRONMENT)
private WebhookEnvironmentValues environment;
public ItemErrorWebhook webhookType(String webhookType) {
this.webhookType = webhookType;
return this;
}
/**
* `ITEM`
* @return webhookType
**/
@ApiModelProperty(required = true, value = "`ITEM`")
public String getWebhookType() {
return webhookType;
}
public void setWebhookType(String webhookType) {
this.webhookType = webhookType;
}
public ItemErrorWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `ERROR`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`ERROR`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public ItemErrorWebhook 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 ItemErrorWebhook error(PlaidError error) {
this.error = error;
return this;
}
/**
* Get error
* @return error
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public PlaidError getError() {
return error;
}
public void setError(PlaidError error) {
this.error = error;
}
public ItemErrorWebhook 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;
}
ItemErrorWebhook itemErrorWebhook = (ItemErrorWebhook) o;
return Objects.equals(this.webhookType, itemErrorWebhook.webhookType) &&
Objects.equals(this.webhookCode, itemErrorWebhook.webhookCode) &&
Objects.equals(this.itemId, itemErrorWebhook.itemId) &&
Objects.equals(this.error, itemErrorWebhook.error) &&
Objects.equals(this.environment, itemErrorWebhook.environment);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, itemId, error, environment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ItemErrorWebhook {\n");
sb.append(" webhookType: ").append(toIndentedString(webhookType)).append("\n");
sb.append(" webhookCode: ").append(toIndentedString(webhookCode)).append("\n");
sb.append(" itemId: ").append(toIndentedString(itemId)).append("\n");
sb.append(" error: ").append(toIndentedString(error)).append("\n");
sb.append(" 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/EmployeeIncomeSummaryFieldString.java | src/main/java/com/plaid/client/model/EmployeeIncomeSummaryFieldString.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.IncomeSummaryFieldString;
import com.plaid.client.model.VerificationStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The name of the employee, as reported on the paystub.
*/
@ApiModel(description = "The name of the employee, as reported on the paystub.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class EmployeeIncomeSummaryFieldString {
public static final String SERIALIZED_NAME_VALUE = "value";
@SerializedName(SERIALIZED_NAME_VALUE)
private String value;
public static final String SERIALIZED_NAME_VERIFICATION_STATUS = "verification_status";
@SerializedName(SERIALIZED_NAME_VERIFICATION_STATUS)
private VerificationStatus verificationStatus;
public EmployeeIncomeSummaryFieldString value(String value) {
this.value = value;
return this;
}
/**
* The value of the field.
* @return value
**/
@ApiModelProperty(required = true, value = "The value of the field.")
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
public EmployeeIncomeSummaryFieldString verificationStatus(VerificationStatus verificationStatus) {
this.verificationStatus = verificationStatus;
return this;
}
/**
* Get verificationStatus
* @return verificationStatus
**/
@ApiModelProperty(required = true, value = "")
public VerificationStatus getVerificationStatus() {
return verificationStatus;
}
public void setVerificationStatus(VerificationStatus verificationStatus) {
this.verificationStatus = verificationStatus;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
EmployeeIncomeSummaryFieldString employeeIncomeSummaryFieldString = (EmployeeIncomeSummaryFieldString) o;
return Objects.equals(this.value, employeeIncomeSummaryFieldString.value) &&
Objects.equals(this.verificationStatus, employeeIncomeSummaryFieldString.verificationStatus);
}
@Override
public int hashCode() {
return Objects.hash(value, verificationStatus);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class EmployeeIncomeSummaryFieldString {\n");
sb.append(" value: ").append(toIndentedString(value)).append("\n");
sb.append(" verificationStatus: ").append(toIndentedString(verificationStatus)).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/PayFrequency.java | src/main/java/com/plaid/client/model/PayFrequency.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.PayFrequencyValue;
import com.plaid.client.model.VerificationStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The frequency of the pay period.
*/
@ApiModel(description = "The frequency of the pay period.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PayFrequency {
public static final String SERIALIZED_NAME_VALUE = "value";
@SerializedName(SERIALIZED_NAME_VALUE)
private PayFrequencyValue value;
public static final String SERIALIZED_NAME_VERIFICATION_STATUS = "verification_status";
@SerializedName(SERIALIZED_NAME_VERIFICATION_STATUS)
private VerificationStatus verificationStatus;
public PayFrequency value(PayFrequencyValue value) {
this.value = value;
return this;
}
/**
* Get value
* @return value
**/
@ApiModelProperty(required = true, value = "")
public PayFrequencyValue getValue() {
return value;
}
public void setValue(PayFrequencyValue value) {
this.value = value;
}
public PayFrequency verificationStatus(VerificationStatus verificationStatus) {
this.verificationStatus = verificationStatus;
return this;
}
/**
* Get verificationStatus
* @return verificationStatus
**/
@ApiModelProperty(required = true, value = "")
public VerificationStatus getVerificationStatus() {
return verificationStatus;
}
public void setVerificationStatus(VerificationStatus verificationStatus) {
this.verificationStatus = verificationStatus;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PayFrequency payFrequency = (PayFrequency) o;
return Objects.equals(this.value, payFrequency.value) &&
Objects.equals(this.verificationStatus, payFrequency.verificationStatus);
}
@Override
public int hashCode() {
return Objects.hash(value, verificationStatus);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PayFrequency {\n");
sb.append(" value: ").append(toIndentedString(value)).append("\n");
sb.append(" verificationStatus: ").append(toIndentedString(verificationStatus)).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/Employee.java | src/main/java/com/plaid/client/model/Employee.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.PaystubAddress;
import com.plaid.client.model.TaxpayerID;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Data about the employee.
*/
@ApiModel(description = "Data about the employee.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class Employee {
public static final String SERIALIZED_NAME_ADDRESS = "address";
@SerializedName(SERIALIZED_NAME_ADDRESS)
private PaystubAddress address;
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public static final String SERIALIZED_NAME_MARITAL_STATUS = "marital_status";
@SerializedName(SERIALIZED_NAME_MARITAL_STATUS)
private String maritalStatus;
public static final String SERIALIZED_NAME_TAXPAYER_ID = "taxpayer_id";
@SerializedName(SERIALIZED_NAME_TAXPAYER_ID)
private TaxpayerID taxpayerId;
public Employee address(PaystubAddress address) {
this.address = address;
return this;
}
/**
* Get address
* @return address
**/
@ApiModelProperty(required = true, value = "")
public PaystubAddress getAddress() {
return address;
}
public void setAddress(PaystubAddress address) {
this.address = address;
}
public Employee name(String name) {
this.name = name;
return this;
}
/**
* The name of the employee.
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The name of the employee.")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Employee maritalStatus(String maritalStatus) {
this.maritalStatus = maritalStatus;
return this;
}
/**
* Marital status of the employee - either `single` or `married`.
* @return maritalStatus
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Marital status of the employee - either `single` or `married`.")
public String getMaritalStatus() {
return maritalStatus;
}
public void setMaritalStatus(String maritalStatus) {
this.maritalStatus = maritalStatus;
}
public Employee taxpayerId(TaxpayerID taxpayerId) {
this.taxpayerId = taxpayerId;
return this;
}
/**
* Get taxpayerId
* @return taxpayerId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public TaxpayerID getTaxpayerId() {
return taxpayerId;
}
public void setTaxpayerId(TaxpayerID taxpayerId) {
this.taxpayerId = taxpayerId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Employee employee = (Employee) o;
return Objects.equals(this.address, employee.address) &&
Objects.equals(this.name, employee.name) &&
Objects.equals(this.maritalStatus, employee.maritalStatus) &&
Objects.equals(this.taxpayerId, employee.taxpayerId);
}
@Override
public int hashCode() {
return Objects.hash(address, name, maritalStatus, taxpayerId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Employee {\n");
sb.append(" address: ").append(toIndentedString(address)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" maritalStatus: ").append(toIndentedString(maritalStatus)).append("\n");
sb.append(" taxpayerId: ").append(toIndentedString(taxpayerId)).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/PhysicalDocumentExtractedData.java | src/main/java/com/plaid/client/model/PhysicalDocumentExtractedData.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.IdentityVerificationDocumentAddressResponse;
import com.plaid.client.model.IdentityVerificationDocumentNameResponse;
import com.plaid.client.model.PhysicalDocumentCategory;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
/**
* Data extracted from a user-submitted document.
*/
@ApiModel(description = "Data extracted from a user-submitted document.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PhysicalDocumentExtractedData {
public static final String SERIALIZED_NAME_ID_NUMBER = "id_number";
@SerializedName(SERIALIZED_NAME_ID_NUMBER)
private String idNumber;
public static final String SERIALIZED_NAME_CATEGORY = "category";
@SerializedName(SERIALIZED_NAME_CATEGORY)
private PhysicalDocumentCategory category;
public static final String SERIALIZED_NAME_EXPIRATION_DATE = "expiration_date";
@SerializedName(SERIALIZED_NAME_EXPIRATION_DATE)
private LocalDate expirationDate;
public static final String SERIALIZED_NAME_ISSUE_DATE = "issue_date";
@SerializedName(SERIALIZED_NAME_ISSUE_DATE)
private LocalDate issueDate;
public static final String SERIALIZED_NAME_ISSUING_COUNTRY = "issuing_country";
@SerializedName(SERIALIZED_NAME_ISSUING_COUNTRY)
private String issuingCountry;
public static final String SERIALIZED_NAME_ISSUING_REGION = "issuing_region";
@SerializedName(SERIALIZED_NAME_ISSUING_REGION)
private String issuingRegion;
public static final String SERIALIZED_NAME_DATE_OF_BIRTH = "date_of_birth";
@SerializedName(SERIALIZED_NAME_DATE_OF_BIRTH)
private LocalDate dateOfBirth;
public static final String SERIALIZED_NAME_ADDRESS = "address";
@SerializedName(SERIALIZED_NAME_ADDRESS)
private IdentityVerificationDocumentAddressResponse address;
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
private IdentityVerificationDocumentNameResponse name;
public PhysicalDocumentExtractedData idNumber(String idNumber) {
this.idNumber = idNumber;
return this;
}
/**
* Alpha-numeric ID number extracted via OCR from the user's document image.
* @return idNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "AB123456", required = true, value = "Alpha-numeric ID number extracted via OCR from the user's document image.")
public String getIdNumber() {
return idNumber;
}
public void setIdNumber(String idNumber) {
this.idNumber = idNumber;
}
public PhysicalDocumentExtractedData category(PhysicalDocumentCategory category) {
this.category = category;
return this;
}
/**
* Get category
* @return category
**/
@ApiModelProperty(required = true, value = "")
public PhysicalDocumentCategory getCategory() {
return category;
}
public void setCategory(PhysicalDocumentCategory category) {
this.category = category;
}
public PhysicalDocumentExtractedData expirationDate(LocalDate expirationDate) {
this.expirationDate = expirationDate;
return this;
}
/**
* The expiration date of the document in the format YYYY-MM-DD (RFC 3339 Section 5.6).
* @return expirationDate
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "Wed May 29 00:00:00 UTC 2030", required = true, value = "The expiration date of the document in the format YYYY-MM-DD (RFC 3339 Section 5.6).")
public LocalDate getExpirationDate() {
return expirationDate;
}
public void setExpirationDate(LocalDate expirationDate) {
this.expirationDate = expirationDate;
}
public PhysicalDocumentExtractedData issueDate(LocalDate issueDate) {
this.issueDate = issueDate;
return this;
}
/**
* The issue date of the document in the format YYYY-MM-DD (RFC 3339 Section 5.6).
* @return issueDate
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "Fri May 29 00:00:00 UTC 2020", required = true, value = "The issue date of the document in the format YYYY-MM-DD (RFC 3339 Section 5.6).")
public LocalDate getIssueDate() {
return issueDate;
}
public void setIssueDate(LocalDate issueDate) {
this.issueDate = issueDate;
}
public PhysicalDocumentExtractedData issuingCountry(String issuingCountry) {
this.issuingCountry = issuingCountry;
return this;
}
/**
* Valid, capitalized, two-letter ISO code representing the country of this object. Must be in ISO 3166-1 alpha-2 form.
* @return issuingCountry
**/
@ApiModelProperty(example = "US", required = true, value = "Valid, capitalized, two-letter ISO code representing the country of this object. Must be in ISO 3166-1 alpha-2 form.")
public String getIssuingCountry() {
return issuingCountry;
}
public void setIssuingCountry(String issuingCountry) {
this.issuingCountry = issuingCountry;
}
public PhysicalDocumentExtractedData issuingRegion(String issuingRegion) {
this.issuingRegion = issuingRegion;
return this;
}
/**
* A subdivision code. \"Subdivision\" is a generic term for \"state\", \"province\", \"prefecture\", \"zone\", etc. For the list of valid codes, see [country subdivision codes](https://plaid.com/documents/country_subdivision_codes.json). Country prefixes are omitted, since they are inferred from the `country` field.
* @return issuingRegion
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "IN", required = true, value = "A subdivision code. \"Subdivision\" is a generic term for \"state\", \"province\", \"prefecture\", \"zone\", etc. For the list of valid codes, see [country subdivision codes](https://plaid.com/documents/country_subdivision_codes.json). Country prefixes are omitted, since they are inferred from the `country` field.")
public String getIssuingRegion() {
return issuingRegion;
}
public void setIssuingRegion(String issuingRegion) {
this.issuingRegion = issuingRegion;
}
public PhysicalDocumentExtractedData dateOfBirth(LocalDate dateOfBirth) {
this.dateOfBirth = dateOfBirth;
return this;
}
/**
* A date extracted from the document in the format YYYY-MM-DD (RFC 3339 Section 5.6).
* @return dateOfBirth
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "Tue May 29 00:00:00 UTC 1990", required = true, value = "A date extracted from the document in the format YYYY-MM-DD (RFC 3339 Section 5.6).")
public LocalDate getDateOfBirth() {
return dateOfBirth;
}
public void setDateOfBirth(LocalDate dateOfBirth) {
this.dateOfBirth = dateOfBirth;
}
public PhysicalDocumentExtractedData address(IdentityVerificationDocumentAddressResponse address) {
this.address = address;
return this;
}
/**
* Get address
* @return address
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public IdentityVerificationDocumentAddressResponse getAddress() {
return address;
}
public void setAddress(IdentityVerificationDocumentAddressResponse address) {
this.address = address;
}
public PhysicalDocumentExtractedData name(IdentityVerificationDocumentNameResponse name) {
this.name = name;
return this;
}
/**
* Get name
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public IdentityVerificationDocumentNameResponse getName() {
return name;
}
public void setName(IdentityVerificationDocumentNameResponse name) {
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PhysicalDocumentExtractedData physicalDocumentExtractedData = (PhysicalDocumentExtractedData) o;
return Objects.equals(this.idNumber, physicalDocumentExtractedData.idNumber) &&
Objects.equals(this.category, physicalDocumentExtractedData.category) &&
Objects.equals(this.expirationDate, physicalDocumentExtractedData.expirationDate) &&
Objects.equals(this.issueDate, physicalDocumentExtractedData.issueDate) &&
Objects.equals(this.issuingCountry, physicalDocumentExtractedData.issuingCountry) &&
Objects.equals(this.issuingRegion, physicalDocumentExtractedData.issuingRegion) &&
Objects.equals(this.dateOfBirth, physicalDocumentExtractedData.dateOfBirth) &&
Objects.equals(this.address, physicalDocumentExtractedData.address) &&
Objects.equals(this.name, physicalDocumentExtractedData.name);
}
@Override
public int hashCode() {
return Objects.hash(idNumber, category, expirationDate, issueDate, issuingCountry, issuingRegion, dateOfBirth, address, name);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PhysicalDocumentExtractedData {\n");
sb.append(" idNumber: ").append(toIndentedString(idNumber)).append("\n");
sb.append(" category: ").append(toIndentedString(category)).append("\n");
sb.append(" expirationDate: ").append(toIndentedString(expirationDate)).append("\n");
sb.append(" issueDate: ").append(toIndentedString(issueDate)).append("\n");
sb.append(" issuingCountry: ").append(toIndentedString(issuingCountry)).append("\n");
sb.append(" issuingRegion: ").append(toIndentedString(issuingRegion)).append("\n");
sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n");
sb.append(" address: ").append(toIndentedString(address)).append("\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/CraUpgradeFailedWebhook.java | src/main/java/com/plaid/client/model/CraUpgradeFailedWebhook.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.util.ArrayList;
import java.util.List;
/**
* Fired when a Check Report upgrade attempt has failed
*/
@ApiModel(description = "Fired when a Check Report upgrade attempt has failed")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraUpgradeFailedWebhook {
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_USER_ID = "user_id";
@SerializedName(SERIALIZED_NAME_USER_ID)
private String userId;
public static final String SERIALIZED_NAME_ITEM_IDS = "item_ids";
@SerializedName(SERIALIZED_NAME_ITEM_IDS)
private List<String> itemIds = new ArrayList<>();
public static final String SERIALIZED_NAME_ENVIRONMENT = "environment";
@SerializedName(SERIALIZED_NAME_ENVIRONMENT)
private WebhookEnvironmentValues environment;
public CraUpgradeFailedWebhook webhookType(String webhookType) {
this.webhookType = webhookType;
return this;
}
/**
* `CHECK_REPORT`
* @return webhookType
**/
@ApiModelProperty(required = true, value = "`CHECK_REPORT`")
public String getWebhookType() {
return webhookType;
}
public void setWebhookType(String webhookType) {
this.webhookType = webhookType;
}
public CraUpgradeFailedWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `UPGRADE_FAILED`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`UPGRADE_FAILED`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public CraUpgradeFailedWebhook userId(String userId) {
this.userId = userId;
return this;
}
/**
* The `user_id` corresponding to the user the webhook has fired for.
* @return userId
**/
@ApiModelProperty(required = true, value = "The `user_id` corresponding to the user the webhook has fired for.")
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public CraUpgradeFailedWebhook itemIds(List<String> itemIds) {
this.itemIds = itemIds;
return this;
}
public CraUpgradeFailedWebhook addItemIdsItem(String itemIdsItem) {
this.itemIds.add(itemIdsItem);
return this;
}
/**
* An array of `item_id`s for items that failed to be upgraded by a Check Report upgrade attempt.
* @return itemIds
**/
@ApiModelProperty(required = true, value = "An array of `item_id`s for items that failed to be upgraded by a Check Report upgrade attempt.")
public List<String> getItemIds() {
return itemIds;
}
public void setItemIds(List<String> itemIds) {
this.itemIds = itemIds;
}
public CraUpgradeFailedWebhook 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;
}
CraUpgradeFailedWebhook craUpgradeFailedWebhook = (CraUpgradeFailedWebhook) o;
return Objects.equals(this.webhookType, craUpgradeFailedWebhook.webhookType) &&
Objects.equals(this.webhookCode, craUpgradeFailedWebhook.webhookCode) &&
Objects.equals(this.userId, craUpgradeFailedWebhook.userId) &&
Objects.equals(this.itemIds, craUpgradeFailedWebhook.itemIds) &&
Objects.equals(this.environment, craUpgradeFailedWebhook.environment);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, userId, itemIds, environment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraUpgradeFailedWebhook {\n");
sb.append(" webhookType: ").append(toIndentedString(webhookType)).append("\n");
sb.append(" webhookCode: ").append(toIndentedString(webhookCode)).append("\n");
sb.append(" userId: ").append(toIndentedString(userId)).append("\n");
sb.append(" itemIds: ").append(toIndentedString(itemIds)).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/DataSources.java | src/main/java/com/plaid/client/model/DataSources.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 description of the source of data for a given product/data type. `INSTITUTION`: The institution supports this product, and the data was provided by the institution. `INSTITUTION_MASK`: The user manually provided the full account number, which was matched to the account mask provided by the institution. Only applicable to the `numbers` data type. `USER`: The institution does not support this product, and the data was manually provided by the user.
*/
@JsonAdapter(DataSources.Adapter.class)
public enum DataSources {
INSTITUTION("INSTITUTION"),
INSTITUTION_MASK("INSTITUTION_MASK"),
USER("USER"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
DataSources(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static DataSources fromValue(String value) {
for (DataSources b : DataSources.values()) {
if (b.value.equals(value)) {
return b;
}
}
return DataSources.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<DataSources> {
@Override
public void write(final JsonWriter jsonWriter, final DataSources enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public DataSources read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return DataSources.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/UserStatedIncomeSourcePayType.java | src/main/java/com/plaid/client/model/UserStatedIncomeSourcePayType.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 pay type - `GROSS`, `NET`, or `UNKNOWN` for a specified income source
*/
@JsonAdapter(UserStatedIncomeSourcePayType.Adapter.class)
public enum UserStatedIncomeSourcePayType {
UNKNOWN("UNKNOWN"),
GROSS("GROSS"),
NET("NET"),
// 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;
UserStatedIncomeSourcePayType(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static UserStatedIncomeSourcePayType fromValue(String value) {
for (UserStatedIncomeSourcePayType b : UserStatedIncomeSourcePayType.values()) {
if (b.value.equals(value)) {
return b;
}
}
return UserStatedIncomeSourcePayType.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<UserStatedIncomeSourcePayType> {
@Override
public void write(final JsonWriter jsonWriter, final UserStatedIncomeSourcePayType enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public UserStatedIncomeSourcePayType read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return UserStatedIncomeSourcePayType.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/IdentityVerification.java | src/main/java/com/plaid/client/model/IdentityVerification.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 IdentityVerification {
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 IdentityVerification 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 IdentityVerification 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 IdentityVerification 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 IdentityVerification 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 IdentityVerification 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 IdentityVerification 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 IdentityVerification 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 IdentityVerification 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 IdentityVerification 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 IdentityVerification 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 IdentityVerification 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 IdentityVerification 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 IdentityVerification 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 IdentityVerification 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 IdentityVerification 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 IdentityVerification 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 IdentityVerification 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 IdentityVerification 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 IdentityVerification 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 IdentityVerification 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;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
IdentityVerification identityVerification = (IdentityVerification) o;
return Objects.equals(this.id, identityVerification.id) &&
Objects.equals(this.clientUserId, identityVerification.clientUserId) &&
Objects.equals(this.createdAt, identityVerification.createdAt) &&
Objects.equals(this.completedAt, identityVerification.completedAt) &&
Objects.equals(this.previousAttemptId, identityVerification.previousAttemptId) &&
Objects.equals(this.shareableUrl, identityVerification.shareableUrl) &&
Objects.equals(this.template, identityVerification.template) &&
Objects.equals(this.user, identityVerification.user) &&
Objects.equals(this.status, identityVerification.status) &&
Objects.equals(this.steps, identityVerification.steps) &&
Objects.equals(this.documentaryVerification, identityVerification.documentaryVerification) &&
Objects.equals(this.selfieCheck, identityVerification.selfieCheck) &&
Objects.equals(this.kycCheck, identityVerification.kycCheck) &&
Objects.equals(this.riskCheck, identityVerification.riskCheck) &&
Objects.equals(this.verifySms, identityVerification.verifySms) &&
Objects.equals(this.watchlistScreeningId, identityVerification.watchlistScreeningId) &&
Objects.equals(this.beaconUserId, identityVerification.beaconUserId) &&
Objects.equals(this.userId, identityVerification.userId) &&
Objects.equals(this.redactedAt, identityVerification.redactedAt) &&
Objects.equals(this.latestScoredProtectEvent, identityVerification.latestScoredProtectEvent);
}
@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);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IdentityVerification {\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("}");
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/BankTransferEventListResponse.java | src/main/java/com/plaid/client/model/BankTransferEventListResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.BankTransferEvent;
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 `/bank_transfer/event/list`
*/
@ApiModel(description = "Defines the response schema for `/bank_transfer/event/list`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BankTransferEventListResponse {
public static final String SERIALIZED_NAME_BANK_TRANSFER_EVENTS = "bank_transfer_events";
@SerializedName(SERIALIZED_NAME_BANK_TRANSFER_EVENTS)
private List<BankTransferEvent> bankTransferEvents = new ArrayList<>();
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public BankTransferEventListResponse bankTransferEvents(List<BankTransferEvent> bankTransferEvents) {
this.bankTransferEvents = bankTransferEvents;
return this;
}
public BankTransferEventListResponse addBankTransferEventsItem(BankTransferEvent bankTransferEventsItem) {
this.bankTransferEvents.add(bankTransferEventsItem);
return this;
}
/**
* Get bankTransferEvents
* @return bankTransferEvents
**/
@ApiModelProperty(required = true, value = "")
public List<BankTransferEvent> getBankTransferEvents() {
return bankTransferEvents;
}
public void setBankTransferEvents(List<BankTransferEvent> bankTransferEvents) {
this.bankTransferEvents = bankTransferEvents;
}
public BankTransferEventListResponse 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;
}
BankTransferEventListResponse bankTransferEventListResponse = (BankTransferEventListResponse) o;
return Objects.equals(this.bankTransferEvents, bankTransferEventListResponse.bankTransferEvents) &&
Objects.equals(this.requestId, bankTransferEventListResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(bankTransferEvents, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BankTransferEventListResponse {\n");
sb.append(" bankTransferEvents: ").append(toIndentedString(bankTransferEvents)).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/CraBankIncomeAccount.java | src/main/java/com/plaid/client/model/CraBankIncomeAccount.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.CraBankIncomeAccountMetadata;
import com.plaid.client.model.CreditBankIncomeAccountType;
import com.plaid.client.model.DepositoryAccountSubtype;
import com.plaid.client.model.Owner;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* The Item's bank accounts that have the selected data.
*/
@ApiModel(description = "The Item's bank accounts that have the selected data.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraBankIncomeAccount {
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
private String accountId;
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 CraBankIncomeAccountMetadata 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_SUBTYPE = "subtype";
@SerializedName(SERIALIZED_NAME_SUBTYPE)
private DepositoryAccountSubtype subtype;
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private CreditBankIncomeAccountType type;
public static final String SERIALIZED_NAME_OWNERS = "owners";
@SerializedName(SERIALIZED_NAME_OWNERS)
private List<Owner> owners = new ArrayList<>();
public CraBankIncomeAccount 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
**/
@javax.annotation.Nullable
@ApiModelProperty(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 CraBankIncomeAccount 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 CraBankIncomeAccount metadata(CraBankIncomeAccountMetadata metadata) {
this.metadata = metadata;
return this;
}
/**
* Get metadata
* @return metadata
**/
@ApiModelProperty(required = true, value = "")
public CraBankIncomeAccountMetadata getMetadata() {
return metadata;
}
public void setMetadata(CraBankIncomeAccountMetadata metadata) {
this.metadata = metadata;
}
public CraBankIncomeAccount name(String name) {
this.name = name;
return this;
}
/**
* The name of the bank account.
* @return name
**/
@ApiModelProperty(required = true, value = "The name of the bank account.")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public CraBankIncomeAccount officialName(String officialName) {
this.officialName = officialName;
return this;
}
/**
* The official name of the bank account.
* @return officialName
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The official name of the bank account.")
public String getOfficialName() {
return officialName;
}
public void setOfficialName(String officialName) {
this.officialName = officialName;
}
public CraBankIncomeAccount subtype(DepositoryAccountSubtype subtype) {
this.subtype = subtype;
return this;
}
/**
* Get subtype
* @return subtype
**/
@ApiModelProperty(required = true, value = "")
public DepositoryAccountSubtype getSubtype() {
return subtype;
}
public void setSubtype(DepositoryAccountSubtype subtype) {
this.subtype = subtype;
}
public CraBankIncomeAccount type(CreditBankIncomeAccountType type) {
this.type = type;
return this;
}
/**
* Get type
* @return type
**/
@ApiModelProperty(required = true, value = "")
public CreditBankIncomeAccountType getType() {
return type;
}
public void setType(CreditBankIncomeAccountType type) {
this.type = type;
}
public CraBankIncomeAccount owners(List<Owner> owners) {
this.owners = owners;
return this;
}
public CraBankIncomeAccount addOwnersItem(Owner ownersItem) {
this.owners.add(ownersItem);
return this;
}
/**
* Data returned by the financial institution about the account owner or owners. Identity information is optional, so field may return an empty array.
* @return owners
**/
@ApiModelProperty(required = true, value = "Data returned by the financial institution about the account owner or owners. Identity information is optional, so field may return an empty array.")
public List<Owner> getOwners() {
return owners;
}
public void setOwners(List<Owner> owners) {
this.owners = owners;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CraBankIncomeAccount craBankIncomeAccount = (CraBankIncomeAccount) o;
return Objects.equals(this.accountId, craBankIncomeAccount.accountId) &&
Objects.equals(this.mask, craBankIncomeAccount.mask) &&
Objects.equals(this.metadata, craBankIncomeAccount.metadata) &&
Objects.equals(this.name, craBankIncomeAccount.name) &&
Objects.equals(this.officialName, craBankIncomeAccount.officialName) &&
Objects.equals(this.subtype, craBankIncomeAccount.subtype) &&
Objects.equals(this.type, craBankIncomeAccount.type) &&
Objects.equals(this.owners, craBankIncomeAccount.owners);
}
@Override
public int hashCode() {
return Objects.hash(accountId, mask, metadata, name, officialName, subtype, type, owners);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraBankIncomeAccount {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).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(" subtype: ").append(toIndentedString(subtype)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" owners: ").append(toIndentedString(owners)).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/IncomeVerificationTaxformsGetResponse.java | src/main/java/com/plaid/client/model/IncomeVerificationTaxformsGetResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.DocumentMetadata;
import com.plaid.client.model.PlaidError;
import com.plaid.client.model.Taxform;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* IncomeVerificationTaxformsGetResponse defines the response schema for `/income/verification/taxforms/get`
*/
@ApiModel(description = "IncomeVerificationTaxformsGetResponse defines the response schema for `/income/verification/taxforms/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class IncomeVerificationTaxformsGetResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public static final String SERIALIZED_NAME_DOCUMENT_METADATA = "document_metadata";
@SerializedName(SERIALIZED_NAME_DOCUMENT_METADATA)
private List<DocumentMetadata> documentMetadata = new ArrayList<>();
public static final String SERIALIZED_NAME_TAXFORMS = "taxforms";
@SerializedName(SERIALIZED_NAME_TAXFORMS)
private List<Taxform> taxforms = new ArrayList<>();
public static final String SERIALIZED_NAME_ERROR = "error";
@SerializedName(SERIALIZED_NAME_ERROR)
private PlaidError error;
public IncomeVerificationTaxformsGetResponse 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;
}
public IncomeVerificationTaxformsGetResponse documentMetadata(List<DocumentMetadata> documentMetadata) {
this.documentMetadata = documentMetadata;
return this;
}
public IncomeVerificationTaxformsGetResponse addDocumentMetadataItem(DocumentMetadata documentMetadataItem) {
this.documentMetadata.add(documentMetadataItem);
return this;
}
/**
* Get documentMetadata
* @return documentMetadata
**/
@ApiModelProperty(required = true, value = "")
public List<DocumentMetadata> getDocumentMetadata() {
return documentMetadata;
}
public void setDocumentMetadata(List<DocumentMetadata> documentMetadata) {
this.documentMetadata = documentMetadata;
}
public IncomeVerificationTaxformsGetResponse taxforms(List<Taxform> taxforms) {
this.taxforms = taxforms;
return this;
}
public IncomeVerificationTaxformsGetResponse addTaxformsItem(Taxform taxformsItem) {
this.taxforms.add(taxformsItem);
return this;
}
/**
* A list of forms.
* @return taxforms
**/
@ApiModelProperty(required = true, value = "A list of forms.")
public List<Taxform> getTaxforms() {
return taxforms;
}
public void setTaxforms(List<Taxform> taxforms) {
this.taxforms = taxforms;
}
public IncomeVerificationTaxformsGetResponse error(PlaidError error) {
this.error = error;
return this;
}
/**
* Get error
* @return error
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PlaidError getError() {
return error;
}
public void setError(PlaidError error) {
this.error = error;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
IncomeVerificationTaxformsGetResponse incomeVerificationTaxformsGetResponse = (IncomeVerificationTaxformsGetResponse) o;
return Objects.equals(this.requestId, incomeVerificationTaxformsGetResponse.requestId) &&
Objects.equals(this.documentMetadata, incomeVerificationTaxformsGetResponse.documentMetadata) &&
Objects.equals(this.taxforms, incomeVerificationTaxformsGetResponse.taxforms) &&
Objects.equals(this.error, incomeVerificationTaxformsGetResponse.error);
}
@Override
public int hashCode() {
return Objects.hash(requestId, documentMetadata, taxforms, error);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IncomeVerificationTaxformsGetResponse {\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append(" documentMetadata: ").append(toIndentedString(documentMetadata)).append("\n");
sb.append(" taxforms: ").append(toIndentedString(taxforms)).append("\n");
sb.append(" error: ").append(toIndentedString(error)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/AssetTransactionType.java | src/main/java/com/plaid/client/model/AssetTransactionType.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* Asset Transaction Type.
*/
@JsonAdapter(AssetTransactionType.Adapter.class)
public enum AssetTransactionType {
CREDIT("Credit"),
DEBIT("Debit"),
// 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;
AssetTransactionType(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static AssetTransactionType fromValue(String value) {
for (AssetTransactionType b : AssetTransactionType.values()) {
if (b.value.equals(value)) {
return b;
}
}
return AssetTransactionType.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<AssetTransactionType> {
@Override
public void write(final JsonWriter jsonWriter, final AssetTransactionType enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public AssetTransactionType read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return AssetTransactionType.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/WatchlistScreeningIndividualHistoryListResponse.java | src/main/java/com/plaid/client/model/WatchlistScreeningIndividualHistoryListResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.WatchlistScreeningIndividual;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Paginated list of individual watchlist screenings.
*/
@ApiModel(description = "Paginated list of individual watchlist screenings.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class WatchlistScreeningIndividualHistoryListResponse {
public static final String SERIALIZED_NAME_WATCHLIST_SCREENINGS = "watchlist_screenings";
@SerializedName(SERIALIZED_NAME_WATCHLIST_SCREENINGS)
private List<WatchlistScreeningIndividual> watchlistScreenings = 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 WatchlistScreeningIndividualHistoryListResponse watchlistScreenings(List<WatchlistScreeningIndividual> watchlistScreenings) {
this.watchlistScreenings = watchlistScreenings;
return this;
}
public WatchlistScreeningIndividualHistoryListResponse addWatchlistScreeningsItem(WatchlistScreeningIndividual watchlistScreeningsItem) {
this.watchlistScreenings.add(watchlistScreeningsItem);
return this;
}
/**
* List of individual watchlist screenings
* @return watchlistScreenings
**/
@ApiModelProperty(required = true, value = "List of individual watchlist screenings")
public List<WatchlistScreeningIndividual> getWatchlistScreenings() {
return watchlistScreenings;
}
public void setWatchlistScreenings(List<WatchlistScreeningIndividual> watchlistScreenings) {
this.watchlistScreenings = watchlistScreenings;
}
public WatchlistScreeningIndividualHistoryListResponse 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 WatchlistScreeningIndividualHistoryListResponse 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;
}
WatchlistScreeningIndividualHistoryListResponse watchlistScreeningIndividualHistoryListResponse = (WatchlistScreeningIndividualHistoryListResponse) o;
return Objects.equals(this.watchlistScreenings, watchlistScreeningIndividualHistoryListResponse.watchlistScreenings) &&
Objects.equals(this.nextCursor, watchlistScreeningIndividualHistoryListResponse.nextCursor) &&
Objects.equals(this.requestId, watchlistScreeningIndividualHistoryListResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(watchlistScreenings, nextCursor, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class WatchlistScreeningIndividualHistoryListResponse {\n");
sb.append(" watchlistScreenings: ").append(toIndentedString(watchlistScreenings)).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/Ruleset.java | src/main/java/com/plaid/client/model/Ruleset.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.RuleDetails;
import com.plaid.client.model.RuleResult;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Details about the transaction result after evaluation by the requested Ruleset. If a `ruleset_key` is not provided, for customers who began using Signal Transaction Scores before October 15, 2025, by default, this field will be omitted. To learn more, see [Signal Rules](https://plaid.com/docs/signal/signal-rules/).
*/
@ApiModel(description = "Details about the transaction result after evaluation by the requested Ruleset. If a `ruleset_key` is not provided, for customers who began using Signal Transaction Scores before October 15, 2025, by default, this field will be omitted. To learn more, see [Signal Rules](https://plaid.com/docs/signal/signal-rules/).")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class Ruleset {
public static final String SERIALIZED_NAME_RULESET_KEY = "ruleset_key";
@SerializedName(SERIALIZED_NAME_RULESET_KEY)
private String rulesetKey;
public static final String SERIALIZED_NAME_RESULT = "result";
@SerializedName(SERIALIZED_NAME_RESULT)
private RuleResult result;
public static final String SERIALIZED_NAME_TRIGGERED_RULE_DETAILS = "triggered_rule_details";
@SerializedName(SERIALIZED_NAME_TRIGGERED_RULE_DETAILS)
private RuleDetails triggeredRuleDetails;
public static final String SERIALIZED_NAME_OUTCOME = "outcome";
@SerializedName(SERIALIZED_NAME_OUTCOME)
private String outcome;
public Ruleset rulesetKey(String rulesetKey) {
this.rulesetKey = rulesetKey;
return this;
}
/**
* The key of the Ruleset used for this transaction.
* @return rulesetKey
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The key of the Ruleset used for this transaction.")
public String getRulesetKey() {
return rulesetKey;
}
public void setRulesetKey(String rulesetKey) {
this.rulesetKey = rulesetKey;
}
public Ruleset result(RuleResult result) {
this.result = result;
return this;
}
/**
* Get result
* @return result
**/
@ApiModelProperty(required = true, value = "")
public RuleResult getResult() {
return result;
}
public void setResult(RuleResult result) {
this.result = result;
}
public Ruleset triggeredRuleDetails(RuleDetails triggeredRuleDetails) {
this.triggeredRuleDetails = triggeredRuleDetails;
return this;
}
/**
* Get triggeredRuleDetails
* @return triggeredRuleDetails
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public RuleDetails getTriggeredRuleDetails() {
return triggeredRuleDetails;
}
public void setTriggeredRuleDetails(RuleDetails triggeredRuleDetails) {
this.triggeredRuleDetails = triggeredRuleDetails;
}
public Ruleset outcome(String outcome) {
this.outcome = outcome;
return this;
}
/**
* The evaluated outcome for this transaction. This field is deprecated, use `result` or `triggered_rule_details.custom_action_key` instead.
* @return outcome
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The evaluated outcome for this transaction. This field is deprecated, use `result` or `triggered_rule_details.custom_action_key` instead.")
public String getOutcome() {
return outcome;
}
public void setOutcome(String outcome) {
this.outcome = outcome;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Ruleset ruleset = (Ruleset) o;
return Objects.equals(this.rulesetKey, ruleset.rulesetKey) &&
Objects.equals(this.result, ruleset.result) &&
Objects.equals(this.triggeredRuleDetails, ruleset.triggeredRuleDetails) &&
Objects.equals(this.outcome, ruleset.outcome);
}
@Override
public int hashCode() {
return Objects.hash(rulesetKey, result, triggeredRuleDetails, outcome);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Ruleset {\n");
sb.append(" rulesetKey: ").append(toIndentedString(rulesetKey)).append("\n");
sb.append(" result: ").append(toIndentedString(result)).append("\n");
sb.append(" triggeredRuleDetails: ").append(toIndentedString(triggeredRuleDetails)).append("\n");
sb.append(" outcome: ").append(toIndentedString(outcome)).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/FraudAmount.java | src/main/java/com/plaid/client/model/FraudAmount.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.ISOCurrencyCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The amount and currency of the fraud or attempted fraud. `fraud_amount` should be omitted to indicate an unknown fraud amount.
*/
@ApiModel(description = "The amount and currency of the fraud or attempted fraud. `fraud_amount` should be omitted to indicate an unknown fraud amount.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class FraudAmount {
public static final String SERIALIZED_NAME_ISO_CURRENCY_CODE = "iso_currency_code";
@SerializedName(SERIALIZED_NAME_ISO_CURRENCY_CODE)
private ISOCurrencyCode isoCurrencyCode;
public static final String SERIALIZED_NAME_VALUE = "value";
@SerializedName(SERIALIZED_NAME_VALUE)
private Double value;
public FraudAmount isoCurrencyCode(ISOCurrencyCode isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* Get isoCurrencyCode
* @return isoCurrencyCode
**/
@ApiModelProperty(required = true, value = "")
public ISOCurrencyCode getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(ISOCurrencyCode isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public FraudAmount value(Double value) {
this.value = value;
return this;
}
/**
* The amount value. This value can be 0 to indicate no money was lost. Must not contain more than two digits of precision (e.g., `1.23`).
* @return value
**/
@ApiModelProperty(example = "100", required = true, value = "The amount value. This value can be 0 to indicate no money was lost. Must not contain more than two digits of precision (e.g., `1.23`).")
public Double getValue() {
return value;
}
public void setValue(Double value) {
this.value = value;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
FraudAmount fraudAmount = (FraudAmount) o;
return Objects.equals(this.isoCurrencyCode, fraudAmount.isoCurrencyCode) &&
Objects.equals(this.value, fraudAmount.value);
}
@Override
public int hashCode() {
return Objects.hash(isoCurrencyCode, value);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FraudAmount {\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" value: ").append(toIndentedString(value)).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/PaymentInitiationPaymentStatus.java | src/main/java/com/plaid/client/model/PaymentInitiationPaymentStatus.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 payment. Core lifecycle statuses: `PAYMENT_STATUS_INPUT_NEEDED`: **Transitional.** The payment is awaiting user input to continue processing. It may re-enter this state if additional input is required. `PAYMENT_STATUS_AUTHORISING`: **Transitional.** The payment is being authorised by the financial institution. It will automatically move on once authorisation completes. `PAYMENT_STATUS_INITIATED`: **Transitional.** The payment has been authorised and accepted by the financial institution and is now in transit. A payment should be considered complete once it reaches the `PAYMENT_STATUS_EXECUTED` state or the funds settle in the recipient account. `PAYMENT_STATUS_EXECUTED`: **Terminal.** The funds have left the payer’s account and the payment is en route to settlement. Support is more common in the UK than in the EU; where unsupported, a successful payment remains in `PAYMENT_STATUS_INITIATED` before settling. When using Plaid Virtual Accounts, `PAYMENT_STATUS_EXECUTED` is not terminal—the payment will continue to `PAYMENT_STATUS_SETTLED` once funds are available. `PAYMENT_STATUS_SETTLED`: **Terminal.** The funds are available in the recipient’s account. Only available to customers using [Plaid Virtual Accounts](https://plaid.com/docs/payment-initiation/virtual-accounts/). Failure statuses: `PAYMENT_STATUS_INSUFFICIENT_FUNDS`: **Terminal.** The payment failed due to insufficient funds. No further retries will succeed until the payer’s balance is replenished. `PAYMENT_STATUS_FAILED`: **Terminal (retryable).** The payment could not be initiated due to a system error or outage. Retry once the root cause is resolved. `PAYMENT_STATUS_BLOCKED`: **Terminal (retryable).** The payment was blocked by Plaid (e.g., flagged as risky). Resolve any compliance or risk issues and retry. `PAYMENT_STATUS_REJECTED`: **Terminal.** The payment was rejected by the financial institution. No automatic retry is possible. `PAYMENT_STATUS_CANCELLED`: **Terminal.** The end user cancelled the payment during authorisation. Standing-order statuses: `PAYMENT_STATUS_ESTABLISHED`: **Terminal.** A recurring/standing order has been successfully created. Deprecated (to be removed in a future release): `PAYMENT_STATUS_UNKNOWN`: The payment status is unknown. `PAYMENT_STATUS_PROCESSING`: The payment is currently being processed. `PAYMENT_STATUS_COMPLETED`: Indicates that the standing order has been successfully established.
*/
@JsonAdapter(PaymentInitiationPaymentStatus.Adapter.class)
public enum PaymentInitiationPaymentStatus {
INPUT_NEEDED("PAYMENT_STATUS_INPUT_NEEDED"),
PROCESSING("PAYMENT_STATUS_PROCESSING"),
INITIATED("PAYMENT_STATUS_INITIATED"),
COMPLETED("PAYMENT_STATUS_COMPLETED"),
INSUFFICIENT_FUNDS("PAYMENT_STATUS_INSUFFICIENT_FUNDS"),
FAILED("PAYMENT_STATUS_FAILED"),
BLOCKED("PAYMENT_STATUS_BLOCKED"),
UNKNOWN("PAYMENT_STATUS_UNKNOWN"),
EXECUTED("PAYMENT_STATUS_EXECUTED"),
SETTLED("PAYMENT_STATUS_SETTLED"),
AUTHORISING("PAYMENT_STATUS_AUTHORISING"),
CANCELLED("PAYMENT_STATUS_CANCELLED"),
ESTABLISHED("PAYMENT_STATUS_ESTABLISHED"),
REJECTED("PAYMENT_STATUS_REJECTED"),
// 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;
PaymentInitiationPaymentStatus(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static PaymentInitiationPaymentStatus fromValue(String value) {
for (PaymentInitiationPaymentStatus b : PaymentInitiationPaymentStatus.values()) {
if (b.value.equals(value)) {
return b;
}
}
return PaymentInitiationPaymentStatus.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<PaymentInitiationPaymentStatus> {
@Override
public void write(final JsonWriter jsonWriter, final PaymentInitiationPaymentStatus enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public PaymentInitiationPaymentStatus read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return PaymentInitiationPaymentStatus.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/SignalScheduleRequest.java | src/main/java/com/plaid/client/model/SignalScheduleRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.SignalScheduleDefaultPaymentMethod;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* SignalScheduleRequest defines the request schema for `/signal/schedule`
*/
@ApiModel(description = "SignalScheduleRequest defines the request schema for `/signal/schedule`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SignalScheduleRequest {
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 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_AMOUNT = "amount";
@SerializedName(SERIALIZED_NAME_AMOUNT)
private Double amount;
public static final String SERIALIZED_NAME_DEFAULT_PAYMENT_METHOD = "default_payment_method";
@SerializedName(SERIALIZED_NAME_DEFAULT_PAYMENT_METHOD)
private SignalScheduleDefaultPaymentMethod defaultPaymentMethod;
public SignalScheduleRequest 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 SignalScheduleRequest 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 SignalScheduleRequest 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 SignalScheduleRequest accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* The Plaid `account_id` of the account that is the funding source for the proposed transaction. The `account_id` is returned in the `/accounts/get` endpoint as well as the [`onSuccess`](https://plaid.com/docs/link/ios/#link-ios-onsuccess-linkSuccess-metadata-accounts-id) callback metadata. This will return an [`INVALID_ACCOUNT_ID`](https://plaid.com/docs/errors/invalid-input/#invalid_account_id) error if the account has been removed at the bank or if the `account_id` is no longer valid.
* @return accountId
**/
@ApiModelProperty(required = true, value = "The Plaid `account_id` of the account that is the funding source for the proposed transaction. The `account_id` is returned in the `/accounts/get` endpoint as well as the [`onSuccess`](https://plaid.com/docs/link/ios/#link-ios-onsuccess-linkSuccess-metadata-accounts-id) callback metadata. This will return an [`INVALID_ACCOUNT_ID`](https://plaid.com/docs/errors/invalid-input/#invalid_account_id) error if the account has been removed at the bank or if the `account_id` is no longer valid.")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public SignalScheduleRequest clientTransactionId(String clientTransactionId) {
this.clientTransactionId = clientTransactionId;
return this;
}
/**
* The unique ID that you would like to use to refer to this transaction. For your convenience mapping your internal data, you could use your internal ID/identifier for this transaction. The max length for this field is 36 characters.
* @return clientTransactionId
**/
@ApiModelProperty(required = true, value = "The unique ID that you would like to use to refer to this transaction. For your convenience mapping your internal data, you could use your internal ID/identifier for this transaction. The max length for this field is 36 characters.")
public String getClientTransactionId() {
return clientTransactionId;
}
public void setClientTransactionId(String clientTransactionId) {
this.clientTransactionId = clientTransactionId;
}
public SignalScheduleRequest amount(Double amount) {
this.amount = amount;
return this;
}
/**
* The transaction amount, in USD (e.g. `102.05`)
* @return amount
**/
@ApiModelProperty(required = true, value = "The transaction amount, in USD (e.g. `102.05`)")
public Double getAmount() {
return amount;
}
public void setAmount(Double amount) {
this.amount = amount;
}
public SignalScheduleRequest defaultPaymentMethod(SignalScheduleDefaultPaymentMethod defaultPaymentMethod) {
this.defaultPaymentMethod = defaultPaymentMethod;
return this;
}
/**
* Get defaultPaymentMethod
* @return defaultPaymentMethod
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public SignalScheduleDefaultPaymentMethod getDefaultPaymentMethod() {
return defaultPaymentMethod;
}
public void setDefaultPaymentMethod(SignalScheduleDefaultPaymentMethod defaultPaymentMethod) {
this.defaultPaymentMethod = defaultPaymentMethod;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SignalScheduleRequest signalScheduleRequest = (SignalScheduleRequest) o;
return Objects.equals(this.clientId, signalScheduleRequest.clientId) &&
Objects.equals(this.secret, signalScheduleRequest.secret) &&
Objects.equals(this.accessToken, signalScheduleRequest.accessToken) &&
Objects.equals(this.accountId, signalScheduleRequest.accountId) &&
Objects.equals(this.clientTransactionId, signalScheduleRequest.clientTransactionId) &&
Objects.equals(this.amount, signalScheduleRequest.amount) &&
Objects.equals(this.defaultPaymentMethod, signalScheduleRequest.defaultPaymentMethod);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, accessToken, accountId, clientTransactionId, amount, defaultPaymentMethod);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SignalScheduleRequest {\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(" clientTransactionId: ").append(toIndentedString(clientTransactionId)).append("\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" defaultPaymentMethod: ").append(toIndentedString(defaultPaymentMethod)).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/RecurringFrequency.java | src/main/java/com/plaid/client/model/RecurringFrequency.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* Describes the frequency of the transaction stream. `WEEKLY`: Assigned to a transaction stream that occurs approximately every week. `BIWEEKLY`: Assigned to a transaction stream that occurs approximately every 2 weeks. `SEMI_MONTHLY`: Assigned to a transaction stream that occurs approximately twice per month. This frequency is typically seen for inflow transaction streams. `MONTHLY`: Assigned to a transaction stream that occurs approximately every month. `ANNUALLY`: Assigned to a transaction stream that occurs approximately every year. `DAILY`: Assigned to a transaction stream that occurs approximately every day. `DYNAMIC`: Assigned to a transaction stream that varies in recurrence frequency. This frequency is typically seen for inflow streams in the gig economy. `UNKNOWN`: Assigned to a transaction stream that isn't recurring in nature.
*/
@JsonAdapter(RecurringFrequency.Adapter.class)
public enum RecurringFrequency {
UNKNOWN("UNKNOWN"),
WEEKLY("WEEKLY"),
BIWEEKLY("BIWEEKLY"),
SEMI_MONTHLY("SEMI_MONTHLY"),
MONTHLY("MONTHLY"),
ANNUALLY("ANNUALLY"),
DAILY("DAILY"),
DYNAMIC("DYNAMIC"),
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;
RecurringFrequency(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static RecurringFrequency fromValue(String value) {
for (RecurringFrequency b : RecurringFrequency.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null; }
public static class Adapter extends TypeAdapter<RecurringFrequency> {
@Override
public void write(final JsonWriter jsonWriter, final RecurringFrequency enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public RecurringFrequency read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return RecurringFrequency.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/TransferLedgerDistributeRequest.java | src/main/java/com/plaid/client/model/TransferLedgerDistributeRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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/ledger/distribute`
*/
@ApiModel(description = "Defines the request schema for `/transfer/ledger/distribute`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferLedgerDistributeRequest {
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_FROM_LEDGER_ID = "from_ledger_id";
@SerializedName(SERIALIZED_NAME_FROM_LEDGER_ID)
private String fromLedgerId;
public static final String SERIALIZED_NAME_TO_LEDGER_ID = "to_ledger_id";
@SerializedName(SERIALIZED_NAME_TO_LEDGER_ID)
private String toLedgerId;
public static final String SERIALIZED_NAME_AMOUNT = "amount";
@SerializedName(SERIALIZED_NAME_AMOUNT)
private String amount;
public static final String SERIALIZED_NAME_IDEMPOTENCY_KEY = "idempotency_key";
@SerializedName(SERIALIZED_NAME_IDEMPOTENCY_KEY)
private String idempotencyKey;
public static final String SERIALIZED_NAME_DESCRIPTION = "description";
@SerializedName(SERIALIZED_NAME_DESCRIPTION)
private String description;
public TransferLedgerDistributeRequest 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 TransferLedgerDistributeRequest 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 TransferLedgerDistributeRequest fromLedgerId(String fromLedgerId) {
this.fromLedgerId = fromLedgerId;
return this;
}
/**
* The Ledger to pull money from.
* @return fromLedgerId
**/
@ApiModelProperty(required = true, value = "The Ledger to pull money from.")
public String getFromLedgerId() {
return fromLedgerId;
}
public void setFromLedgerId(String fromLedgerId) {
this.fromLedgerId = fromLedgerId;
}
public TransferLedgerDistributeRequest toLedgerId(String toLedgerId) {
this.toLedgerId = toLedgerId;
return this;
}
/**
* The Ledger to credit money to.
* @return toLedgerId
**/
@ApiModelProperty(required = true, value = "The Ledger to credit money to.")
public String getToLedgerId() {
return toLedgerId;
}
public void setToLedgerId(String toLedgerId) {
this.toLedgerId = toLedgerId;
}
public TransferLedgerDistributeRequest amount(String amount) {
this.amount = amount;
return this;
}
/**
* The amount to move (decimal string with two digits of precision e.g. \"10.00\"). Amount must be positive.
* @return amount
**/
@ApiModelProperty(required = true, value = "The amount to move (decimal string with two digits of precision e.g. \"10.00\"). Amount must be positive.")
public String getAmount() {
return amount;
}
public void setAmount(String amount) {
this.amount = amount;
}
public TransferLedgerDistributeRequest idempotencyKey(String idempotencyKey) {
this.idempotencyKey = idempotencyKey;
return this;
}
/**
* A unique key provided by the client, per unique ledger distribute. Maximum of 50 characters. The API supports idempotency for safely retrying the request without accidentally performing the same operation twice. For example, if a request to create a ledger distribute fails due to a network connection error, you can retry the request with the same idempotency key to guarantee that only a single distribute is created.
* @return idempotencyKey
**/
@ApiModelProperty(required = true, value = "A unique key provided by the client, per unique ledger distribute. Maximum of 50 characters. The API supports idempotency for safely retrying the request without accidentally performing the same operation twice. For example, if a request to create a ledger distribute fails due to a network connection error, you can retry the request with the same idempotency key to guarantee that only a single distribute is created.")
public String getIdempotencyKey() {
return idempotencyKey;
}
public void setIdempotencyKey(String idempotencyKey) {
this.idempotencyKey = idempotencyKey;
}
public TransferLedgerDistributeRequest description(String description) {
this.description = description;
return this;
}
/**
* An optional description for the ledger distribute operation.
* @return description
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "An optional description for the ledger distribute operation.")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferLedgerDistributeRequest transferLedgerDistributeRequest = (TransferLedgerDistributeRequest) o;
return Objects.equals(this.clientId, transferLedgerDistributeRequest.clientId) &&
Objects.equals(this.secret, transferLedgerDistributeRequest.secret) &&
Objects.equals(this.fromLedgerId, transferLedgerDistributeRequest.fromLedgerId) &&
Objects.equals(this.toLedgerId, transferLedgerDistributeRequest.toLedgerId) &&
Objects.equals(this.amount, transferLedgerDistributeRequest.amount) &&
Objects.equals(this.idempotencyKey, transferLedgerDistributeRequest.idempotencyKey) &&
Objects.equals(this.description, transferLedgerDistributeRequest.description);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, fromLedgerId, toLedgerId, amount, idempotencyKey, description);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferLedgerDistributeRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" fromLedgerId: ").append(toIndentedString(fromLedgerId)).append("\n");
sb.append(" toLedgerId: ").append(toIndentedString(toLedgerId)).append("\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" idempotencyKey: ").append(toIndentedString(idempotencyKey)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/FDXHateoasLink.java | src/main/java/com/plaid/client/model/FDXHateoasLink.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.FDXContentTypes;
import com.plaid.client.model.FDXHateoasLinkAction;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* REST application constraint (Hypermedia As The Engine Of Application State)
*/
@ApiModel(description = "REST application constraint (Hypermedia As The Engine Of Application State)")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class FDXHateoasLink {
public static final String SERIALIZED_NAME_HREF = "href";
@SerializedName(SERIALIZED_NAME_HREF)
private String href;
public static final String SERIALIZED_NAME_ACTION = "action";
@SerializedName(SERIALIZED_NAME_ACTION)
private FDXHateoasLinkAction action;
public static final String SERIALIZED_NAME_REL = "rel";
@SerializedName(SERIALIZED_NAME_REL)
private String rel;
public static final String SERIALIZED_NAME_TYPES = "types";
@SerializedName(SERIALIZED_NAME_TYPES)
private List<FDXContentTypes> types = null;
public FDXHateoasLink href(String href) {
this.href = href;
return this;
}
/**
* URL to invoke the action on the resource
* @return href
**/
@ApiModelProperty(example = "https://api.fi.com/fdx/v4/accounts/12345", required = true, value = "URL to invoke the action on the resource")
public String getHref() {
return href;
}
public void setHref(String href) {
this.href = href;
}
public FDXHateoasLink action(FDXHateoasLinkAction action) {
this.action = action;
return this;
}
/**
* Get action
* @return action
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public FDXHateoasLinkAction getAction() {
return action;
}
public void setAction(FDXHateoasLinkAction action) {
this.action = action;
}
public FDXHateoasLink rel(String rel) {
this.rel = rel;
return this;
}
/**
* Relation of this link to its containing entity, as defined by and with many example relation values at [IETF RFC5988](https://datatracker.ietf.org/doc/html/rfc5988)
* @return rel
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Relation of this link to its containing entity, as defined by and with many example relation values at [IETF RFC5988](https://datatracker.ietf.org/doc/html/rfc5988)")
public String getRel() {
return rel;
}
public void setRel(String rel) {
this.rel = rel;
}
public FDXHateoasLink types(List<FDXContentTypes> types) {
this.types = types;
return this;
}
public FDXHateoasLink addTypesItem(FDXContentTypes typesItem) {
if (this.types == null) {
this.types = new ArrayList<>();
}
this.types.add(typesItem);
return this;
}
/**
* Content-types that can be used in the Accept header
* @return types
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Content-types that can be used in the Accept header")
public List<FDXContentTypes> getTypes() {
return types;
}
public void setTypes(List<FDXContentTypes> types) {
this.types = types;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
FDXHateoasLink fdXHateoasLink = (FDXHateoasLink) o;
return Objects.equals(this.href, fdXHateoasLink.href) &&
Objects.equals(this.action, fdXHateoasLink.action) &&
Objects.equals(this.rel, fdXHateoasLink.rel) &&
Objects.equals(this.types, fdXHateoasLink.types);
}
@Override
public int hashCode() {
return Objects.hash(href, action, rel, types);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FDXHateoasLink {\n");
sb.append(" href: ").append(toIndentedString(href)).append("\n");
sb.append(" action: ").append(toIndentedString(action)).append("\n");
sb.append(" rel: ").append(toIndentedString(rel)).append("\n");
sb.append(" types: ").append(toIndentedString(types)).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/IssueResolvedWebhook.java | src/main/java/com/plaid/client/model/IssueResolvedWebhook.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* Webhook notifications are sent only when a subscribed issue is marked as resolved. The payload contains details about the issue at the time of its resolution, focusing on the most essential information.
*/
@ApiModel(description = "Webhook notifications are sent only when a subscribed issue is marked as resolved. The payload contains details about the issue at the time of its resolution, focusing on the most essential information.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class IssueResolvedWebhook {
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_ISSUE_ID = "issue_id";
@SerializedName(SERIALIZED_NAME_ISSUE_ID)
private String issueId;
public static final String SERIALIZED_NAME_ISSUE_DESCRIPTION = "issue_description";
@SerializedName(SERIALIZED_NAME_ISSUE_DESCRIPTION)
private String issueDescription;
public static final String SERIALIZED_NAME_ISSUE_RESOLVED_AT = "issue_resolved_at";
@SerializedName(SERIALIZED_NAME_ISSUE_RESOLVED_AT)
private OffsetDateTime issueResolvedAt;
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 IssueResolvedWebhook webhookType(String webhookType) {
this.webhookType = webhookType;
return this;
}
/**
* `ISSUES`
* @return webhookType
**/
@ApiModelProperty(required = true, value = "`ISSUES`")
public String getWebhookType() {
return webhookType;
}
public void setWebhookType(String webhookType) {
this.webhookType = webhookType;
}
public IssueResolvedWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `ISSUE_RESOLVED`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`ISSUE_RESOLVED`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public IssueResolvedWebhook issueId(String issueId) {
this.issueId = issueId;
return this;
}
/**
* The unique identifier of the connectivity issue.
* @return issueId
**/
@ApiModelProperty(required = true, value = "The unique identifier of the connectivity issue.")
public String getIssueId() {
return issueId;
}
public void setIssueId(String issueId) {
this.issueId = issueId;
}
public IssueResolvedWebhook issueDescription(String issueDescription) {
this.issueDescription = issueDescription;
return this;
}
/**
* A simple description of the error for the end user.
* @return issueDescription
**/
@ApiModelProperty(required = true, value = "A simple description of the error for the end user.")
public String getIssueDescription() {
return issueDescription;
}
public void setIssueDescription(String issueDescription) {
this.issueDescription = issueDescription;
}
public IssueResolvedWebhook issueResolvedAt(OffsetDateTime issueResolvedAt) {
this.issueResolvedAt = issueResolvedAt;
return this;
}
/**
* The time when the issue was marked as resolved.
* @return issueResolvedAt
**/
@ApiModelProperty(required = true, value = "The time when the issue was marked as resolved.")
public OffsetDateTime getIssueResolvedAt() {
return issueResolvedAt;
}
public void setIssueResolvedAt(OffsetDateTime issueResolvedAt) {
this.issueResolvedAt = issueResolvedAt;
}
public IssueResolvedWebhook institutionId(String institutionId) {
this.institutionId = institutionId;
return this;
}
/**
* The unique identifier of the financial institution involved.
* @return institutionId
**/
@ApiModelProperty(required = true, value = "The unique identifier of the financial institution involved.")
public String getInstitutionId() {
return institutionId;
}
public void setInstitutionId(String institutionId) {
this.institutionId = institutionId;
}
public IssueResolvedWebhook institutionName(String institutionName) {
this.institutionName = institutionName;
return this;
}
/**
* The name of the financial institution involved.
* @return institutionName
**/
@ApiModelProperty(required = true, value = "The name of the financial institution involved.")
public String getInstitutionName() {
return institutionName;
}
public void setInstitutionName(String institutionName) {
this.institutionName = institutionName;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
IssueResolvedWebhook issueResolvedWebhook = (IssueResolvedWebhook) o;
return Objects.equals(this.webhookType, issueResolvedWebhook.webhookType) &&
Objects.equals(this.webhookCode, issueResolvedWebhook.webhookCode) &&
Objects.equals(this.issueId, issueResolvedWebhook.issueId) &&
Objects.equals(this.issueDescription, issueResolvedWebhook.issueDescription) &&
Objects.equals(this.issueResolvedAt, issueResolvedWebhook.issueResolvedAt) &&
Objects.equals(this.institutionId, issueResolvedWebhook.institutionId) &&
Objects.equals(this.institutionName, issueResolvedWebhook.institutionName);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, issueId, issueDescription, issueResolvedAt, institutionId, institutionName);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IssueResolvedWebhook {\n");
sb.append(" webhookType: ").append(toIndentedString(webhookType)).append("\n");
sb.append(" webhookCode: ").append(toIndentedString(webhookCode)).append("\n");
sb.append(" issueId: ").append(toIndentedString(issueId)).append("\n");
sb.append(" issueDescription: ").append(toIndentedString(issueDescription)).append("\n");
sb.append(" issueResolvedAt: ").append(toIndentedString(issueResolvedAt)).append("\n");
sb.append(" institutionId: ").append(toIndentedString(institutionId)).append("\n");
sb.append(" institutionName: ").append(toIndentedString(institutionName)).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/ForwardedJSONResponse.java | src/main/java/com/plaid/client/model/ForwardedJSONResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 arbitrary JSON payload sent to or received from the Plaid server. Internal use only.
*/
@ApiModel(description = "An arbitrary JSON payload sent to or received from the Plaid server. Internal use only.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ForwardedJSONResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public ForwardedJSONResponse 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;
}
ForwardedJSONResponse forwardedJSONResponse = (ForwardedJSONResponse) o;
return Objects.equals(this.requestId, forwardedJSONResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ForwardedJSONResponse {\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/WatchlistScreeningHitLocations.java | src/main/java/com/plaid/client/model/WatchlistScreeningHitLocations.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* Location information for the associated individual watchlist hit
*/
@ApiModel(description = "Location information for the associated individual watchlist hit")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class WatchlistScreeningHitLocations {
public static final String SERIALIZED_NAME_FULL = "full";
@SerializedName(SERIALIZED_NAME_FULL)
private String full;
public static final String SERIALIZED_NAME_COUNTRY = "country";
@SerializedName(SERIALIZED_NAME_COUNTRY)
private String country;
public WatchlistScreeningHitLocations full(String full) {
this.full = full;
return this;
}
/**
* The full location string, potentially including elements like street, city, postal codes and country codes. Note that this is not necessarily a complete or well-formatted address.
* @return full
**/
@ApiModelProperty(example = "Florida, US", required = true, value = "The full location string, potentially including elements like street, city, postal codes and country codes. Note that this is not necessarily a complete or well-formatted address.")
public String getFull() {
return full;
}
public void setFull(String full) {
this.full = full;
}
public WatchlistScreeningHitLocations country(String country) {
this.country = country;
return this;
}
/**
* Valid, capitalized, two-letter ISO code representing the country of this object. Must be in ISO 3166-1 alpha-2 form.
* @return country
**/
@ApiModelProperty(example = "US", required = true, value = "Valid, capitalized, two-letter ISO code representing the country of this object. Must be in ISO 3166-1 alpha-2 form.")
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;
}
WatchlistScreeningHitLocations watchlistScreeningHitLocations = (WatchlistScreeningHitLocations) o;
return Objects.equals(this.full, watchlistScreeningHitLocations.full) &&
Objects.equals(this.country, watchlistScreeningHitLocations.country);
}
@Override
public int hashCode() {
return Objects.hash(full, country);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class WatchlistScreeningHitLocations {\n");
sb.append(" full: ").append(toIndentedString(full)).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/ItemRemoveReasonCode.java | src/main/java/com/plaid/client/model/ItemRemoveReasonCode.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 reason for removing the item `FRAUD_FIRST_PARTY`: The end user who owns the connected bank account committed fraud `FRAUD_FALSE_IDENTITY`: The end user created the connection using false identity information or stolen credentials `FRAUD_ABUSE`: The end user is abusing the client's service or platform through their connected account `FRAUD_OTHER`: Other fraud-related reasons involving the end user not covered by the specific fraud categories `CONNECTION_IS_NON_FUNCTIONAL`: The connection to the end user's financial institution is broken and cannot be restored `OTHER`: Any other reason for removing the connection not covered by the above categories
*/
@JsonAdapter(ItemRemoveReasonCode.Adapter.class)
public enum ItemRemoveReasonCode {
FRAUD_FIRST_PARTY("FRAUD_FIRST_PARTY"),
FRAUD_FALSE_IDENTITY("FRAUD_FALSE_IDENTITY"),
FRAUD_ABUSE("FRAUD_ABUSE"),
FRAUD_OTHER("FRAUD_OTHER"),
CONNECTION_IS_NON_FUNCTIONAL("CONNECTION_IS_NON_FUNCTIONAL"),
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;
ItemRemoveReasonCode(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static ItemRemoveReasonCode fromValue(String value) {
for (ItemRemoveReasonCode b : ItemRemoveReasonCode.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null; }
public static class Adapter extends TypeAdapter<ItemRemoveReasonCode> {
@Override
public void write(final JsonWriter jsonWriter, final ItemRemoveReasonCode enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public ItemRemoveReasonCode read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return ItemRemoveReasonCode.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/NetworkInsightsReportGetRequest.java | src/main/java/com/plaid/client/model/NetworkInsightsReportGetRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* NetworkInsightsReportGetRequest defines the request schema for `/network_insights/report/get`.
*/
@ApiModel(description = "NetworkInsightsReportGetRequest defines the request schema for `/network_insights/report/get`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class NetworkInsightsReportGetRequest {
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_TOKENS = "access_tokens";
@SerializedName(SERIALIZED_NAME_ACCESS_TOKENS)
private List<String> accessTokens = new ArrayList<>();
public NetworkInsightsReportGetRequest 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 NetworkInsightsReportGetRequest 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 NetworkInsightsReportGetRequest accessTokens(List<String> accessTokens) {
this.accessTokens = accessTokens;
return this;
}
public NetworkInsightsReportGetRequest addAccessTokensItem(String accessTokensItem) {
this.accessTokens.add(accessTokensItem);
return this;
}
/**
* A list of access tokens that the Network Insights will be requested for. These correspond to previous Items a user has connected.
* @return accessTokens
**/
@ApiModelProperty(required = true, value = "A list of access tokens that the Network Insights will be requested for. These correspond to previous Items a user has connected.")
public List<String> getAccessTokens() {
return accessTokens;
}
public void setAccessTokens(List<String> accessTokens) {
this.accessTokens = accessTokens;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
NetworkInsightsReportGetRequest networkInsightsReportGetRequest = (NetworkInsightsReportGetRequest) o;
return Objects.equals(this.clientId, networkInsightsReportGetRequest.clientId) &&
Objects.equals(this.secret, networkInsightsReportGetRequest.secret) &&
Objects.equals(this.accessTokens, networkInsightsReportGetRequest.accessTokens);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, accessTokens);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class NetworkInsightsReportGetRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" accessTokens: ").append(toIndentedString(accessTokens)).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/IdentityVerificationAutofillStatus.java | src/main/java/com/plaid/client/model/IdentityVerificationAutofillStatus.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 status enum indicating whether autofill succeeded or failed.
*/
@JsonAdapter(IdentityVerificationAutofillStatus.Adapter.class)
public enum IdentityVerificationAutofillStatus {
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;
IdentityVerificationAutofillStatus(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static IdentityVerificationAutofillStatus fromValue(String value) {
for (IdentityVerificationAutofillStatus b : IdentityVerificationAutofillStatus.values()) {
if (b.value.equals(value)) {
return b;
}
}
return IdentityVerificationAutofillStatus.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<IdentityVerificationAutofillStatus> {
@Override
public void write(final JsonWriter jsonWriter, final IdentityVerificationAutofillStatus enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public IdentityVerificationAutofillStatus read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return IdentityVerificationAutofillStatus.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/PaymentInitiationPaymentGetRequest.java | src/main/java/com/plaid/client/model/PaymentInitiationPaymentGetRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* PaymentInitiationPaymentGetRequest defines the request schema for `/payment_initiation/payment/get`
*/
@ApiModel(description = "PaymentInitiationPaymentGetRequest defines the request schema for `/payment_initiation/payment/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PaymentInitiationPaymentGetRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_PAYMENT_ID = "payment_id";
@SerializedName(SERIALIZED_NAME_PAYMENT_ID)
private String paymentId;
public PaymentInitiationPaymentGetRequest 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 PaymentInitiationPaymentGetRequest 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 PaymentInitiationPaymentGetRequest paymentId(String paymentId) {
this.paymentId = paymentId;
return this;
}
/**
* The `payment_id` returned from `/payment_initiation/payment/create`.
* @return paymentId
**/
@ApiModelProperty(required = true, value = "The `payment_id` returned from `/payment_initiation/payment/create`.")
public String getPaymentId() {
return paymentId;
}
public void setPaymentId(String paymentId) {
this.paymentId = paymentId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PaymentInitiationPaymentGetRequest paymentInitiationPaymentGetRequest = (PaymentInitiationPaymentGetRequest) o;
return Objects.equals(this.clientId, paymentInitiationPaymentGetRequest.clientId) &&
Objects.equals(this.secret, paymentInitiationPaymentGetRequest.secret) &&
Objects.equals(this.paymentId, paymentInitiationPaymentGetRequest.paymentId);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, paymentId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaymentInitiationPaymentGetRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" paymentId: ").append(toIndentedString(paymentId)).append("\n");
sb.append("}");
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/LinkTokenInvestmentsAuth.java | src/main/java/com/plaid/client/model/LinkTokenInvestmentsAuth.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* Configuration parameters for the Investments Move product
*/
@ApiModel(description = "Configuration parameters for the Investments Move product")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkTokenInvestmentsAuth {
public static final String SERIALIZED_NAME_MANUAL_ENTRY_ENABLED = "manual_entry_enabled";
@SerializedName(SERIALIZED_NAME_MANUAL_ENTRY_ENABLED)
private Boolean manualEntryEnabled = false;
public static final String SERIALIZED_NAME_MASKED_NUMBER_MATCH_ENABLED = "masked_number_match_enabled";
@SerializedName(SERIALIZED_NAME_MASKED_NUMBER_MATCH_ENABLED)
private Boolean maskedNumberMatchEnabled = false;
public static final String SERIALIZED_NAME_STATED_ACCOUNT_NUMBER_ENABLED = "stated_account_number_enabled";
@SerializedName(SERIALIZED_NAME_STATED_ACCOUNT_NUMBER_ENABLED)
private Boolean statedAccountNumberEnabled = false;
public static final String SERIALIZED_NAME_ROLLOVER401K_ENABLED = "rollover_401k_enabled";
@SerializedName(SERIALIZED_NAME_ROLLOVER401K_ENABLED)
private Boolean rollover401kEnabled = false;
public LinkTokenInvestmentsAuth manualEntryEnabled(Boolean manualEntryEnabled) {
this.manualEntryEnabled = manualEntryEnabled;
return this;
}
/**
* If `true`, show institutions that use the manual entry fallback flow.
* @return manualEntryEnabled
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "If `true`, show institutions that use the manual entry fallback flow.")
public Boolean getManualEntryEnabled() {
return manualEntryEnabled;
}
public void setManualEntryEnabled(Boolean manualEntryEnabled) {
this.manualEntryEnabled = manualEntryEnabled;
}
public LinkTokenInvestmentsAuth maskedNumberMatchEnabled(Boolean maskedNumberMatchEnabled) {
this.maskedNumberMatchEnabled = maskedNumberMatchEnabled;
return this;
}
/**
* If `true`, show institutions that use the masked number match fallback flow.
* @return maskedNumberMatchEnabled
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "If `true`, show institutions that use the masked number match fallback flow.")
public Boolean getMaskedNumberMatchEnabled() {
return maskedNumberMatchEnabled;
}
public void setMaskedNumberMatchEnabled(Boolean maskedNumberMatchEnabled) {
this.maskedNumberMatchEnabled = maskedNumberMatchEnabled;
}
public LinkTokenInvestmentsAuth statedAccountNumberEnabled(Boolean statedAccountNumberEnabled) {
this.statedAccountNumberEnabled = statedAccountNumberEnabled;
return this;
}
/**
* If `true`, show institutions that use the stated account number fallback flow.
* @return statedAccountNumberEnabled
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "If `true`, show institutions that use the stated account number fallback flow.")
public Boolean getStatedAccountNumberEnabled() {
return statedAccountNumberEnabled;
}
public void setStatedAccountNumberEnabled(Boolean statedAccountNumberEnabled) {
this.statedAccountNumberEnabled = statedAccountNumberEnabled;
}
public LinkTokenInvestmentsAuth rollover401kEnabled(Boolean rollover401kEnabled) {
this.rollover401kEnabled = rollover401kEnabled;
return this;
}
/**
* If `true`, the fee and contribution details for 401k accounts will be returned.
* @return rollover401kEnabled
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "If `true`, the fee and contribution details for 401k accounts will be returned.")
public Boolean getRollover401kEnabled() {
return rollover401kEnabled;
}
public void setRollover401kEnabled(Boolean rollover401kEnabled) {
this.rollover401kEnabled = rollover401kEnabled;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkTokenInvestmentsAuth linkTokenInvestmentsAuth = (LinkTokenInvestmentsAuth) o;
return Objects.equals(this.manualEntryEnabled, linkTokenInvestmentsAuth.manualEntryEnabled) &&
Objects.equals(this.maskedNumberMatchEnabled, linkTokenInvestmentsAuth.maskedNumberMatchEnabled) &&
Objects.equals(this.statedAccountNumberEnabled, linkTokenInvestmentsAuth.statedAccountNumberEnabled) &&
Objects.equals(this.rollover401kEnabled, linkTokenInvestmentsAuth.rollover401kEnabled);
}
@Override
public int hashCode() {
return Objects.hash(manualEntryEnabled, maskedNumberMatchEnabled, statedAccountNumberEnabled, rollover401kEnabled);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkTokenInvestmentsAuth {\n");
sb.append(" manualEntryEnabled: ").append(toIndentedString(manualEntryEnabled)).append("\n");
sb.append(" maskedNumberMatchEnabled: ").append(toIndentedString(maskedNumberMatchEnabled)).append("\n");
sb.append(" statedAccountNumberEnabled: ").append(toIndentedString(statedAccountNumberEnabled)).append("\n");
sb.append(" rollover401kEnabled: ").append(toIndentedString(rollover401kEnabled)).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/TransferRecurringSchedule.java | src/main/java/com/plaid/client/model/TransferRecurringSchedule.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.TransferScheduleIntervalUnit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
/**
* The schedule that the recurring transfer will be executed on.
*/
@ApiModel(description = "The schedule that the recurring transfer will be executed on.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferRecurringSchedule {
public static final String SERIALIZED_NAME_INTERVAL_UNIT = "interval_unit";
@SerializedName(SERIALIZED_NAME_INTERVAL_UNIT)
private TransferScheduleIntervalUnit intervalUnit;
public static final String SERIALIZED_NAME_INTERVAL_COUNT = "interval_count";
@SerializedName(SERIALIZED_NAME_INTERVAL_COUNT)
private Integer intervalCount;
public static final String SERIALIZED_NAME_INTERVAL_EXECUTION_DAY = "interval_execution_day";
@SerializedName(SERIALIZED_NAME_INTERVAL_EXECUTION_DAY)
private Integer intervalExecutionDay;
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 TransferRecurringSchedule intervalUnit(TransferScheduleIntervalUnit intervalUnit) {
this.intervalUnit = intervalUnit;
return this;
}
/**
* Get intervalUnit
* @return intervalUnit
**/
@ApiModelProperty(required = true, value = "")
public TransferScheduleIntervalUnit getIntervalUnit() {
return intervalUnit;
}
public void setIntervalUnit(TransferScheduleIntervalUnit intervalUnit) {
this.intervalUnit = intervalUnit;
}
public TransferRecurringSchedule intervalCount(Integer intervalCount) {
this.intervalCount = intervalCount;
return this;
}
/**
* The number of recurring `interval_units` between originations. The recurring interval (before holiday adjustment) is calculated by multiplying `interval_unit` and `interval_count`. For example, to schedule a recurring transfer which originates once every two weeks, set `interval_unit` = `week` and `interval_count` = 2.
* @return intervalCount
**/
@ApiModelProperty(required = true, value = "The number of recurring `interval_units` between originations. The recurring interval (before holiday adjustment) is calculated by multiplying `interval_unit` and `interval_count`. For example, to schedule a recurring transfer which originates once every two weeks, set `interval_unit` = `week` and `interval_count` = 2.")
public Integer getIntervalCount() {
return intervalCount;
}
public void setIntervalCount(Integer intervalCount) {
this.intervalCount = intervalCount;
}
public TransferRecurringSchedule intervalExecutionDay(Integer intervalExecutionDay) {
this.intervalExecutionDay = intervalExecutionDay;
return this;
}
/**
* The day of the interval on which to schedule the transfer. If the `interval_unit` is `week`, `interval_execution_day` should be an integer from 1 (Monday) to 5 (Friday). If the `interval_unit` is `month`, `interval_execution_day` should be an integer indicating which day of the month to make the transfer on. Integers from 1 to 28 can be used to make a transfer on that day of the month. Negative integers from -1 to -5 can be used to make a transfer relative to the end of the month. To make a transfer on the last day of the month, use -1; to make the transfer on the second-to-last day, use -2, and so on. The transfer will be originated on the next available banking day if the designated day is a non banking day.
* @return intervalExecutionDay
**/
@ApiModelProperty(required = true, value = "The day of the interval on which to schedule the transfer. If the `interval_unit` is `week`, `interval_execution_day` should be an integer from 1 (Monday) to 5 (Friday). If the `interval_unit` is `month`, `interval_execution_day` should be an integer indicating which day of the month to make the transfer on. Integers from 1 to 28 can be used to make a transfer on that day of the month. Negative integers from -1 to -5 can be used to make a transfer relative to the end of the month. To make a transfer on the last day of the month, use -1; to make the transfer on the second-to-last day, use -2, and so on. The transfer will be originated on the next available banking day if the designated day is a non banking day.")
public Integer getIntervalExecutionDay() {
return intervalExecutionDay;
}
public void setIntervalExecutionDay(Integer intervalExecutionDay) {
this.intervalExecutionDay = intervalExecutionDay;
}
public TransferRecurringSchedule startDate(LocalDate startDate) {
this.startDate = startDate;
return this;
}
/**
* A date in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (YYYY-MM-DD). The recurring transfer will begin on the first `interval_execution_day` on or after the `start_date`. For `rtp` recurring transfers, `start_date` must be in the future. Otherwise, if the first `interval_execution_day` on or after the start date is also the same day that `/transfer/recurring/create` was called, the bank *may* make the first payment on that day, but it is not guaranteed to do so.
* @return startDate
**/
@ApiModelProperty(required = true, value = "A date in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (YYYY-MM-DD). The recurring transfer will begin on the first `interval_execution_day` on or after the `start_date`. For `rtp` recurring transfers, `start_date` must be in the future. Otherwise, if the first `interval_execution_day` on or after the start date is also the same day that `/transfer/recurring/create` was called, the bank *may* make the first payment on that day, but it is not guaranteed to do so.")
public LocalDate getStartDate() {
return startDate;
}
public void setStartDate(LocalDate startDate) {
this.startDate = startDate;
}
public TransferRecurringSchedule endDate(LocalDate endDate) {
this.endDate = endDate;
return this;
}
/**
* A date in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (YYYY-MM-DD). The recurring transfer will end on the last `interval_execution_day` on or before the `end_date`. If the `interval_execution_day` between the start date and the end date (inclusive) is also the same day that `/transfer/recurring/create` was called, the bank *may* make a payment on that day, but it is not guaranteed to do so.
* @return endDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A date in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (YYYY-MM-DD). The recurring transfer will end on the last `interval_execution_day` on or before the `end_date`. If the `interval_execution_day` between the start date and the end date (inclusive) is also the same day that `/transfer/recurring/create` was called, the bank *may* make a payment on that day, but it is not guaranteed to do so.")
public LocalDate getEndDate() {
return endDate;
}
public void setEndDate(LocalDate endDate) {
this.endDate = endDate;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferRecurringSchedule transferRecurringSchedule = (TransferRecurringSchedule) o;
return Objects.equals(this.intervalUnit, transferRecurringSchedule.intervalUnit) &&
Objects.equals(this.intervalCount, transferRecurringSchedule.intervalCount) &&
Objects.equals(this.intervalExecutionDay, transferRecurringSchedule.intervalExecutionDay) &&
Objects.equals(this.startDate, transferRecurringSchedule.startDate) &&
Objects.equals(this.endDate, transferRecurringSchedule.endDate);
}
@Override
public int hashCode() {
return Objects.hash(intervalUnit, intervalCount, intervalExecutionDay, startDate, endDate);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferRecurringSchedule {\n");
sb.append(" intervalUnit: ").append(toIndentedString(intervalUnit)).append("\n");
sb.append(" intervalCount: ").append(toIndentedString(intervalCount)).append("\n");
sb.append(" intervalExecutionDay: ").append(toIndentedString(intervalExecutionDay)).append("\n");
sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n");
sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransferMigrateAccountRequest.java | src/main/java/com/plaid/client/model/TransferMigrateAccountRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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/migrate_account`
*/
@ApiModel(description = "Defines the request schema for `/transfer/migrate_account`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferMigrateAccountRequest {
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_ACCOUNT_NUMBER = "account_number";
@SerializedName(SERIALIZED_NAME_ACCOUNT_NUMBER)
private String accountNumber;
public static final String SERIALIZED_NAME_ROUTING_NUMBER = "routing_number";
@SerializedName(SERIALIZED_NAME_ROUTING_NUMBER)
private String routingNumber;
public static final String SERIALIZED_NAME_WIRE_ROUTING_NUMBER = "wire_routing_number";
@SerializedName(SERIALIZED_NAME_WIRE_ROUTING_NUMBER)
private String wireRoutingNumber;
public static final String SERIALIZED_NAME_ACCOUNT_TYPE = "account_type";
@SerializedName(SERIALIZED_NAME_ACCOUNT_TYPE)
private String accountType;
public TransferMigrateAccountRequest 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 TransferMigrateAccountRequest 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 TransferMigrateAccountRequest accountNumber(String accountNumber) {
this.accountNumber = accountNumber;
return this;
}
/**
* The user's account number.
* @return accountNumber
**/
@ApiModelProperty(required = true, value = "The user's account number.")
public String getAccountNumber() {
return accountNumber;
}
public void setAccountNumber(String accountNumber) {
this.accountNumber = accountNumber;
}
public TransferMigrateAccountRequest routingNumber(String routingNumber) {
this.routingNumber = routingNumber;
return this;
}
/**
* The user's routing number.
* @return routingNumber
**/
@ApiModelProperty(required = true, value = "The user's routing number.")
public String getRoutingNumber() {
return routingNumber;
}
public void setRoutingNumber(String routingNumber) {
this.routingNumber = routingNumber;
}
public TransferMigrateAccountRequest wireRoutingNumber(String wireRoutingNumber) {
this.wireRoutingNumber = wireRoutingNumber;
return this;
}
/**
* The user's wire transfer routing number. This is the ABA number; for some institutions, this may differ from the ACH number used in `routing_number`. This field must be set for the created item to be eligible for wire transfers.
* @return wireRoutingNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The user's wire transfer routing number. This is the ABA number; for some institutions, this may differ from the ACH number used in `routing_number`. This field must be set for the created item to be eligible for wire transfers.")
public String getWireRoutingNumber() {
return wireRoutingNumber;
}
public void setWireRoutingNumber(String wireRoutingNumber) {
this.wireRoutingNumber = wireRoutingNumber;
}
public TransferMigrateAccountRequest accountType(String accountType) {
this.accountType = accountType;
return this;
}
/**
* The type of the bank account (`checking` or `savings`).
* @return accountType
**/
@ApiModelProperty(required = true, value = "The type of the bank account (`checking` or `savings`).")
public String getAccountType() {
return accountType;
}
public void setAccountType(String accountType) {
this.accountType = accountType;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferMigrateAccountRequest transferMigrateAccountRequest = (TransferMigrateAccountRequest) o;
return Objects.equals(this.clientId, transferMigrateAccountRequest.clientId) &&
Objects.equals(this.secret, transferMigrateAccountRequest.secret) &&
Objects.equals(this.accountNumber, transferMigrateAccountRequest.accountNumber) &&
Objects.equals(this.routingNumber, transferMigrateAccountRequest.routingNumber) &&
Objects.equals(this.wireRoutingNumber, transferMigrateAccountRequest.wireRoutingNumber) &&
Objects.equals(this.accountType, transferMigrateAccountRequest.accountType);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, accountNumber, routingNumber, wireRoutingNumber, accountType);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferMigrateAccountRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
sb.append(" routingNumber: ").append(toIndentedString(routingNumber)).append("\n");
sb.append(" wireRoutingNumber: ").append(toIndentedString(wireRoutingNumber)).append("\n");
sb.append(" accountType: ").append(toIndentedString(accountType)).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/CraLoansApplicationsRegisterRequest.java | src/main/java/com/plaid/client/model/CraLoansApplicationsRegisterRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.CraLoanApplication;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* CraLoansApplicationsRegisterRequest defines the request schema for `/cra/loans/applications/register`.
*/
@ApiModel(description = "CraLoansApplicationsRegisterRequest defines the request schema for `/cra/loans/applications/register`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraLoansApplicationsRegisterRequest {
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_APPLICATIONS = "applications";
@SerializedName(SERIALIZED_NAME_APPLICATIONS)
private List<CraLoanApplication> applications = new ArrayList<>();
public CraLoansApplicationsRegisterRequest 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 CraLoansApplicationsRegisterRequest 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 CraLoansApplicationsRegisterRequest applications(List<CraLoanApplication> applications) {
this.applications = applications;
return this;
}
public CraLoansApplicationsRegisterRequest addApplicationsItem(CraLoanApplication applicationsItem) {
this.applications.add(applicationsItem);
return this;
}
/**
* A list of loan applications to register.
* @return applications
**/
@ApiModelProperty(required = true, value = "A list of loan applications to register.")
public List<CraLoanApplication> getApplications() {
return applications;
}
public void setApplications(List<CraLoanApplication> applications) {
this.applications = applications;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CraLoansApplicationsRegisterRequest craLoansApplicationsRegisterRequest = (CraLoansApplicationsRegisterRequest) o;
return Objects.equals(this.clientId, craLoansApplicationsRegisterRequest.clientId) &&
Objects.equals(this.secret, craLoansApplicationsRegisterRequest.secret) &&
Objects.equals(this.applications, craLoansApplicationsRegisterRequest.applications);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, applications);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraLoansApplicationsRegisterRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" applications: ").append(toIndentedString(applications)).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/PaymentInitiationRecipientGetRequest.java | src/main/java/com/plaid/client/model/PaymentInitiationRecipientGetRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* PaymentInitiationRecipientGetRequest defines the request schema for `/payment_initiation/recipient/get`
*/
@ApiModel(description = "PaymentInitiationRecipientGetRequest defines the request schema for `/payment_initiation/recipient/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PaymentInitiationRecipientGetRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_RECIPIENT_ID = "recipient_id";
@SerializedName(SERIALIZED_NAME_RECIPIENT_ID)
private String recipientId;
public PaymentInitiationRecipientGetRequest 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 PaymentInitiationRecipientGetRequest 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 PaymentInitiationRecipientGetRequest recipientId(String recipientId) {
this.recipientId = recipientId;
return this;
}
/**
* The ID of the recipient
* @return recipientId
**/
@ApiModelProperty(required = true, value = "The ID of the recipient")
public String getRecipientId() {
return recipientId;
}
public void setRecipientId(String recipientId) {
this.recipientId = recipientId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PaymentInitiationRecipientGetRequest paymentInitiationRecipientGetRequest = (PaymentInitiationRecipientGetRequest) o;
return Objects.equals(this.clientId, paymentInitiationRecipientGetRequest.clientId) &&
Objects.equals(this.secret, paymentInitiationRecipientGetRequest.secret) &&
Objects.equals(this.recipientId, paymentInitiationRecipientGetRequest.recipientId);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, recipientId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaymentInitiationRecipientGetRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" recipientId: ").append(toIndentedString(recipientId)).append("\n");
sb.append("}");
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/CraEmploymentRefreshReportAccount.java | src/main/java/com/plaid/client/model/CraEmploymentRefreshReportAccount.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.CraEmploymentRefreshReportTransaction;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Employment Refresh Report information about an account.
*/
@ApiModel(description = "Employment Refresh 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 CraEmploymentRefreshReportAccount {
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
private String accountId;
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_TRANSACTIONS = "transactions";
@SerializedName(SERIALIZED_NAME_TRANSACTIONS)
private List<CraEmploymentRefreshReportTransaction> transactions = new ArrayList<>();
public CraEmploymentRefreshReportAccount 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 CraEmploymentRefreshReportAccount 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 CraEmploymentRefreshReportAccount 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 CraEmploymentRefreshReportAccount 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 CraEmploymentRefreshReportAccount 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 CraEmploymentRefreshReportAccount transactions(List<CraEmploymentRefreshReportTransaction> transactions) {
this.transactions = transactions;
return this;
}
public CraEmploymentRefreshReportAccount addTransactionsItem(CraEmploymentRefreshReportTransaction transactionsItem) {
this.transactions.add(transactionsItem);
return this;
}
/**
* Transaction history associated with the account for the Employment Refresh Report. Note that this transaction differs from a Base Report transaction in that it will only be deposits, and the amounts will be omitted.
* @return transactions
**/
@ApiModelProperty(required = true, value = "Transaction history associated with the account for the Employment Refresh Report. Note that this transaction differs from a Base Report transaction in that it will only be deposits, and the amounts will be omitted.")
public List<CraEmploymentRefreshReportTransaction> getTransactions() {
return transactions;
}
public void setTransactions(List<CraEmploymentRefreshReportTransaction> transactions) {
this.transactions = transactions;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CraEmploymentRefreshReportAccount craEmploymentRefreshReportAccount = (CraEmploymentRefreshReportAccount) o;
return Objects.equals(this.accountId, craEmploymentRefreshReportAccount.accountId) &&
Objects.equals(this.name, craEmploymentRefreshReportAccount.name) &&
Objects.equals(this.officialName, craEmploymentRefreshReportAccount.officialName) &&
Objects.equals(this.type, craEmploymentRefreshReportAccount.type) &&
Objects.equals(this.subtype, craEmploymentRefreshReportAccount.subtype) &&
Objects.equals(this.transactions, craEmploymentRefreshReportAccount.transactions);
}
@Override
public int hashCode() {
return Objects.hash(accountId, name, officialName, type, subtype, transactions);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraEmploymentRefreshReportAccount {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).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(" transactions: ").append(toIndentedString(transactions)).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/PaymentInitiationConsentPaymentExecuteRequest.java | src/main/java/com/plaid/client/model/PaymentInitiationConsentPaymentExecuteRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.PaymentAmount;
import com.plaid.client.model.PaymentInitiationConsentProcessingMode;
import com.plaid.client.model.PaymentInitiationConsentScope;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* PaymentInitiationConsentPaymentExecuteRequest defines the request schema for `/payment_initiation/consent/payment/execute`
*/
@ApiModel(description = "PaymentInitiationConsentPaymentExecuteRequest defines the request schema for `/payment_initiation/consent/payment/execute`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PaymentInitiationConsentPaymentExecuteRequest {
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_CONSENT_ID = "consent_id";
@SerializedName(SERIALIZED_NAME_CONSENT_ID)
private String consentId;
public static final String SERIALIZED_NAME_AMOUNT = "amount";
@SerializedName(SERIALIZED_NAME_AMOUNT)
private PaymentAmount amount;
public static final String SERIALIZED_NAME_IDEMPOTENCY_KEY = "idempotency_key";
@SerializedName(SERIALIZED_NAME_IDEMPOTENCY_KEY)
private String idempotencyKey;
public static final String SERIALIZED_NAME_REFERENCE = "reference";
@SerializedName(SERIALIZED_NAME_REFERENCE)
private String reference;
public static final String SERIALIZED_NAME_SCOPE = "scope";
@SerializedName(SERIALIZED_NAME_SCOPE)
private PaymentInitiationConsentScope scope;
public static final String SERIALIZED_NAME_PROCESSING_MODE = "processing_mode";
@SerializedName(SERIALIZED_NAME_PROCESSING_MODE)
private PaymentInitiationConsentProcessingMode processingMode;
public PaymentInitiationConsentPaymentExecuteRequest 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 PaymentInitiationConsentPaymentExecuteRequest 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 PaymentInitiationConsentPaymentExecuteRequest consentId(String consentId) {
this.consentId = consentId;
return this;
}
/**
* The consent ID.
* @return consentId
**/
@ApiModelProperty(required = true, value = "The consent ID.")
public String getConsentId() {
return consentId;
}
public void setConsentId(String consentId) {
this.consentId = consentId;
}
public PaymentInitiationConsentPaymentExecuteRequest amount(PaymentAmount amount) {
this.amount = amount;
return this;
}
/**
* Get amount
* @return amount
**/
@ApiModelProperty(required = true, value = "")
public PaymentAmount getAmount() {
return amount;
}
public void setAmount(PaymentAmount amount) {
this.amount = amount;
}
public PaymentInitiationConsentPaymentExecuteRequest idempotencyKey(String idempotencyKey) {
this.idempotencyKey = idempotencyKey;
return this;
}
/**
* A random key provided by the client, per unique consent payment. Maximum of 128 characters. The API supports idempotency for safely retrying requests without accidentally performing the same operation twice. If a request to execute a consent payment fails due to a network connection error, you can retry the request with the same idempotency key to guarantee that only a single payment is created. If the request was successfully processed, it will prevent any payment that uses the same idempotency key, and was received within 48 hours of the first request, from being processed.
* @return idempotencyKey
**/
@ApiModelProperty(required = true, value = "A random key provided by the client, per unique consent payment. Maximum of 128 characters. The API supports idempotency for safely retrying requests without accidentally performing the same operation twice. If a request to execute a consent payment fails due to a network connection error, you can retry the request with the same idempotency key to guarantee that only a single payment is created. If the request was successfully processed, it will prevent any payment that uses the same idempotency key, and was received within 48 hours of the first request, from being processed.")
public String getIdempotencyKey() {
return idempotencyKey;
}
public void setIdempotencyKey(String idempotencyKey) {
this.idempotencyKey = idempotencyKey;
}
public PaymentInitiationConsentPaymentExecuteRequest reference(String reference) {
this.reference = reference;
return this;
}
/**
* A reference for the payment. This must be an alphanumeric string with at most 18 characters and must not contain any special characters (since not all institutions support them). If not provided, Plaid will automatically fall back to the reference from consent. In order to track settlement via Payment Confirmation, each payment must have a unique reference. If the reference provided through the API is not unique, Plaid will adjust it. Some institutions may limit the reference to less than 18 characters. If necessary, Plaid will adjust the reference by truncating it to fit the institution's requirements. Both the originally provided and automatically adjusted references (if any) can be found in the `reference` and `adjusted_reference` fields, respectively.
* @return reference
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A reference for the payment. This must be an alphanumeric string with at most 18 characters and must not contain any special characters (since not all institutions support them). If not provided, Plaid will automatically fall back to the reference from consent. In order to track settlement via Payment Confirmation, each payment must have a unique reference. If the reference provided through the API is not unique, Plaid will adjust it. Some institutions may limit the reference to less than 18 characters. If necessary, Plaid will adjust the reference by truncating it to fit the institution's requirements. Both the originally provided and automatically adjusted references (if any) can be found in the `reference` and `adjusted_reference` fields, respectively.")
public String getReference() {
return reference;
}
public void setReference(String reference) {
this.reference = reference;
}
public PaymentInitiationConsentPaymentExecuteRequest scope(PaymentInitiationConsentScope scope) {
this.scope = scope;
return this;
}
/**
* Get scope
* @return scope
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PaymentInitiationConsentScope getScope() {
return scope;
}
public void setScope(PaymentInitiationConsentScope scope) {
this.scope = scope;
}
public PaymentInitiationConsentPaymentExecuteRequest processingMode(PaymentInitiationConsentProcessingMode processingMode) {
this.processingMode = processingMode;
return this;
}
/**
* Get processingMode
* @return processingMode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PaymentInitiationConsentProcessingMode getProcessingMode() {
return processingMode;
}
public void setProcessingMode(PaymentInitiationConsentProcessingMode processingMode) {
this.processingMode = processingMode;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PaymentInitiationConsentPaymentExecuteRequest paymentInitiationConsentPaymentExecuteRequest = (PaymentInitiationConsentPaymentExecuteRequest) o;
return Objects.equals(this.clientId, paymentInitiationConsentPaymentExecuteRequest.clientId) &&
Objects.equals(this.secret, paymentInitiationConsentPaymentExecuteRequest.secret) &&
Objects.equals(this.consentId, paymentInitiationConsentPaymentExecuteRequest.consentId) &&
Objects.equals(this.amount, paymentInitiationConsentPaymentExecuteRequest.amount) &&
Objects.equals(this.idempotencyKey, paymentInitiationConsentPaymentExecuteRequest.idempotencyKey) &&
Objects.equals(this.reference, paymentInitiationConsentPaymentExecuteRequest.reference) &&
Objects.equals(this.scope, paymentInitiationConsentPaymentExecuteRequest.scope) &&
Objects.equals(this.processingMode, paymentInitiationConsentPaymentExecuteRequest.processingMode);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, consentId, amount, idempotencyKey, reference, scope, processingMode);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaymentInitiationConsentPaymentExecuteRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" consentId: ").append(toIndentedString(consentId)).append("\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" idempotencyKey: ").append(toIndentedString(idempotencyKey)).append("\n");
sb.append(" reference: ").append(toIndentedString(reference)).append("\n");
sb.append(" scope: ").append(toIndentedString(scope)).append("\n");
sb.append(" processingMode: ").append(toIndentedString(processingMode)).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/BusinessVerificationCreateRequest.java | src/main/java/com/plaid/client/model/BusinessVerificationCreateRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.BusinessVerificationCreateRequestBusiness;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Request input for creating a business verification
*/
@ApiModel(description = "Request input for creating a business verification")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BusinessVerificationCreateRequest {
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_BUSINESS = "business";
@SerializedName(SERIALIZED_NAME_BUSINESS)
private BusinessVerificationCreateRequestBusiness business;
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 BusinessVerificationCreateRequest 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 BusinessVerificationCreateRequest business(BusinessVerificationCreateRequestBusiness business) {
this.business = business;
return this;
}
/**
* Get business
* @return business
**/
@ApiModelProperty(required = true, value = "")
public BusinessVerificationCreateRequestBusiness getBusiness() {
return business;
}
public void setBusiness(BusinessVerificationCreateRequestBusiness business) {
this.business = business;
}
public BusinessVerificationCreateRequest 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 BusinessVerificationCreateRequest 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;
}
BusinessVerificationCreateRequest businessVerificationCreateRequest = (BusinessVerificationCreateRequest) o;
return Objects.equals(this.clientUserId, businessVerificationCreateRequest.clientUserId) &&
Objects.equals(this.business, businessVerificationCreateRequest.business) &&
Objects.equals(this.clientId, businessVerificationCreateRequest.clientId) &&
Objects.equals(this.secret, businessVerificationCreateRequest.secret);
}
@Override
public int hashCode() {
return Objects.hash(clientUserId, business, clientId, secret);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BusinessVerificationCreateRequest {\n");
sb.append(" clientUserId: ").append(toIndentedString(clientUserId)).append("\n");
sb.append(" business: ").append(toIndentedString(business)).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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.