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/BusinessVerificationGetRequest.java | src/main/java/com/plaid/client/model/BusinessVerificationGetRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Request input for fetching a business verification
*/
@ApiModel(description = "Request input for fetching a business verification")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BusinessVerificationGetRequest {
public static final String SERIALIZED_NAME_BUSINESS_VERIFICATION_ID = "business_verification_id";
@SerializedName(SERIALIZED_NAME_BUSINESS_VERIFICATION_ID)
private String businessVerificationId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public BusinessVerificationGetRequest businessVerificationId(String businessVerificationId) {
this.businessVerificationId = businessVerificationId;
return this;
}
/**
* ID of the associated business verification.
* @return businessVerificationId
**/
@ApiModelProperty(example = "busver_52xR9LKo77r1Np", required = true, value = "ID of the associated business verification.")
public String getBusinessVerificationId() {
return businessVerificationId;
}
public void setBusinessVerificationId(String businessVerificationId) {
this.businessVerificationId = businessVerificationId;
}
public BusinessVerificationGetRequest 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 BusinessVerificationGetRequest 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;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BusinessVerificationGetRequest businessVerificationGetRequest = (BusinessVerificationGetRequest) o;
return Objects.equals(this.businessVerificationId, businessVerificationGetRequest.businessVerificationId) &&
Objects.equals(this.secret, businessVerificationGetRequest.secret) &&
Objects.equals(this.clientId, businessVerificationGetRequest.clientId);
}
@Override
public int hashCode() {
return Objects.hash(businessVerificationId, secret, clientId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BusinessVerificationGetRequest {\n");
sb.append(" businessVerificationId: ").append(toIndentedString(businessVerificationId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/VerifySMSDetailsStatus.java | src/main/java/com/plaid/client/model/VerifySMSDetailsStatus.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* The outcome status for the associated Identity Verification attempt's `verify_sms` step. This field will always have the same value as `steps.verify_sms`.
*/
@JsonAdapter(VerifySMSDetailsStatus.Adapter.class)
public enum VerifySMSDetailsStatus {
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;
VerifySMSDetailsStatus(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static VerifySMSDetailsStatus fromValue(String value) {
for (VerifySMSDetailsStatus b : VerifySMSDetailsStatus.values()) {
if (b.value.equals(value)) {
return b;
}
}
return VerifySMSDetailsStatus.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<VerifySMSDetailsStatus> {
@Override
public void write(final JsonWriter jsonWriter, final VerifySMSDetailsStatus enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public VerifySMSDetailsStatus read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return VerifySMSDetailsStatus.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/DefaultUpdateWebhook.java | src/main/java/com/plaid/client/model/DefaultUpdateWebhook.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.PlaidError;
import com.plaid.client.model.WebhookEnvironmentValues;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.math.BigDecimal;
/**
* Fired when new transaction data is available for an Item. Plaid will typically check for new transaction data several times a day. This webhook is intended for use with `/transactions/get`; if you are using the newer `/transactions/sync` endpoint, this webhook will still be fired to maintain backwards compatibility, but it is recommended to listen for and respond to the `SYNC_UPDATES_AVAILABLE` webhook instead.
*/
@ApiModel(description = "Fired when new transaction data is available for an Item. Plaid will typically check for new transaction data several times a day. This webhook is intended for use with `/transactions/get`; if you are using the newer `/transactions/sync` endpoint, this webhook will still be fired to maintain backwards compatibility, but it is recommended to listen for and respond to the `SYNC_UPDATES_AVAILABLE` webhook instead. ")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class DefaultUpdateWebhook {
public static final String SERIALIZED_NAME_WEBHOOK_TYPE = "webhook_type";
@SerializedName(SERIALIZED_NAME_WEBHOOK_TYPE)
private String webhookType;
public static final String SERIALIZED_NAME_WEBHOOK_CODE = "webhook_code";
@SerializedName(SERIALIZED_NAME_WEBHOOK_CODE)
private String webhookCode;
public static final String SERIALIZED_NAME_ERROR = "error";
@SerializedName(SERIALIZED_NAME_ERROR)
private PlaidError error;
public static final String SERIALIZED_NAME_NEW_TRANSACTIONS = "new_transactions";
@SerializedName(SERIALIZED_NAME_NEW_TRANSACTIONS)
private Double newTransactions;
public static final String SERIALIZED_NAME_ITEM_ID = "item_id";
@SerializedName(SERIALIZED_NAME_ITEM_ID)
private String itemId;
public static final String SERIALIZED_NAME_ENVIRONMENT = "environment";
@SerializedName(SERIALIZED_NAME_ENVIRONMENT)
private WebhookEnvironmentValues environment;
public DefaultUpdateWebhook webhookType(String webhookType) {
this.webhookType = webhookType;
return this;
}
/**
* `TRANSACTIONS`
* @return webhookType
**/
@ApiModelProperty(required = true, value = "`TRANSACTIONS`")
public String getWebhookType() {
return webhookType;
}
public void setWebhookType(String webhookType) {
this.webhookType = webhookType;
}
public DefaultUpdateWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `DEFAULT_UPDATE`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`DEFAULT_UPDATE`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public DefaultUpdateWebhook error(PlaidError error) {
this.error = error;
return this;
}
/**
* Get error
* @return error
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PlaidError getError() {
return error;
}
public void setError(PlaidError error) {
this.error = error;
}
public DefaultUpdateWebhook newTransactions(Double newTransactions) {
this.newTransactions = newTransactions;
return this;
}
/**
* The number of new transactions detected since the last time this webhook was fired.
* @return newTransactions
**/
@ApiModelProperty(required = true, value = "The number of new transactions detected since the last time this webhook was fired.")
public Double getNewTransactions() {
return newTransactions;
}
public void setNewTransactions(Double newTransactions) {
this.newTransactions = newTransactions;
}
public DefaultUpdateWebhook itemId(String itemId) {
this.itemId = itemId;
return this;
}
/**
* The `item_id` of the Item the webhook relates to.
* @return itemId
**/
@ApiModelProperty(required = true, value = "The `item_id` of the Item the webhook relates to.")
public String getItemId() {
return itemId;
}
public void setItemId(String itemId) {
this.itemId = itemId;
}
public DefaultUpdateWebhook 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;
}
DefaultUpdateWebhook defaultUpdateWebhook = (DefaultUpdateWebhook) o;
return Objects.equals(this.webhookType, defaultUpdateWebhook.webhookType) &&
Objects.equals(this.webhookCode, defaultUpdateWebhook.webhookCode) &&
Objects.equals(this.error, defaultUpdateWebhook.error) &&
Objects.equals(this.newTransactions, defaultUpdateWebhook.newTransactions) &&
Objects.equals(this.itemId, defaultUpdateWebhook.itemId) &&
Objects.equals(this.environment, defaultUpdateWebhook.environment);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, error, newTransactions, itemId, environment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DefaultUpdateWebhook {\n");
sb.append(" webhookType: ").append(toIndentedString(webhookType)).append("\n");
sb.append(" webhookCode: ").append(toIndentedString(webhookCode)).append("\n");
sb.append(" error: ").append(toIndentedString(error)).append("\n");
sb.append(" newTransactions: ").append(toIndentedString(newTransactions)).append("\n");
sb.append(" itemId: ").append(toIndentedString(itemId)).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/PaymentInitiationConsentRevokeRequest.java | src/main/java/com/plaid/client/model/PaymentInitiationConsentRevokeRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* PaymentInitiationConsentRevokeRequest defines the request schema for `/payment_initiation/consent/revoke`
*/
@ApiModel(description = "PaymentInitiationConsentRevokeRequest defines the request schema for `/payment_initiation/consent/revoke`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PaymentInitiationConsentRevokeRequest {
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 PaymentInitiationConsentRevokeRequest 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 PaymentInitiationConsentRevokeRequest 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 PaymentInitiationConsentRevokeRequest 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;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PaymentInitiationConsentRevokeRequest paymentInitiationConsentRevokeRequest = (PaymentInitiationConsentRevokeRequest) o;
return Objects.equals(this.clientId, paymentInitiationConsentRevokeRequest.clientId) &&
Objects.equals(this.secret, paymentInitiationConsentRevokeRequest.secret) &&
Objects.equals(this.consentId, paymentInitiationConsentRevokeRequest.consentId);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, consentId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaymentInitiationConsentRevokeRequest {\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/PaymentStatusUpdateWebhook.java | src/main/java/com/plaid/client/model/PaymentStatusUpdateWebhook.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.PaymentInitiationPaymentStatus;
import com.plaid.client.model.PlaidError;
import com.plaid.client.model.WebhookEnvironmentValues;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
import java.time.OffsetDateTime;
/**
* Fired when the status of a payment has changed.
*/
@ApiModel(description = "Fired when the status of a payment has changed.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PaymentStatusUpdateWebhook {
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_PAYMENT_ID = "payment_id";
@SerializedName(SERIALIZED_NAME_PAYMENT_ID)
private String paymentId;
public static final String SERIALIZED_NAME_TRANSACTION_ID = "transaction_id";
@SerializedName(SERIALIZED_NAME_TRANSACTION_ID)
private String transactionId;
public static final String SERIALIZED_NAME_NEW_PAYMENT_STATUS = "new_payment_status";
@SerializedName(SERIALIZED_NAME_NEW_PAYMENT_STATUS)
private PaymentInitiationPaymentStatus newPaymentStatus;
public static final String SERIALIZED_NAME_OLD_PAYMENT_STATUS = "old_payment_status";
@SerializedName(SERIALIZED_NAME_OLD_PAYMENT_STATUS)
private PaymentInitiationPaymentStatus oldPaymentStatus;
public static final String SERIALIZED_NAME_ORIGINAL_REFERENCE = "original_reference";
@SerializedName(SERIALIZED_NAME_ORIGINAL_REFERENCE)
private String originalReference;
public static final String SERIALIZED_NAME_ADJUSTED_REFERENCE = "adjusted_reference";
@SerializedName(SERIALIZED_NAME_ADJUSTED_REFERENCE)
private String adjustedReference;
public static final String SERIALIZED_NAME_ORIGINAL_START_DATE = "original_start_date";
@SerializedName(SERIALIZED_NAME_ORIGINAL_START_DATE)
private LocalDate originalStartDate;
public static final String SERIALIZED_NAME_ADJUSTED_START_DATE = "adjusted_start_date";
@SerializedName(SERIALIZED_NAME_ADJUSTED_START_DATE)
private LocalDate adjustedStartDate;
public static final String SERIALIZED_NAME_TIMESTAMP = "timestamp";
@SerializedName(SERIALIZED_NAME_TIMESTAMP)
private OffsetDateTime timestamp;
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 PaymentStatusUpdateWebhook webhookType(String webhookType) {
this.webhookType = webhookType;
return this;
}
/**
* `PAYMENT_INITIATION`
* @return webhookType
**/
@ApiModelProperty(required = true, value = "`PAYMENT_INITIATION`")
public String getWebhookType() {
return webhookType;
}
public void setWebhookType(String webhookType) {
this.webhookType = webhookType;
}
public PaymentStatusUpdateWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `PAYMENT_STATUS_UPDATE`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`PAYMENT_STATUS_UPDATE`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public PaymentStatusUpdateWebhook paymentId(String paymentId) {
this.paymentId = paymentId;
return this;
}
/**
* The `payment_id` for the payment being updated
* @return paymentId
**/
@ApiModelProperty(required = true, value = "The `payment_id` for the payment being updated")
public String getPaymentId() {
return paymentId;
}
public void setPaymentId(String paymentId) {
this.paymentId = paymentId;
}
public PaymentStatusUpdateWebhook transactionId(String transactionId) {
this.transactionId = transactionId;
return this;
}
/**
* The transaction ID that this payment is associated with, if any. This is present only when a payment was initiated using virtual accounts.
* @return transactionId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The transaction ID that this payment is associated with, if any. This is present only when a payment was initiated using virtual accounts.")
public String getTransactionId() {
return transactionId;
}
public void setTransactionId(String transactionId) {
this.transactionId = transactionId;
}
public PaymentStatusUpdateWebhook newPaymentStatus(PaymentInitiationPaymentStatus newPaymentStatus) {
this.newPaymentStatus = newPaymentStatus;
return this;
}
/**
* Get newPaymentStatus
* @return newPaymentStatus
**/
@ApiModelProperty(required = true, value = "")
public PaymentInitiationPaymentStatus getNewPaymentStatus() {
return newPaymentStatus;
}
public void setNewPaymentStatus(PaymentInitiationPaymentStatus newPaymentStatus) {
this.newPaymentStatus = newPaymentStatus;
}
public PaymentStatusUpdateWebhook oldPaymentStatus(PaymentInitiationPaymentStatus oldPaymentStatus) {
this.oldPaymentStatus = oldPaymentStatus;
return this;
}
/**
* Get oldPaymentStatus
* @return oldPaymentStatus
**/
@ApiModelProperty(required = true, value = "")
public PaymentInitiationPaymentStatus getOldPaymentStatus() {
return oldPaymentStatus;
}
public void setOldPaymentStatus(PaymentInitiationPaymentStatus oldPaymentStatus) {
this.oldPaymentStatus = oldPaymentStatus;
}
public PaymentStatusUpdateWebhook originalReference(String originalReference) {
this.originalReference = originalReference;
return this;
}
/**
* The original value of the reference when creating the payment.
* @return originalReference
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The original value of the reference when creating the payment.")
public String getOriginalReference() {
return originalReference;
}
public void setOriginalReference(String originalReference) {
this.originalReference = originalReference;
}
public PaymentStatusUpdateWebhook adjustedReference(String adjustedReference) {
this.adjustedReference = adjustedReference;
return this;
}
/**
* The value of the reference sent to the bank after adjustment to pass bank validation rules.
* @return adjustedReference
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The value of the reference sent to the bank after adjustment to pass bank validation rules.")
public String getAdjustedReference() {
return adjustedReference;
}
public void setAdjustedReference(String adjustedReference) {
this.adjustedReference = adjustedReference;
}
public PaymentStatusUpdateWebhook originalStartDate(LocalDate originalStartDate) {
this.originalStartDate = originalStartDate;
return this;
}
/**
* The original value of the `start_date` provided during the creation of a standing order. If the payment is not a standing order, this field will be `null`.
* @return originalStartDate
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The original value of the `start_date` provided during the creation of a standing order. If the payment is not a standing order, this field will be `null`.")
public LocalDate getOriginalStartDate() {
return originalStartDate;
}
public void setOriginalStartDate(LocalDate originalStartDate) {
this.originalStartDate = originalStartDate;
}
public PaymentStatusUpdateWebhook adjustedStartDate(LocalDate adjustedStartDate) {
this.adjustedStartDate = adjustedStartDate;
return this;
}
/**
* The start date sent to the bank after adjusting for holidays or weekends. Will be provided in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (YYYY-MM-DD). If the start date did not require adjustment, or if the payment is not a standing order, this field will be `null`.
* @return adjustedStartDate
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The start date sent to the bank after adjusting for holidays or weekends. Will be provided in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (YYYY-MM-DD). If the start date did not require adjustment, or if the payment is not a standing order, this field will be `null`.")
public LocalDate getAdjustedStartDate() {
return adjustedStartDate;
}
public void setAdjustedStartDate(LocalDate adjustedStartDate) {
this.adjustedStartDate = adjustedStartDate;
}
public PaymentStatusUpdateWebhook timestamp(OffsetDateTime timestamp) {
this.timestamp = timestamp;
return this;
}
/**
* The timestamp of the update, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format, e.g. `\"2017-09-14T14:42:19.350Z\"`
* @return timestamp
**/
@ApiModelProperty(required = true, value = "The timestamp of the update, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format, e.g. `\"2017-09-14T14:42:19.350Z\"`")
public OffsetDateTime getTimestamp() {
return timestamp;
}
public void setTimestamp(OffsetDateTime timestamp) {
this.timestamp = timestamp;
}
public PaymentStatusUpdateWebhook error(PlaidError error) {
this.error = error;
return this;
}
/**
* Get error
* @return error
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PlaidError getError() {
return error;
}
public void setError(PlaidError error) {
this.error = error;
}
public PaymentStatusUpdateWebhook 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;
}
PaymentStatusUpdateWebhook paymentStatusUpdateWebhook = (PaymentStatusUpdateWebhook) o;
return Objects.equals(this.webhookType, paymentStatusUpdateWebhook.webhookType) &&
Objects.equals(this.webhookCode, paymentStatusUpdateWebhook.webhookCode) &&
Objects.equals(this.paymentId, paymentStatusUpdateWebhook.paymentId) &&
Objects.equals(this.transactionId, paymentStatusUpdateWebhook.transactionId) &&
Objects.equals(this.newPaymentStatus, paymentStatusUpdateWebhook.newPaymentStatus) &&
Objects.equals(this.oldPaymentStatus, paymentStatusUpdateWebhook.oldPaymentStatus) &&
Objects.equals(this.originalReference, paymentStatusUpdateWebhook.originalReference) &&
Objects.equals(this.adjustedReference, paymentStatusUpdateWebhook.adjustedReference) &&
Objects.equals(this.originalStartDate, paymentStatusUpdateWebhook.originalStartDate) &&
Objects.equals(this.adjustedStartDate, paymentStatusUpdateWebhook.adjustedStartDate) &&
Objects.equals(this.timestamp, paymentStatusUpdateWebhook.timestamp) &&
Objects.equals(this.error, paymentStatusUpdateWebhook.error) &&
Objects.equals(this.environment, paymentStatusUpdateWebhook.environment);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, paymentId, transactionId, newPaymentStatus, oldPaymentStatus, originalReference, adjustedReference, originalStartDate, adjustedStartDate, timestamp, error, environment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaymentStatusUpdateWebhook {\n");
sb.append(" webhookType: ").append(toIndentedString(webhookType)).append("\n");
sb.append(" webhookCode: ").append(toIndentedString(webhookCode)).append("\n");
sb.append(" paymentId: ").append(toIndentedString(paymentId)).append("\n");
sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n");
sb.append(" newPaymentStatus: ").append(toIndentedString(newPaymentStatus)).append("\n");
sb.append(" oldPaymentStatus: ").append(toIndentedString(oldPaymentStatus)).append("\n");
sb.append(" originalReference: ").append(toIndentedString(originalReference)).append("\n");
sb.append(" adjustedReference: ").append(toIndentedString(adjustedReference)).append("\n");
sb.append(" originalStartDate: ").append(toIndentedString(originalStartDate)).append("\n");
sb.append(" adjustedStartDate: ").append(toIndentedString(adjustedStartDate)).append("\n");
sb.append(" timestamp: ").append(toIndentedString(timestamp)).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/LoanFilter.java | src/main/java/com/plaid/client/model/LoanFilter.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.LoanAccountSubtype;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* A filter to apply to `loan`-type accounts
*/
@ApiModel(description = "A filter to apply to `loan`-type accounts")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LoanFilter {
public static final String SERIALIZED_NAME_ACCOUNT_SUBTYPES = "account_subtypes";
@SerializedName(SERIALIZED_NAME_ACCOUNT_SUBTYPES)
private List<LoanAccountSubtype> accountSubtypes = new ArrayList<>();
public LoanFilter accountSubtypes(List<LoanAccountSubtype> accountSubtypes) {
this.accountSubtypes = accountSubtypes;
return this;
}
public LoanFilter addAccountSubtypesItem(LoanAccountSubtype accountSubtypesItem) {
this.accountSubtypes.add(accountSubtypesItem);
return this;
}
/**
* An array of account subtypes to display in Link. If not specified, all account subtypes will be shown. For a full list of valid types and subtypes, see the [Account schema](https://plaid.com/docs/api/accounts#account-type-schema).
* @return accountSubtypes
**/
@ApiModelProperty(required = true, value = "An array of account subtypes to display in Link. If not specified, all account subtypes will be shown. For a full list of valid types and subtypes, see the [Account schema](https://plaid.com/docs/api/accounts#account-type-schema). ")
public List<LoanAccountSubtype> getAccountSubtypes() {
return accountSubtypes;
}
public void setAccountSubtypes(List<LoanAccountSubtype> accountSubtypes) {
this.accountSubtypes = accountSubtypes;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LoanFilter loanFilter = (LoanFilter) o;
return Objects.equals(this.accountSubtypes, loanFilter.accountSubtypes);
}
@Override
public int hashCode() {
return Objects.hash(accountSubtypes);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LoanFilter {\n");
sb.append(" accountSubtypes: ").append(toIndentedString(accountSubtypes)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/AssetReport.java | src/main/java/com/plaid/client/model/AssetReport.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.AssetReportItem;
import com.plaid.client.model.AssetReportUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.math.BigDecimal;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.List;
/**
* An object representing an Asset Report
*/
@ApiModel(description = "An object representing an Asset Report")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class AssetReport {
public static final String SERIALIZED_NAME_ASSET_REPORT_ID = "asset_report_id";
@SerializedName(SERIALIZED_NAME_ASSET_REPORT_ID)
private String assetReportId;
public static final String SERIALIZED_NAME_INSIGHTS = "insights";
@SerializedName(SERIALIZED_NAME_INSIGHTS)
private AccountInsights insights;
public static final String SERIALIZED_NAME_CLIENT_REPORT_ID = "client_report_id";
@SerializedName(SERIALIZED_NAME_CLIENT_REPORT_ID)
private String clientReportId;
public static final String SERIALIZED_NAME_DATE_GENERATED = "date_generated";
@SerializedName(SERIALIZED_NAME_DATE_GENERATED)
private OffsetDateTime dateGenerated;
public static final String SERIALIZED_NAME_DAYS_REQUESTED = "days_requested";
@SerializedName(SERIALIZED_NAME_DAYS_REQUESTED)
private Double daysRequested;
public static final String SERIALIZED_NAME_USER = "user";
@SerializedName(SERIALIZED_NAME_USER)
private AssetReportUser user;
public static final String SERIALIZED_NAME_ITEMS = "items";
@SerializedName(SERIALIZED_NAME_ITEMS)
private List<AssetReportItem> items = new ArrayList<>();
public AssetReport assetReportId(String assetReportId) {
this.assetReportId = assetReportId;
return this;
}
/**
* A unique ID identifying an Asset Report. Like all Plaid identifiers, this ID is case sensitive.
* @return assetReportId
**/
@ApiModelProperty(required = true, value = "A unique ID identifying an Asset Report. Like all Plaid identifiers, this ID is case sensitive.")
public String getAssetReportId() {
return assetReportId;
}
public void setAssetReportId(String assetReportId) {
this.assetReportId = assetReportId;
}
public AssetReport insights(AccountInsights insights) {
this.insights = insights;
return this;
}
/**
* Get insights
* @return insights
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public AccountInsights getInsights() {
return insights;
}
public void setInsights(AccountInsights insights) {
this.insights = insights;
}
public AssetReport clientReportId(String clientReportId) {
this.clientReportId = clientReportId;
return this;
}
/**
* An identifier you determine and submit for the Asset Report.
* @return clientReportId
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "An identifier you determine and submit for the Asset Report.")
public String getClientReportId() {
return clientReportId;
}
public void setClientReportId(String clientReportId) {
this.clientReportId = clientReportId;
}
public AssetReport dateGenerated(OffsetDateTime dateGenerated) {
this.dateGenerated = dateGenerated;
return this;
}
/**
* The date and time when the Asset Report was created, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (e.g. \"2018-04-12T03:32:11Z\").
* @return dateGenerated
**/
@ApiModelProperty(required = true, value = "The date and time when the Asset Report was created, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (e.g. \"2018-04-12T03:32:11Z\").")
public OffsetDateTime getDateGenerated() {
return dateGenerated;
}
public void setDateGenerated(OffsetDateTime dateGenerated) {
this.dateGenerated = dateGenerated;
}
public AssetReport daysRequested(Double daysRequested) {
this.daysRequested = daysRequested;
return this;
}
/**
* The duration of transaction history you requested
* @return daysRequested
**/
@ApiModelProperty(required = true, value = "The duration of transaction history you requested")
public Double getDaysRequested() {
return daysRequested;
}
public void setDaysRequested(Double daysRequested) {
this.daysRequested = daysRequested;
}
public AssetReport user(AssetReportUser user) {
this.user = user;
return this;
}
/**
* Get user
* @return user
**/
@ApiModelProperty(required = true, value = "")
public AssetReportUser getUser() {
return user;
}
public void setUser(AssetReportUser user) {
this.user = user;
}
public AssetReport items(List<AssetReportItem> items) {
this.items = items;
return this;
}
public AssetReport addItemsItem(AssetReportItem itemsItem) {
this.items.add(itemsItem);
return this;
}
/**
* Data returned by Plaid about each of the Items included in the Asset Report.
* @return items
**/
@ApiModelProperty(required = true, value = "Data returned by Plaid about each of the Items included in the Asset Report.")
public List<AssetReportItem> getItems() {
return items;
}
public void setItems(List<AssetReportItem> items) {
this.items = items;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AssetReport assetReport = (AssetReport) o;
return Objects.equals(this.assetReportId, assetReport.assetReportId) &&
Objects.equals(this.insights, assetReport.insights) &&
Objects.equals(this.clientReportId, assetReport.clientReportId) &&
Objects.equals(this.dateGenerated, assetReport.dateGenerated) &&
Objects.equals(this.daysRequested, assetReport.daysRequested) &&
Objects.equals(this.user, assetReport.user) &&
Objects.equals(this.items, assetReport.items);
}
@Override
public int hashCode() {
return Objects.hash(assetReportId, insights, clientReportId, dateGenerated, daysRequested, user, items);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AssetReport {\n");
sb.append(" assetReportId: ").append(toIndentedString(assetReportId)).append("\n");
sb.append(" insights: ").append(toIndentedString(insights)).append("\n");
sb.append(" clientReportId: ").append(toIndentedString(clientReportId)).append("\n");
sb.append(" dateGenerated: ").append(toIndentedString(dateGenerated)).append("\n");
sb.append(" daysRequested: ").append(toIndentedString(daysRequested)).append("\n");
sb.append(" user: ").append(toIndentedString(user)).append("\n");
sb.append(" items: ").append(toIndentedString(items)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/EwaScore.java | src/main/java/com/plaid/client/model/EwaScore.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* EwaScore represents an earned wage access score for a specific advance amount range.
*/
@ApiModel(description = "EwaScore represents an earned wage access score for a specific advance amount range.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class EwaScore {
public static final String SERIALIZED_NAME_LOWEST_AMOUNT = "lowest_amount";
@SerializedName(SERIALIZED_NAME_LOWEST_AMOUNT)
private Float lowestAmount;
public static final String SERIALIZED_NAME_HIGHEST_AMOUNT = "highest_amount";
@SerializedName(SERIALIZED_NAME_HIGHEST_AMOUNT)
private Float highestAmount;
public static final String SERIALIZED_NAME_SCORE = "score";
@SerializedName(SERIALIZED_NAME_SCORE)
private Integer score;
public EwaScore lowestAmount(Float lowestAmount) {
this.lowestAmount = lowestAmount;
return this;
}
/**
* Float value representing the lower bound (inclusive) of the advance amount range associated with a specific EWA score.
* @return lowestAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Float value representing the lower bound (inclusive) of the advance amount range associated with a specific EWA score.")
public Float getLowestAmount() {
return lowestAmount;
}
public void setLowestAmount(Float lowestAmount) {
this.lowestAmount = lowestAmount;
}
public EwaScore highestAmount(Float highestAmount) {
this.highestAmount = highestAmount;
return this;
}
/**
* Float value representing the upper bound (exclusive) of the advance amount range associated with a specific EWA score.
* @return highestAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Float value representing the upper bound (exclusive) of the advance amount range associated with a specific EWA score.")
public Float getHighestAmount() {
return highestAmount;
}
public void setHighestAmount(Float highestAmount) {
this.highestAmount = highestAmount;
}
public EwaScore score(Integer score) {
this.score = score;
return this;
}
/**
* EWA score for the corresponding amount bucket. Scores range from 1-99, where a higher score indicates a higher likelihood of repayment.
* @return score
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "EWA score for the corresponding amount bucket. Scores range from 1-99, where a higher score indicates a higher likelihood of repayment.")
public Integer getScore() {
return score;
}
public void setScore(Integer score) {
this.score = score;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
EwaScore ewaScore = (EwaScore) o;
return Objects.equals(this.lowestAmount, ewaScore.lowestAmount) &&
Objects.equals(this.highestAmount, ewaScore.highestAmount) &&
Objects.equals(this.score, ewaScore.score);
}
@Override
public int hashCode() {
return Objects.hash(lowestAmount, highestAmount, score);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class EwaScore {\n");
sb.append(" lowestAmount: ").append(toIndentedString(lowestAmount)).append("\n");
sb.append(" highestAmount: ").append(toIndentedString(highestAmount)).append("\n");
sb.append(" score: ").append(toIndentedString(score)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/AssetReportAuditCopyRemoveRequest.java | src/main/java/com/plaid/client/model/AssetReportAuditCopyRemoveRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* AssetReportAuditCopyRemoveRequest defines the request schema for `/asset_report/audit_copy/remove`
*/
@ApiModel(description = "AssetReportAuditCopyRemoveRequest defines the request schema for `/asset_report/audit_copy/remove`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class AssetReportAuditCopyRemoveRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_AUDIT_COPY_TOKEN = "audit_copy_token";
@SerializedName(SERIALIZED_NAME_AUDIT_COPY_TOKEN)
private String auditCopyToken;
public AssetReportAuditCopyRemoveRequest 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 AssetReportAuditCopyRemoveRequest 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 AssetReportAuditCopyRemoveRequest auditCopyToken(String auditCopyToken) {
this.auditCopyToken = auditCopyToken;
return this;
}
/**
* The `audit_copy_token` granting access to the Audit Copy you would like to revoke.
* @return auditCopyToken
**/
@ApiModelProperty(required = true, value = "The `audit_copy_token` granting access to the Audit Copy you would like to revoke.")
public String getAuditCopyToken() {
return auditCopyToken;
}
public void setAuditCopyToken(String auditCopyToken) {
this.auditCopyToken = auditCopyToken;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AssetReportAuditCopyRemoveRequest assetReportAuditCopyRemoveRequest = (AssetReportAuditCopyRemoveRequest) o;
return Objects.equals(this.clientId, assetReportAuditCopyRemoveRequest.clientId) &&
Objects.equals(this.secret, assetReportAuditCopyRemoveRequest.secret) &&
Objects.equals(this.auditCopyToken, assetReportAuditCopyRemoveRequest.auditCopyToken);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, auditCopyToken);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AssetReportAuditCopyRemoveRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" auditCopyToken: ").append(toIndentedString(auditCopyToken)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BaseReportHistoricalBalance.java | src/main/java/com/plaid/client/model/BaseReportHistoricalBalance.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
/**
* An object representing a balance held by an account in the past
*/
@ApiModel(description = "An object representing a balance held by an account in the past")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BaseReportHistoricalBalance {
public static final String SERIALIZED_NAME_DATE = "date";
@SerializedName(SERIALIZED_NAME_DATE)
private LocalDate date;
public static final String SERIALIZED_NAME_CURRENT = "current";
@SerializedName(SERIALIZED_NAME_CURRENT)
private Double current;
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 BaseReportHistoricalBalance date(LocalDate date) {
this.date = date;
return this;
}
/**
* The date of the calculated historical balance, in an [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (YYYY-MM-DD)
* @return date
**/
@ApiModelProperty(required = true, value = "The date of the calculated historical balance, in an [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (YYYY-MM-DD)")
public LocalDate getDate() {
return date;
}
public void setDate(LocalDate date) {
this.date = date;
}
public BaseReportHistoricalBalance current(Double current) {
this.current = current;
return this;
}
/**
* The total amount of funds in the account, calculated from the `current` balance in the `balance` object by subtracting inflows and adding back outflows according to the posted date of each transaction. If the account has any pending transactions, historical balance amounts on or after the date of the earliest pending transaction may differ if retrieved in subsequent Asset Reports as a result of those pending transactions posting.
* @return current
**/
@ApiModelProperty(required = true, value = "The total amount of funds in the account, calculated from the `current` balance in the `balance` object by subtracting inflows and adding back outflows according to the posted date of each transaction. If the account has any pending transactions, historical balance amounts on or after the date of the earliest pending transaction may differ if retrieved in subsequent Asset Reports as a result of those pending transactions posting.")
public Double getCurrent() {
return current;
}
public void setCurrent(Double current) {
this.current = current;
}
public BaseReportHistoricalBalance isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The ISO-4217 currency code of the balance. Always `null` if `unofficial_currency_code` is non-`null`.
* @return isoCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The ISO-4217 currency code of the balance. Always `null` if `unofficial_currency_code` is non-`null`.")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public BaseReportHistoricalBalance unofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
return this;
}
/**
* The unofficial currency code associated with the balance. Always `null` if `iso_currency_code` is non-`null`. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `unofficial_currency_code`s.
* @return unofficialCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The unofficial currency code associated with the balance. Always `null` if `iso_currency_code` is non-`null`. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `unofficial_currency_code`s.")
public String getUnofficialCurrencyCode() {
return unofficialCurrencyCode;
}
public void setUnofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BaseReportHistoricalBalance baseReportHistoricalBalance = (BaseReportHistoricalBalance) o;
return Objects.equals(this.date, baseReportHistoricalBalance.date) &&
Objects.equals(this.current, baseReportHistoricalBalance.current) &&
Objects.equals(this.isoCurrencyCode, baseReportHistoricalBalance.isoCurrencyCode) &&
Objects.equals(this.unofficialCurrencyCode, baseReportHistoricalBalance.unofficialCurrencyCode);
}
@Override
public int hashCode() {
return Objects.hash(date, current, isoCurrencyCode, unofficialCurrencyCode);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BaseReportHistoricalBalance {\n");
sb.append(" date: ").append(toIndentedString(date)).append("\n");
sb.append(" current: ").append(toIndentedString(current)).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/IncomeVerificationPrecheckEmployerAddressData.java | src/main/java/com/plaid/client/model/IncomeVerificationPrecheckEmployerAddressData.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Data about the components comprising an address.
*/
@ApiModel(description = "Data about the components comprising an address.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class IncomeVerificationPrecheckEmployerAddressData {
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 IncomeVerificationPrecheckEmployerAddressData 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 IncomeVerificationPrecheckEmployerAddressData country(String country) {
this.country = country;
return this;
}
/**
* The ISO 3166-1 alpha-2 country code
* @return country
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The ISO 3166-1 alpha-2 country code")
public String getCountry() {
return country;
}
public void setCountry(String country) {
this.country = country;
}
public IncomeVerificationPrecheckEmployerAddressData postalCode(String postalCode) {
this.postalCode = postalCode;
return this;
}
/**
* The postal code. In API versions 2018-05-22 and earlier, this field is called `zip`.
* @return postalCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The postal code. In API versions 2018-05-22 and earlier, this field is called `zip`.")
public String getPostalCode() {
return postalCode;
}
public void setPostalCode(String postalCode) {
this.postalCode = postalCode;
}
public IncomeVerificationPrecheckEmployerAddressData region(String region) {
this.region = region;
return this;
}
/**
* The region or state. In API versions 2018-05-22 and earlier, this field is called `state`. Example: `\"NC\"`
* @return region
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The region or state. In API versions 2018-05-22 and earlier, this field is called `state`. Example: `\"NC\"`")
public String getRegion() {
return region;
}
public void setRegion(String region) {
this.region = region;
}
public IncomeVerificationPrecheckEmployerAddressData 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;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
IncomeVerificationPrecheckEmployerAddressData incomeVerificationPrecheckEmployerAddressData = (IncomeVerificationPrecheckEmployerAddressData) o;
return Objects.equals(this.city, incomeVerificationPrecheckEmployerAddressData.city) &&
Objects.equals(this.country, incomeVerificationPrecheckEmployerAddressData.country) &&
Objects.equals(this.postalCode, incomeVerificationPrecheckEmployerAddressData.postalCode) &&
Objects.equals(this.region, incomeVerificationPrecheckEmployerAddressData.region) &&
Objects.equals(this.street, incomeVerificationPrecheckEmployerAddressData.street);
}
@Override
public int hashCode() {
return Objects.hash(city, country, postalCode, region, street);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IncomeVerificationPrecheckEmployerAddressData {\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/WalletTransactionFailureReason.java | src/main/java/com/plaid/client/model/WalletTransactionFailureReason.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 error code of a failed transaction. Error codes include: `EXTERNAL_SYSTEM`: The transaction was declined by an external system. `EXPIRED`: The transaction request has expired. `CANCELLED`: The transaction request was rescinded. `INVALID`: The transaction did not meet certain criteria, such as an inactive account or no valid counterparty, etc. `UNKNOWN`: The transaction was unsuccessful, but the exact cause is unknown.
*/
@JsonAdapter(WalletTransactionFailureReason.Adapter.class)
public enum WalletTransactionFailureReason {
EXTERNAL_SYSTEM("EXTERNAL_SYSTEM"),
EXPIRED("EXPIRED"),
CANCELLED("CANCELLED"),
INVALID("INVALID"),
UNKNOWN("UNKNOWN"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
WalletTransactionFailureReason(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static WalletTransactionFailureReason fromValue(String value) {
for (WalletTransactionFailureReason b : WalletTransactionFailureReason.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null; }
public static class Adapter extends TypeAdapter<WalletTransactionFailureReason> {
@Override
public void write(final JsonWriter jsonWriter, final WalletTransactionFailureReason enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public WalletTransactionFailureReason read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return WalletTransactionFailureReason.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/ProcessorTokenPermissionsSetResponse.java | src/main/java/com/plaid/client/model/ProcessorTokenPermissionsSetResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* ProcessorTokenPermissionsSetResponse defines the response schema for `/processor/token/permissions/set`
*/
@ApiModel(description = "ProcessorTokenPermissionsSetResponse defines the response schema for `/processor/token/permissions/set`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ProcessorTokenPermissionsSetResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public ProcessorTokenPermissionsSetResponse 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;
}
ProcessorTokenPermissionsSetResponse processorTokenPermissionsSetResponse = (ProcessorTokenPermissionsSetResponse) o;
return Objects.equals(this.requestId, processorTokenPermissionsSetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProcessorTokenPermissionsSetResponse {\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/CreditBankIncomeRefreshRequestOptions.java | src/main/java/com/plaid/client/model/CreditBankIncomeRefreshRequestOptions.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* An optional object for `/credit/bank_income/refresh` request options.
*/
@ApiModel(description = "An optional object for `/credit/bank_income/refresh` request options.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditBankIncomeRefreshRequestOptions {
public static final String SERIALIZED_NAME_DAYS_REQUESTED = "days_requested";
@SerializedName(SERIALIZED_NAME_DAYS_REQUESTED)
private Integer daysRequested;
public CreditBankIncomeRefreshRequestOptions daysRequested(Integer daysRequested) {
this.daysRequested = daysRequested;
return this;
}
/**
* How many days of data to include in the refresh. If not specified, this will default to the days requested in the most recently generated bank income report for the user.
* @return daysRequested
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "How many days of data to include in the refresh. If not specified, this will default to the days requested in the most recently generated bank income report for the user.")
public Integer getDaysRequested() {
return daysRequested;
}
public void setDaysRequested(Integer daysRequested) {
this.daysRequested = daysRequested;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreditBankIncomeRefreshRequestOptions creditBankIncomeRefreshRequestOptions = (CreditBankIncomeRefreshRequestOptions) o;
return Objects.equals(this.daysRequested, creditBankIncomeRefreshRequestOptions.daysRequested);
}
@Override
public int hashCode() {
return Objects.hash(daysRequested);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditBankIncomeRefreshRequestOptions {\n");
sb.append(" daysRequested: ").append(toIndentedString(daysRequested)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CategoryExpenses.java | src/main/java/com/plaid/client/model/CategoryExpenses.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.MonthlyAverage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Detailed expense information for a specific credit category, including transaction count and total amount spent.
*/
@ApiModel(description = "Detailed expense information for a specific credit category, including transaction count and total amount spent.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CategoryExpenses {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
public static final String SERIALIZED_NAME_TRANSACTIONS_COUNT = "transactions_count";
@SerializedName(SERIALIZED_NAME_TRANSACTIONS_COUNT)
private Integer transactionsCount;
public static final String SERIALIZED_NAME_AMOUNT = "amount";
@SerializedName(SERIALIZED_NAME_AMOUNT)
private Double amount;
public static final String SERIALIZED_NAME_ISO_CURRENCY_CODE = "iso_currency_code";
@SerializedName(SERIALIZED_NAME_ISO_CURRENCY_CODE)
private String isoCurrencyCode;
public static final String SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE = "unofficial_currency_code";
@SerializedName(SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE)
private String unofficialCurrencyCode;
public static final String SERIALIZED_NAME_MONTHLY_AVERAGE = "monthly_average";
@SerializedName(SERIALIZED_NAME_MONTHLY_AVERAGE)
private MonthlyAverage monthlyAverage;
public CategoryExpenses id(String id) {
this.id = id;
return this;
}
/**
* The ID of the credit category. See the [category taxonomy](https://plaid.com/documents/credit-category-taxonomy.csv) for a full listing of category IDs.
* @return id
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The ID of the credit category. See the [category taxonomy](https://plaid.com/documents/credit-category-taxonomy.csv) for a full listing of category IDs.")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public CategoryExpenses transactionsCount(Integer transactionsCount) {
this.transactionsCount = transactionsCount;
return this;
}
/**
* The total number of transactions that fall into this credit category within the given time window.
* @return transactionsCount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The total number of transactions that fall into this credit category within the given time window.")
public Integer getTransactionsCount() {
return transactionsCount;
}
public void setTransactionsCount(Integer transactionsCount) {
this.transactionsCount = transactionsCount;
}
public CategoryExpenses amount(Double amount) {
this.amount = amount;
return this;
}
/**
* The total value for all the transactions that fall into this category within the given time window.
* @return amount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The total value for all the transactions that fall into this category within the given time window.")
public Double getAmount() {
return amount;
}
public void setAmount(Double amount) {
this.amount = amount;
}
public CategoryExpenses isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The ISO-4217 currency code of the amount. Always `null` if `unofficial_currency_code` is non-`null`.
* @return isoCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The ISO-4217 currency code of the amount. Always `null` if `unofficial_currency_code` is non-`null`.")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public CategoryExpenses unofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
return this;
}
/**
* The unofficial currency code associated with the amount. Always `null` if `iso_currency_code` is non-`null`. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `unofficial_currency_code`s.
* @return unofficialCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The unofficial currency code associated with the amount. Always `null` if `iso_currency_code` is non-`null`. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `unofficial_currency_code`s.")
public String getUnofficialCurrencyCode() {
return unofficialCurrencyCode;
}
public void setUnofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
}
public CategoryExpenses monthlyAverage(MonthlyAverage monthlyAverage) {
this.monthlyAverage = monthlyAverage;
return this;
}
/**
* Get monthlyAverage
* @return monthlyAverage
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public MonthlyAverage getMonthlyAverage() {
return monthlyAverage;
}
public void setMonthlyAverage(MonthlyAverage monthlyAverage) {
this.monthlyAverage = monthlyAverage;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CategoryExpenses categoryExpenses = (CategoryExpenses) o;
return Objects.equals(this.id, categoryExpenses.id) &&
Objects.equals(this.transactionsCount, categoryExpenses.transactionsCount) &&
Objects.equals(this.amount, categoryExpenses.amount) &&
Objects.equals(this.isoCurrencyCode, categoryExpenses.isoCurrencyCode) &&
Objects.equals(this.unofficialCurrencyCode, categoryExpenses.unofficialCurrencyCode) &&
Objects.equals(this.monthlyAverage, categoryExpenses.monthlyAverage);
}
@Override
public int hashCode() {
return Objects.hash(id, transactionsCount, amount, isoCurrencyCode, unofficialCurrencyCode, monthlyAverage);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CategoryExpenses {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" transactionsCount: ").append(toIndentedString(transactionsCount)).append("\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" unofficialCurrencyCode: ").append(toIndentedString(unofficialCurrencyCode)).append("\n");
sb.append(" monthlyAverage: ").append(toIndentedString(monthlyAverage)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/SandboxTransferRepaymentSimulateRequest.java | src/main/java/com/plaid/client/model/SandboxTransferRepaymentSimulateRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines the request schema for `/sandbox/transfer/repayment/simulate`
*/
@ApiModel(description = "Defines the request schema for `/sandbox/transfer/repayment/simulate`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SandboxTransferRepaymentSimulateRequest {
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 SandboxTransferRepaymentSimulateRequest 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 SandboxTransferRepaymentSimulateRequest 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;
}
SandboxTransferRepaymentSimulateRequest sandboxTransferRepaymentSimulateRequest = (SandboxTransferRepaymentSimulateRequest) o;
return Objects.equals(this.clientId, sandboxTransferRepaymentSimulateRequest.clientId) &&
Objects.equals(this.secret, sandboxTransferRepaymentSimulateRequest.secret);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SandboxTransferRepaymentSimulateRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CreditRelayCreateResponse.java | src/main/java/com/plaid/client/model/CreditRelayCreateResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* CreditRelayCreateResponse defines the response schema for `/credit/relay/create`
*/
@ApiModel(description = "CreditRelayCreateResponse defines the response schema for `/credit/relay/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditRelayCreateResponse {
public static final String SERIALIZED_NAME_RELAY_TOKEN = "relay_token";
@SerializedName(SERIALIZED_NAME_RELAY_TOKEN)
private String relayToken;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public CreditRelayCreateResponse relayToken(String relayToken) {
this.relayToken = relayToken;
return this;
}
/**
* A token that can be shared with a third party to allow them to access the Asset Report. This token should be stored securely.
* @return relayToken
**/
@ApiModelProperty(required = true, value = "A token that can be shared with a third party to allow them to access the Asset Report. This token should be stored securely.")
public String getRelayToken() {
return relayToken;
}
public void setRelayToken(String relayToken) {
this.relayToken = relayToken;
}
public CreditRelayCreateResponse 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;
}
CreditRelayCreateResponse creditRelayCreateResponse = (CreditRelayCreateResponse) o;
return Objects.equals(this.relayToken, creditRelayCreateResponse.relayToken) &&
Objects.equals(this.requestId, creditRelayCreateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(relayToken, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditRelayCreateResponse {\n");
sb.append(" relayToken: ").append(toIndentedString(relayToken)).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/YieldRateType.java | src/main/java/com/plaid/client/model/YieldRateType.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* The type of rate which indicates how the predicted yield was calculated. It is one of: `coupon`: the annualized interest rate for securities with a one-year term or longer, such as treasury notes and bonds. `coupon_equivalent`: the calculated equivalent for the annualized interest rate factoring in the discount rate and time to maturity, for shorter term, non-interest-bearing securities such as treasury bills. `discount`: the rate at which the present value or cost is discounted from the future value upon maturity, also known as the face value. `yield`: the total predicted rate of return factoring in both the discount rate and the coupon rate, applicable to securities such as exchange-traded bonds which can both be interest-bearing as well as sold at a discount off its face value.
*/
@JsonAdapter(YieldRateType.Adapter.class)
public enum YieldRateType {
COUPON("coupon"),
COUPON_EQUIVALENT("coupon_equivalent"),
DISCOUNT("discount"),
YIELD("yield"),
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;
YieldRateType(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static YieldRateType fromValue(String value) {
for (YieldRateType b : YieldRateType.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null; }
public static class Adapter extends TypeAdapter<YieldRateType> {
@Override
public void write(final JsonWriter jsonWriter, final YieldRateType enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public YieldRateType read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return YieldRateType.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/CreditRelayCreateRequest.java | src/main/java/com/plaid/client/model/CreditRelayCreateRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* CreditRelayCreateRequest defines the request schema for `/credit/relay/create`
*/
@ApiModel(description = "CreditRelayCreateRequest defines the request schema for `/credit/relay/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditRelayCreateRequest {
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_REPORT_TOKENS = "report_tokens";
@SerializedName(SERIALIZED_NAME_REPORT_TOKENS)
private List<String> reportTokens = new ArrayList<>();
public static final String SERIALIZED_NAME_SECONDARY_CLIENT_ID = "secondary_client_id";
@SerializedName(SERIALIZED_NAME_SECONDARY_CLIENT_ID)
private String secondaryClientId;
public static final String SERIALIZED_NAME_WEBHOOK = "webhook";
@SerializedName(SERIALIZED_NAME_WEBHOOK)
private String webhook;
public CreditRelayCreateRequest 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 CreditRelayCreateRequest 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 CreditRelayCreateRequest reportTokens(List<String> reportTokens) {
this.reportTokens = reportTokens;
return this;
}
public CreditRelayCreateRequest addReportTokensItem(String reportTokensItem) {
this.reportTokens.add(reportTokensItem);
return this;
}
/**
* List of report token strings, with at most one token of each report type. Currently only Asset Report token is supported.
* @return reportTokens
**/
@ApiModelProperty(required = true, value = "List of report token strings, with at most one token of each report type. Currently only Asset Report token is supported.")
public List<String> getReportTokens() {
return reportTokens;
}
public void setReportTokens(List<String> reportTokens) {
this.reportTokens = reportTokens;
}
public CreditRelayCreateRequest secondaryClientId(String secondaryClientId) {
this.secondaryClientId = secondaryClientId;
return this;
}
/**
* The `secondary_client_id` is the client id of the third party with whom you would like to share the relay token.
* @return secondaryClientId
**/
@ApiModelProperty(required = true, value = "The `secondary_client_id` is the client id of the third party with whom you would like to share the relay token.")
public String getSecondaryClientId() {
return secondaryClientId;
}
public void setSecondaryClientId(String secondaryClientId) {
this.secondaryClientId = secondaryClientId;
}
public CreditRelayCreateRequest webhook(String webhook) {
this.webhook = webhook;
return this;
}
/**
* URL to which Plaid will send webhooks when the Secondary Client successfully retrieves an Asset Report by calling `/credit/relay/get`.
* @return webhook
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "URL to which Plaid will send webhooks when the Secondary Client successfully retrieves an Asset Report by calling `/credit/relay/get`.")
public String getWebhook() {
return webhook;
}
public void setWebhook(String webhook) {
this.webhook = webhook;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreditRelayCreateRequest creditRelayCreateRequest = (CreditRelayCreateRequest) o;
return Objects.equals(this.clientId, creditRelayCreateRequest.clientId) &&
Objects.equals(this.secret, creditRelayCreateRequest.secret) &&
Objects.equals(this.reportTokens, creditRelayCreateRequest.reportTokens) &&
Objects.equals(this.secondaryClientId, creditRelayCreateRequest.secondaryClientId) &&
Objects.equals(this.webhook, creditRelayCreateRequest.webhook);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, reportTokens, secondaryClientId, webhook);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditRelayCreateRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" reportTokens: ").append(toIndentedString(reportTokens)).append("\n");
sb.append(" secondaryClientId: ").append(toIndentedString(secondaryClientId)).append("\n");
sb.append(" webhook: ").append(toIndentedString(webhook)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CraLoanRegisterApplication.java | src/main/java/com/plaid/client/model/CraLoanRegisterApplication.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* Contains loan application data to register.
*/
@ApiModel(description = "Contains loan application data to register.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraLoanRegisterApplication {
public static final String SERIALIZED_NAME_APPLICATION_ID = "application_id";
@SerializedName(SERIALIZED_NAME_APPLICATION_ID)
private String applicationId;
public static final String SERIALIZED_NAME_APPLICATION_DATE = "application_date";
@SerializedName(SERIALIZED_NAME_APPLICATION_DATE)
private LocalDate applicationDate;
public CraLoanRegisterApplication applicationId(String applicationId) {
this.applicationId = applicationId;
return this;
}
/**
* A unique identifier for the loan application. Personally identifiable information, such as an email address or phone number, should not be used in the `application_id`.
* @return applicationId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A unique identifier for the loan application. Personally identifiable information, such as an email address or phone number, should not be used in the `application_id`.")
public String getApplicationId() {
return applicationId;
}
public void setApplicationId(String applicationId) {
this.applicationId = applicationId;
}
public CraLoanRegisterApplication applicationDate(LocalDate applicationDate) {
this.applicationDate = applicationDate;
return this;
}
/**
* The date the user applied for the loan. The date should be in ISO 8601 format (YYYY-MM-DD).
* @return applicationDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The date the user applied for the loan. The date should be in ISO 8601 format (YYYY-MM-DD).")
public LocalDate getApplicationDate() {
return applicationDate;
}
public void setApplicationDate(LocalDate applicationDate) {
this.applicationDate = applicationDate;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CraLoanRegisterApplication craLoanRegisterApplication = (CraLoanRegisterApplication) o;
return Objects.equals(this.applicationId, craLoanRegisterApplication.applicationId) &&
Objects.equals(this.applicationDate, craLoanRegisterApplication.applicationDate);
}
@Override
public int hashCode() {
return Objects.hash(applicationId, applicationDate);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraLoanRegisterApplication {\n");
sb.append(" applicationId: ").append(toIndentedString(applicationId)).append("\n");
sb.append(" applicationDate: ").append(toIndentedString(applicationDate)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/PaymentInitiationConsentCreateResponse.java | src/main/java/com/plaid/client/model/PaymentInitiationConsentCreateResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.PaymentInitiationConsentStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* PaymentInitiationConsentCreateResponse defines the response schema for `/payment_initiation/consent/create`
*/
@ApiModel(description = "PaymentInitiationConsentCreateResponse defines the response schema for `/payment_initiation/consent/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PaymentInitiationConsentCreateResponse {
public static final String SERIALIZED_NAME_CONSENT_ID = "consent_id";
@SerializedName(SERIALIZED_NAME_CONSENT_ID)
private String consentId;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private PaymentInitiationConsentStatus status;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public PaymentInitiationConsentCreateResponse consentId(String consentId) {
this.consentId = consentId;
return this;
}
/**
* A unique ID identifying the payment consent.
* @return consentId
**/
@ApiModelProperty(required = true, value = "A unique ID identifying the payment consent.")
public String getConsentId() {
return consentId;
}
public void setConsentId(String consentId) {
this.consentId = consentId;
}
public PaymentInitiationConsentCreateResponse status(PaymentInitiationConsentStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@ApiModelProperty(required = true, value = "")
public PaymentInitiationConsentStatus getStatus() {
return status;
}
public void setStatus(PaymentInitiationConsentStatus status) {
this.status = status;
}
public PaymentInitiationConsentCreateResponse 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;
}
PaymentInitiationConsentCreateResponse paymentInitiationConsentCreateResponse = (PaymentInitiationConsentCreateResponse) o;
return Objects.equals(this.consentId, paymentInitiationConsentCreateResponse.consentId) &&
Objects.equals(this.status, paymentInitiationConsentCreateResponse.status) &&
Objects.equals(this.requestId, paymentInitiationConsentCreateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(consentId, status, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaymentInitiationConsentCreateResponse {\n");
sb.append(" consentId: ").append(toIndentedString(consentId)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).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/KYCCheckDetailsInternationalAddress.java | src/main/java/com/plaid/client/model/KYCCheckDetailsInternationalAddress.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.HiddenMatchSummaryCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Result summary object specifying how the `address` field matched for fields that are only present on an international KYC check.
*/
@ApiModel(description = "Result summary object specifying how the `address` field matched for fields that are only present on an international KYC check.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class KYCCheckDetailsInternationalAddress {
public static final String SERIALIZED_NAME_BUILDING = "building";
@SerializedName(SERIALIZED_NAME_BUILDING)
private HiddenMatchSummaryCode building;
public static final String SERIALIZED_NAME_COUNTY = "county";
@SerializedName(SERIALIZED_NAME_COUNTY)
private HiddenMatchSummaryCode county;
public static final String SERIALIZED_NAME_DISTRICT = "district";
@SerializedName(SERIALIZED_NAME_DISTRICT)
private HiddenMatchSummaryCode district;
public static final String SERIALIZED_NAME_HOUSE_NUMBER = "house_number";
@SerializedName(SERIALIZED_NAME_HOUSE_NUMBER)
private HiddenMatchSummaryCode houseNumber;
public static final String SERIALIZED_NAME_SUBPREMISE = "subpremise";
@SerializedName(SERIALIZED_NAME_SUBPREMISE)
private HiddenMatchSummaryCode subpremise;
public static final String SERIALIZED_NAME_THOROUGHFARE = "thoroughfare";
@SerializedName(SERIALIZED_NAME_THOROUGHFARE)
private HiddenMatchSummaryCode thoroughfare;
public KYCCheckDetailsInternationalAddress building(HiddenMatchSummaryCode building) {
this.building = building;
return this;
}
/**
* Get building
* @return building
**/
@ApiModelProperty(required = true, value = "")
public HiddenMatchSummaryCode getBuilding() {
return building;
}
public void setBuilding(HiddenMatchSummaryCode building) {
this.building = building;
}
public KYCCheckDetailsInternationalAddress county(HiddenMatchSummaryCode county) {
this.county = county;
return this;
}
/**
* Get county
* @return county
**/
@ApiModelProperty(required = true, value = "")
public HiddenMatchSummaryCode getCounty() {
return county;
}
public void setCounty(HiddenMatchSummaryCode county) {
this.county = county;
}
public KYCCheckDetailsInternationalAddress district(HiddenMatchSummaryCode district) {
this.district = district;
return this;
}
/**
* Get district
* @return district
**/
@ApiModelProperty(required = true, value = "")
public HiddenMatchSummaryCode getDistrict() {
return district;
}
public void setDistrict(HiddenMatchSummaryCode district) {
this.district = district;
}
public KYCCheckDetailsInternationalAddress houseNumber(HiddenMatchSummaryCode houseNumber) {
this.houseNumber = houseNumber;
return this;
}
/**
* Get houseNumber
* @return houseNumber
**/
@ApiModelProperty(required = true, value = "")
public HiddenMatchSummaryCode getHouseNumber() {
return houseNumber;
}
public void setHouseNumber(HiddenMatchSummaryCode houseNumber) {
this.houseNumber = houseNumber;
}
public KYCCheckDetailsInternationalAddress subpremise(HiddenMatchSummaryCode subpremise) {
this.subpremise = subpremise;
return this;
}
/**
* Get subpremise
* @return subpremise
**/
@ApiModelProperty(required = true, value = "")
public HiddenMatchSummaryCode getSubpremise() {
return subpremise;
}
public void setSubpremise(HiddenMatchSummaryCode subpremise) {
this.subpremise = subpremise;
}
public KYCCheckDetailsInternationalAddress thoroughfare(HiddenMatchSummaryCode thoroughfare) {
this.thoroughfare = thoroughfare;
return this;
}
/**
* Get thoroughfare
* @return thoroughfare
**/
@ApiModelProperty(required = true, value = "")
public HiddenMatchSummaryCode getThoroughfare() {
return thoroughfare;
}
public void setThoroughfare(HiddenMatchSummaryCode thoroughfare) {
this.thoroughfare = thoroughfare;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
KYCCheckDetailsInternationalAddress kyCCheckDetailsInternationalAddress = (KYCCheckDetailsInternationalAddress) o;
return Objects.equals(this.building, kyCCheckDetailsInternationalAddress.building) &&
Objects.equals(this.county, kyCCheckDetailsInternationalAddress.county) &&
Objects.equals(this.district, kyCCheckDetailsInternationalAddress.district) &&
Objects.equals(this.houseNumber, kyCCheckDetailsInternationalAddress.houseNumber) &&
Objects.equals(this.subpremise, kyCCheckDetailsInternationalAddress.subpremise) &&
Objects.equals(this.thoroughfare, kyCCheckDetailsInternationalAddress.thoroughfare);
}
@Override
public int hashCode() {
return Objects.hash(building, county, district, houseNumber, subpremise, thoroughfare);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class KYCCheckDetailsInternationalAddress {\n");
sb.append(" building: ").append(toIndentedString(building)).append("\n");
sb.append(" county: ").append(toIndentedString(county)).append("\n");
sb.append(" district: ").append(toIndentedString(district)).append("\n");
sb.append(" houseNumber: ").append(toIndentedString(houseNumber)).append("\n");
sb.append(" subpremise: ").append(toIndentedString(subpremise)).append("\n");
sb.append(" thoroughfare: ").append(toIndentedString(thoroughfare)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/LinkTokenCreateRequestCraOptionsBaseReportGSEOptions.java | src/main/java/com/plaid/client/model/LinkTokenCreateRequestCraOptionsBaseReportGSEOptions.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.GSEReportType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Specifies options for initializing Link to create reports that can be shared with GSEs for mortgage verification.
*/
@ApiModel(description = "Specifies options for initializing Link to create reports that can be shared with GSEs for mortgage verification.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkTokenCreateRequestCraOptionsBaseReportGSEOptions {
public static final String SERIALIZED_NAME_REPORT_TYPES = "report_types";
@SerializedName(SERIALIZED_NAME_REPORT_TYPES)
private List<GSEReportType> reportTypes = new ArrayList<>();
public LinkTokenCreateRequestCraOptionsBaseReportGSEOptions reportTypes(List<GSEReportType> reportTypes) {
this.reportTypes = reportTypes;
return this;
}
public LinkTokenCreateRequestCraOptionsBaseReportGSEOptions addReportTypesItem(GSEReportType reportTypesItem) {
this.reportTypes.add(reportTypesItem);
return this;
}
/**
* Specifies which types of reports should be made available to GSEs.
* @return reportTypes
**/
@ApiModelProperty(required = true, value = "Specifies which types of reports should be made available to GSEs.")
public List<GSEReportType> getReportTypes() {
return reportTypes;
}
public void setReportTypes(List<GSEReportType> reportTypes) {
this.reportTypes = reportTypes;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkTokenCreateRequestCraOptionsBaseReportGSEOptions linkTokenCreateRequestCraOptionsBaseReportGSEOptions = (LinkTokenCreateRequestCraOptionsBaseReportGSEOptions) o;
return Objects.equals(this.reportTypes, linkTokenCreateRequestCraOptionsBaseReportGSEOptions.reportTypes);
}
@Override
public int hashCode() {
return Objects.hash(reportTypes);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkTokenCreateRequestCraOptionsBaseReportGSEOptions {\n");
sb.append(" reportTypes: ").append(toIndentedString(reportTypes)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/EarningsBreakdown.java | src/main/java/com/plaid/client/model/EarningsBreakdown.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.EarningsBreakdownCanonicalDescription;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.math.BigDecimal;
/**
* An object representing the earnings line items for the pay period.
*/
@ApiModel(description = "An object representing the earnings line items for the pay period.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class EarningsBreakdown {
public static final String SERIALIZED_NAME_CANONICAL_DESCRIPTION = "canonical_description";
@SerializedName(SERIALIZED_NAME_CANONICAL_DESCRIPTION)
private EarningsBreakdownCanonicalDescription canonicalDescription;
public static final String SERIALIZED_NAME_CURRENT_AMOUNT = "current_amount";
@SerializedName(SERIALIZED_NAME_CURRENT_AMOUNT)
private Double currentAmount;
public static final String SERIALIZED_NAME_DESCRIPTION = "description";
@SerializedName(SERIALIZED_NAME_DESCRIPTION)
private String description;
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_RATE = "rate";
@SerializedName(SERIALIZED_NAME_RATE)
private Double rate;
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 EarningsBreakdown canonicalDescription(EarningsBreakdownCanonicalDescription canonicalDescription) {
this.canonicalDescription = canonicalDescription;
return this;
}
/**
* Get canonicalDescription
* @return canonicalDescription
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public EarningsBreakdownCanonicalDescription getCanonicalDescription() {
return canonicalDescription;
}
public void setCanonicalDescription(EarningsBreakdownCanonicalDescription canonicalDescription) {
this.canonicalDescription = canonicalDescription;
}
public EarningsBreakdown currentAmount(Double currentAmount) {
this.currentAmount = currentAmount;
return this;
}
/**
* Raw amount of the earning line item.
* @return currentAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Raw amount of the earning line item.")
public Double getCurrentAmount() {
return currentAmount;
}
public void setCurrentAmount(Double currentAmount) {
this.currentAmount = currentAmount;
}
public EarningsBreakdown description(String description) {
this.description = description;
return this;
}
/**
* Description of the earning line item.
* @return description
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Description of the earning line item.")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public EarningsBreakdown hours(Double hours) {
this.hours = hours;
return this;
}
/**
* Number of hours applicable for this earning.
* @return hours
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Number of hours applicable for this earning.")
public Double getHours() {
return hours;
}
public void setHours(Double hours) {
this.hours = hours;
}
public EarningsBreakdown isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The ISO-4217 currency code of the line item. Always `null` if `unofficial_currency_code` is non-null.
* @return isoCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The ISO-4217 currency code of the line item. Always `null` if `unofficial_currency_code` is non-null.")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public EarningsBreakdown rate(Double rate) {
this.rate = rate;
return this;
}
/**
* Hourly rate applicable for this earning.
* @return rate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Hourly rate applicable for this earning.")
public Double getRate() {
return rate;
}
public void setRate(Double rate) {
this.rate = rate;
}
public EarningsBreakdown unofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
return this;
}
/**
* The unofficial currency code associated with the line item. Always `null` if `iso_currency_code` is non-`null`. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `iso_currency_code`s.
* @return unofficialCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The unofficial currency code associated with the line item. Always `null` if `iso_currency_code` is non-`null`. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `iso_currency_code`s.")
public String getUnofficialCurrencyCode() {
return unofficialCurrencyCode;
}
public void setUnofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
}
public EarningsBreakdown ytdAmount(Double ytdAmount) {
this.ytdAmount = ytdAmount;
return this;
}
/**
* The year-to-date amount of the deduction.
* @return ytdAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The year-to-date amount of the deduction.")
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;
}
EarningsBreakdown earningsBreakdown = (EarningsBreakdown) o;
return Objects.equals(this.canonicalDescription, earningsBreakdown.canonicalDescription) &&
Objects.equals(this.currentAmount, earningsBreakdown.currentAmount) &&
Objects.equals(this.description, earningsBreakdown.description) &&
Objects.equals(this.hours, earningsBreakdown.hours) &&
Objects.equals(this.isoCurrencyCode, earningsBreakdown.isoCurrencyCode) &&
Objects.equals(this.rate, earningsBreakdown.rate) &&
Objects.equals(this.unofficialCurrencyCode, earningsBreakdown.unofficialCurrencyCode) &&
Objects.equals(this.ytdAmount, earningsBreakdown.ytdAmount);
}
@Override
public int hashCode() {
return Objects.hash(canonicalDescription, currentAmount, description, hours, isoCurrencyCode, rate, unofficialCurrencyCode, ytdAmount);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class EarningsBreakdown {\n");
sb.append(" canonicalDescription: ").append(toIndentedString(canonicalDescription)).append("\n");
sb.append(" currentAmount: ").append(toIndentedString(currentAmount)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" hours: ").append(toIndentedString(hours)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" rate: ").append(toIndentedString(rate)).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/EntityScreeningHitPhoneNumbers.java | src/main/java/com/plaid/client/model/EntityScreeningHitPhoneNumbers.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.PhoneType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Phone number information associated with the entity screening hit
*/
@ApiModel(description = "Phone number information associated with the entity screening hit")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class EntityScreeningHitPhoneNumbers {
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private PhoneType type;
public static final String SERIALIZED_NAME_PHONE_NUMBER = "phone_number";
@SerializedName(SERIALIZED_NAME_PHONE_NUMBER)
private String phoneNumber;
public EntityScreeningHitPhoneNumbers type(PhoneType type) {
this.type = type;
return this;
}
/**
* Get type
* @return type
**/
@ApiModelProperty(required = true, value = "")
public PhoneType getType() {
return type;
}
public void setType(PhoneType type) {
this.type = type;
}
public EntityScreeningHitPhoneNumbers phoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
return this;
}
/**
* A phone number in E.164 format.
* @return phoneNumber
**/
@ApiModelProperty(example = "+14025671234", required = true, value = "A phone number in E.164 format.")
public String getPhoneNumber() {
return phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
EntityScreeningHitPhoneNumbers entityScreeningHitPhoneNumbers = (EntityScreeningHitPhoneNumbers) o;
return Objects.equals(this.type, entityScreeningHitPhoneNumbers.type) &&
Objects.equals(this.phoneNumber, entityScreeningHitPhoneNumbers.phoneNumber);
}
@Override
public int hashCode() {
return Objects.hash(type, phoneNumber);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class EntityScreeningHitPhoneNumbers {\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/PartnerEndCustomerCRAUseCases.java | src/main/java/com/plaid/client/model/PartnerEndCustomerCRAUseCases.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.PartnerEndCustomerCRAUseCase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* The list of use cases associated with a given permissible purpose.
*/
@ApiModel(description = "The list of use cases associated with a given permissible purpose.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PartnerEndCustomerCRAUseCases {
public static final String SERIALIZED_NAME_USE_CASES = "use_cases";
@SerializedName(SERIALIZED_NAME_USE_CASES)
private List<PartnerEndCustomerCRAUseCase> useCases = null;
public PartnerEndCustomerCRAUseCases useCases(List<PartnerEndCustomerCRAUseCase> useCases) {
this.useCases = useCases;
return this;
}
public PartnerEndCustomerCRAUseCases addUseCasesItem(PartnerEndCustomerCRAUseCase useCasesItem) {
if (this.useCases == null) {
this.useCases = new ArrayList<>();
}
this.useCases.add(useCasesItem);
return this;
}
/**
* List of use cases for the given permissible purpose.
* @return useCases
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "List of use cases for the given permissible purpose.")
public List<PartnerEndCustomerCRAUseCase> getUseCases() {
return useCases;
}
public void setUseCases(List<PartnerEndCustomerCRAUseCase> useCases) {
this.useCases = useCases;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PartnerEndCustomerCRAUseCases partnerEndCustomerCRAUseCases = (PartnerEndCustomerCRAUseCases) o;
return Objects.equals(this.useCases, partnerEndCustomerCRAUseCases.useCases);
}
@Override
public int hashCode() {
return Objects.hash(useCases);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PartnerEndCustomerCRAUseCases {\n");
sb.append(" useCases: ").append(toIndentedString(useCases)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/VerifySMSDetails.java | src/main/java/com/plaid/client/model/VerifySMSDetails.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.SMSVerification;
import com.plaid.client.model.VerifySMSDetailsStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Additional information for the `verify_sms` step.
*/
@ApiModel(description = "Additional information for the `verify_sms` step.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class VerifySMSDetails {
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private VerifySMSDetailsStatus status;
public static final String SERIALIZED_NAME_VERIFICATIONS = "verifications";
@SerializedName(SERIALIZED_NAME_VERIFICATIONS)
private List<SMSVerification> verifications = new ArrayList<>();
public VerifySMSDetails status(VerifySMSDetailsStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@ApiModelProperty(required = true, value = "")
public VerifySMSDetailsStatus getStatus() {
return status;
}
public void setStatus(VerifySMSDetailsStatus status) {
this.status = status;
}
public VerifySMSDetails verifications(List<SMSVerification> verifications) {
this.verifications = verifications;
return this;
}
public VerifySMSDetails addVerificationsItem(SMSVerification verificationsItem) {
this.verifications.add(verificationsItem);
return this;
}
/**
* An array where each entry represents a verification attempt for the `verify_sms` step. Each entry represents one user-submitted phone number. Phone number edits, and in some cases error handling due to edge cases like rate limiting, may generate additional verifications.
* @return verifications
**/
@ApiModelProperty(required = true, value = "An array where each entry represents a verification attempt for the `verify_sms` step. Each entry represents one user-submitted phone number. Phone number edits, and in some cases error handling due to edge cases like rate limiting, may generate additional verifications.")
public List<SMSVerification> getVerifications() {
return verifications;
}
public void setVerifications(List<SMSVerification> verifications) {
this.verifications = verifications;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
VerifySMSDetails verifySMSDetails = (VerifySMSDetails) o;
return Objects.equals(this.status, verifySMSDetails.status) &&
Objects.equals(this.verifications, verifySMSDetails.verifications);
}
@Override
public int hashCode() {
return Objects.hash(status, verifications);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class VerifySMSDetails {\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" verifications: ").append(toIndentedString(verifications)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/WalletCreateResponse.java | src/main/java/com/plaid/client/model/WalletCreateResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.PaymentInitiationRecipientGetResponseAllOf;
import com.plaid.client.model.Wallet;
import com.plaid.client.model.WalletBalance;
import com.plaid.client.model.WalletNumbers;
import com.plaid.client.model.WalletStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* WalletCreateResponse defines the response schema for `/wallet/create`
*/
@ApiModel(description = "WalletCreateResponse defines the response schema for `/wallet/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class WalletCreateResponse {
public static final String SERIALIZED_NAME_WALLET_ID = "wallet_id";
@SerializedName(SERIALIZED_NAME_WALLET_ID)
private String walletId;
public static final String SERIALIZED_NAME_BALANCE = "balance";
@SerializedName(SERIALIZED_NAME_BALANCE)
private WalletBalance balance;
public static final String SERIALIZED_NAME_NUMBERS = "numbers";
@SerializedName(SERIALIZED_NAME_NUMBERS)
private WalletNumbers numbers;
public static final String SERIALIZED_NAME_RECIPIENT_ID = "recipient_id";
@SerializedName(SERIALIZED_NAME_RECIPIENT_ID)
private String recipientId;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private WalletStatus status;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public WalletCreateResponse walletId(String walletId) {
this.walletId = walletId;
return this;
}
/**
* A unique ID identifying the e-wallet
* @return walletId
**/
@ApiModelProperty(required = true, value = "A unique ID identifying the e-wallet")
public String getWalletId() {
return walletId;
}
public void setWalletId(String walletId) {
this.walletId = walletId;
}
public WalletCreateResponse balance(WalletBalance balance) {
this.balance = balance;
return this;
}
/**
* Get balance
* @return balance
**/
@ApiModelProperty(required = true, value = "")
public WalletBalance getBalance() {
return balance;
}
public void setBalance(WalletBalance balance) {
this.balance = balance;
}
public WalletCreateResponse numbers(WalletNumbers numbers) {
this.numbers = numbers;
return this;
}
/**
* Get numbers
* @return numbers
**/
@ApiModelProperty(required = true, value = "")
public WalletNumbers getNumbers() {
return numbers;
}
public void setNumbers(WalletNumbers numbers) {
this.numbers = numbers;
}
public WalletCreateResponse recipientId(String recipientId) {
this.recipientId = recipientId;
return this;
}
/**
* The ID of the recipient that corresponds to the e-wallet account numbers
* @return recipientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The ID of the recipient that corresponds to the e-wallet account numbers")
public String getRecipientId() {
return recipientId;
}
public void setRecipientId(String recipientId) {
this.recipientId = recipientId;
}
public WalletCreateResponse status(WalletStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@ApiModelProperty(required = true, value = "")
public WalletStatus getStatus() {
return status;
}
public void setStatus(WalletStatus status) {
this.status = status;
}
public WalletCreateResponse 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;
}
WalletCreateResponse walletCreateResponse = (WalletCreateResponse) o;
return Objects.equals(this.walletId, walletCreateResponse.walletId) &&
Objects.equals(this.balance, walletCreateResponse.balance) &&
Objects.equals(this.numbers, walletCreateResponse.numbers) &&
Objects.equals(this.recipientId, walletCreateResponse.recipientId) &&
Objects.equals(this.status, walletCreateResponse.status) &&
Objects.equals(this.requestId, walletCreateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(walletId, balance, numbers, recipientId, status, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class WalletCreateResponse {\n");
sb.append(" walletId: ").append(toIndentedString(walletId)).append("\n");
sb.append(" balance: ").append(toIndentedString(balance)).append("\n");
sb.append(" numbers: ").append(toIndentedString(numbers)).append("\n");
sb.append(" recipientId: ").append(toIndentedString(recipientId)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).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/PartnerEndCustomerStatus.java | src/main/java/com/plaid/client/model/PartnerEndCustomerStatus.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 given end customer. `UNDER_REVIEW`: The end customer has been created and enabled in Sandbox and Limited Production. The end customer must be manually reviewed by the Plaid team before it can be enabled in full production, at which point its status will automatically transition to `PENDING_ENABLEMENT` or `DENIED`. `PENDING_ENABLEMENT`: The end customer is ready to be fully enabled in the Production environment. Call the `/partner/customer/enable` endpoint to enable the end customer in full Production. `ACTIVE`: The end customer has been fully enabled in all environments. `DENIED`: The end customer has been created and enabled in Sandbox and Limited Production, but it did not pass review by the Plaid team and therefore cannot be enabled for full Production access. Talk to your Account Manager for more information.
*/
@JsonAdapter(PartnerEndCustomerStatus.Adapter.class)
public enum PartnerEndCustomerStatus {
UNDER_REVIEW("UNDER_REVIEW"),
PENDING_ENABLEMENT("PENDING_ENABLEMENT"),
ACTIVE("ACTIVE"),
DENIED("DENIED"),
MORE_INFORMATION_NEEDED("MORE_INFORMATION_NEEDED"),
// 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;
PartnerEndCustomerStatus(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static PartnerEndCustomerStatus fromValue(String value) {
for (PartnerEndCustomerStatus b : PartnerEndCustomerStatus.values()) {
if (b.value.equals(value)) {
return b;
}
}
return PartnerEndCustomerStatus.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<PartnerEndCustomerStatus> {
@Override
public void write(final JsonWriter jsonWriter, final PartnerEndCustomerStatus enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public PartnerEndCustomerStatus read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return PartnerEndCustomerStatus.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/TransferOriginatorListResponse.java | src/main/java/com/plaid/client/model/TransferOriginatorListResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.Originator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Defines the response schema for `/transfer/originator/list`
*/
@ApiModel(description = "Defines the response schema for `/transfer/originator/list`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferOriginatorListResponse {
public static final String SERIALIZED_NAME_ORIGINATORS = "originators";
@SerializedName(SERIALIZED_NAME_ORIGINATORS)
private List<Originator> originators = new ArrayList<>();
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public TransferOriginatorListResponse originators(List<Originator> originators) {
this.originators = originators;
return this;
}
public TransferOriginatorListResponse addOriginatorsItem(Originator originatorsItem) {
this.originators.add(originatorsItem);
return this;
}
/**
* Get originators
* @return originators
**/
@ApiModelProperty(required = true, value = "")
public List<Originator> getOriginators() {
return originators;
}
public void setOriginators(List<Originator> originators) {
this.originators = originators;
}
public TransferOriginatorListResponse 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;
}
TransferOriginatorListResponse transferOriginatorListResponse = (TransferOriginatorListResponse) o;
return Objects.equals(this.originators, transferOriginatorListResponse.originators) &&
Objects.equals(this.requestId, transferOriginatorListResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(originators, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferOriginatorListResponse {\n");
sb.append(" originators: ").append(toIndentedString(originators)).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/IdentityDocumentUpload.java | src/main/java/com/plaid/client/model/IdentityDocumentUpload.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.IdentityDocumentUploadMetadata;
import com.plaid.client.model.IdentityDocumentUploadRiskInsights;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Document object with metadata of the uploaded document
*/
@ApiModel(description = "Document object with metadata of the uploaded document")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class IdentityDocumentUpload {
public static final String SERIALIZED_NAME_DOCUMENT_ID = "document_id";
@SerializedName(SERIALIZED_NAME_DOCUMENT_ID)
private String documentId;
public static final String SERIALIZED_NAME_METADATA = "metadata";
@SerializedName(SERIALIZED_NAME_METADATA)
private IdentityDocumentUploadMetadata metadata;
public static final String SERIALIZED_NAME_RISK_INSIGHTS = "risk_insights";
@SerializedName(SERIALIZED_NAME_RISK_INSIGHTS)
private IdentityDocumentUploadRiskInsights riskInsights;
public IdentityDocumentUpload documentId(String documentId) {
this.documentId = documentId;
return this;
}
/**
* A UUID identifying the document.
* @return documentId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A UUID identifying the document.")
public String getDocumentId() {
return documentId;
}
public void setDocumentId(String documentId) {
this.documentId = documentId;
}
public IdentityDocumentUpload metadata(IdentityDocumentUploadMetadata metadata) {
this.metadata = metadata;
return this;
}
/**
* Get metadata
* @return metadata
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public IdentityDocumentUploadMetadata getMetadata() {
return metadata;
}
public void setMetadata(IdentityDocumentUploadMetadata metadata) {
this.metadata = metadata;
}
public IdentityDocumentUpload riskInsights(IdentityDocumentUploadRiskInsights riskInsights) {
this.riskInsights = riskInsights;
return this;
}
/**
* Get riskInsights
* @return riskInsights
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public IdentityDocumentUploadRiskInsights getRiskInsights() {
return riskInsights;
}
public void setRiskInsights(IdentityDocumentUploadRiskInsights riskInsights) {
this.riskInsights = riskInsights;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
IdentityDocumentUpload identityDocumentUpload = (IdentityDocumentUpload) o;
return Objects.equals(this.documentId, identityDocumentUpload.documentId) &&
Objects.equals(this.metadata, identityDocumentUpload.metadata) &&
Objects.equals(this.riskInsights, identityDocumentUpload.riskInsights);
}
@Override
public int hashCode() {
return Objects.hash(documentId, metadata, riskInsights);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IdentityDocumentUpload {\n");
sb.append(" documentId: ").append(toIndentedString(documentId)).append("\n");
sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n");
sb.append(" riskInsights: ").append(toIndentedString(riskInsights)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/AccountsBalanceGetRequest.java | src/main/java/com/plaid/client/model/AccountsBalanceGetRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.AccountsBalanceGetRequestOptions;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* AccountsBalanceGetRequest defines the request schema for `/accounts/balance/get`
*/
@ApiModel(description = "AccountsBalanceGetRequest defines the request schema for `/accounts/balance/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class AccountsBalanceGetRequest {
public static final String SERIALIZED_NAME_ACCESS_TOKEN = "access_token";
@SerializedName(SERIALIZED_NAME_ACCESS_TOKEN)
private String accessToken;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_OPTIONS = "options";
@SerializedName(SERIALIZED_NAME_OPTIONS)
private AccountsBalanceGetRequestOptions options;
public AccountsBalanceGetRequest 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 AccountsBalanceGetRequest 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 AccountsBalanceGetRequest 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 AccountsBalanceGetRequest options(AccountsBalanceGetRequestOptions options) {
this.options = options;
return this;
}
/**
* Get options
* @return options
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public AccountsBalanceGetRequestOptions getOptions() {
return options;
}
public void setOptions(AccountsBalanceGetRequestOptions options) {
this.options = options;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AccountsBalanceGetRequest accountsBalanceGetRequest = (AccountsBalanceGetRequest) o;
return Objects.equals(this.accessToken, accountsBalanceGetRequest.accessToken) &&
Objects.equals(this.secret, accountsBalanceGetRequest.secret) &&
Objects.equals(this.clientId, accountsBalanceGetRequest.clientId) &&
Objects.equals(this.options, accountsBalanceGetRequest.options);
}
@Override
public int hashCode() {
return Objects.hash(accessToken, secret, clientId, options);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AccountsBalanceGetRequest {\n");
sb.append(" accessToken: ").append(toIndentedString(accessToken)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).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/AuthDefaultUpdateWebhook.java | src/main/java/com/plaid/client/model/AuthDefaultUpdateWebhook.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.AuthUpdateTypes;
import com.plaid.client.model.PlaidError;
import com.plaid.client.model.WebhookEnvironmentValues;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* Plaid will trigger a `DEFAULT_UPDATE` webhook for Items that undergo a change in Auth data. This is generally caused by data partners notifying Plaid of a change in their account numbering system or to their routing numbers. To avoid returned transactions, customers that receive a `DEFAULT_UPDATE` webhook with the `account_ids_with_updated_auth` object populated should immediately discontinue all usages of existing Auth data for those accounts and call `/auth/get` or `/processor/auth/get` to obtain updated account and routing numbers.
*/
@ApiModel(description = "Plaid will trigger a `DEFAULT_UPDATE` webhook for Items that undergo a change in Auth data. This is generally caused by data partners notifying Plaid of a change in their account numbering system or to their routing numbers. To avoid returned transactions, customers that receive a `DEFAULT_UPDATE` webhook with the `account_ids_with_updated_auth` object populated should immediately discontinue all usages of existing Auth data for those accounts and call `/auth/get` or `/processor/auth/get` to obtain updated account and routing numbers.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class AuthDefaultUpdateWebhook {
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_ACCOUNT_IDS_WITH_NEW_AUTH = "account_ids_with_new_auth";
@SerializedName(SERIALIZED_NAME_ACCOUNT_IDS_WITH_NEW_AUTH)
private List<String> accountIdsWithNewAuth = new ArrayList<>();
public static final String SERIALIZED_NAME_ACCOUNT_IDS_WITH_UPDATED_AUTH = "account_ids_with_updated_auth";
@SerializedName(SERIALIZED_NAME_ACCOUNT_IDS_WITH_UPDATED_AUTH)
private Map<String, List<AuthUpdateTypes>> accountIdsWithUpdatedAuth = new HashMap<>();
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 AuthDefaultUpdateWebhook webhookType(String webhookType) {
this.webhookType = webhookType;
return this;
}
/**
* `AUTH`
* @return webhookType
**/
@ApiModelProperty(required = true, value = "`AUTH`")
public String getWebhookType() {
return webhookType;
}
public void setWebhookType(String webhookType) {
this.webhookType = webhookType;
}
public AuthDefaultUpdateWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `DEFAULT_UPDATE`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`DEFAULT_UPDATE`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public AuthDefaultUpdateWebhook 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 AuthDefaultUpdateWebhook accountIdsWithNewAuth(List<String> accountIdsWithNewAuth) {
this.accountIdsWithNewAuth = accountIdsWithNewAuth;
return this;
}
public AuthDefaultUpdateWebhook addAccountIdsWithNewAuthItem(String accountIdsWithNewAuthItem) {
this.accountIdsWithNewAuth.add(accountIdsWithNewAuthItem);
return this;
}
/**
* An array of `account_id`'s for accounts that contain new auth.
* @return accountIdsWithNewAuth
**/
@ApiModelProperty(required = true, value = "An array of `account_id`'s for accounts that contain new auth.")
public List<String> getAccountIdsWithNewAuth() {
return accountIdsWithNewAuth;
}
public void setAccountIdsWithNewAuth(List<String> accountIdsWithNewAuth) {
this.accountIdsWithNewAuth = accountIdsWithNewAuth;
}
public AuthDefaultUpdateWebhook accountIdsWithUpdatedAuth(Map<String, List<AuthUpdateTypes>> accountIdsWithUpdatedAuth) {
this.accountIdsWithUpdatedAuth = accountIdsWithUpdatedAuth;
return this;
}
public AuthDefaultUpdateWebhook putAccountIdsWithUpdatedAuthItem(String key, List<AuthUpdateTypes> accountIdsWithUpdatedAuthItem) {
this.accountIdsWithUpdatedAuth.put(key, accountIdsWithUpdatedAuthItem);
return this;
}
/**
* An object with keys of `account_id`'s that are mapped to their respective auth attributes that changed. `ACCOUNT_NUMBER` and `ROUTING_NUMBER` are the two potential values that can be flagged as updated. Example: `{ \"XMBvvyMGQ1UoLbKByoMqH3nXMj84ALSdE5B58\": [\"ACCOUNT_NUMBER\"] }`
* @return accountIdsWithUpdatedAuth
**/
@ApiModelProperty(required = true, value = "An object with keys of `account_id`'s that are mapped to their respective auth attributes that changed. `ACCOUNT_NUMBER` and `ROUTING_NUMBER` are the two potential values that can be flagged as updated. Example: `{ \"XMBvvyMGQ1UoLbKByoMqH3nXMj84ALSdE5B58\": [\"ACCOUNT_NUMBER\"] }` ")
public Map<String, List<AuthUpdateTypes>> getAccountIdsWithUpdatedAuth() {
return accountIdsWithUpdatedAuth;
}
public void setAccountIdsWithUpdatedAuth(Map<String, List<AuthUpdateTypes>> accountIdsWithUpdatedAuth) {
this.accountIdsWithUpdatedAuth = accountIdsWithUpdatedAuth;
}
public AuthDefaultUpdateWebhook 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 AuthDefaultUpdateWebhook 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;
}
AuthDefaultUpdateWebhook authDefaultUpdateWebhook = (AuthDefaultUpdateWebhook) o;
return Objects.equals(this.webhookType, authDefaultUpdateWebhook.webhookType) &&
Objects.equals(this.webhookCode, authDefaultUpdateWebhook.webhookCode) &&
Objects.equals(this.itemId, authDefaultUpdateWebhook.itemId) &&
Objects.equals(this.accountIdsWithNewAuth, authDefaultUpdateWebhook.accountIdsWithNewAuth) &&
Objects.equals(this.accountIdsWithUpdatedAuth, authDefaultUpdateWebhook.accountIdsWithUpdatedAuth) &&
Objects.equals(this.error, authDefaultUpdateWebhook.error) &&
Objects.equals(this.environment, authDefaultUpdateWebhook.environment);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, itemId, accountIdsWithNewAuth, accountIdsWithUpdatedAuth, error, environment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AuthDefaultUpdateWebhook {\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(" accountIdsWithNewAuth: ").append(toIndentedString(accountIdsWithNewAuth)).append("\n");
sb.append(" accountIdsWithUpdatedAuth: ").append(toIndentedString(accountIdsWithUpdatedAuth)).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/KYCCheckDetails.java | src/main/java/com/plaid/client/model/KYCCheckDetails.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.KYCCheckAddressSummary;
import com.plaid.client.model.KYCCheckDateOfBirthSummary;
import com.plaid.client.model.KYCCheckIDNumberSummary;
import com.plaid.client.model.KYCCheckNameSummary;
import com.plaid.client.model.KYCCheckPhoneSummary;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Additional information for the `kyc_check` (Data Source Verification) step. This field will be `null` unless `steps.kyc_check` has reached a terminal state of either `success` or `failed`.
*/
@ApiModel(description = "Additional information for the `kyc_check` (Data Source Verification) step. This field will be `null` unless `steps.kyc_check` has reached a terminal state of either `success` or `failed`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class KYCCheckDetails {
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private String status;
public static final String SERIALIZED_NAME_ADDRESS = "address";
@SerializedName(SERIALIZED_NAME_ADDRESS)
private KYCCheckAddressSummary address;
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
private KYCCheckNameSummary name;
public static final String SERIALIZED_NAME_DATE_OF_BIRTH = "date_of_birth";
@SerializedName(SERIALIZED_NAME_DATE_OF_BIRTH)
private KYCCheckDateOfBirthSummary dateOfBirth;
public static final String SERIALIZED_NAME_ID_NUMBER = "id_number";
@SerializedName(SERIALIZED_NAME_ID_NUMBER)
private KYCCheckIDNumberSummary idNumber;
public static final String SERIALIZED_NAME_PHONE_NUMBER = "phone_number";
@SerializedName(SERIALIZED_NAME_PHONE_NUMBER)
private KYCCheckPhoneSummary phoneNumber;
public KYCCheckDetails status(String status) {
this.status = status;
return this;
}
/**
* The outcome status for the associated Identity Verification attempt's `kyc_check` step. This field will always have the same value as `steps.kyc_check`.
* @return status
**/
@ApiModelProperty(example = "success", required = true, value = "The outcome status for the associated Identity Verification attempt's `kyc_check` step. This field will always have the same value as `steps.kyc_check`.")
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public KYCCheckDetails address(KYCCheckAddressSummary address) {
this.address = address;
return this;
}
/**
* Get address
* @return address
**/
@ApiModelProperty(required = true, value = "")
public KYCCheckAddressSummary getAddress() {
return address;
}
public void setAddress(KYCCheckAddressSummary address) {
this.address = address;
}
public KYCCheckDetails name(KYCCheckNameSummary name) {
this.name = name;
return this;
}
/**
* Get name
* @return name
**/
@ApiModelProperty(required = true, value = "")
public KYCCheckNameSummary getName() {
return name;
}
public void setName(KYCCheckNameSummary name) {
this.name = name;
}
public KYCCheckDetails dateOfBirth(KYCCheckDateOfBirthSummary dateOfBirth) {
this.dateOfBirth = dateOfBirth;
return this;
}
/**
* Get dateOfBirth
* @return dateOfBirth
**/
@ApiModelProperty(required = true, value = "")
public KYCCheckDateOfBirthSummary getDateOfBirth() {
return dateOfBirth;
}
public void setDateOfBirth(KYCCheckDateOfBirthSummary dateOfBirth) {
this.dateOfBirth = dateOfBirth;
}
public KYCCheckDetails idNumber(KYCCheckIDNumberSummary idNumber) {
this.idNumber = idNumber;
return this;
}
/**
* Get idNumber
* @return idNumber
**/
@ApiModelProperty(required = true, value = "")
public KYCCheckIDNumberSummary getIdNumber() {
return idNumber;
}
public void setIdNumber(KYCCheckIDNumberSummary idNumber) {
this.idNumber = idNumber;
}
public KYCCheckDetails phoneNumber(KYCCheckPhoneSummary phoneNumber) {
this.phoneNumber = phoneNumber;
return this;
}
/**
* Get phoneNumber
* @return phoneNumber
**/
@ApiModelProperty(required = true, value = "")
public KYCCheckPhoneSummary getPhoneNumber() {
return phoneNumber;
}
public void setPhoneNumber(KYCCheckPhoneSummary phoneNumber) {
this.phoneNumber = phoneNumber;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
KYCCheckDetails kyCCheckDetails = (KYCCheckDetails) o;
return Objects.equals(this.status, kyCCheckDetails.status) &&
Objects.equals(this.address, kyCCheckDetails.address) &&
Objects.equals(this.name, kyCCheckDetails.name) &&
Objects.equals(this.dateOfBirth, kyCCheckDetails.dateOfBirth) &&
Objects.equals(this.idNumber, kyCCheckDetails.idNumber) &&
Objects.equals(this.phoneNumber, kyCCheckDetails.phoneNumber);
}
@Override
public int hashCode() {
return Objects.hash(status, address, name, dateOfBirth, idNumber, phoneNumber);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class KYCCheckDetails {\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" address: ").append(toIndentedString(address)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n");
sb.append(" idNumber: ").append(toIndentedString(idNumber)).append("\n");
sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CashflowReportMonthlySummaryAverageDailyOutflowAmount.java | src/main/java/com/plaid/client/model/CashflowReportMonthlySummaryAverageDailyOutflowAmount.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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 average daily sum of outflow transactions, calculated over the month. Always represented as a positive monetary amount.
*/
@ApiModel(description = "The average daily sum of outflow transactions, calculated over the month. Always represented as a positive monetary amount.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CashflowReportMonthlySummaryAverageDailyOutflowAmount {
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 CashflowReportMonthlySummaryAverageDailyOutflowAmount 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 CashflowReportMonthlySummaryAverageDailyOutflowAmount 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 CashflowReportMonthlySummaryAverageDailyOutflowAmount 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;
}
CashflowReportMonthlySummaryAverageDailyOutflowAmount cashflowReportMonthlySummaryAverageDailyOutflowAmount = (CashflowReportMonthlySummaryAverageDailyOutflowAmount) o;
return Objects.equals(this.amount, cashflowReportMonthlySummaryAverageDailyOutflowAmount.amount) &&
Objects.equals(this.isoCurrencyCode, cashflowReportMonthlySummaryAverageDailyOutflowAmount.isoCurrencyCode) &&
Objects.equals(this.unofficialCurrencyCode, cashflowReportMonthlySummaryAverageDailyOutflowAmount.unofficialCurrencyCode);
}
@Override
public int hashCode() {
return Objects.hash(amount, isoCurrencyCode, unofficialCurrencyCode);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CashflowReportMonthlySummaryAverageDailyOutflowAmount {\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/CreditBankIncomeSummary.java | src/main/java/com/plaid/client/model/CreditBankIncomeSummary.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.CreditAmountWithCurrency;
import com.plaid.client.model.CreditBankIncomeHistoricalSummary;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
/**
* Summary for bank income across all income sources and items (max history of 730 days).
*/
@ApiModel(description = "Summary for bank income across all income sources and items (max history of 730 days).")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditBankIncomeSummary {
public static final String SERIALIZED_NAME_TOTAL_AMOUNT = "total_amount";
@SerializedName(SERIALIZED_NAME_TOTAL_AMOUNT)
private Double totalAmount;
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_TOTAL_AMOUNTS = "total_amounts";
@SerializedName(SERIALIZED_NAME_TOTAL_AMOUNTS)
private List<CreditAmountWithCurrency> totalAmounts = null;
public static final String SERIALIZED_NAME_START_DATE = "start_date";
@SerializedName(SERIALIZED_NAME_START_DATE)
private LocalDate startDate;
public static final String SERIALIZED_NAME_END_DATE = "end_date";
@SerializedName(SERIALIZED_NAME_END_DATE)
private LocalDate endDate;
public static final String SERIALIZED_NAME_INCOME_SOURCES_COUNT = "income_sources_count";
@SerializedName(SERIALIZED_NAME_INCOME_SOURCES_COUNT)
private Integer incomeSourcesCount;
public static final String SERIALIZED_NAME_INCOME_CATEGORIES_COUNT = "income_categories_count";
@SerializedName(SERIALIZED_NAME_INCOME_CATEGORIES_COUNT)
private Integer incomeCategoriesCount;
public static final String SERIALIZED_NAME_INCOME_TRANSACTIONS_COUNT = "income_transactions_count";
@SerializedName(SERIALIZED_NAME_INCOME_TRANSACTIONS_COUNT)
private Integer incomeTransactionsCount;
public static final String SERIALIZED_NAME_HISTORICAL_SUMMARY = "historical_summary";
@SerializedName(SERIALIZED_NAME_HISTORICAL_SUMMARY)
private List<CreditBankIncomeHistoricalSummary> historicalSummary = null;
public CreditBankIncomeSummary totalAmount(Double totalAmount) {
this.totalAmount = totalAmount;
return this;
}
/**
* Total amount of earnings across all the income sources in the end user's Items for the days requested by the client. This may return an incorrect value if the summary includes income sources in multiple currencies. Please use [`total_amounts`](https://plaid.com/docs/api/products/income/#credit-bank_income-get-response-bank-income-bank-income-summary-total-amounts) instead.
* @return totalAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Total amount of earnings across all the income sources in the end user's Items for the days requested by the client. This may return an incorrect value if the summary includes income sources in multiple currencies. Please use [`total_amounts`](https://plaid.com/docs/api/products/income/#credit-bank_income-get-response-bank-income-bank-income-summary-total-amounts) instead.")
public Double getTotalAmount() {
return totalAmount;
}
public void setTotalAmount(Double totalAmount) {
this.totalAmount = totalAmount;
}
public CreditBankIncomeSummary isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The ISO 4217 currency code of the amount or balance. Please use [`total_amounts`](https://plaid.com/docs/api/products/income/#credit-bank_income-get-response-bank-income-bank-income-summary-total-amounts) instead.
* @return isoCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The ISO 4217 currency code of the amount or balance. Please use [`total_amounts`](https://plaid.com/docs/api/products/income/#credit-bank_income-get-response-bank-income-bank-income-summary-total-amounts) instead.")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public CreditBankIncomeSummary unofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
return this;
}
/**
* The unofficial currency code associated with the amount or balance. Always `null` if `iso_currency_code` is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. Please use [`total_amounts`](https://plaid.com/docs/api/products/income/#credit-bank_income-get-response-bank-income-bank-income-summary-total-amounts) instead.
* @return unofficialCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The unofficial currency code associated with the amount or balance. Always `null` if `iso_currency_code` is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. Please use [`total_amounts`](https://plaid.com/docs/api/products/income/#credit-bank_income-get-response-bank-income-bank-income-summary-total-amounts) instead.")
public String getUnofficialCurrencyCode() {
return unofficialCurrencyCode;
}
public void setUnofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
}
public CreditBankIncomeSummary totalAmounts(List<CreditAmountWithCurrency> totalAmounts) {
this.totalAmounts = totalAmounts;
return this;
}
public CreditBankIncomeSummary addTotalAmountsItem(CreditAmountWithCurrency totalAmountsItem) {
if (this.totalAmounts == null) {
this.totalAmounts = new ArrayList<>();
}
this.totalAmounts.add(totalAmountsItem);
return this;
}
/**
* Total amount of earnings across all the income sources in the end user's Items for the days requested by the client. This can contain multiple amounts, with each amount denominated in one unique currency.
* @return totalAmounts
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Total amount of earnings across all the income sources in the end user's Items for the days requested by the client. This can contain multiple amounts, with each amount denominated in one unique currency.")
public List<CreditAmountWithCurrency> getTotalAmounts() {
return totalAmounts;
}
public void setTotalAmounts(List<CreditAmountWithCurrency> totalAmounts) {
this.totalAmounts = totalAmounts;
}
public CreditBankIncomeSummary startDate(LocalDate startDate) {
this.startDate = startDate;
return this;
}
/**
* The earliest date within the days requested in which all income sources identified by Plaid appear in a user's account. The date will be returned in an ISO 8601 format (YYYY-MM-DD).
* @return startDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The earliest date within the days requested in which all income sources identified by Plaid appear in a user's account. The date will be returned in an ISO 8601 format (YYYY-MM-DD).")
public LocalDate getStartDate() {
return startDate;
}
public void setStartDate(LocalDate startDate) {
this.startDate = startDate;
}
public CreditBankIncomeSummary endDate(LocalDate endDate) {
this.endDate = endDate;
return this;
}
/**
* The latest date in which all income sources identified by Plaid appear in the user's account. The date will be returned in an ISO 8601 format (YYYY-MM-DD).
* @return endDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The latest date in which all income sources identified by Plaid appear in the user's account. The date will be returned in an ISO 8601 format (YYYY-MM-DD).")
public LocalDate getEndDate() {
return endDate;
}
public void setEndDate(LocalDate endDate) {
this.endDate = endDate;
}
public CreditBankIncomeSummary incomeSourcesCount(Integer incomeSourcesCount) {
this.incomeSourcesCount = incomeSourcesCount;
return this;
}
/**
* Number of income sources per end user.
* @return incomeSourcesCount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Number of income sources per end user.")
public Integer getIncomeSourcesCount() {
return incomeSourcesCount;
}
public void setIncomeSourcesCount(Integer incomeSourcesCount) {
this.incomeSourcesCount = incomeSourcesCount;
}
public CreditBankIncomeSummary incomeCategoriesCount(Integer incomeCategoriesCount) {
this.incomeCategoriesCount = incomeCategoriesCount;
return this;
}
/**
* Number of income categories per end user.
* @return incomeCategoriesCount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Number of income categories per end user.")
public Integer getIncomeCategoriesCount() {
return incomeCategoriesCount;
}
public void setIncomeCategoriesCount(Integer incomeCategoriesCount) {
this.incomeCategoriesCount = incomeCategoriesCount;
}
public CreditBankIncomeSummary incomeTransactionsCount(Integer incomeTransactionsCount) {
this.incomeTransactionsCount = incomeTransactionsCount;
return this;
}
/**
* Number of income transactions per end user.
* @return incomeTransactionsCount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Number of income transactions per end user.")
public Integer getIncomeTransactionsCount() {
return incomeTransactionsCount;
}
public void setIncomeTransactionsCount(Integer incomeTransactionsCount) {
this.incomeTransactionsCount = incomeTransactionsCount;
}
public CreditBankIncomeSummary historicalSummary(List<CreditBankIncomeHistoricalSummary> historicalSummary) {
this.historicalSummary = historicalSummary;
return this;
}
public CreditBankIncomeSummary addHistoricalSummaryItem(CreditBankIncomeHistoricalSummary historicalSummaryItem) {
if (this.historicalSummary == null) {
this.historicalSummary = new ArrayList<>();
}
this.historicalSummary.add(historicalSummaryItem);
return this;
}
/**
* Get historicalSummary
* @return historicalSummary
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<CreditBankIncomeHistoricalSummary> getHistoricalSummary() {
return historicalSummary;
}
public void setHistoricalSummary(List<CreditBankIncomeHistoricalSummary> historicalSummary) {
this.historicalSummary = historicalSummary;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreditBankIncomeSummary creditBankIncomeSummary = (CreditBankIncomeSummary) o;
return Objects.equals(this.totalAmount, creditBankIncomeSummary.totalAmount) &&
Objects.equals(this.isoCurrencyCode, creditBankIncomeSummary.isoCurrencyCode) &&
Objects.equals(this.unofficialCurrencyCode, creditBankIncomeSummary.unofficialCurrencyCode) &&
Objects.equals(this.totalAmounts, creditBankIncomeSummary.totalAmounts) &&
Objects.equals(this.startDate, creditBankIncomeSummary.startDate) &&
Objects.equals(this.endDate, creditBankIncomeSummary.endDate) &&
Objects.equals(this.incomeSourcesCount, creditBankIncomeSummary.incomeSourcesCount) &&
Objects.equals(this.incomeCategoriesCount, creditBankIncomeSummary.incomeCategoriesCount) &&
Objects.equals(this.incomeTransactionsCount, creditBankIncomeSummary.incomeTransactionsCount) &&
Objects.equals(this.historicalSummary, creditBankIncomeSummary.historicalSummary);
}
@Override
public int hashCode() {
return Objects.hash(totalAmount, isoCurrencyCode, unofficialCurrencyCode, totalAmounts, startDate, endDate, incomeSourcesCount, incomeCategoriesCount, incomeTransactionsCount, historicalSummary);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditBankIncomeSummary {\n");
sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" unofficialCurrencyCode: ").append(toIndentedString(unofficialCurrencyCode)).append("\n");
sb.append(" totalAmounts: ").append(toIndentedString(totalAmounts)).append("\n");
sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n");
sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n");
sb.append(" incomeSourcesCount: ").append(toIndentedString(incomeSourcesCount)).append("\n");
sb.append(" incomeCategoriesCount: ").append(toIndentedString(incomeCategoriesCount)).append("\n");
sb.append(" incomeTransactionsCount: ").append(toIndentedString(incomeTransactionsCount)).append("\n");
sb.append(" historicalSummary: ").append(toIndentedString(historicalSummary)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ProgramNameSensitivity.java | src/main/java/com/plaid/client/model/ProgramNameSensitivity.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 valid name matching sensitivity configurations for a screening program. Note that while certain matching techniques may be more prevalent on less strict settings, all matching algorithms are enabled for every sensitivity. `coarse` - See more potential matches. This sensitivity will see more broad phonetic matches across alphabets that make missing a potential hit very unlikely. This setting is noisier and will require more manual review. `balanced` - A good default for most companies. This sensitivity is balanced to show high quality hits with reduced noise. `strict` - Aggressive false positive reduction. This sensitivity will require names to be more similar than `coarse` and `balanced` settings, relying less on phonetics, while still accounting for character transpositions, missing tokens, and other common permutations. `exact` - Matches must be nearly exact. This sensitivity will only show hits with exact or nearly exact name matches with only basic correction such as extraneous symbols and capitalization. This setting is generally not recommended unless you have a very specific use case.
*/
@JsonAdapter(ProgramNameSensitivity.Adapter.class)
public enum ProgramNameSensitivity {
COARSE("coarse"),
BALANCED("balanced"),
STRICT("strict"),
EXACT("exact"),
// 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;
ProgramNameSensitivity(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static ProgramNameSensitivity fromValue(String value) {
for (ProgramNameSensitivity b : ProgramNameSensitivity.values()) {
if (b.value.equals(value)) {
return b;
}
}
return ProgramNameSensitivity.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<ProgramNameSensitivity> {
@Override
public void write(final JsonWriter jsonWriter, final ProgramNameSensitivity enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public ProgramNameSensitivity read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return ProgramNameSensitivity.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/HistoricalAnnualIncome.java | src/main/java/com/plaid/client/model/HistoricalAnnualIncome.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.math.BigDecimal;
/**
* An object representing the historical annual income amount.
*/
@ApiModel(description = "An object representing the historical annual income amount.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class HistoricalAnnualIncome {
public static final String SERIALIZED_NAME_BASELINE_AMOUNT = "baseline_amount";
@SerializedName(SERIALIZED_NAME_BASELINE_AMOUNT)
private Double baselineAmount;
public static final String SERIALIZED_NAME_CURRENT_AMOUNT = "current_amount";
@SerializedName(SERIALIZED_NAME_CURRENT_AMOUNT)
private Double currentAmount;
public HistoricalAnnualIncome baselineAmount(Double baselineAmount) {
this.baselineAmount = baselineAmount;
return this;
}
/**
* The historical annual income at the time of subscription
* @return baselineAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The historical annual income at the time of subscription")
public Double getBaselineAmount() {
return baselineAmount;
}
public void setBaselineAmount(Double baselineAmount) {
this.baselineAmount = baselineAmount;
}
public HistoricalAnnualIncome currentAmount(Double currentAmount) {
this.currentAmount = currentAmount;
return this;
}
/**
* The current historical annual income
* @return currentAmount
**/
@ApiModelProperty(required = true, value = "The current historical annual income")
public Double getCurrentAmount() {
return currentAmount;
}
public void setCurrentAmount(Double currentAmount) {
this.currentAmount = currentAmount;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
HistoricalAnnualIncome historicalAnnualIncome = (HistoricalAnnualIncome) o;
return Objects.equals(this.baselineAmount, historicalAnnualIncome.baselineAmount) &&
Objects.equals(this.currentAmount, historicalAnnualIncome.currentAmount);
}
@Override
public int hashCode() {
return Objects.hash(baselineAmount, currentAmount);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class HistoricalAnnualIncome {\n");
sb.append(" baselineAmount: ").append(toIndentedString(baselineAmount)).append("\n");
sb.append(" currentAmount: ").append(toIndentedString(currentAmount)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ProcessorLiabilitiesGetResponse.java | src/main/java/com/plaid/client/model/ProcessorLiabilitiesGetResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.AccountBase;
import com.plaid.client.model.LiabilitiesObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* ProcessorLiabilitiesGetResponse defines the response schema for `/processor/liabilities/get`
*/
@ApiModel(description = "ProcessorLiabilitiesGetResponse defines the response schema for `/processor/liabilities/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ProcessorLiabilitiesGetResponse {
public static final String SERIALIZED_NAME_ACCOUNT = "account";
@SerializedName(SERIALIZED_NAME_ACCOUNT)
private AccountBase account;
public static final String SERIALIZED_NAME_LIABILITIES = "liabilities";
@SerializedName(SERIALIZED_NAME_LIABILITIES)
private LiabilitiesObject liabilities;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public ProcessorLiabilitiesGetResponse account(AccountBase account) {
this.account = account;
return this;
}
/**
* Get account
* @return account
**/
@ApiModelProperty(required = true, value = "")
public AccountBase getAccount() {
return account;
}
public void setAccount(AccountBase account) {
this.account = account;
}
public ProcessorLiabilitiesGetResponse liabilities(LiabilitiesObject liabilities) {
this.liabilities = liabilities;
return this;
}
/**
* Get liabilities
* @return liabilities
**/
@ApiModelProperty(required = true, value = "")
public LiabilitiesObject getLiabilities() {
return liabilities;
}
public void setLiabilities(LiabilitiesObject liabilities) {
this.liabilities = liabilities;
}
public ProcessorLiabilitiesGetResponse 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;
}
ProcessorLiabilitiesGetResponse processorLiabilitiesGetResponse = (ProcessorLiabilitiesGetResponse) o;
return Objects.equals(this.account, processorLiabilitiesGetResponse.account) &&
Objects.equals(this.liabilities, processorLiabilitiesGetResponse.liabilities) &&
Objects.equals(this.requestId, processorLiabilitiesGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(account, liabilities, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProcessorLiabilitiesGetResponse {\n");
sb.append(" account: ").append(toIndentedString(account)).append("\n");
sb.append(" liabilities: ").append(toIndentedString(liabilities)).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/PaymentConsentPeriodicInterval.java | src/main/java/com/plaid/client/model/PaymentConsentPeriodicInterval.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* Payment consent periodic interval.
*/
@JsonAdapter(PaymentConsentPeriodicInterval.Adapter.class)
public enum PaymentConsentPeriodicInterval {
DAY("DAY"),
WEEK("WEEK"),
MONTH("MONTH"),
YEAR("YEAR"),
// 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;
PaymentConsentPeriodicInterval(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static PaymentConsentPeriodicInterval fromValue(String value) {
for (PaymentConsentPeriodicInterval b : PaymentConsentPeriodicInterval.values()) {
if (b.value.equals(value)) {
return b;
}
}
return PaymentConsentPeriodicInterval.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<PaymentConsentPeriodicInterval> {
@Override
public void write(final JsonWriter jsonWriter, final PaymentConsentPeriodicInterval enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public PaymentConsentPeriodicInterval read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return PaymentConsentPeriodicInterval.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/AddressDataNotRequired.java | src/main/java/com/plaid/client/model/AddressDataNotRequired.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Data about the components comprising an address.
*/
@ApiModel(description = "Data about the components comprising an address.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class AddressDataNotRequired {
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 AddressDataNotRequired 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 AddressDataNotRequired region(String region) {
this.region = region;
return this;
}
/**
* The region or state. In API versions 2018-05-22 and earlier, this field is called `state`. Example: `\"NC\"`
* @return region
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The region or state. In API versions 2018-05-22 and earlier, this field is called `state`. Example: `\"NC\"`")
public String getRegion() {
return region;
}
public void setRegion(String region) {
this.region = region;
}
public AddressDataNotRequired 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 AddressDataNotRequired postalCode(String postalCode) {
this.postalCode = postalCode;
return this;
}
/**
* The postal code. In API versions 2018-05-22 and earlier, this field is called `zip`.
* @return postalCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The postal code. In API versions 2018-05-22 and earlier, this field is called `zip`.")
public String getPostalCode() {
return postalCode;
}
public void setPostalCode(String postalCode) {
this.postalCode = postalCode;
}
public AddressDataNotRequired country(String country) {
this.country = country;
return this;
}
/**
* The ISO 3166-1 alpha-2 country code
* @return country
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The ISO 3166-1 alpha-2 country code")
public String getCountry() {
return country;
}
public void setCountry(String country) {
this.country = country;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AddressDataNotRequired addressDataNotRequired = (AddressDataNotRequired) o;
return Objects.equals(this.city, addressDataNotRequired.city) &&
Objects.equals(this.region, addressDataNotRequired.region) &&
Objects.equals(this.street, addressDataNotRequired.street) &&
Objects.equals(this.postalCode, addressDataNotRequired.postalCode) &&
Objects.equals(this.country, addressDataNotRequired.country);
}
@Override
public int hashCode() {
return Objects.hash(city, region, street, postalCode, country);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AddressDataNotRequired {\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/ConsentEventCode.java | src/main/java/com/plaid/client/model/ConsentEventCode.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* Codes describing the object of a consent event.
*/
@JsonAdapter(ConsentEventCode.Adapter.class)
public enum ConsentEventCode {
USER_AGREEMENT("USER_AGREEMENT"),
USE_CASES("USE_CASES"),
DATA_SCOPES("DATA_SCOPES"),
ACCOUNT_SCOPES("ACCOUNT_SCOPES"),
REVOCATION("REVOCATION"),
// 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;
ConsentEventCode(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static ConsentEventCode fromValue(String value) {
for (ConsentEventCode b : ConsentEventCode.values()) {
if (b.value.equals(value)) {
return b;
}
}
return ConsentEventCode.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<ConsentEventCode> {
@Override
public void write(final JsonWriter jsonWriter, final ConsentEventCode enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public ConsentEventCode read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return ConsentEventCode.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/UserAccountIdentity.java | src/main/java/com/plaid/client/model/UserAccountIdentity.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.UserAccountIdentityAddress;
import com.plaid.client.model.UserAccountIdentityName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The identity data permissioned by the end user during the authorization flow.
*/
@ApiModel(description = "The identity data permissioned by the end user during the authorization flow.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class UserAccountIdentity {
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
private UserAccountIdentityName name;
public static final String SERIALIZED_NAME_ADDRESS = "address";
@SerializedName(SERIALIZED_NAME_ADDRESS)
private UserAccountIdentityAddress address;
public static final String SERIALIZED_NAME_PHONE_NUMBER = "phone_number";
@SerializedName(SERIALIZED_NAME_PHONE_NUMBER)
private String phoneNumber;
public static final String SERIALIZED_NAME_EMAIL = "email";
@SerializedName(SERIALIZED_NAME_EMAIL)
private String email;
public static final String SERIALIZED_NAME_DATE_OF_BIRTH = "date_of_birth";
@SerializedName(SERIALIZED_NAME_DATE_OF_BIRTH)
private String dateOfBirth;
public static final String SERIALIZED_NAME_SSN = "ssn";
@SerializedName(SERIALIZED_NAME_SSN)
private String ssn;
public static final String SERIALIZED_NAME_SSN_LAST4 = "ssn_last_4";
@SerializedName(SERIALIZED_NAME_SSN_LAST4)
private String ssnLast4;
public UserAccountIdentity name(UserAccountIdentityName name) {
this.name = name;
return this;
}
/**
* Get name
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public UserAccountIdentityName getName() {
return name;
}
public void setName(UserAccountIdentityName name) {
this.name = name;
}
public UserAccountIdentity address(UserAccountIdentityAddress address) {
this.address = address;
return this;
}
/**
* Get address
* @return address
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public UserAccountIdentityAddress getAddress() {
return address;
}
public void setAddress(UserAccountIdentityAddress address) {
this.address = address;
}
public UserAccountIdentity phoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
return this;
}
/**
* The user's phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format
* @return phoneNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The user's phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format")
public String getPhoneNumber() {
return phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
}
public UserAccountIdentity email(String email) {
this.email = email;
return this;
}
/**
* The user's email address. Note: email is currently not returned for users, and will be added later in 2025.
* @return email
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The user's email address. Note: email is currently not returned for users, and will be added later in 2025.")
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public UserAccountIdentity dateOfBirth(String dateOfBirth) {
this.dateOfBirth = dateOfBirth;
return this;
}
/**
* The user's date of birth.
* @return dateOfBirth
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The user's date of birth.")
public String getDateOfBirth() {
return dateOfBirth;
}
public void setDateOfBirth(String dateOfBirth) {
this.dateOfBirth = dateOfBirth;
}
public UserAccountIdentity ssn(String ssn) {
this.ssn = ssn;
return this;
}
/**
* The user's social security number.
* @return ssn
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The user's social security number.")
public String getSsn() {
return ssn;
}
public void setSsn(String ssn) {
this.ssn = ssn;
}
public UserAccountIdentity ssnLast4(String ssnLast4) {
this.ssnLast4 = ssnLast4;
return this;
}
/**
* The last 4 digits of the user's social security number.
* @return ssnLast4
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The last 4 digits of the user's social security number.")
public String getSsnLast4() {
return ssnLast4;
}
public void setSsnLast4(String ssnLast4) {
this.ssnLast4 = ssnLast4;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
UserAccountIdentity userAccountIdentity = (UserAccountIdentity) o;
return Objects.equals(this.name, userAccountIdentity.name) &&
Objects.equals(this.address, userAccountIdentity.address) &&
Objects.equals(this.phoneNumber, userAccountIdentity.phoneNumber) &&
Objects.equals(this.email, userAccountIdentity.email) &&
Objects.equals(this.dateOfBirth, userAccountIdentity.dateOfBirth) &&
Objects.equals(this.ssn, userAccountIdentity.ssn) &&
Objects.equals(this.ssnLast4, userAccountIdentity.ssnLast4);
}
@Override
public int hashCode() {
return Objects.hash(name, address, phoneNumber, email, dateOfBirth, ssn, ssnLast4);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UserAccountIdentity {\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" address: ").append(toIndentedString(address)).append("\n");
sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n");
sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n");
sb.append(" ssn: ").append(toIndentedString(ssn)).append("\n");
sb.append(" ssnLast4: ").append(toIndentedString(ssnLast4)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/UserFinancialDataRefreshResponse.java | src/main/java/com/plaid/client/model/UserFinancialDataRefreshResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.RefreshResult;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* UserFinancialDataRefreshResponse defines the response schema for `user/financial_data/refresh`
*/
@ApiModel(description = "UserFinancialDataRefreshResponse defines the response schema for `user/financial_data/refresh`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class UserFinancialDataRefreshResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public static final String SERIALIZED_NAME_USER_ID = "user_id";
@SerializedName(SERIALIZED_NAME_USER_ID)
private String userId;
public static final String SERIALIZED_NAME_RESULTS = "results";
@SerializedName(SERIALIZED_NAME_RESULTS)
private List<RefreshResult> results = null;
public UserFinancialDataRefreshResponse 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 UserFinancialDataRefreshResponse userId(String userId) {
this.userId = userId;
return this;
}
/**
* The user ID associated with the refresh request.
* @return userId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The user ID associated with the refresh request.")
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public UserFinancialDataRefreshResponse results(List<RefreshResult> results) {
this.results = results;
return this;
}
public UserFinancialDataRefreshResponse addResultsItem(RefreshResult resultsItem) {
if (this.results == null) {
this.results = new ArrayList<>();
}
this.results.add(resultsItem);
return this;
}
/**
* Get results
* @return results
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<RefreshResult> getResults() {
return results;
}
public void setResults(List<RefreshResult> results) {
this.results = results;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
UserFinancialDataRefreshResponse userFinancialDataRefreshResponse = (UserFinancialDataRefreshResponse) o;
return Objects.equals(this.requestId, userFinancialDataRefreshResponse.requestId) &&
Objects.equals(this.userId, userFinancialDataRefreshResponse.userId) &&
Objects.equals(this.results, userFinancialDataRefreshResponse.results);
}
@Override
public int hashCode() {
return Objects.hash(requestId, userId, results);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UserFinancialDataRefreshResponse {\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append(" userId: ").append(toIndentedString(userId)).append("\n");
sb.append(" results: ").append(toIndentedString(results)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CraCheckReportPartnerInsightsGetOptions.java | src/main/java/com/plaid/client/model/CraCheckReportPartnerInsightsGetOptions.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.PrismProduct;
import com.plaid.client.model.PrismVersionsDeprecated;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Deprecated, specify `partner_insights.prism_versions` instead.
*/
@ApiModel(description = "Deprecated, specify `partner_insights.prism_versions` instead.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraCheckReportPartnerInsightsGetOptions {
public static final String SERIALIZED_NAME_PRISM_PRODUCTS = "prism_products";
@SerializedName(SERIALIZED_NAME_PRISM_PRODUCTS)
private List<PrismProduct> prismProducts = null;
public static final String SERIALIZED_NAME_PRISM_VERSIONS = "prism_versions";
@SerializedName(SERIALIZED_NAME_PRISM_VERSIONS)
private PrismVersionsDeprecated prismVersions;
public CraCheckReportPartnerInsightsGetOptions prismProducts(List<PrismProduct> prismProducts) {
this.prismProducts = prismProducts;
return this;
}
public CraCheckReportPartnerInsightsGetOptions addPrismProductsItem(PrismProduct prismProductsItem) {
if (this.prismProducts == null) {
this.prismProducts = new ArrayList<>();
}
this.prismProducts.add(prismProductsItem);
return this;
}
/**
* The specific Prism Data products to return. If none are passed in, then all products will be returned.
* @return prismProducts
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The specific Prism Data products to return. If none are passed in, then all products will be returned.")
public List<PrismProduct> getPrismProducts() {
return prismProducts;
}
public void setPrismProducts(List<PrismProduct> prismProducts) {
this.prismProducts = prismProducts;
}
public CraCheckReportPartnerInsightsGetOptions prismVersions(PrismVersionsDeprecated prismVersions) {
this.prismVersions = prismVersions;
return this;
}
/**
* Get prismVersions
* @return prismVersions
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PrismVersionsDeprecated getPrismVersions() {
return prismVersions;
}
public void setPrismVersions(PrismVersionsDeprecated prismVersions) {
this.prismVersions = prismVersions;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CraCheckReportPartnerInsightsGetOptions craCheckReportPartnerInsightsGetOptions = (CraCheckReportPartnerInsightsGetOptions) o;
return Objects.equals(this.prismProducts, craCheckReportPartnerInsightsGetOptions.prismProducts) &&
Objects.equals(this.prismVersions, craCheckReportPartnerInsightsGetOptions.prismVersions);
}
@Override
public int hashCode() {
return Objects.hash(prismProducts, prismVersions);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraCheckReportPartnerInsightsGetOptions {\n");
sb.append(" prismProducts: ").append(toIndentedString(prismProducts)).append("\n");
sb.append(" prismVersions: ").append(toIndentedString(prismVersions)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/WatchlistScreeningIndividualHistoryListRequest.java | src/main/java/com/plaid/client/model/WatchlistScreeningIndividualHistoryListRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Request input for listing changes to watchlist screenings for individuals
*/
@ApiModel(description = "Request input for listing changes to watchlist screenings for individuals")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class WatchlistScreeningIndividualHistoryListRequest {
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
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_CURSOR = "cursor";
@SerializedName(SERIALIZED_NAME_CURSOR)
private String cursor;
public WatchlistScreeningIndividualHistoryListRequest 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 WatchlistScreeningIndividualHistoryListRequest 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 WatchlistScreeningIndividualHistoryListRequest watchlistScreeningId(String watchlistScreeningId) {
this.watchlistScreeningId = watchlistScreeningId;
return this;
}
/**
* ID of the associated screening.
* @return watchlistScreeningId
**/
@ApiModelProperty(example = "scr_52xR9LKo77r1Np", required = true, value = "ID of the associated screening.")
public String getWatchlistScreeningId() {
return watchlistScreeningId;
}
public void setWatchlistScreeningId(String watchlistScreeningId) {
this.watchlistScreeningId = watchlistScreeningId;
}
public WatchlistScreeningIndividualHistoryListRequest cursor(String cursor) {
this.cursor = cursor;
return this;
}
/**
* An identifier that determines which page of results you receive.
* @return cursor
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "eyJkaXJlY3Rpb24iOiJuZXh0Iiwib2Zmc2V0IjoiMTU5NDM", value = "An identifier that determines which page of results you receive.")
public String getCursor() {
return cursor;
}
public void setCursor(String cursor) {
this.cursor = cursor;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
WatchlistScreeningIndividualHistoryListRequest watchlistScreeningIndividualHistoryListRequest = (WatchlistScreeningIndividualHistoryListRequest) o;
return Objects.equals(this.secret, watchlistScreeningIndividualHistoryListRequest.secret) &&
Objects.equals(this.clientId, watchlistScreeningIndividualHistoryListRequest.clientId) &&
Objects.equals(this.watchlistScreeningId, watchlistScreeningIndividualHistoryListRequest.watchlistScreeningId) &&
Objects.equals(this.cursor, watchlistScreeningIndividualHistoryListRequest.cursor);
}
@Override
public int hashCode() {
return Objects.hash(secret, clientId, watchlistScreeningId, cursor);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class WatchlistScreeningIndividualHistoryListRequest {\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" watchlistScreeningId: ").append(toIndentedString(watchlistScreeningId)).append("\n");
sb.append(" cursor: ").append(toIndentedString(cursor)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ItemGetRequest.java | src/main/java/com/plaid/client/model/ItemGetRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* ItemGetRequest defines the request schema for `/item/get`
*/
@ApiModel(description = "ItemGetRequest defines the request schema for `/item/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ItemGetRequest {
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 ItemGetRequest 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 ItemGetRequest 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 ItemGetRequest 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;
}
ItemGetRequest itemGetRequest = (ItemGetRequest) o;
return Objects.equals(this.clientId, itemGetRequest.clientId) &&
Objects.equals(this.secret, itemGetRequest.secret) &&
Objects.equals(this.accessToken, itemGetRequest.accessToken);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, accessToken);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ItemGetRequest {\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/PaymentInitiationConsentCreateRequest.java | src/main/java/com/plaid/client/model/PaymentInitiationConsentCreateRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.ExternalPaymentInitiationConsentOptions;
import com.plaid.client.model.PaymentInitiationConsentConstraints;
import com.plaid.client.model.PaymentInitiationConsentPayerDetails;
import com.plaid.client.model.PaymentInitiationConsentScope;
import com.plaid.client.model.PaymentInitiationConsentType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
/**
* PaymentInitiationConsentCreateRequest defines the request schema for `/payment_initiation/consent/create`
*/
@ApiModel(description = "PaymentInitiationConsentCreateRequest defines the request schema for `/payment_initiation/consent/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PaymentInitiationConsentCreateRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_RECIPIENT_ID = "recipient_id";
@SerializedName(SERIALIZED_NAME_RECIPIENT_ID)
private String recipientId;
public static final String SERIALIZED_NAME_REFERENCE = "reference";
@SerializedName(SERIALIZED_NAME_REFERENCE)
private String reference;
public static final String SERIALIZED_NAME_SCOPES = "scopes";
@SerializedName(SERIALIZED_NAME_SCOPES)
private Set<PaymentInitiationConsentScope> scopes = null;
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private PaymentInitiationConsentType type;
public static final String SERIALIZED_NAME_CONSTRAINTS = "constraints";
@SerializedName(SERIALIZED_NAME_CONSTRAINTS)
private PaymentInitiationConsentConstraints constraints;
public static final String SERIALIZED_NAME_OPTIONS = "options";
@SerializedName(SERIALIZED_NAME_OPTIONS)
private ExternalPaymentInitiationConsentOptions options;
public static final String SERIALIZED_NAME_PAYER_DETAILS = "payer_details";
@SerializedName(SERIALIZED_NAME_PAYER_DETAILS)
private PaymentInitiationConsentPayerDetails payerDetails;
public PaymentInitiationConsentCreateRequest 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 PaymentInitiationConsentCreateRequest 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 PaymentInitiationConsentCreateRequest recipientId(String recipientId) {
this.recipientId = recipientId;
return this;
}
/**
* The ID of the recipient the payment consent is for. The created consent can be used to transfer funds to this recipient only.
* @return recipientId
**/
@ApiModelProperty(required = true, value = "The ID of the recipient the payment consent is for. The created consent can be used to transfer funds to this recipient only.")
public String getRecipientId() {
return recipientId;
}
public void setRecipientId(String recipientId) {
this.recipientId = recipientId;
}
public PaymentInitiationConsentCreateRequest reference(String reference) {
this.reference = reference;
return this;
}
/**
* A reference for the payment consent. This must be an alphanumeric string with at most 18 characters and must not contain any special characters.
* @return reference
**/
@ApiModelProperty(required = true, value = "A reference for the payment consent. This must be an alphanumeric string with at most 18 characters and must not contain any special characters.")
public String getReference() {
return reference;
}
public void setReference(String reference) {
this.reference = reference;
}
public PaymentInitiationConsentCreateRequest scopes(Set<PaymentInitiationConsentScope> scopes) {
this.scopes = scopes;
return this;
}
public PaymentInitiationConsentCreateRequest addScopesItem(PaymentInitiationConsentScope scopesItem) {
if (this.scopes == null) {
this.scopes = new LinkedHashSet<>();
}
this.scopes.add(scopesItem);
return this;
}
/**
* An array of payment consent scopes.
* @return scopes
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "An array of payment consent scopes.")
public Set<PaymentInitiationConsentScope> getScopes() {
return scopes;
}
public void setScopes(Set<PaymentInitiationConsentScope> scopes) {
this.scopes = scopes;
}
public PaymentInitiationConsentCreateRequest type(PaymentInitiationConsentType type) {
this.type = type;
return this;
}
/**
* Get type
* @return type
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PaymentInitiationConsentType getType() {
return type;
}
public void setType(PaymentInitiationConsentType type) {
this.type = type;
}
public PaymentInitiationConsentCreateRequest constraints(PaymentInitiationConsentConstraints constraints) {
this.constraints = constraints;
return this;
}
/**
* Get constraints
* @return constraints
**/
@ApiModelProperty(required = true, value = "")
public PaymentInitiationConsentConstraints getConstraints() {
return constraints;
}
public void setConstraints(PaymentInitiationConsentConstraints constraints) {
this.constraints = constraints;
}
public PaymentInitiationConsentCreateRequest options(ExternalPaymentInitiationConsentOptions options) {
this.options = options;
return this;
}
/**
* Get options
* @return options
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ExternalPaymentInitiationConsentOptions getOptions() {
return options;
}
public void setOptions(ExternalPaymentInitiationConsentOptions options) {
this.options = options;
}
public PaymentInitiationConsentCreateRequest payerDetails(PaymentInitiationConsentPayerDetails payerDetails) {
this.payerDetails = payerDetails;
return this;
}
/**
* Get payerDetails
* @return payerDetails
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PaymentInitiationConsentPayerDetails getPayerDetails() {
return payerDetails;
}
public void setPayerDetails(PaymentInitiationConsentPayerDetails payerDetails) {
this.payerDetails = payerDetails;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PaymentInitiationConsentCreateRequest paymentInitiationConsentCreateRequest = (PaymentInitiationConsentCreateRequest) o;
return Objects.equals(this.clientId, paymentInitiationConsentCreateRequest.clientId) &&
Objects.equals(this.secret, paymentInitiationConsentCreateRequest.secret) &&
Objects.equals(this.recipientId, paymentInitiationConsentCreateRequest.recipientId) &&
Objects.equals(this.reference, paymentInitiationConsentCreateRequest.reference) &&
Objects.equals(this.scopes, paymentInitiationConsentCreateRequest.scopes) &&
Objects.equals(this.type, paymentInitiationConsentCreateRequest.type) &&
Objects.equals(this.constraints, paymentInitiationConsentCreateRequest.constraints) &&
Objects.equals(this.options, paymentInitiationConsentCreateRequest.options) &&
Objects.equals(this.payerDetails, paymentInitiationConsentCreateRequest.payerDetails);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, recipientId, reference, scopes, type, constraints, options, payerDetails);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaymentInitiationConsentCreateRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" recipientId: ").append(toIndentedString(recipientId)).append("\n");
sb.append(" reference: ").append(toIndentedString(reference)).append("\n");
sb.append(" scopes: ").append(toIndentedString(scopes)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" constraints: ").append(toIndentedString(constraints)).append("\n");
sb.append(" options: ").append(toIndentedString(options)).append("\n");
sb.append(" payerDetails: ").append(toIndentedString(payerDetails)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/W2StateAndLocalWagesOverride.java | src/main/java/com/plaid/client/model/W2StateAndLocalWagesOverride.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* W2 state and local wages
*/
@ApiModel(description = "W2 state and local wages")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class W2StateAndLocalWagesOverride {
public static final String SERIALIZED_NAME_STATE = "state";
@SerializedName(SERIALIZED_NAME_STATE)
private String state;
public static final String SERIALIZED_NAME_EMPLOYER_STATE_ID_NUMBER = "employer_state_id_number";
@SerializedName(SERIALIZED_NAME_EMPLOYER_STATE_ID_NUMBER)
private String employerStateIdNumber;
public static final String SERIALIZED_NAME_STATE_WAGES_TIPS = "state_wages_tips";
@SerializedName(SERIALIZED_NAME_STATE_WAGES_TIPS)
private String stateWagesTips;
public static final String SERIALIZED_NAME_STATE_INCOME_TAX = "state_income_tax";
@SerializedName(SERIALIZED_NAME_STATE_INCOME_TAX)
private String stateIncomeTax;
public static final String SERIALIZED_NAME_LOCAL_WAGES_TIPS = "local_wages_tips";
@SerializedName(SERIALIZED_NAME_LOCAL_WAGES_TIPS)
private String localWagesTips;
public static final String SERIALIZED_NAME_LOCAL_INCOME_TAX = "local_income_tax";
@SerializedName(SERIALIZED_NAME_LOCAL_INCOME_TAX)
private String localIncomeTax;
public static final String SERIALIZED_NAME_LOCALITY_NAME = "locality_name";
@SerializedName(SERIALIZED_NAME_LOCALITY_NAME)
private String localityName;
public W2StateAndLocalWagesOverride state(String state) {
this.state = state;
return this;
}
/**
* State associated with the wage.
* @return state
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "State associated with the wage.")
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
public W2StateAndLocalWagesOverride employerStateIdNumber(String employerStateIdNumber) {
this.employerStateIdNumber = employerStateIdNumber;
return this;
}
/**
* State identification number of the employer.
* @return employerStateIdNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "State identification number of the employer.")
public String getEmployerStateIdNumber() {
return employerStateIdNumber;
}
public void setEmployerStateIdNumber(String employerStateIdNumber) {
this.employerStateIdNumber = employerStateIdNumber;
}
public W2StateAndLocalWagesOverride stateWagesTips(String stateWagesTips) {
this.stateWagesTips = stateWagesTips;
return this;
}
/**
* Wages and tips from the specified state.
* @return stateWagesTips
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Wages and tips from the specified state.")
public String getStateWagesTips() {
return stateWagesTips;
}
public void setStateWagesTips(String stateWagesTips) {
this.stateWagesTips = stateWagesTips;
}
public W2StateAndLocalWagesOverride stateIncomeTax(String stateIncomeTax) {
this.stateIncomeTax = stateIncomeTax;
return this;
}
/**
* Income tax from the specified state.
* @return stateIncomeTax
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Income tax from the specified state.")
public String getStateIncomeTax() {
return stateIncomeTax;
}
public void setStateIncomeTax(String stateIncomeTax) {
this.stateIncomeTax = stateIncomeTax;
}
public W2StateAndLocalWagesOverride localWagesTips(String localWagesTips) {
this.localWagesTips = localWagesTips;
return this;
}
/**
* Wages and tips from the locality.
* @return localWagesTips
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Wages and tips from the locality.")
public String getLocalWagesTips() {
return localWagesTips;
}
public void setLocalWagesTips(String localWagesTips) {
this.localWagesTips = localWagesTips;
}
public W2StateAndLocalWagesOverride localIncomeTax(String localIncomeTax) {
this.localIncomeTax = localIncomeTax;
return this;
}
/**
* Income tax from the locality.
* @return localIncomeTax
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Income tax from the locality.")
public String getLocalIncomeTax() {
return localIncomeTax;
}
public void setLocalIncomeTax(String localIncomeTax) {
this.localIncomeTax = localIncomeTax;
}
public W2StateAndLocalWagesOverride localityName(String localityName) {
this.localityName = localityName;
return this;
}
/**
* Name of the locality.
* @return localityName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Name of the locality.")
public String getLocalityName() {
return localityName;
}
public void setLocalityName(String localityName) {
this.localityName = localityName;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
W2StateAndLocalWagesOverride w2StateAndLocalWagesOverride = (W2StateAndLocalWagesOverride) o;
return Objects.equals(this.state, w2StateAndLocalWagesOverride.state) &&
Objects.equals(this.employerStateIdNumber, w2StateAndLocalWagesOverride.employerStateIdNumber) &&
Objects.equals(this.stateWagesTips, w2StateAndLocalWagesOverride.stateWagesTips) &&
Objects.equals(this.stateIncomeTax, w2StateAndLocalWagesOverride.stateIncomeTax) &&
Objects.equals(this.localWagesTips, w2StateAndLocalWagesOverride.localWagesTips) &&
Objects.equals(this.localIncomeTax, w2StateAndLocalWagesOverride.localIncomeTax) &&
Objects.equals(this.localityName, w2StateAndLocalWagesOverride.localityName);
}
@Override
public int hashCode() {
return Objects.hash(state, employerStateIdNumber, stateWagesTips, stateIncomeTax, localWagesTips, localIncomeTax, localityName);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class W2StateAndLocalWagesOverride {\n");
sb.append(" state: ").append(toIndentedString(state)).append("\n");
sb.append(" employerStateIdNumber: ").append(toIndentedString(employerStateIdNumber)).append("\n");
sb.append(" stateWagesTips: ").append(toIndentedString(stateWagesTips)).append("\n");
sb.append(" stateIncomeTax: ").append(toIndentedString(stateIncomeTax)).append("\n");
sb.append(" localWagesTips: ").append(toIndentedString(localWagesTips)).append("\n");
sb.append(" localIncomeTax: ").append(toIndentedString(localIncomeTax)).append("\n");
sb.append(" localityName: ").append(toIndentedString(localityName)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/AssetReportAccountBalance.java | src/main/java/com/plaid/client/model/AssetReportAccountBalance.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* A set of fields describing the balance for an account. Balance information may be cached unless the balance object was returned by `/accounts/balance/get`.
*/
@ApiModel(description = "A set of fields describing the balance for an account. Balance information may be cached unless the balance object was returned by `/accounts/balance/get`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class AssetReportAccountBalance {
public static final String SERIALIZED_NAME_AVAILABLE = "available";
@SerializedName(SERIALIZED_NAME_AVAILABLE)
private Double available;
public static final String SERIALIZED_NAME_CURRENT = "current";
@SerializedName(SERIALIZED_NAME_CURRENT)
private Double current;
public static final String SERIALIZED_NAME_LIMIT = "limit";
@SerializedName(SERIALIZED_NAME_LIMIT)
private Double limit;
public static final String SERIALIZED_NAME_MARGIN_LOAN_AMOUNT = "margin_loan_amount";
@SerializedName(SERIALIZED_NAME_MARGIN_LOAN_AMOUNT)
private Double marginLoanAmount;
public static final String SERIALIZED_NAME_ISO_CURRENCY_CODE = "iso_currency_code";
@SerializedName(SERIALIZED_NAME_ISO_CURRENCY_CODE)
private String isoCurrencyCode;
public static final String SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE = "unofficial_currency_code";
@SerializedName(SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE)
private String unofficialCurrencyCode;
public static final String SERIALIZED_NAME_LAST_UPDATED_DATETIME = "last_updated_datetime";
@SerializedName(SERIALIZED_NAME_LAST_UPDATED_DATETIME)
private OffsetDateTime lastUpdatedDatetime;
public AssetReportAccountBalance available(Double available) {
this.available = available;
return this;
}
/**
* The amount of funds available to be withdrawn from the account, as determined by the financial institution. For `credit`-type accounts, the `available` balance typically equals the `limit` less the `current` balance, less any pending outflows plus any pending inflows. For `depository`-type accounts, the `available` balance typically equals the `current` balance less any pending outflows plus any pending inflows. For `depository`-type accounts, the `available` balance does not include the overdraft limit. For `investment`-type accounts (or `brokerage`-type accounts for API versions 2018-05-22 and earlier), the `available` balance is the total cash available to withdraw as presented by the institution. Note that not all institutions calculate the `available` balance. In the event that `available` balance is unavailable, Plaid will return an `available` balance value of `null`. Available balance may be cached and is not guaranteed to be up-to-date in realtime unless the value was returned by `/accounts/balance/get`. If `current` is `null` this field is guaranteed not to be `null`.
* @return available
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The amount of funds available to be withdrawn from the account, as determined by the financial institution. For `credit`-type accounts, the `available` balance typically equals the `limit` less the `current` balance, less any pending outflows plus any pending inflows. For `depository`-type accounts, the `available` balance typically equals the `current` balance less any pending outflows plus any pending inflows. For `depository`-type accounts, the `available` balance does not include the overdraft limit. For `investment`-type accounts (or `brokerage`-type accounts for API versions 2018-05-22 and earlier), the `available` balance is the total cash available to withdraw as presented by the institution. Note that not all institutions calculate the `available` balance. In the event that `available` balance is unavailable, Plaid will return an `available` balance value of `null`. Available balance may be cached and is not guaranteed to be up-to-date in realtime unless the value was returned by `/accounts/balance/get`. If `current` is `null` this field is guaranteed not to be `null`.")
public Double getAvailable() {
return available;
}
public void setAvailable(Double available) {
this.available = available;
}
public AssetReportAccountBalance current(Double current) {
this.current = current;
return this;
}
/**
* The total amount of funds in or owed by the account. For `credit`-type accounts, a positive balance indicates the amount owed; a negative amount indicates the lender owing the account holder. For `loan`-type accounts, the current balance is the principal remaining on the loan, except in the case of student loan accounts at Sallie Mae (`ins_116944`). For Sallie Mae student loans, the account's balance includes both principal and any outstanding interest. For `investment`-type accounts (or `brokerage`-type accounts for API versions 2018-05-22 and earlier), the current balance is the total value of assets as presented by the institution. Note that balance information may be cached unless the value was returned by `/accounts/balance/get`; if the Item is enabled for Transactions, the balance will be at least as recent as the most recent Transaction update. If you require realtime balance information, use the `available` balance as provided by `/accounts/balance/get`. When returned by `/accounts/balance/get`, this field may be `null`. When this happens, `available` is guaranteed not to be `null`.
* @return current
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The total amount of funds in or owed by the account. For `credit`-type accounts, a positive balance indicates the amount owed; a negative amount indicates the lender owing the account holder. For `loan`-type accounts, the current balance is the principal remaining on the loan, except in the case of student loan accounts at Sallie Mae (`ins_116944`). For Sallie Mae student loans, the account's balance includes both principal and any outstanding interest. For `investment`-type accounts (or `brokerage`-type accounts for API versions 2018-05-22 and earlier), the current balance is the total value of assets as presented by the institution. Note that balance information may be cached unless the value was returned by `/accounts/balance/get`; if the Item is enabled for Transactions, the balance will be at least as recent as the most recent Transaction update. If you require realtime balance information, use the `available` balance as provided by `/accounts/balance/get`. When returned by `/accounts/balance/get`, this field may be `null`. When this happens, `available` is guaranteed not to be `null`.")
public Double getCurrent() {
return current;
}
public void setCurrent(Double current) {
this.current = current;
}
public AssetReportAccountBalance limit(Double limit) {
this.limit = limit;
return this;
}
/**
* For `credit`-type accounts, this represents the credit limit. For `depository`-type accounts, this represents the pre-arranged overdraft limit, which is common for current (checking) accounts in Europe. In North America, this field is typically only available for `credit`-type accounts.
* @return limit
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "For `credit`-type accounts, this represents the credit limit. For `depository`-type accounts, this represents the pre-arranged overdraft limit, which is common for current (checking) accounts in Europe. In North America, this field is typically only available for `credit`-type accounts.")
public Double getLimit() {
return limit;
}
public void setLimit(Double limit) {
this.limit = limit;
}
public AssetReportAccountBalance marginLoanAmount(Double marginLoanAmount) {
this.marginLoanAmount = marginLoanAmount;
return this;
}
/**
* The total amount of borrowed funds in the account, as determined by the financial institution. For investment-type accounts, the margin balance is the total value of borrowed assets in the account, as presented by the institution. This is commonly referred to as margin or a loan.
* @return marginLoanAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The total amount of borrowed funds in the account, as determined by the financial institution. For investment-type accounts, the margin balance is the total value of borrowed assets in the account, as presented by the institution. This is commonly referred to as margin or a loan.")
public Double getMarginLoanAmount() {
return marginLoanAmount;
}
public void setMarginLoanAmount(Double marginLoanAmount) {
this.marginLoanAmount = marginLoanAmount;
}
public AssetReportAccountBalance isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The ISO-4217 currency code of the balance. Always null if `unofficial_currency_code` is non-null.
* @return isoCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The ISO-4217 currency code of the balance. Always null if `unofficial_currency_code` is non-null.")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public AssetReportAccountBalance unofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
return this;
}
/**
* The unofficial currency code associated with the balance. Always null if `iso_currency_code` is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `unofficial_currency_code`s.
* @return unofficialCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The unofficial currency code associated with the balance. Always null if `iso_currency_code` is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `unofficial_currency_code`s.")
public String getUnofficialCurrencyCode() {
return unofficialCurrencyCode;
}
public void setUnofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
}
public AssetReportAccountBalance lastUpdatedDatetime(OffsetDateTime lastUpdatedDatetime) {
this.lastUpdatedDatetime = lastUpdatedDatetime;
return this;
}
/**
* Timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:mm:ssZ`) indicating the oldest acceptable balance when making a request to `/accounts/balance/get`. This field is only used and expected when the institution is `ins_128026` (Capital One) and the Item contains one or more accounts with a non-depository account type, in which case a value must be provided or an `INVALID_REQUEST` error with the code of `INVALID_FIELD` will be returned. For Capital One depository accounts as well as all other account types on all other institutions, this field is ignored. See [account type schema](https://plaid.com/docs/api/accounts/#account-type-schema) for a full list of account types. If the balance that is pulled is older than the given timestamp for Items with this field required, an `INVALID_REQUEST` error with the code of `LAST_UPDATED_DATETIME_OUT_OF_RANGE` will be returned with the most recent timestamp for the requested account contained in the response.
* @return lastUpdatedDatetime
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:mm:ssZ`) indicating the oldest acceptable balance when making a request to `/accounts/balance/get`. This field is only used and expected when the institution is `ins_128026` (Capital One) and the Item contains one or more accounts with a non-depository account type, in which case a value must be provided or an `INVALID_REQUEST` error with the code of `INVALID_FIELD` will be returned. For Capital One depository accounts as well as all other account types on all other institutions, this field is ignored. See [account type schema](https://plaid.com/docs/api/accounts/#account-type-schema) for a full list of account types. If the balance that is pulled is older than the given timestamp for Items with this field required, an `INVALID_REQUEST` error with the code of `LAST_UPDATED_DATETIME_OUT_OF_RANGE` will be returned with the most recent timestamp for the requested account contained in the response.")
public OffsetDateTime getLastUpdatedDatetime() {
return lastUpdatedDatetime;
}
public void setLastUpdatedDatetime(OffsetDateTime lastUpdatedDatetime) {
this.lastUpdatedDatetime = lastUpdatedDatetime;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AssetReportAccountBalance assetReportAccountBalance = (AssetReportAccountBalance) o;
return Objects.equals(this.available, assetReportAccountBalance.available) &&
Objects.equals(this.current, assetReportAccountBalance.current) &&
Objects.equals(this.limit, assetReportAccountBalance.limit) &&
Objects.equals(this.marginLoanAmount, assetReportAccountBalance.marginLoanAmount) &&
Objects.equals(this.isoCurrencyCode, assetReportAccountBalance.isoCurrencyCode) &&
Objects.equals(this.unofficialCurrencyCode, assetReportAccountBalance.unofficialCurrencyCode) &&
Objects.equals(this.lastUpdatedDatetime, assetReportAccountBalance.lastUpdatedDatetime);
}
@Override
public int hashCode() {
return Objects.hash(available, current, limit, marginLoanAmount, isoCurrencyCode, unofficialCurrencyCode, lastUpdatedDatetime);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AssetReportAccountBalance {\n");
sb.append(" available: ").append(toIndentedString(available)).append("\n");
sb.append(" current: ").append(toIndentedString(current)).append("\n");
sb.append(" limit: ").append(toIndentedString(limit)).append("\n");
sb.append(" marginLoanAmount: ").append(toIndentedString(marginLoanAmount)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" unofficialCurrencyCode: ").append(toIndentedString(unofficialCurrencyCode)).append("\n");
sb.append(" lastUpdatedDatetime: ").append(toIndentedString(lastUpdatedDatetime)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BeaconUserIDNumber.java | src/main/java/com/plaid/client/model/BeaconUserIDNumber.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.IDNumberType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The ID number associated with a Beacon User.
*/
@ApiModel(description = "The ID number associated with a Beacon User.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BeaconUserIDNumber {
public static final String SERIALIZED_NAME_VALUE = "value";
@SerializedName(SERIALIZED_NAME_VALUE)
private String value;
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private IDNumberType type;
public BeaconUserIDNumber value(String value) {
this.value = value;
return this;
}
/**
* Value of identity document value typed in by user. Alpha-numeric, with all formatting characters stripped. For specific format requirements by ID type, see [Input Validation Rules](https://plaid.com/docs/identity-verification/hybrid-input-validation/#id-numbers).
* @return value
**/
@ApiModelProperty(example = "123456789", required = true, value = "Value of identity document value typed in by user. Alpha-numeric, with all formatting characters stripped. For specific format requirements by ID type, see [Input Validation Rules](https://plaid.com/docs/identity-verification/hybrid-input-validation/#id-numbers).")
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
public BeaconUserIDNumber type(IDNumberType type) {
this.type = type;
return this;
}
/**
* Get type
* @return type
**/
@ApiModelProperty(required = true, value = "")
public IDNumberType getType() {
return type;
}
public void setType(IDNumberType type) {
this.type = type;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BeaconUserIDNumber beaconUserIDNumber = (BeaconUserIDNumber) o;
return Objects.equals(this.value, beaconUserIDNumber.value) &&
Objects.equals(this.type, beaconUserIDNumber.type);
}
@Override
public int hashCode() {
return Objects.hash(value, type);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BeaconUserIDNumber {\n");
sb.append(" value: ").append(toIndentedString(value)).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/IDVProtectEvent.java | src/main/java/com/plaid/client/model/IDVProtectEvent.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.TrustIndex;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
/**
* Information about a Protect event including Trust Index score and fraud attributes.
*/
@ApiModel(description = "Information about a Protect event including Trust Index score and fraud attributes.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class IDVProtectEvent {
public static final String SERIALIZED_NAME_EVENT_ID = "event_id";
@SerializedName(SERIALIZED_NAME_EVENT_ID)
private String eventId;
public static final String SERIALIZED_NAME_TIMESTAMP = "timestamp";
@SerializedName(SERIALIZED_NAME_TIMESTAMP)
private OffsetDateTime timestamp;
public static final String SERIALIZED_NAME_TRUST_INDEX = "trust_index";
@SerializedName(SERIALIZED_NAME_TRUST_INDEX)
private TrustIndex trustIndex;
public static final String SERIALIZED_NAME_FRAUD_ATTRIBUTES = "fraud_attributes";
@SerializedName(SERIALIZED_NAME_FRAUD_ATTRIBUTES)
private Object fraudAttributes;
public IDVProtectEvent eventId(String eventId) {
this.eventId = eventId;
return this;
}
/**
* The event ID.
* @return eventId
**/
@ApiModelProperty(example = "ptevt_7AJYTMFxRUgJ", required = true, value = "The event ID.")
public String getEventId() {
return eventId;
}
public void setEventId(String eventId) {
this.eventId = eventId;
}
public IDVProtectEvent timestamp(OffsetDateTime timestamp) {
this.timestamp = timestamp;
return this;
}
/**
* The timestamp of the event, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format, e.g. `\"2017-09-14T14:42:19.350Z\"`
* @return timestamp
**/
@ApiModelProperty(example = "2020-07-24T03:26:02Z", required = true, value = "The timestamp of the event, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format, e.g. `\"2017-09-14T14:42:19.350Z\"`")
public OffsetDateTime getTimestamp() {
return timestamp;
}
public void setTimestamp(OffsetDateTime timestamp) {
this.timestamp = timestamp;
}
public IDVProtectEvent trustIndex(TrustIndex trustIndex) {
this.trustIndex = trustIndex;
return this;
}
/**
* Get trustIndex
* @return trustIndex
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public TrustIndex getTrustIndex() {
return trustIndex;
}
public void setTrustIndex(TrustIndex trustIndex) {
this.trustIndex = trustIndex;
}
public IDVProtectEvent fraudAttributes(Object fraudAttributes) {
this.fraudAttributes = fraudAttributes;
return this;
}
/**
* Event fraud attributes as an arbitrary set of key-value pairs.
* @return fraudAttributes
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "Event fraud attributes as an arbitrary set of key-value pairs.")
public Object getFraudAttributes() {
return fraudAttributes;
}
public void setFraudAttributes(Object fraudAttributes) {
this.fraudAttributes = fraudAttributes;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
IDVProtectEvent idVProtectEvent = (IDVProtectEvent) o;
return Objects.equals(this.eventId, idVProtectEvent.eventId) &&
Objects.equals(this.timestamp, idVProtectEvent.timestamp) &&
Objects.equals(this.trustIndex, idVProtectEvent.trustIndex) &&
Objects.equals(this.fraudAttributes, idVProtectEvent.fraudAttributes);
}
@Override
public int hashCode() {
return Objects.hash(eventId, timestamp, trustIndex, fraudAttributes);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IDVProtectEvent {\n");
sb.append(" eventId: ").append(toIndentedString(eventId)).append("\n");
sb.append(" timestamp: ").append(toIndentedString(timestamp)).append("\n");
sb.append(" trustIndex: ").append(toIndentedString(trustIndex)).append("\n");
sb.append(" fraudAttributes: ").append(toIndentedString(fraudAttributes)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/SessionTokenCreateRequest.java | src/main/java/com/plaid/client/model/SessionTokenCreateRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.SessionTokenCreateRequestUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* SessionTokenCreateRequest defines the request schema for `/session/token/create`
*/
@ApiModel(description = "SessionTokenCreateRequest defines the request schema for `/session/token/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SessionTokenCreateRequest {
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_TEMPLATE_ID = "template_id";
@SerializedName(SERIALIZED_NAME_TEMPLATE_ID)
private String templateId;
public static final String SERIALIZED_NAME_USER = "user";
@SerializedName(SERIALIZED_NAME_USER)
private SessionTokenCreateRequestUser user;
public static final String SERIALIZED_NAME_REDIRECT_URI = "redirect_uri";
@SerializedName(SERIALIZED_NAME_REDIRECT_URI)
private String redirectUri;
public static final String SERIALIZED_NAME_ANDROID_PACKAGE_NAME = "android_package_name";
@SerializedName(SERIALIZED_NAME_ANDROID_PACKAGE_NAME)
private String androidPackageName;
public static final String SERIALIZED_NAME_WEBHOOK = "webhook";
@SerializedName(SERIALIZED_NAME_WEBHOOK)
private String webhook;
public static final String SERIALIZED_NAME_USER_ID = "user_id";
@SerializedName(SERIALIZED_NAME_USER_ID)
private String userId;
public SessionTokenCreateRequest 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 SessionTokenCreateRequest 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 SessionTokenCreateRequest templateId(String templateId) {
this.templateId = templateId;
return this;
}
/**
* The id of a template defined in Plaid Dashboard
* @return templateId
**/
@ApiModelProperty(required = true, value = "The id of a template defined in Plaid Dashboard")
public String getTemplateId() {
return templateId;
}
public void setTemplateId(String templateId) {
this.templateId = templateId;
}
public SessionTokenCreateRequest user(SessionTokenCreateRequestUser user) {
this.user = user;
return this;
}
/**
* Get user
* @return user
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public SessionTokenCreateRequestUser getUser() {
return user;
}
public void setUser(SessionTokenCreateRequestUser user) {
this.user = user;
}
public SessionTokenCreateRequest redirectUri(String redirectUri) {
this.redirectUri = redirectUri;
return this;
}
/**
* A URI indicating the destination where a user should be forwarded after completing the Link flow; used to support OAuth authentication flows when launching Link in the browser or another app. The `redirect_uri` should not contain any query parameters. When used in Production, must be an https URI. To specify any subdomain, use `*` as a wildcard character, e.g. `https://_*.example.com/oauth.html`. Note that any redirect URI must also be added to the Allowed redirect URIs list in the [developer dashboard](https://dashboard.plaid.com/team/api). If initializing on Android, `android_package_name` must be specified instead and `redirect_uri` should be left blank.
* @return redirectUri
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A URI indicating the destination where a user should be forwarded after completing the Link flow; used to support OAuth authentication flows when launching Link in the browser or another app. The `redirect_uri` should not contain any query parameters. When used in Production, must be an https URI. To specify any subdomain, use `*` as a wildcard character, e.g. `https://_*.example.com/oauth.html`. Note that any redirect URI must also be added to the Allowed redirect URIs list in the [developer dashboard](https://dashboard.plaid.com/team/api). If initializing on Android, `android_package_name` must be specified instead and `redirect_uri` should be left blank.")
public String getRedirectUri() {
return redirectUri;
}
public void setRedirectUri(String redirectUri) {
this.redirectUri = redirectUri;
}
public SessionTokenCreateRequest androidPackageName(String androidPackageName) {
this.androidPackageName = androidPackageName;
return this;
}
/**
* The name of your app's Android package. Required if using the session token to initialize Layer on Android. Any package name specified here must also be added to the Allowed Android package names setting on the [developer dashboard](https://dashboard.plaid.com/team/api). When creating a session token for initializing Layer on other platforms, `android_package_name` must be left blank and `redirect_uri` should be used instead.
* @return androidPackageName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The name of your app's Android package. Required if using the session token to initialize Layer on Android. Any package name specified here must also be added to the Allowed Android package names setting on the [developer dashboard](https://dashboard.plaid.com/team/api). When creating a session token for initializing Layer on other platforms, `android_package_name` must be left blank and `redirect_uri` should be used instead.")
public String getAndroidPackageName() {
return androidPackageName;
}
public void setAndroidPackageName(String androidPackageName) {
this.androidPackageName = androidPackageName;
}
public SessionTokenCreateRequest webhook(String webhook) {
this.webhook = webhook;
return this;
}
/**
* The destination URL to which any webhooks should be sent. If you use the same webhook listener for all Sandbox or all Production activity, set this value in the Layer template editor in the Dashboard instead. Only provide a value in this field if you need to use multiple webhook URLs per environment (an uncommon use case). If provided, a value in this field will take priority over webhook values set in the Layer template editor.
* @return webhook
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The destination URL to which any webhooks should be sent. If you use the same webhook listener for all Sandbox or all Production activity, set this value in the Layer template editor in the Dashboard instead. Only provide a value in this field if you need to use multiple webhook URLs per environment (an uncommon use case). If provided, a value in this field will take priority over webhook values set in the Layer template editor.")
public String getWebhook() {
return webhook;
}
public void setWebhook(String webhook) {
this.webhook = webhook;
}
public SessionTokenCreateRequest userId(String userId) {
this.userId = userId;
return this;
}
/**
* A unique user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [new user APIs](https://plaid.com/docs/api/users/user-apis).
* @return userId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A unique user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [new user APIs](https://plaid.com/docs/api/users/user-apis).")
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SessionTokenCreateRequest sessionTokenCreateRequest = (SessionTokenCreateRequest) o;
return Objects.equals(this.clientId, sessionTokenCreateRequest.clientId) &&
Objects.equals(this.secret, sessionTokenCreateRequest.secret) &&
Objects.equals(this.templateId, sessionTokenCreateRequest.templateId) &&
Objects.equals(this.user, sessionTokenCreateRequest.user) &&
Objects.equals(this.redirectUri, sessionTokenCreateRequest.redirectUri) &&
Objects.equals(this.androidPackageName, sessionTokenCreateRequest.androidPackageName) &&
Objects.equals(this.webhook, sessionTokenCreateRequest.webhook) &&
Objects.equals(this.userId, sessionTokenCreateRequest.userId);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, templateId, user, redirectUri, androidPackageName, webhook, userId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SessionTokenCreateRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n");
sb.append(" user: ").append(toIndentedString(user)).append("\n");
sb.append(" redirectUri: ").append(toIndentedString(redirectUri)).append("\n");
sb.append(" androidPackageName: ").append(toIndentedString(androidPackageName)).append("\n");
sb.append(" webhook: ").append(toIndentedString(webhook)).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/CraUserCheckReportFailedWebhook.java | src/main/java/com/plaid/client/model/CraUserCheckReportFailedWebhook.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.WebhookEnvironmentValues;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Fired when a Check Report has failed to generate
*/
@ApiModel(description = "Fired when a Check Report has failed to generate")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraUserCheckReportFailedWebhook {
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_ENVIRONMENT = "environment";
@SerializedName(SERIALIZED_NAME_ENVIRONMENT)
private WebhookEnvironmentValues environment;
public CraUserCheckReportFailedWebhook 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 CraUserCheckReportFailedWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `USER_CHECK_REPORT_FAILED`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`USER_CHECK_REPORT_FAILED`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public CraUserCheckReportFailedWebhook userId(String userId) {
this.userId = userId;
return this;
}
/**
* The `user_id` associated with the user whose data is being requested. This is received by calling user/create.
* @return userId
**/
@ApiModelProperty(required = true, value = "The `user_id` associated with the user whose data is being requested. This is received by calling user/create.")
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public CraUserCheckReportFailedWebhook 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;
}
CraUserCheckReportFailedWebhook craUserCheckReportFailedWebhook = (CraUserCheckReportFailedWebhook) o;
return Objects.equals(this.webhookType, craUserCheckReportFailedWebhook.webhookType) &&
Objects.equals(this.webhookCode, craUserCheckReportFailedWebhook.webhookCode) &&
Objects.equals(this.userId, craUserCheckReportFailedWebhook.userId) &&
Objects.equals(this.environment, craUserCheckReportFailedWebhook.environment);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, userId, environment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraUserCheckReportFailedWebhook {\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(" 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/PrismExtendVersion.java | src/main/java/com/plaid/client/model/PrismExtendVersion.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* The version of Prism Extend
*/
@JsonAdapter(PrismExtendVersion.Adapter.class)
public enum PrismExtendVersion {
_4("4"),
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;
PrismExtendVersion(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static PrismExtendVersion fromValue(String value) {
for (PrismExtendVersion b : PrismExtendVersion.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null; }
public static class Adapter extends TypeAdapter<PrismExtendVersion> {
@Override
public void write(final JsonWriter jsonWriter, final PrismExtendVersion enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public PrismExtendVersion read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return PrismExtendVersion.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/CraPartnerInsightsGetRequest.java | src/main/java/com/plaid/client/model/CraPartnerInsightsGetRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* CraPartnerInsightsGetRequest defines the request schema for `/cra/partner_insights/get`.
*/
@ApiModel(description = "CraPartnerInsightsGetRequest defines the request schema for `/cra/partner_insights/get`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraPartnerInsightsGetRequest {
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 CraPartnerInsightsGetRequest 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 CraPartnerInsightsGetRequest 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 CraPartnerInsightsGetRequest userToken(String userToken) {
this.userToken = userToken;
return this;
}
/**
* The user token associated with the User data is being requested for. This field is used only by customers with pre-existing integrations that already use the `user_token` field. All other customers should use the `user_id` instead. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis).
* @return userToken
**/
@ApiModelProperty(required = true, value = "The user token associated with the User data is being requested for. This field is used only by customers with pre-existing integrations that already use the `user_token` field. All other customers should use the `user_id` instead. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis).")
public String getUserToken() {
return userToken;
}
public void setUserToken(String userToken) {
this.userToken = userToken;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CraPartnerInsightsGetRequest craPartnerInsightsGetRequest = (CraPartnerInsightsGetRequest) o;
return Objects.equals(this.clientId, craPartnerInsightsGetRequest.clientId) &&
Objects.equals(this.secret, craPartnerInsightsGetRequest.secret) &&
Objects.equals(this.userToken, craPartnerInsightsGetRequest.userToken);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, userToken);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraPartnerInsightsGetRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" userToken: ").append(toIndentedString(userToken)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/PaymentProfileRemoveRequest.java | src/main/java/com/plaid/client/model/PaymentProfileRemoveRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* PaymentProfileRemoveRequest defines the request schema for `/payment_profile/remove`
*/
@ApiModel(description = "PaymentProfileRemoveRequest defines the request 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 PaymentProfileRemoveRequest {
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_PROFILE_TOKEN = "payment_profile_token";
@SerializedName(SERIALIZED_NAME_PAYMENT_PROFILE_TOKEN)
private String paymentProfileToken;
public PaymentProfileRemoveRequest 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 PaymentProfileRemoveRequest 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 PaymentProfileRemoveRequest paymentProfileToken(String paymentProfileToken) {
this.paymentProfileToken = paymentProfileToken;
return this;
}
/**
* A payment profile token associated with the Payment Profile data that is being requested.
* @return paymentProfileToken
**/
@ApiModelProperty(required = true, value = "A payment profile token associated with the Payment Profile data that is being requested.")
public String getPaymentProfileToken() {
return paymentProfileToken;
}
public void setPaymentProfileToken(String paymentProfileToken) {
this.paymentProfileToken = paymentProfileToken;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PaymentProfileRemoveRequest paymentProfileRemoveRequest = (PaymentProfileRemoveRequest) o;
return Objects.equals(this.clientId, paymentProfileRemoveRequest.clientId) &&
Objects.equals(this.secret, paymentProfileRemoveRequest.secret) &&
Objects.equals(this.paymentProfileToken, paymentProfileRemoveRequest.paymentProfileToken);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, paymentProfileToken);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaymentProfileRemoveRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" paymentProfileToken: ").append(toIndentedString(paymentProfileToken)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BaseReportInvestmentSecurity.java | src/main/java/com/plaid/client/model/BaseReportInvestmentSecurity.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* Investment security associated with the account.
*/
@ApiModel(description = "Investment security associated with the account.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BaseReportInvestmentSecurity {
public static final String SERIALIZED_NAME_SECURITY_ID = "security_id";
@SerializedName(SERIALIZED_NAME_SECURITY_ID)
private String securityId;
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public static final String SERIALIZED_NAME_ISIN = "isin";
@SerializedName(SERIALIZED_NAME_ISIN)
private String isin;
public static final String SERIALIZED_NAME_CUSIP = "cusip";
@SerializedName(SERIALIZED_NAME_CUSIP)
private String cusip;
public static final String SERIALIZED_NAME_INSTITUTION_SECURITY_ID = "institution_security_id";
@SerializedName(SERIALIZED_NAME_INSTITUTION_SECURITY_ID)
private String institutionSecurityId;
public static final String SERIALIZED_NAME_INSTITUTION_ID = "institution_id";
@SerializedName(SERIALIZED_NAME_INSTITUTION_ID)
private String institutionId;
public static final String SERIALIZED_NAME_TICKER_SYMBOL = "ticker_symbol";
@SerializedName(SERIALIZED_NAME_TICKER_SYMBOL)
private String tickerSymbol;
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private String type;
public BaseReportInvestmentSecurity securityId(String securityId) {
this.securityId = securityId;
return this;
}
/**
* A unique, Plaid-specific identifier for the security, used to associate securities with holdings. Like all Plaid identifiers, the `security_id` is case sensitive. The `security_id` 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 = "A unique, Plaid-specific identifier for the security, used to associate securities with holdings. Like all Plaid identifiers, the `security_id` is case sensitive. The `security_id` 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 BaseReportInvestmentSecurity name(String name) {
this.name = name;
return this;
}
/**
* A descriptive name for the security, suitable for display.
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "A descriptive name for the security, suitable for display.")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public BaseReportInvestmentSecurity isin(String isin) {
this.isin = isin;
return this;
}
/**
* 12-character ISIN, a globally unique securities identifier. A verified CUSIP Global Services license is required to receive this data. This field will be null by default for new customers, and null for existing customers starting March 12, 2024. If you would like access to this field, please start the verification process [here](https://docs.google.com/forms/d/e/1FAIpQLSd9asHEYEfmf8fxJTHZTAfAzW4dugsnSu-HS2J51f1mxwd6Sw/viewform).
* @return isin
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "12-character ISIN, a globally unique securities identifier. A verified CUSIP Global Services license is required to receive this data. This field will be null by default for new customers, and null for existing customers starting March 12, 2024. If you would like access to this field, please start the verification process [here](https://docs.google.com/forms/d/e/1FAIpQLSd9asHEYEfmf8fxJTHZTAfAzW4dugsnSu-HS2J51f1mxwd6Sw/viewform).")
public String getIsin() {
return isin;
}
public void setIsin(String isin) {
this.isin = isin;
}
public BaseReportInvestmentSecurity cusip(String cusip) {
this.cusip = cusip;
return this;
}
/**
* 9-character CUSIP, an identifier assigned to North American securities. A verified CUSIP Global Services license is required to receive this data. This field will be null by default for new customers, and null for existing customers starting March 12, 2024. If you would like access to this field, please start the verification process [here](https://docs.google.com/forms/d/e/1FAIpQLSd9asHEYEfmf8fxJTHZTAfAzW4dugsnSu-HS2J51f1mxwd6Sw/viewform).
* @return cusip
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "9-character CUSIP, an identifier assigned to North American securities. A verified CUSIP Global Services license is required to receive this data. This field will be null by default for new customers, and null for existing customers starting March 12, 2024. If you would like access to this field, please start the verification process [here](https://docs.google.com/forms/d/e/1FAIpQLSd9asHEYEfmf8fxJTHZTAfAzW4dugsnSu-HS2J51f1mxwd6Sw/viewform).")
public String getCusip() {
return cusip;
}
public void setCusip(String cusip) {
this.cusip = cusip;
}
public BaseReportInvestmentSecurity institutionSecurityId(String institutionSecurityId) {
this.institutionSecurityId = institutionSecurityId;
return this;
}
/**
* An identifier given to the security by the institution.
* @return institutionSecurityId
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "An identifier given to the security by the institution.")
public String getInstitutionSecurityId() {
return institutionSecurityId;
}
public void setInstitutionSecurityId(String institutionSecurityId) {
this.institutionSecurityId = institutionSecurityId;
}
public BaseReportInvestmentSecurity institutionId(String institutionId) {
this.institutionId = institutionId;
return this;
}
/**
* If `institution_security_id` is present, this field indicates the Plaid `institution_id` of the institution to whom the identifier belongs.
* @return institutionId
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "If `institution_security_id` is present, this field indicates the Plaid `institution_id` of the institution to whom the identifier belongs.")
public String getInstitutionId() {
return institutionId;
}
public void setInstitutionId(String institutionId) {
this.institutionId = institutionId;
}
public BaseReportInvestmentSecurity tickerSymbol(String tickerSymbol) {
this.tickerSymbol = tickerSymbol;
return this;
}
/**
* The security’s trading symbol for publicly traded securities, and otherwise a short identifier if available.
* @return tickerSymbol
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The security’s trading symbol for publicly traded securities, and otherwise a short identifier if available.")
public String getTickerSymbol() {
return tickerSymbol;
}
public void setTickerSymbol(String tickerSymbol) {
this.tickerSymbol = tickerSymbol;
}
public BaseReportInvestmentSecurity type(String type) {
this.type = type;
return this;
}
/**
* The security type of the holding. Valid security types are: `cash`: Cash, currency, and money market funds `cryptocurrency`: Digital or virtual currencies `derivative`: Options, warrants, and other derivative instruments `equity`: Domestic and foreign equities `etf`: Multi-asset exchange-traded investment funds `fixed income`: Bonds and certificates of deposit (CDs) `loan`: Loans and loan receivables `mutual fund`: Open- and closed-end vehicles pooling funds of multiple investors `other`: Unknown or other investment types
* @return type
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The security type of the holding. Valid security types are: `cash`: Cash, currency, and money market funds `cryptocurrency`: Digital or virtual currencies `derivative`: Options, warrants, and other derivative instruments `equity`: Domestic and foreign equities `etf`: Multi-asset exchange-traded investment funds `fixed income`: Bonds and certificates of deposit (CDs) `loan`: Loans and loan receivables `mutual fund`: Open- and closed-end vehicles pooling funds of multiple investors `other`: Unknown or other investment types")
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BaseReportInvestmentSecurity baseReportInvestmentSecurity = (BaseReportInvestmentSecurity) o;
return Objects.equals(this.securityId, baseReportInvestmentSecurity.securityId) &&
Objects.equals(this.name, baseReportInvestmentSecurity.name) &&
Objects.equals(this.isin, baseReportInvestmentSecurity.isin) &&
Objects.equals(this.cusip, baseReportInvestmentSecurity.cusip) &&
Objects.equals(this.institutionSecurityId, baseReportInvestmentSecurity.institutionSecurityId) &&
Objects.equals(this.institutionId, baseReportInvestmentSecurity.institutionId) &&
Objects.equals(this.tickerSymbol, baseReportInvestmentSecurity.tickerSymbol) &&
Objects.equals(this.type, baseReportInvestmentSecurity.type);
}
@Override
public int hashCode() {
return Objects.hash(securityId, name, isin, cusip, institutionSecurityId, institutionId, tickerSymbol, type);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BaseReportInvestmentSecurity {\n");
sb.append(" securityId: ").append(toIndentedString(securityId)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" isin: ").append(toIndentedString(isin)).append("\n");
sb.append(" cusip: ").append(toIndentedString(cusip)).append("\n");
sb.append(" institutionSecurityId: ").append(toIndentedString(institutionSecurityId)).append("\n");
sb.append(" institutionId: ").append(toIndentedString(institutionId)).append("\n");
sb.append(" tickerSymbol: ").append(toIndentedString(tickerSymbol)).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/SandboxPublicTokenCreateRequest.java | src/main/java/com/plaid/client/model/SandboxPublicTokenCreateRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.Products;
import com.plaid.client.model.SandboxPublicTokenCreateRequestOptions;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* SandboxPublicTokenCreateRequest defines the request schema for `/sandbox/public_token/create`
*/
@ApiModel(description = "SandboxPublicTokenCreateRequest defines the request schema for `/sandbox/public_token/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SandboxPublicTokenCreateRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_INSTITUTION_ID = "institution_id";
@SerializedName(SERIALIZED_NAME_INSTITUTION_ID)
private String institutionId;
public static final String SERIALIZED_NAME_INITIAL_PRODUCTS = "initial_products";
@SerializedName(SERIALIZED_NAME_INITIAL_PRODUCTS)
private List<Products> initialProducts = new ArrayList<>();
public static final String SERIALIZED_NAME_OPTIONS = "options";
@SerializedName(SERIALIZED_NAME_OPTIONS)
private SandboxPublicTokenCreateRequestOptions options;
public static final String SERIALIZED_NAME_USER_TOKEN = "user_token";
@SerializedName(SERIALIZED_NAME_USER_TOKEN)
private String userToken;
public static final String SERIALIZED_NAME_USER_ID = "user_id";
@SerializedName(SERIALIZED_NAME_USER_ID)
private String userId;
public SandboxPublicTokenCreateRequest 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 SandboxPublicTokenCreateRequest 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 SandboxPublicTokenCreateRequest institutionId(String institutionId) {
this.institutionId = institutionId;
return this;
}
/**
* The ID of the institution the Item will be associated with
* @return institutionId
**/
@ApiModelProperty(required = true, value = "The ID of the institution the Item will be associated with")
public String getInstitutionId() {
return institutionId;
}
public void setInstitutionId(String institutionId) {
this.institutionId = institutionId;
}
public SandboxPublicTokenCreateRequest initialProducts(List<Products> initialProducts) {
this.initialProducts = initialProducts;
return this;
}
public SandboxPublicTokenCreateRequest addInitialProductsItem(Products initialProductsItem) {
this.initialProducts.add(initialProductsItem);
return this;
}
/**
* The products to initially pull for the Item. May be any products that the specified `institution_id` supports. This array may not be empty.
* @return initialProducts
**/
@ApiModelProperty(required = true, value = "The products to initially pull for the Item. May be any products that the specified `institution_id` supports. This array may not be empty.")
public List<Products> getInitialProducts() {
return initialProducts;
}
public void setInitialProducts(List<Products> initialProducts) {
this.initialProducts = initialProducts;
}
public SandboxPublicTokenCreateRequest options(SandboxPublicTokenCreateRequestOptions options) {
this.options = options;
return this;
}
/**
* Get options
* @return options
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public SandboxPublicTokenCreateRequestOptions getOptions() {
return options;
}
public void setOptions(SandboxPublicTokenCreateRequestOptions options) {
this.options = options;
}
public SandboxPublicTokenCreateRequest userToken(String userToken) {
this.userToken = userToken;
return this;
}
/**
* The user token associated with the User data is being requested for. This field is used only by customers with pre-existing integrations that already use the `user_token` field. All other customers should use the `user_id` instead. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis).
* @return userToken
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The user token associated with the User data is being requested for. This field is used only by customers with pre-existing integrations that already use the `user_token` field. All other customers should use the `user_id` instead. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis).")
public String getUserToken() {
return userToken;
}
public void setUserToken(String userToken) {
this.userToken = userToken;
}
public SandboxPublicTokenCreateRequest userId(String userId) {
this.userId = userId;
return this;
}
/**
* A unique user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [new user APIs](https://plaid.com/docs/api/users/user-apis).
* @return userId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A unique user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [new user APIs](https://plaid.com/docs/api/users/user-apis).")
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SandboxPublicTokenCreateRequest sandboxPublicTokenCreateRequest = (SandboxPublicTokenCreateRequest) o;
return Objects.equals(this.clientId, sandboxPublicTokenCreateRequest.clientId) &&
Objects.equals(this.secret, sandboxPublicTokenCreateRequest.secret) &&
Objects.equals(this.institutionId, sandboxPublicTokenCreateRequest.institutionId) &&
Objects.equals(this.initialProducts, sandboxPublicTokenCreateRequest.initialProducts) &&
Objects.equals(this.options, sandboxPublicTokenCreateRequest.options) &&
Objects.equals(this.userToken, sandboxPublicTokenCreateRequest.userToken) &&
Objects.equals(this.userId, sandboxPublicTokenCreateRequest.userId);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, institutionId, initialProducts, options, userToken, userId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SandboxPublicTokenCreateRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" institutionId: ").append(toIndentedString(institutionId)).append("\n");
sb.append(" initialProducts: ").append(toIndentedString(initialProducts)).append("\n");
sb.append(" options: ").append(toIndentedString(options)).append("\n");
sb.append(" userToken: ").append(toIndentedString(userToken)).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/LinkTokenCreateRequestTransfer.java | src/main/java/com/plaid/client/model/LinkTokenCreateRequestTransfer.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Specifies options for initializing Link for use with the Transfer product.
*/
@ApiModel(description = "Specifies options for initializing Link for use with the Transfer product.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkTokenCreateRequestTransfer {
public static final String SERIALIZED_NAME_INTENT_ID = "intent_id";
@SerializedName(SERIALIZED_NAME_INTENT_ID)
private String intentId;
public static final String SERIALIZED_NAME_AUTHORIZATION_ID = "authorization_id";
@SerializedName(SERIALIZED_NAME_AUTHORIZATION_ID)
private String authorizationId;
public static final String SERIALIZED_NAME_PAYMENT_PROFILE_TOKEN = "payment_profile_token";
@SerializedName(SERIALIZED_NAME_PAYMENT_PROFILE_TOKEN)
private String paymentProfileToken;
public LinkTokenCreateRequestTransfer intentId(String intentId) {
this.intentId = intentId;
return this;
}
/**
* The `id` returned by the `/transfer/intent/create` endpoint.
* @return intentId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The `id` returned by the `/transfer/intent/create` endpoint.")
public String getIntentId() {
return intentId;
}
public void setIntentId(String intentId) {
this.intentId = intentId;
}
public LinkTokenCreateRequestTransfer authorizationId(String authorizationId) {
this.authorizationId = authorizationId;
return this;
}
/**
* The `id` returned by the `/transfer/authorization/create` endpoint. Used to indicate Link session to complete required user action in order to make a decision for the authorization. If set, `access_token` can be omitted.
* @return authorizationId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The `id` returned by the `/transfer/authorization/create` endpoint. Used to indicate Link session to complete required user action in order to make a decision for the authorization. If set, `access_token` can be omitted.")
public String getAuthorizationId() {
return authorizationId;
}
public void setAuthorizationId(String authorizationId) {
this.authorizationId = authorizationId;
}
public LinkTokenCreateRequestTransfer paymentProfileToken(String paymentProfileToken) {
this.paymentProfileToken = paymentProfileToken;
return this;
}
/**
* The `payment_profile_token` returned by the `/payment_profile/create` endpoint.
* @return paymentProfileToken
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The `payment_profile_token` returned by the `/payment_profile/create` endpoint.")
public String getPaymentProfileToken() {
return paymentProfileToken;
}
public void setPaymentProfileToken(String paymentProfileToken) {
this.paymentProfileToken = paymentProfileToken;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkTokenCreateRequestTransfer linkTokenCreateRequestTransfer = (LinkTokenCreateRequestTransfer) o;
return Objects.equals(this.intentId, linkTokenCreateRequestTransfer.intentId) &&
Objects.equals(this.authorizationId, linkTokenCreateRequestTransfer.authorizationId) &&
Objects.equals(this.paymentProfileToken, linkTokenCreateRequestTransfer.paymentProfileToken);
}
@Override
public int hashCode() {
return Objects.hash(intentId, authorizationId, paymentProfileToken);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkTokenCreateRequestTransfer {\n");
sb.append(" intentId: ").append(toIndentedString(intentId)).append("\n");
sb.append(" authorizationId: ").append(toIndentedString(authorizationId)).append("\n");
sb.append(" paymentProfileToken: ").append(toIndentedString(paymentProfileToken)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/PaymentInitiationConsent.java | src/main/java/com/plaid/client/model/PaymentInitiationConsent.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.ExternalPaymentRefundDetails;
import com.plaid.client.model.PaymentInitiationConsentConstraints;
import com.plaid.client.model.PaymentInitiationConsentScope;
import com.plaid.client.model.PaymentInitiationConsentStatus;
import com.plaid.client.model.PaymentInitiationConsentType;
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;
/**
* PaymentInitiationConsent defines a payment initiation consent.
*/
@ApiModel(description = "PaymentInitiationConsent defines a payment initiation consent.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PaymentInitiationConsent {
public static final String SERIALIZED_NAME_CONSENT_ID = "consent_id";
@SerializedName(SERIALIZED_NAME_CONSENT_ID)
private String consentId;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private PaymentInitiationConsentStatus status;
public static final String SERIALIZED_NAME_CREATED_AT = "created_at";
@SerializedName(SERIALIZED_NAME_CREATED_AT)
private OffsetDateTime createdAt;
public static final String SERIALIZED_NAME_RECIPIENT_ID = "recipient_id";
@SerializedName(SERIALIZED_NAME_RECIPIENT_ID)
private String recipientId;
public static final String SERIALIZED_NAME_REFERENCE = "reference";
@SerializedName(SERIALIZED_NAME_REFERENCE)
private String reference;
public static final String SERIALIZED_NAME_CONSTRAINTS = "constraints";
@SerializedName(SERIALIZED_NAME_CONSTRAINTS)
private PaymentInitiationConsentConstraints constraints;
public static final String SERIALIZED_NAME_SCOPES = "scopes";
@SerializedName(SERIALIZED_NAME_SCOPES)
private List<PaymentInitiationConsentScope> scopes = null;
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private PaymentInitiationConsentType type;
public static final String SERIALIZED_NAME_PAYER_DETAILS = "payer_details";
@SerializedName(SERIALIZED_NAME_PAYER_DETAILS)
private ExternalPaymentRefundDetails payerDetails;
public PaymentInitiationConsent 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 PaymentInitiationConsent status(PaymentInitiationConsentStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@ApiModelProperty(required = true, value = "")
public PaymentInitiationConsentStatus getStatus() {
return status;
}
public void setStatus(PaymentInitiationConsentStatus status) {
this.status = status;
}
public PaymentInitiationConsent createdAt(OffsetDateTime createdAt) {
this.createdAt = createdAt;
return this;
}
/**
* Consent creation timestamp, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
* @return createdAt
**/
@ApiModelProperty(required = true, value = "Consent creation timestamp, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.")
public OffsetDateTime getCreatedAt() {
return createdAt;
}
public void setCreatedAt(OffsetDateTime createdAt) {
this.createdAt = createdAt;
}
public PaymentInitiationConsent recipientId(String recipientId) {
this.recipientId = recipientId;
return this;
}
/**
* The ID of the recipient the payment consent is for.
* @return recipientId
**/
@ApiModelProperty(required = true, value = "The ID of the recipient the payment consent is for.")
public String getRecipientId() {
return recipientId;
}
public void setRecipientId(String recipientId) {
this.recipientId = recipientId;
}
public PaymentInitiationConsent reference(String reference) {
this.reference = reference;
return this;
}
/**
* A reference for the payment consent.
* @return reference
**/
@ApiModelProperty(required = true, value = "A reference for the payment consent.")
public String getReference() {
return reference;
}
public void setReference(String reference) {
this.reference = reference;
}
public PaymentInitiationConsent constraints(PaymentInitiationConsentConstraints constraints) {
this.constraints = constraints;
return this;
}
/**
* Get constraints
* @return constraints
**/
@ApiModelProperty(required = true, value = "")
public PaymentInitiationConsentConstraints getConstraints() {
return constraints;
}
public void setConstraints(PaymentInitiationConsentConstraints constraints) {
this.constraints = constraints;
}
public PaymentInitiationConsent scopes(List<PaymentInitiationConsentScope> scopes) {
this.scopes = scopes;
return this;
}
public PaymentInitiationConsent addScopesItem(PaymentInitiationConsentScope scopesItem) {
if (this.scopes == null) {
this.scopes = new ArrayList<>();
}
this.scopes.add(scopesItem);
return this;
}
/**
* Deprecated, use the 'type' field instead.
* @return scopes
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Deprecated, use the 'type' field instead.")
public List<PaymentInitiationConsentScope> getScopes() {
return scopes;
}
public void setScopes(List<PaymentInitiationConsentScope> scopes) {
this.scopes = scopes;
}
public PaymentInitiationConsent type(PaymentInitiationConsentType type) {
this.type = type;
return this;
}
/**
* Get type
* @return type
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PaymentInitiationConsentType getType() {
return type;
}
public void setType(PaymentInitiationConsentType type) {
this.type = type;
}
public PaymentInitiationConsent payerDetails(ExternalPaymentRefundDetails payerDetails) {
this.payerDetails = payerDetails;
return this;
}
/**
* Get payerDetails
* @return payerDetails
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ExternalPaymentRefundDetails getPayerDetails() {
return payerDetails;
}
public void setPayerDetails(ExternalPaymentRefundDetails payerDetails) {
this.payerDetails = payerDetails;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PaymentInitiationConsent paymentInitiationConsent = (PaymentInitiationConsent) o;
return Objects.equals(this.consentId, paymentInitiationConsent.consentId) &&
Objects.equals(this.status, paymentInitiationConsent.status) &&
Objects.equals(this.createdAt, paymentInitiationConsent.createdAt) &&
Objects.equals(this.recipientId, paymentInitiationConsent.recipientId) &&
Objects.equals(this.reference, paymentInitiationConsent.reference) &&
Objects.equals(this.constraints, paymentInitiationConsent.constraints) &&
Objects.equals(this.scopes, paymentInitiationConsent.scopes) &&
Objects.equals(this.type, paymentInitiationConsent.type) &&
Objects.equals(this.payerDetails, paymentInitiationConsent.payerDetails);
}
@Override
public int hashCode() {
return Objects.hash(consentId, status, createdAt, recipientId, reference, constraints, scopes, type, payerDetails);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaymentInitiationConsent {\n");
sb.append(" consentId: ").append(toIndentedString(consentId)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" recipientId: ").append(toIndentedString(recipientId)).append("\n");
sb.append(" reference: ").append(toIndentedString(reference)).append("\n");
sb.append(" constraints: ").append(toIndentedString(constraints)).append("\n");
sb.append(" scopes: ").append(toIndentedString(scopes)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" payerDetails: ").append(toIndentedString(payerDetails)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransferRecurringGetResponse.java | src/main/java/com/plaid/client/model/TransferRecurringGetResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.RecurringTransfer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines the response schema for `/transfer/recurring/get`
*/
@ApiModel(description = "Defines the response schema for `/transfer/recurring/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferRecurringGetResponse {
public static final String SERIALIZED_NAME_RECURRING_TRANSFER = "recurring_transfer";
@SerializedName(SERIALIZED_NAME_RECURRING_TRANSFER)
private RecurringTransfer recurringTransfer;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public TransferRecurringGetResponse recurringTransfer(RecurringTransfer recurringTransfer) {
this.recurringTransfer = recurringTransfer;
return this;
}
/**
* Get recurringTransfer
* @return recurringTransfer
**/
@ApiModelProperty(required = true, value = "")
public RecurringTransfer getRecurringTransfer() {
return recurringTransfer;
}
public void setRecurringTransfer(RecurringTransfer recurringTransfer) {
this.recurringTransfer = recurringTransfer;
}
public TransferRecurringGetResponse 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;
}
TransferRecurringGetResponse transferRecurringGetResponse = (TransferRecurringGetResponse) o;
return Objects.equals(this.recurringTransfer, transferRecurringGetResponse.recurringTransfer) &&
Objects.equals(this.requestId, transferRecurringGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(recurringTransfer, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferRecurringGetResponse {\n");
sb.append(" recurringTransfer: ").append(toIndentedString(recurringTransfer)).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/WalletGetRequest.java | src/main/java/com/plaid/client/model/WalletGetRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* WalletGetRequest defines the request schema for `/wallet/get`
*/
@ApiModel(description = "WalletGetRequest defines the request schema for `/wallet/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class WalletGetRequest {
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_WALLET_ID = "wallet_id";
@SerializedName(SERIALIZED_NAME_WALLET_ID)
private String walletId;
public WalletGetRequest 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 WalletGetRequest 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 WalletGetRequest walletId(String walletId) {
this.walletId = walletId;
return this;
}
/**
* The ID of the e-wallet
* @return walletId
**/
@ApiModelProperty(required = true, value = "The ID of the e-wallet")
public String getWalletId() {
return walletId;
}
public void setWalletId(String walletId) {
this.walletId = walletId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
WalletGetRequest walletGetRequest = (WalletGetRequest) o;
return Objects.equals(this.clientId, walletGetRequest.clientId) &&
Objects.equals(this.secret, walletGetRequest.secret) &&
Objects.equals(this.walletId, walletGetRequest.walletId);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, walletId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class WalletGetRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" walletId: ").append(toIndentedString(walletId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/LinkDeliveryAccount.java | src/main/java/com/plaid/client/model/LinkDeliveryAccount.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.LinkDeliveryVerificationStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Information related to account attached to the connected Item
*/
@ApiModel(description = "Information related to 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 LinkDeliveryAccount {
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 LinkDeliveryVerificationStatus verificationStatus;
public static final String SERIALIZED_NAME_CLASS_TYPE = "class_type";
@SerializedName(SERIALIZED_NAME_CLASS_TYPE)
private String classType;
public LinkDeliveryAccount 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 LinkDeliveryAccount 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 LinkDeliveryAccount 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 LinkDeliveryAccount 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 LinkDeliveryAccount 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 LinkDeliveryAccount verificationStatus(LinkDeliveryVerificationStatus verificationStatus) {
this.verificationStatus = verificationStatus;
return this;
}
/**
* Get verificationStatus
* @return verificationStatus
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public LinkDeliveryVerificationStatus getVerificationStatus() {
return verificationStatus;
}
public void setVerificationStatus(LinkDeliveryVerificationStatus verificationStatus) {
this.verificationStatus = verificationStatus;
}
public LinkDeliveryAccount classType(String classType) {
this.classType = classType;
return this;
}
/**
* If micro-deposit verification is being used, indicates whether the account being verified is a `business` or `personal` account.
* @return classType
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "If micro-deposit verification is being used, indicates whether the account being verified is a `business` or `personal` account.")
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;
}
LinkDeliveryAccount linkDeliveryAccount = (LinkDeliveryAccount) o;
return Objects.equals(this.id, linkDeliveryAccount.id) &&
Objects.equals(this.name, linkDeliveryAccount.name) &&
Objects.equals(this.mask, linkDeliveryAccount.mask) &&
Objects.equals(this.type, linkDeliveryAccount.type) &&
Objects.equals(this.subtype, linkDeliveryAccount.subtype) &&
Objects.equals(this.verificationStatus, linkDeliveryAccount.verificationStatus) &&
Objects.equals(this.classType, linkDeliveryAccount.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 LinkDeliveryAccount {\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/TransactionBase.java | src/main/java/com/plaid/client/model/TransactionBase.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.Location;
import com.plaid.client.model.PaymentMeta;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
/**
* A representation of a transaction
*/
@ApiModel(description = "A representation of a transaction")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransactionBase {
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
private String accountId;
public static final String SERIALIZED_NAME_AMOUNT = "amount";
@SerializedName(SERIALIZED_NAME_AMOUNT)
private Double amount;
public static final String SERIALIZED_NAME_ISO_CURRENCY_CODE = "iso_currency_code";
@SerializedName(SERIALIZED_NAME_ISO_CURRENCY_CODE)
private String isoCurrencyCode;
public static final String SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE = "unofficial_currency_code";
@SerializedName(SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE)
private String unofficialCurrencyCode;
public static final String SERIALIZED_NAME_CATEGORY = "category";
@SerializedName(SERIALIZED_NAME_CATEGORY)
private List<String> category = null;
public static final String SERIALIZED_NAME_CATEGORY_ID = "category_id";
@SerializedName(SERIALIZED_NAME_CATEGORY_ID)
private String categoryId;
public static final String SERIALIZED_NAME_CHECK_NUMBER = "check_number";
@SerializedName(SERIALIZED_NAME_CHECK_NUMBER)
private String checkNumber;
public static final String SERIALIZED_NAME_DATE = "date";
@SerializedName(SERIALIZED_NAME_DATE)
private LocalDate date;
public static final String SERIALIZED_NAME_LOCATION = "location";
@SerializedName(SERIALIZED_NAME_LOCATION)
private Location location;
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public static final String SERIALIZED_NAME_MERCHANT_NAME = "merchant_name";
@SerializedName(SERIALIZED_NAME_MERCHANT_NAME)
private String merchantName;
public static final String SERIALIZED_NAME_ORIGINAL_DESCRIPTION = "original_description";
@SerializedName(SERIALIZED_NAME_ORIGINAL_DESCRIPTION)
private String originalDescription;
public static final String SERIALIZED_NAME_PAYMENT_META = "payment_meta";
@SerializedName(SERIALIZED_NAME_PAYMENT_META)
private PaymentMeta paymentMeta;
public static final String SERIALIZED_NAME_PENDING = "pending";
@SerializedName(SERIALIZED_NAME_PENDING)
private Boolean pending;
public static final String SERIALIZED_NAME_PENDING_TRANSACTION_ID = "pending_transaction_id";
@SerializedName(SERIALIZED_NAME_PENDING_TRANSACTION_ID)
private String pendingTransactionId;
public static final String SERIALIZED_NAME_ACCOUNT_OWNER = "account_owner";
@SerializedName(SERIALIZED_NAME_ACCOUNT_OWNER)
private String accountOwner;
public static final String SERIALIZED_NAME_TRANSACTION_ID = "transaction_id";
@SerializedName(SERIALIZED_NAME_TRANSACTION_ID)
private String transactionId;
/**
* Please use the `payment_channel` field, `transaction_type` will be deprecated in the future. `digital:` transactions that took place online. `place:` transactions that were made at a physical location. `special:` transactions that relate to banks, e.g. fees or deposits. `unresolved:` transactions that do not fit into the other three types.
*/
@JsonAdapter(TransactionTypeEnum.Adapter.class)
public enum TransactionTypeEnum {
DIGITAL("digital"),
PLACE("place"),
SPECIAL("special"),
UNRESOLVED("unresolved");
private String value;
TransactionTypeEnum(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static TransactionTypeEnum fromValue(String value) {
for (TransactionTypeEnum b : TransactionTypeEnum.values()) {
if (b.value.equals(value)) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
}
public static class Adapter extends TypeAdapter<TransactionTypeEnum> {
@Override
public void write(final JsonWriter jsonWriter, final TransactionTypeEnum enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public TransactionTypeEnum read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return TransactionTypeEnum.fromValue(value);
}
}
}
public static final String SERIALIZED_NAME_TRANSACTION_TYPE = "transaction_type";
@SerializedName(SERIALIZED_NAME_TRANSACTION_TYPE)
private TransactionTypeEnum transactionType;
public static final String SERIALIZED_NAME_LOGO_URL = "logo_url";
@SerializedName(SERIALIZED_NAME_LOGO_URL)
private String logoUrl;
public static final String SERIALIZED_NAME_WEBSITE = "website";
@SerializedName(SERIALIZED_NAME_WEBSITE)
private String website;
public TransactionBase accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* The ID of the account in which this transaction occurred.
* @return accountId
**/
@ApiModelProperty(required = true, value = "The ID of the account in which this transaction occurred.")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public TransactionBase amount(Double amount) {
this.amount = amount;
return this;
}
/**
* The settled value of the transaction, denominated in the transactions's currency, as stated in `iso_currency_code` or `unofficial_currency_code`. For all products except Income: Positive values when money moves out of the account; negative values when money moves in. For example, debit card purchases are positive; credit card payments, direct deposits, and refunds are negative. For Income endpoints, values are positive when representing income.
* @return amount
**/
@ApiModelProperty(required = true, value = "The settled value of the transaction, denominated in the transactions's currency, as stated in `iso_currency_code` or `unofficial_currency_code`. For all products except Income: Positive values when money moves out of the account; negative values when money moves in. For example, debit card purchases are positive; credit card payments, direct deposits, and refunds are negative. For Income endpoints, values are positive when representing income.")
public Double getAmount() {
return amount;
}
public void setAmount(Double amount) {
this.amount = amount;
}
public TransactionBase isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The ISO-4217 currency code of the transaction. 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 transaction. Always `null` if `unofficial_currency_code` is non-null.")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public TransactionBase unofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
return this;
}
/**
* The unofficial currency code associated with the transaction. 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 transaction. 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 TransactionBase category(List<String> category) {
this.category = category;
return this;
}
public TransactionBase addCategoryItem(String categoryItem) {
if (this.category == null) {
this.category = new ArrayList<>();
}
this.category.add(categoryItem);
return this;
}
/**
* A hierarchical array of the categories to which this transaction belongs. For a full list of categories, see [`/categories/get`](https://plaid.com/docs/api/products/transactions/#categoriesget). All Transactions implementations are recommended to use the new `personal_finance_category` instead of `category`, as it provides greater accuracy and more meaningful categorization. If the `transactions` object was returned by an Assets endpoint such as `/asset_report/get/` or `/asset_report/pdf/get`, this field will only appear in an Asset Report with Insights.
* @return category
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A hierarchical array of the categories to which this transaction belongs. For a full list of categories, see [`/categories/get`](https://plaid.com/docs/api/products/transactions/#categoriesget). All Transactions implementations are recommended to use the new `personal_finance_category` instead of `category`, as it provides greater accuracy and more meaningful categorization. If the `transactions` object was returned by an Assets endpoint such as `/asset_report/get/` or `/asset_report/pdf/get`, this field will only appear in an Asset Report with Insights.")
public List<String> getCategory() {
return category;
}
public void setCategory(List<String> category) {
this.category = category;
}
public TransactionBase categoryId(String categoryId) {
this.categoryId = categoryId;
return this;
}
/**
* The ID of the category to which this transaction belongs. For a full list of categories, see [`/categories/get`](https://plaid.com/docs/api/products/transactions/#categoriesget). All Transactions implementations are recommended to use the new `personal_finance_category` instead of `category`, as it provides greater accuracy and more meaningful categorization. If the `transactions` object was returned by an Assets endpoint such as `/asset_report/get/` or `/asset_report/pdf/get`, this field will only appear in an Asset Report with Insights.
* @return categoryId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The ID of the category to which this transaction belongs. For a full list of categories, see [`/categories/get`](https://plaid.com/docs/api/products/transactions/#categoriesget). All Transactions implementations are recommended to use the new `personal_finance_category` instead of `category`, as it provides greater accuracy and more meaningful categorization. If the `transactions` object was returned by an Assets endpoint such as `/asset_report/get/` or `/asset_report/pdf/get`, this field will only appear in an Asset Report with Insights.")
public String getCategoryId() {
return categoryId;
}
public void setCategoryId(String categoryId) {
this.categoryId = categoryId;
}
public TransactionBase checkNumber(String checkNumber) {
this.checkNumber = checkNumber;
return this;
}
/**
* The check number of the transaction. This field is only populated for check transactions.
* @return checkNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The check number of the transaction. This field is only populated for check transactions.")
public String getCheckNumber() {
return checkNumber;
}
public void setCheckNumber(String checkNumber) {
this.checkNumber = checkNumber;
}
public TransactionBase date(LocalDate date) {
this.date = date;
return this;
}
/**
* For pending transactions, the date that the transaction occurred; for posted transactions, the date that the transaction posted. Both dates are returned in an [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format ( `YYYY-MM-DD` ). To receive information about the date that a posted transaction was initiated, see the `authorized_date` field.
* @return date
**/
@ApiModelProperty(required = true, value = "For pending transactions, the date that the transaction occurred; for posted transactions, the date that the transaction posted. Both dates are returned in an [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format ( `YYYY-MM-DD` ). To receive information about the date that a posted transaction was initiated, see the `authorized_date` field.")
public LocalDate getDate() {
return date;
}
public void setDate(LocalDate date) {
this.date = date;
}
public TransactionBase location(Location location) {
this.location = location;
return this;
}
/**
* Get location
* @return location
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Location getLocation() {
return location;
}
public void setLocation(Location location) {
this.location = location;
}
public TransactionBase name(String name) {
this.name = name;
return this;
}
/**
* The merchant name or transaction description. Note: While Plaid does not currently plan to remove this field, it is a legacy field that is not actively maintained. Use `merchant_name` instead for the merchant name. If the `transactions` object was returned by a Transactions endpoint such as `/transactions/sync` or `/transactions/get`, this field will always appear. If the `transactions` object was returned by an Assets endpoint such as `/asset_report/get/` or `/asset_report/pdf/get`, this field will only appear in an Asset Report with Insights.
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The merchant name or transaction description. Note: While Plaid does not currently plan to remove this field, it is a legacy field that is not actively maintained. Use `merchant_name` instead for the merchant name. If the `transactions` object was returned by a Transactions endpoint such as `/transactions/sync` or `/transactions/get`, this field will always appear. If the `transactions` object was returned by an Assets endpoint such as `/asset_report/get/` or `/asset_report/pdf/get`, this field will only appear in an Asset Report with Insights.")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public TransactionBase merchantName(String merchantName) {
this.merchantName = merchantName;
return this;
}
/**
* The merchant name, as enriched by Plaid from the `name` field. This is typically a more human-readable version of the merchant counterparty in the transaction. For some bank transactions (such as checks or account transfers) where there is no meaningful merchant name, this value will be `null`.
* @return merchantName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The merchant name, as enriched by Plaid from the `name` field. This is typically a more human-readable version of the merchant counterparty in the transaction. For some bank transactions (such as checks or account transfers) where there is no meaningful merchant name, this value will be `null`.")
public String getMerchantName() {
return merchantName;
}
public void setMerchantName(String merchantName) {
this.merchantName = merchantName;
}
public TransactionBase originalDescription(String originalDescription) {
this.originalDescription = originalDescription;
return this;
}
/**
* The string returned by the financial institution to describe the transaction. For transactions returned by `/transactions/sync` or `/transactions/get`, this field will only be included if the client has set `options.include_original_description` to `true`.
* @return originalDescription
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The string returned by the financial institution to describe the transaction. For transactions returned by `/transactions/sync` or `/transactions/get`, this field will only be included if the client has set `options.include_original_description` to `true`.")
public String getOriginalDescription() {
return originalDescription;
}
public void setOriginalDescription(String originalDescription) {
this.originalDescription = originalDescription;
}
public TransactionBase paymentMeta(PaymentMeta paymentMeta) {
this.paymentMeta = paymentMeta;
return this;
}
/**
* Get paymentMeta
* @return paymentMeta
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PaymentMeta getPaymentMeta() {
return paymentMeta;
}
public void setPaymentMeta(PaymentMeta paymentMeta) {
this.paymentMeta = paymentMeta;
}
public TransactionBase pending(Boolean pending) {
this.pending = pending;
return this;
}
/**
* When `true`, identifies the transaction as pending or unsettled. Pending transaction details (name, type, amount, category ID) may change before they are settled. Not all institutions provide pending transactions.
* @return pending
**/
@ApiModelProperty(required = true, value = "When `true`, identifies the transaction as pending or unsettled. Pending transaction details (name, type, amount, category ID) may change before they are settled. Not all institutions provide pending transactions.")
public Boolean getPending() {
return pending;
}
public void setPending(Boolean pending) {
this.pending = pending;
}
public TransactionBase pendingTransactionId(String pendingTransactionId) {
this.pendingTransactionId = pendingTransactionId;
return this;
}
/**
* The ID of a posted transaction's associated pending transaction, where applicable. Not all institutions provide pending transactions.
* @return pendingTransactionId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The ID of a posted transaction's associated pending transaction, where applicable. Not all institutions provide pending transactions.")
public String getPendingTransactionId() {
return pendingTransactionId;
}
public void setPendingTransactionId(String pendingTransactionId) {
this.pendingTransactionId = pendingTransactionId;
}
public TransactionBase accountOwner(String accountOwner) {
this.accountOwner = accountOwner;
return this;
}
/**
* This field is not typically populated and only relevant when dealing with sub-accounts. A sub-account most commonly exists in cases where a single account is linked to multiple cards, each with its own card number and card holder name; each card will be considered a sub-account. If the account does have sub-accounts, this field will typically be some combination of the sub-account owner's name and/or the sub-account mask. The format of this field is not standardized and will vary based on institution.
* @return accountOwner
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "This field is not typically populated and only relevant when dealing with sub-accounts. A sub-account most commonly exists in cases where a single account is linked to multiple cards, each with its own card number and card holder name; each card will be considered a sub-account. If the account does have sub-accounts, this field will typically be some combination of the sub-account owner's name and/or the sub-account mask. The format of this field is not standardized and will vary based on institution.")
public String getAccountOwner() {
return accountOwner;
}
public void setAccountOwner(String accountOwner) {
this.accountOwner = accountOwner;
}
public TransactionBase transactionId(String transactionId) {
this.transactionId = transactionId;
return this;
}
/**
* The unique ID of the transaction. Like all Plaid identifiers, the `transaction_id` is case sensitive.
* @return transactionId
**/
@ApiModelProperty(required = true, value = "The unique ID of the transaction. Like all Plaid identifiers, the `transaction_id` is case sensitive.")
public String getTransactionId() {
return transactionId;
}
public void setTransactionId(String transactionId) {
this.transactionId = transactionId;
}
public TransactionBase transactionType(TransactionTypeEnum transactionType) {
this.transactionType = transactionType;
return this;
}
/**
* Please use the `payment_channel` field, `transaction_type` will be deprecated in the future. `digital:` transactions that took place online. `place:` transactions that were made at a physical location. `special:` transactions that relate to banks, e.g. fees or deposits. `unresolved:` transactions that do not fit into the other three types.
* @return transactionType
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Please use the `payment_channel` field, `transaction_type` will be deprecated in the future. `digital:` transactions that took place online. `place:` transactions that were made at a physical location. `special:` transactions that relate to banks, e.g. fees or deposits. `unresolved:` transactions that do not fit into the other three types. ")
public TransactionTypeEnum getTransactionType() {
return transactionType;
}
public void setTransactionType(TransactionTypeEnum transactionType) {
this.transactionType = transactionType;
}
public TransactionBase logoUrl(String logoUrl) {
this.logoUrl = logoUrl;
return this;
}
/**
* The URL of a logo associated with this transaction, if available. The logo will always be 100×100 pixel PNG file.
* @return logoUrl
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The URL of a logo associated with this transaction, if available. The logo will always be 100×100 pixel PNG file.")
public String getLogoUrl() {
return logoUrl;
}
public void setLogoUrl(String logoUrl) {
this.logoUrl = logoUrl;
}
public TransactionBase website(String website) {
this.website = website;
return this;
}
/**
* The website associated with this transaction, if available.
* @return website
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The website associated with this transaction, if available.")
public String getWebsite() {
return website;
}
public void setWebsite(String website) {
this.website = website;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransactionBase transactionBase = (TransactionBase) o;
return Objects.equals(this.accountId, transactionBase.accountId) &&
Objects.equals(this.amount, transactionBase.amount) &&
Objects.equals(this.isoCurrencyCode, transactionBase.isoCurrencyCode) &&
Objects.equals(this.unofficialCurrencyCode, transactionBase.unofficialCurrencyCode) &&
Objects.equals(this.category, transactionBase.category) &&
Objects.equals(this.categoryId, transactionBase.categoryId) &&
Objects.equals(this.checkNumber, transactionBase.checkNumber) &&
Objects.equals(this.date, transactionBase.date) &&
Objects.equals(this.location, transactionBase.location) &&
Objects.equals(this.name, transactionBase.name) &&
Objects.equals(this.merchantName, transactionBase.merchantName) &&
Objects.equals(this.originalDescription, transactionBase.originalDescription) &&
Objects.equals(this.paymentMeta, transactionBase.paymentMeta) &&
Objects.equals(this.pending, transactionBase.pending) &&
Objects.equals(this.pendingTransactionId, transactionBase.pendingTransactionId) &&
Objects.equals(this.accountOwner, transactionBase.accountOwner) &&
Objects.equals(this.transactionId, transactionBase.transactionId) &&
Objects.equals(this.transactionType, transactionBase.transactionType) &&
Objects.equals(this.logoUrl, transactionBase.logoUrl) &&
Objects.equals(this.website, transactionBase.website);
}
@Override
public int hashCode() {
return Objects.hash(accountId, amount, isoCurrencyCode, unofficialCurrencyCode, category, categoryId, checkNumber, date, location, name, merchantName, originalDescription, paymentMeta, pending, pendingTransactionId, accountOwner, transactionId, transactionType, logoUrl, website);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransactionBase {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" unofficialCurrencyCode: ").append(toIndentedString(unofficialCurrencyCode)).append("\n");
sb.append(" category: ").append(toIndentedString(category)).append("\n");
sb.append(" categoryId: ").append(toIndentedString(categoryId)).append("\n");
sb.append(" checkNumber: ").append(toIndentedString(checkNumber)).append("\n");
sb.append(" date: ").append(toIndentedString(date)).append("\n");
sb.append(" location: ").append(toIndentedString(location)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" merchantName: ").append(toIndentedString(merchantName)).append("\n");
sb.append(" originalDescription: ").append(toIndentedString(originalDescription)).append("\n");
sb.append(" paymentMeta: ").append(toIndentedString(paymentMeta)).append("\n");
sb.append(" pending: ").append(toIndentedString(pending)).append("\n");
sb.append(" pendingTransactionId: ").append(toIndentedString(pendingTransactionId)).append("\n");
sb.append(" accountOwner: ").append(toIndentedString(accountOwner)).append("\n");
sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n");
sb.append(" transactionType: ").append(toIndentedString(transactionType)).append("\n");
sb.append(" logoUrl: ").append(toIndentedString(logoUrl)).append("\n");
sb.append(" website: ").append(toIndentedString(website)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/PaymentInitiationRecipientGetResponseAllOf.java | src/main/java/com/plaid/client/model/PaymentInitiationRecipientGetResponseAllOf.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* PaymentInitiationRecipientGetResponseAllOf
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PaymentInitiationRecipientGetResponseAllOf {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public PaymentInitiationRecipientGetResponseAllOf 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;
}
PaymentInitiationRecipientGetResponseAllOf paymentInitiationRecipientGetResponseAllOf = (PaymentInitiationRecipientGetResponseAllOf) o;
return Objects.equals(this.requestId, paymentInitiationRecipientGetResponseAllOf.requestId);
}
@Override
public int hashCode() {
return Objects.hash(requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaymentInitiationRecipientGetResponseAllOf {\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/RequestBusinessAddress.java | src/main/java/com/plaid/client/model/RequestBusinessAddress.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* Physical address of a business. Used for input requests.
*/
@ApiModel(description = "Physical address of a business. Used for input requests.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class RequestBusinessAddress {
public static final String SERIALIZED_NAME_STREET = "street";
@SerializedName(SERIALIZED_NAME_STREET)
private String street;
public static final String SERIALIZED_NAME_STREET2 = "street2";
@SerializedName(SERIALIZED_NAME_STREET2)
private String street2;
public static final String SERIALIZED_NAME_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_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 RequestBusinessAddress street(String street) {
this.street = street;
return this;
}
/**
* The primary street portion of an address. If an address is provided, this field will always be filled. A string with at least one non-whitespace alphabetical character, with a max length of 80 characters.
* @return street
**/
@ApiModelProperty(example = "123 Main St.", required = true, value = "The primary street portion of an address. If an address is provided, this field will always be filled. A string with at least one non-whitespace alphabetical character, with a max length of 80 characters.")
public String getStreet() {
return street;
}
public void setStreet(String street) {
this.street = street;
}
public RequestBusinessAddress street2(String street2) {
this.street2 = street2;
return this;
}
/**
* Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 50 characters.
* @return street2
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "Unit 42", value = "Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 50 characters.")
public String getStreet2() {
return street2;
}
public void setStreet2(String street2) {
this.street2 = street2;
}
public RequestBusinessAddress city(String city) {
this.city = city;
return this;
}
/**
* City from the address. A string with at least one non-whitespace alphabetical character, with a max length of 100 characters.
* @return city
**/
@ApiModelProperty(example = "Pawnee", required = true, value = "City from the address. A string with at least one non-whitespace alphabetical character, with a max length of 100 characters.")
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public RequestBusinessAddress region(String region) {
this.region = region;
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 region
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "IN", 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 getRegion() {
return region;
}
public void setRegion(String region) {
this.region = region;
}
public RequestBusinessAddress postalCode(String postalCode) {
this.postalCode = postalCode;
return this;
}
/**
* The postal code for the associated address. Between 2 and 10 alphanumeric characters. For US-based addresses this must be 5 numeric digits.
* @return postalCode
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "46001", value = "The postal code for the associated address. Between 2 and 10 alphanumeric characters. For US-based addresses this must be 5 numeric digits.")
public String getPostalCode() {
return postalCode;
}
public void setPostalCode(String postalCode) {
this.postalCode = postalCode;
}
public RequestBusinessAddress 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;
}
RequestBusinessAddress requestBusinessAddress = (RequestBusinessAddress) o;
return Objects.equals(this.street, requestBusinessAddress.street) &&
Objects.equals(this.street2, requestBusinessAddress.street2) &&
Objects.equals(this.city, requestBusinessAddress.city) &&
Objects.equals(this.region, requestBusinessAddress.region) &&
Objects.equals(this.postalCode, requestBusinessAddress.postalCode) &&
Objects.equals(this.country, requestBusinessAddress.country);
}
@Override
public int hashCode() {
return Objects.hash(street, street2, city, region, postalCode, country);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class RequestBusinessAddress {\n");
sb.append(" street: ").append(toIndentedString(street)).append("\n");
sb.append(" street2: ").append(toIndentedString(street2)).append("\n");
sb.append(" city: ").append(toIndentedString(city)).append("\n");
sb.append(" region: ").append(toIndentedString(region)).append("\n");
sb.append(" 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/WebhookVerificationKeyGetResponse.java | src/main/java/com/plaid/client/model/WebhookVerificationKeyGetResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.JWKPublicKey;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* WebhookVerificationKeyGetResponse defines the response schema for `/webhook_verification_key/get`
*/
@ApiModel(description = "WebhookVerificationKeyGetResponse defines the response schema for `/webhook_verification_key/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class WebhookVerificationKeyGetResponse {
public static final String SERIALIZED_NAME_KEY = "key";
@SerializedName(SERIALIZED_NAME_KEY)
private JWKPublicKey key;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public WebhookVerificationKeyGetResponse key(JWKPublicKey key) {
this.key = key;
return this;
}
/**
* Get key
* @return key
**/
@ApiModelProperty(required = true, value = "")
public JWKPublicKey getKey() {
return key;
}
public void setKey(JWKPublicKey key) {
this.key = key;
}
public WebhookVerificationKeyGetResponse 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;
}
WebhookVerificationKeyGetResponse webhookVerificationKeyGetResponse = (WebhookVerificationKeyGetResponse) o;
return Objects.equals(this.key, webhookVerificationKeyGetResponse.key) &&
Objects.equals(this.requestId, webhookVerificationKeyGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(key, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class WebhookVerificationKeyGetResponse {\n");
sb.append(" key: ").append(toIndentedString(key)).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/PaymentInitiationConsentConstraints.java | src/main/java/com/plaid/client/model/PaymentInitiationConsentConstraints.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.PaymentConsentMaxPaymentAmount;
import com.plaid.client.model.PaymentConsentPeriodicAmount;
import com.plaid.client.model.PaymentConsentValidDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Limitations that will be applied to payments initiated using the payment consent.
*/
@ApiModel(description = "Limitations that will be applied to payments initiated using the payment consent.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PaymentInitiationConsentConstraints {
public static final String SERIALIZED_NAME_VALID_DATE_TIME = "valid_date_time";
@SerializedName(SERIALIZED_NAME_VALID_DATE_TIME)
private PaymentConsentValidDateTime validDateTime;
public static final String SERIALIZED_NAME_MAX_PAYMENT_AMOUNT = "max_payment_amount";
@SerializedName(SERIALIZED_NAME_MAX_PAYMENT_AMOUNT)
private PaymentConsentMaxPaymentAmount maxPaymentAmount;
public static final String SERIALIZED_NAME_PERIODIC_AMOUNTS = "periodic_amounts";
@SerializedName(SERIALIZED_NAME_PERIODIC_AMOUNTS)
private List<PaymentConsentPeriodicAmount> periodicAmounts = new ArrayList<>();
public PaymentInitiationConsentConstraints validDateTime(PaymentConsentValidDateTime validDateTime) {
this.validDateTime = validDateTime;
return this;
}
/**
* Get validDateTime
* @return validDateTime
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PaymentConsentValidDateTime getValidDateTime() {
return validDateTime;
}
public void setValidDateTime(PaymentConsentValidDateTime validDateTime) {
this.validDateTime = validDateTime;
}
public PaymentInitiationConsentConstraints maxPaymentAmount(PaymentConsentMaxPaymentAmount maxPaymentAmount) {
this.maxPaymentAmount = maxPaymentAmount;
return this;
}
/**
* Get maxPaymentAmount
* @return maxPaymentAmount
**/
@ApiModelProperty(required = true, value = "")
public PaymentConsentMaxPaymentAmount getMaxPaymentAmount() {
return maxPaymentAmount;
}
public void setMaxPaymentAmount(PaymentConsentMaxPaymentAmount maxPaymentAmount) {
this.maxPaymentAmount = maxPaymentAmount;
}
public PaymentInitiationConsentConstraints periodicAmounts(List<PaymentConsentPeriodicAmount> periodicAmounts) {
this.periodicAmounts = periodicAmounts;
return this;
}
public PaymentInitiationConsentConstraints addPeriodicAmountsItem(PaymentConsentPeriodicAmount periodicAmountsItem) {
this.periodicAmounts.add(periodicAmountsItem);
return this;
}
/**
* A list of amount limitations per period of time.
* @return periodicAmounts
**/
@ApiModelProperty(required = true, value = "A list of amount limitations per period of time.")
public List<PaymentConsentPeriodicAmount> getPeriodicAmounts() {
return periodicAmounts;
}
public void setPeriodicAmounts(List<PaymentConsentPeriodicAmount> periodicAmounts) {
this.periodicAmounts = periodicAmounts;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PaymentInitiationConsentConstraints paymentInitiationConsentConstraints = (PaymentInitiationConsentConstraints) o;
return Objects.equals(this.validDateTime, paymentInitiationConsentConstraints.validDateTime) &&
Objects.equals(this.maxPaymentAmount, paymentInitiationConsentConstraints.maxPaymentAmount) &&
Objects.equals(this.periodicAmounts, paymentInitiationConsentConstraints.periodicAmounts);
}
@Override
public int hashCode() {
return Objects.hash(validDateTime, maxPaymentAmount, periodicAmounts);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaymentInitiationConsentConstraints {\n");
sb.append(" validDateTime: ").append(toIndentedString(validDateTime)).append("\n");
sb.append(" maxPaymentAmount: ").append(toIndentedString(maxPaymentAmount)).append("\n");
sb.append(" periodicAmounts: ").append(toIndentedString(periodicAmounts)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/InstitutionsGetByIdRequestOptions.java | src/main/java/com/plaid/client/model/InstitutionsGetByIdRequestOptions.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Specifies optional parameters for `/institutions/get_by_id`. If provided, must not be `null`.
*/
@ApiModel(description = "Specifies optional parameters for `/institutions/get_by_id`. If provided, must not be `null`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class InstitutionsGetByIdRequestOptions {
public static final String SERIALIZED_NAME_INCLUDE_OPTIONAL_METADATA = "include_optional_metadata";
@SerializedName(SERIALIZED_NAME_INCLUDE_OPTIONAL_METADATA)
private Boolean includeOptionalMetadata = false;
public static final String SERIALIZED_NAME_INCLUDE_STATUS = "include_status";
@SerializedName(SERIALIZED_NAME_INCLUDE_STATUS)
private Boolean includeStatus = false;
public static final String SERIALIZED_NAME_INCLUDE_AUTH_METADATA = "include_auth_metadata";
@SerializedName(SERIALIZED_NAME_INCLUDE_AUTH_METADATA)
private Boolean includeAuthMetadata = false;
public static final String SERIALIZED_NAME_INCLUDE_PAYMENT_INITIATION_METADATA = "include_payment_initiation_metadata";
@SerializedName(SERIALIZED_NAME_INCLUDE_PAYMENT_INITIATION_METADATA)
private Boolean includePaymentInitiationMetadata = false;
public InstitutionsGetByIdRequestOptions includeOptionalMetadata(Boolean includeOptionalMetadata) {
this.includeOptionalMetadata = includeOptionalMetadata;
return this;
}
/**
* When `true`, return an institution's logo, brand color, and URL. When available, the bank's logo is returned as a base64 encoded 152x152 PNG, the brand color is in hexadecimal format. The default value is `false`. Note that Plaid does not own any of the logos shared by the API and that by accessing or using these logos, you agree that you are doing so at your own risk and will, if necessary, obtain all required permissions from the appropriate rights holders and adhere to any applicable usage guidelines. Plaid disclaims all express or implied warranties with respect to the logos.
* @return includeOptionalMetadata
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "When `true`, return an institution's logo, brand color, and URL. When available, the bank's logo is returned as a base64 encoded 152x152 PNG, the brand color is in hexadecimal format. The default value is `false`. Note that Plaid does not own any of the logos shared by the API and that by accessing or using these logos, you agree that you are doing so at your own risk and will, if necessary, obtain all required permissions from the appropriate rights holders and adhere to any applicable usage guidelines. Plaid disclaims all express or implied warranties with respect to the logos.")
public Boolean getIncludeOptionalMetadata() {
return includeOptionalMetadata;
}
public void setIncludeOptionalMetadata(Boolean includeOptionalMetadata) {
this.includeOptionalMetadata = includeOptionalMetadata;
}
public InstitutionsGetByIdRequestOptions includeStatus(Boolean includeStatus) {
this.includeStatus = includeStatus;
return this;
}
/**
* If `true`, the response will include status information about the institution. Default value is `false`.
* @return includeStatus
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "If `true`, the response will include status information about the institution. Default value is `false`.")
public Boolean getIncludeStatus() {
return includeStatus;
}
public void setIncludeStatus(Boolean includeStatus) {
this.includeStatus = includeStatus;
}
public InstitutionsGetByIdRequestOptions includeAuthMetadata(Boolean includeAuthMetadata) {
this.includeAuthMetadata = includeAuthMetadata;
return this;
}
/**
* When `true`, returns metadata related to the Auth product indicating which auth methods are supported.
* @return includeAuthMetadata
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "When `true`, returns metadata related to the Auth product indicating which auth methods are supported.")
public Boolean getIncludeAuthMetadata() {
return includeAuthMetadata;
}
public void setIncludeAuthMetadata(Boolean includeAuthMetadata) {
this.includeAuthMetadata = includeAuthMetadata;
}
public InstitutionsGetByIdRequestOptions includePaymentInitiationMetadata(Boolean includePaymentInitiationMetadata) {
this.includePaymentInitiationMetadata = includePaymentInitiationMetadata;
return this;
}
/**
* When `true`, returns metadata related to the Payment Initiation product indicating which payment configurations are supported.
* @return includePaymentInitiationMetadata
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "When `true`, returns metadata related to the Payment Initiation product indicating which payment configurations are supported.")
public Boolean getIncludePaymentInitiationMetadata() {
return includePaymentInitiationMetadata;
}
public void setIncludePaymentInitiationMetadata(Boolean includePaymentInitiationMetadata) {
this.includePaymentInitiationMetadata = includePaymentInitiationMetadata;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
InstitutionsGetByIdRequestOptions institutionsGetByIdRequestOptions = (InstitutionsGetByIdRequestOptions) o;
return Objects.equals(this.includeOptionalMetadata, institutionsGetByIdRequestOptions.includeOptionalMetadata) &&
Objects.equals(this.includeStatus, institutionsGetByIdRequestOptions.includeStatus) &&
Objects.equals(this.includeAuthMetadata, institutionsGetByIdRequestOptions.includeAuthMetadata) &&
Objects.equals(this.includePaymentInitiationMetadata, institutionsGetByIdRequestOptions.includePaymentInitiationMetadata);
}
@Override
public int hashCode() {
return Objects.hash(includeOptionalMetadata, includeStatus, includeAuthMetadata, includePaymentInitiationMetadata);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class InstitutionsGetByIdRequestOptions {\n");
sb.append(" includeOptionalMetadata: ").append(toIndentedString(includeOptionalMetadata)).append("\n");
sb.append(" includeStatus: ").append(toIndentedString(includeStatus)).append("\n");
sb.append(" includeAuthMetadata: ").append(toIndentedString(includeAuthMetadata)).append("\n");
sb.append(" includePaymentInitiationMetadata: ").append(toIndentedString(includePaymentInitiationMetadata)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TotalOutflowAmount60d.java | src/main/java/com/plaid/client/model/TotalOutflowAmount60d.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.math.BigDecimal;
/**
* Total amount of credit transactions into the account in the last 60 days. This field will be empty for non-depository accounts. This field only takes into account USD transactions from the account.
*/
@ApiModel(description = "Total amount of credit transactions into the account in the last 60 days. This field will be empty for non-depository accounts. This field only takes into account USD transactions from the account.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TotalOutflowAmount60d {
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 TotalOutflowAmount60d 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 TotalOutflowAmount60d isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The ISO 4217 currency code of the amount or balance.
* @return isoCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The ISO 4217 currency code of the amount or balance.")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public TotalOutflowAmount60d unofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
return this;
}
/**
* The unofficial currency code associated with the amount or balance. Always `null` if `iso_currency_code` is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.
* @return unofficialCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The unofficial currency code associated with the amount or balance. Always `null` if `iso_currency_code` is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.")
public String getUnofficialCurrencyCode() {
return unofficialCurrencyCode;
}
public void setUnofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TotalOutflowAmount60d totalOutflowAmount60d = (TotalOutflowAmount60d) o;
return Objects.equals(this.amount, totalOutflowAmount60d.amount) &&
Objects.equals(this.isoCurrencyCode, totalOutflowAmount60d.isoCurrencyCode) &&
Objects.equals(this.unofficialCurrencyCode, totalOutflowAmount60d.unofficialCurrencyCode);
}
@Override
public int hashCode() {
return Objects.hash(amount, isoCurrencyCode, unofficialCurrencyCode);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TotalOutflowAmount60d {\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/IdentityVerificationListRequest.java | src/main/java/com/plaid/client/model/IdentityVerificationListRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Request input for listing Identity Verifications
*/
@ApiModel(description = "Request input for listing Identity Verifications")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class IdentityVerificationListRequest {
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_TEMPLATE_ID = "template_id";
@SerializedName(SERIALIZED_NAME_TEMPLATE_ID)
private String templateId;
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_USER_ID = "user_id";
@SerializedName(SERIALIZED_NAME_USER_ID)
private String userId;
public static final String SERIALIZED_NAME_CURSOR = "cursor";
@SerializedName(SERIALIZED_NAME_CURSOR)
private String cursor;
public IdentityVerificationListRequest 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 IdentityVerificationListRequest 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 IdentityVerificationListRequest templateId(String templateId) {
this.templateId = templateId;
return this;
}
/**
* ID of the associated Identity Verification template. Like all Plaid identifiers, this is case-sensitive.
* @return templateId
**/
@ApiModelProperty(example = "idvtmp_4FrXJvfQU3zGUR", required = true, value = "ID of the associated Identity Verification template. Like all Plaid identifiers, this is case-sensitive.")
public String getTemplateId() {
return templateId;
}
public void setTemplateId(String templateId) {
this.templateId = templateId;
}
public IdentityVerificationListRequest clientUserId(String clientUserId) {
this.clientUserId = clientUserId;
return this;
}
/**
* A unique ID that identifies the end user in your system. This ID can also be used to associate user-specific data from other Plaid products. Financial Account Matching requires this field and the `/link/token/create` `client_user_id` to be consistent. Personally identifiable information, such as an email address or phone number, should not be used in the `client_user_id`.
* @return clientUserId
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "your-db-id-3b24110", value = "A unique ID that identifies the end user in your system. This ID can also be used to associate user-specific data from other Plaid products. Financial Account Matching requires this field and the `/link/token/create` `client_user_id` to be consistent. Personally identifiable information, such as an email address or phone number, should not be used in the `client_user_id`.")
public String getClientUserId() {
return clientUserId;
}
public void setClientUserId(String clientUserId) {
this.clientUserId = clientUserId;
}
public IdentityVerificationListRequest 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/users/user-apis). If both this field and the `client_user_id` are present in the request, the `user_id` must have been created from the provided `client_user_id`.
* @return userId
**/
@javax.annotation.Nullable
@ApiModelProperty(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/users/user-apis). If both this field and the `client_user_id` are present in the request, the `user_id` must have been created from the provided `client_user_id`.")
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public IdentityVerificationListRequest cursor(String cursor) {
this.cursor = cursor;
return this;
}
/**
* An identifier that determines which page of results you receive.
* @return cursor
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "eyJkaXJlY3Rpb24iOiJuZXh0Iiwib2Zmc2V0IjoiMTU5NDM", value = "An identifier that determines which page of results you receive.")
public String getCursor() {
return cursor;
}
public void setCursor(String cursor) {
this.cursor = cursor;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
IdentityVerificationListRequest identityVerificationListRequest = (IdentityVerificationListRequest) o;
return Objects.equals(this.secret, identityVerificationListRequest.secret) &&
Objects.equals(this.clientId, identityVerificationListRequest.clientId) &&
Objects.equals(this.templateId, identityVerificationListRequest.templateId) &&
Objects.equals(this.clientUserId, identityVerificationListRequest.clientUserId) &&
Objects.equals(this.userId, identityVerificationListRequest.userId) &&
Objects.equals(this.cursor, identityVerificationListRequest.cursor);
}
@Override
public int hashCode() {
return Objects.hash(secret, clientId, templateId, clientUserId, userId, cursor);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IdentityVerificationListRequest {\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n");
sb.append(" clientUserId: ").append(toIndentedString(clientUserId)).append("\n");
sb.append(" userId: ").append(toIndentedString(userId)).append("\n");
sb.append(" cursor: ").append(toIndentedString(cursor)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransactionsUpdateStatus.java | src/main/java/com/plaid/client/model/TransactionsUpdateStatus.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 update status for transaction pulls of an Item. This field contains the same information provided by transactions webhooks, and may be helpful for webhook troubleshooting or when recovering from missed webhooks. `TRANSACTIONS_UPDATE_STATUS_UNKNOWN`: Unable to fetch transactions update status for Item. `NOT_READY`: The Item is pending transaction pull. `INITIAL_UPDATE_COMPLETE`: Initial pull for the Item is complete, historical pull is pending. `HISTORICAL_UPDATE_COMPLETE`: Both initial and historical pull for Item are complete.
*/
@JsonAdapter(TransactionsUpdateStatus.Adapter.class)
public enum TransactionsUpdateStatus {
TRANSACTIONS_UPDATE_STATUS_UNKNOWN("TRANSACTIONS_UPDATE_STATUS_UNKNOWN"),
NOT_READY("NOT_READY"),
INITIAL_UPDATE_COMPLETE("INITIAL_UPDATE_COMPLETE"),
HISTORICAL_UPDATE_COMPLETE("HISTORICAL_UPDATE_COMPLETE"),
// 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;
TransactionsUpdateStatus(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static TransactionsUpdateStatus fromValue(String value) {
for (TransactionsUpdateStatus b : TransactionsUpdateStatus.values()) {
if (b.value.equals(value)) {
return b;
}
}
return TransactionsUpdateStatus.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<TransactionsUpdateStatus> {
@Override
public void write(final JsonWriter jsonWriter, final TransactionsUpdateStatus enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public TransactionsUpdateStatus read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return TransactionsUpdateStatus.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/TransferBalanceGetResponse.java | src/main/java/com/plaid/client/model/TransferBalanceGetResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.TransferBalance;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines the response schema for `/transfer/balance/get`
*/
@ApiModel(description = "Defines the response schema for `/transfer/balance/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferBalanceGetResponse {
public static final String SERIALIZED_NAME_BALANCE = "balance";
@SerializedName(SERIALIZED_NAME_BALANCE)
private TransferBalance balance;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public TransferBalanceGetResponse balance(TransferBalance balance) {
this.balance = balance;
return this;
}
/**
* Get balance
* @return balance
**/
@ApiModelProperty(required = true, value = "")
public TransferBalance getBalance() {
return balance;
}
public void setBalance(TransferBalance balance) {
this.balance = balance;
}
public TransferBalanceGetResponse 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;
}
TransferBalanceGetResponse transferBalanceGetResponse = (TransferBalanceGetResponse) o;
return Objects.equals(this.balance, transferBalanceGetResponse.balance) &&
Objects.equals(this.requestId, transferBalanceGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(balance, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferBalanceGetResponse {\n");
sb.append(" balance: ").append(toIndentedString(balance)).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/RiskCheckBehaviorUserInteractionsLabel.java | src/main/java/com/plaid/client/model/RiskCheckBehaviorUserInteractionsLabel.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 overall user interaction signals of a behavior risk check. This value represents how familiar the user is with the personal data they provide, based on a number of signals that are collected during their session. `genuine` indicates the user has high familiarity with the data they are providing, and that fraud is unlikely. `neutral` indicates some signals are present in between `risky` and `genuine`, but there are not enough clear signals to determine an outcome. `risky` indicates the user has low familiarity with the data they are providing, and that fraud is likely. `no_data` indicates there is not sufficient information to give an accurate signal.
*/
@JsonAdapter(RiskCheckBehaviorUserInteractionsLabel.Adapter.class)
public enum RiskCheckBehaviorUserInteractionsLabel {
GENUINE("genuine"),
NEUTRAL("neutral"),
RISKY("risky"),
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;
RiskCheckBehaviorUserInteractionsLabel(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static RiskCheckBehaviorUserInteractionsLabel fromValue(String value) {
for (RiskCheckBehaviorUserInteractionsLabel b : RiskCheckBehaviorUserInteractionsLabel.values()) {
if (b.value.equals(value)) {
return b;
}
}
return RiskCheckBehaviorUserInteractionsLabel.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<RiskCheckBehaviorUserInteractionsLabel> {
@Override
public void write(final JsonWriter jsonWriter, final RiskCheckBehaviorUserInteractionsLabel enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public RiskCheckBehaviorUserInteractionsLabel read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return RiskCheckBehaviorUserInteractionsLabel.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/InvestmentsAuthGetNumbers.java | src/main/java/com/plaid/client/model/InvestmentsAuthGetNumbers.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.NumbersACATS;
import com.plaid.client.model.NumbersATON;
import com.plaid.client.model.NumbersRetirement401k;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Identifying information for transferring holdings to an investments account.
*/
@ApiModel(description = "Identifying information for transferring holdings to an investments account.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class InvestmentsAuthGetNumbers {
public static final String SERIALIZED_NAME_ACATS = "acats";
@SerializedName(SERIALIZED_NAME_ACATS)
private List<NumbersACATS> acats = null;
public static final String SERIALIZED_NAME_ATON = "aton";
@SerializedName(SERIALIZED_NAME_ATON)
private List<NumbersATON> aton = null;
public static final String SERIALIZED_NAME_RETIREMENT401K = "retirement_401k";
@SerializedName(SERIALIZED_NAME_RETIREMENT401K)
private List<NumbersRetirement401k> retirement401k = null;
public InvestmentsAuthGetNumbers acats(List<NumbersACATS> acats) {
this.acats = acats;
return this;
}
public InvestmentsAuthGetNumbers addAcatsItem(NumbersACATS acatsItem) {
if (this.acats == null) {
this.acats = new ArrayList<>();
}
this.acats.add(acatsItem);
return this;
}
/**
* Get acats
* @return acats
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<NumbersACATS> getAcats() {
return acats;
}
public void setAcats(List<NumbersACATS> acats) {
this.acats = acats;
}
public InvestmentsAuthGetNumbers aton(List<NumbersATON> aton) {
this.aton = aton;
return this;
}
public InvestmentsAuthGetNumbers addAtonItem(NumbersATON atonItem) {
if (this.aton == null) {
this.aton = new ArrayList<>();
}
this.aton.add(atonItem);
return this;
}
/**
* Get aton
* @return aton
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<NumbersATON> getAton() {
return aton;
}
public void setAton(List<NumbersATON> aton) {
this.aton = aton;
}
public InvestmentsAuthGetNumbers retirement401k(List<NumbersRetirement401k> retirement401k) {
this.retirement401k = retirement401k;
return this;
}
public InvestmentsAuthGetNumbers addRetirement401kItem(NumbersRetirement401k retirement401kItem) {
if (this.retirement401k == null) {
this.retirement401k = new ArrayList<>();
}
this.retirement401k.add(retirement401kItem);
return this;
}
/**
* Get retirement401k
* @return retirement401k
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<NumbersRetirement401k> getRetirement401k() {
return retirement401k;
}
public void setRetirement401k(List<NumbersRetirement401k> retirement401k) {
this.retirement401k = retirement401k;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
InvestmentsAuthGetNumbers investmentsAuthGetNumbers = (InvestmentsAuthGetNumbers) o;
return Objects.equals(this.acats, investmentsAuthGetNumbers.acats) &&
Objects.equals(this.aton, investmentsAuthGetNumbers.aton) &&
Objects.equals(this.retirement401k, investmentsAuthGetNumbers.retirement401k);
}
@Override
public int hashCode() {
return Objects.hash(acats, aton, retirement401k);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class InvestmentsAuthGetNumbers {\n");
sb.append(" acats: ").append(toIndentedString(acats)).append("\n");
sb.append(" aton: ").append(toIndentedString(aton)).append("\n");
sb.append(" retirement401k: ").append(toIndentedString(retirement401k)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CheckReportWarning.java | src/main/java/com/plaid/client/model/CheckReportWarning.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.Cause;
import com.plaid.client.model.CheckReportWarningCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* It is possible for a Check Report product to be returned with missing information. In such cases, the product will contain warning data in the response, indicating why obtaining the owner information failed.
*/
@ApiModel(description = "It is possible for a Check Report product to be returned with missing information. In such cases, the product will contain warning data in the response, indicating why obtaining the owner information failed.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CheckReportWarning {
public static final String SERIALIZED_NAME_WARNING_TYPE = "warning_type";
@SerializedName(SERIALIZED_NAME_WARNING_TYPE)
private String warningType;
public static final String SERIALIZED_NAME_WARNING_CODE = "warning_code";
@SerializedName(SERIALIZED_NAME_WARNING_CODE)
private CheckReportWarningCode warningCode;
public static final String SERIALIZED_NAME_CAUSE = "cause";
@SerializedName(SERIALIZED_NAME_CAUSE)
private Cause cause;
public CheckReportWarning warningType(String warningType) {
this.warningType = warningType;
return this;
}
/**
* The warning type, which will always be `CHECK_REPORT_WARNING`
* @return warningType
**/
@ApiModelProperty(required = true, value = "The warning type, which will always be `CHECK_REPORT_WARNING`")
public String getWarningType() {
return warningType;
}
public void setWarningType(String warningType) {
this.warningType = warningType;
}
public CheckReportWarning warningCode(CheckReportWarningCode warningCode) {
this.warningCode = warningCode;
return this;
}
/**
* Get warningCode
* @return warningCode
**/
@ApiModelProperty(required = true, value = "")
public CheckReportWarningCode getWarningCode() {
return warningCode;
}
public void setWarningCode(CheckReportWarningCode warningCode) {
this.warningCode = warningCode;
}
public CheckReportWarning cause(Cause cause) {
this.cause = cause;
return this;
}
/**
* Get cause
* @return cause
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public Cause getCause() {
return cause;
}
public void setCause(Cause cause) {
this.cause = cause;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CheckReportWarning checkReportWarning = (CheckReportWarning) o;
return Objects.equals(this.warningType, checkReportWarning.warningType) &&
Objects.equals(this.warningCode, checkReportWarning.warningCode) &&
Objects.equals(this.cause, checkReportWarning.cause);
}
@Override
public int hashCode() {
return Objects.hash(warningType, warningCode, cause);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CheckReportWarning {\n");
sb.append(" warningType: ").append(toIndentedString(warningType)).append("\n");
sb.append(" warningCode: ").append(toIndentedString(warningCode)).append("\n");
sb.append(" cause: ").append(toIndentedString(cause)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/InvestmentTransactionSubtype.java | src/main/java/com/plaid/client/model/InvestmentTransactionSubtype.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* For descriptions of possible transaction types and subtypes, see the [Investment transaction types schema](https://plaid.com/docs/api/accounts/#investment-transaction-types-schema).
*/
@JsonAdapter(InvestmentTransactionSubtype.Adapter.class)
public enum InvestmentTransactionSubtype {
ACCOUNT_FEE("account fee"),
ADJUSTMENT("adjustment"),
ASSIGNMENT("assignment"),
BUY("buy"),
BUY_TO_COVER("buy to cover"),
CONTRIBUTION("contribution"),
DEPOSIT("deposit"),
DISTRIBUTION("distribution"),
DIVIDEND("dividend"),
DIVIDEND_REINVESTMENT("dividend reinvestment"),
EXERCISE("exercise"),
EXPIRE("expire"),
FUND_FEE("fund fee"),
INTEREST("interest"),
INTEREST_RECEIVABLE("interest receivable"),
INTEREST_REINVESTMENT("interest reinvestment"),
LEGAL_FEE("legal fee"),
LOAN_PAYMENT("loan payment"),
LONG_TERM_CAPITAL_GAIN("long-term capital gain"),
LONG_TERM_CAPITAL_GAIN_REINVESTMENT("long-term capital gain reinvestment"),
MANAGEMENT_FEE("management fee"),
MARGIN_EXPENSE("margin expense"),
MERGER("merger"),
MISCELLANEOUS_FEE("miscellaneous fee"),
NON_QUALIFIED_DIVIDEND("non-qualified dividend"),
NON_RESIDENT_TAX("non-resident tax"),
PENDING_CREDIT("pending credit"),
PENDING_DEBIT("pending debit"),
QUALIFIED_DIVIDEND("qualified dividend"),
REBALANCE("rebalance"),
RETURN_OF_PRINCIPAL("return of principal"),
REQUEST("request"),
SELL("sell"),
SELL_SHORT("sell short"),
SEND("send"),
SHORT_TERM_CAPITAL_GAIN("short-term capital gain"),
SHORT_TERM_CAPITAL_GAIN_REINVESTMENT("short-term capital gain reinvestment"),
SPIN_OFF("spin off"),
SPLIT("split"),
STOCK_DISTRIBUTION("stock distribution"),
TAX("tax"),
TAX_WITHHELD("tax withheld"),
TRADE("trade"),
TRANSFER("transfer"),
TRANSFER_FEE("transfer fee"),
TRUST_FEE("trust fee"),
UNQUALIFIED_GAIN("unqualified gain"),
WITHDRAWAL("withdrawal"),
// 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;
InvestmentTransactionSubtype(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static InvestmentTransactionSubtype fromValue(String value) {
for (InvestmentTransactionSubtype b : InvestmentTransactionSubtype.values()) {
if (b.value.equals(value)) {
return b;
}
}
return InvestmentTransactionSubtype.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<InvestmentTransactionSubtype> {
@Override
public void write(final JsonWriter jsonWriter, final InvestmentTransactionSubtype enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public InvestmentTransactionSubtype read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return InvestmentTransactionSubtype.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/CreditPlatformIds.java | src/main/java/com/plaid/client/model/CreditPlatformIds.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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 object containing a set of ids related to an employee.
*/
@ApiModel(description = "The object containing a set of ids related to an employee.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditPlatformIds {
public static final String SERIALIZED_NAME_EMPLOYEE_ID = "employee_id";
@SerializedName(SERIALIZED_NAME_EMPLOYEE_ID)
private String employeeId;
public static final String SERIALIZED_NAME_PAYROLL_ID = "payroll_id";
@SerializedName(SERIALIZED_NAME_PAYROLL_ID)
private String payrollId;
public static final String SERIALIZED_NAME_POSITION_ID = "position_id";
@SerializedName(SERIALIZED_NAME_POSITION_ID)
private String positionId;
public CreditPlatformIds employeeId(String employeeId) {
this.employeeId = employeeId;
return this;
}
/**
* The ID of an employee as given by their employer.
* @return employeeId
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The ID of an employee as given by their employer.")
public String getEmployeeId() {
return employeeId;
}
public void setEmployeeId(String employeeId) {
this.employeeId = employeeId;
}
public CreditPlatformIds payrollId(String payrollId) {
this.payrollId = payrollId;
return this;
}
/**
* The ID of an employee as given by their payroll.
* @return payrollId
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The ID of an employee as given by their payroll.")
public String getPayrollId() {
return payrollId;
}
public void setPayrollId(String payrollId) {
this.payrollId = payrollId;
}
public CreditPlatformIds positionId(String positionId) {
this.positionId = positionId;
return this;
}
/**
* The ID of the position of the employee.
* @return positionId
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The ID of the position of the employee.")
public String getPositionId() {
return positionId;
}
public void setPositionId(String positionId) {
this.positionId = positionId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreditPlatformIds creditPlatformIds = (CreditPlatformIds) o;
return Objects.equals(this.employeeId, creditPlatformIds.employeeId) &&
Objects.equals(this.payrollId, creditPlatformIds.payrollId) &&
Objects.equals(this.positionId, creditPlatformIds.positionId);
}
@Override
public int hashCode() {
return Objects.hash(employeeId, payrollId, positionId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditPlatformIds {\n");
sb.append(" employeeId: ").append(toIndentedString(employeeId)).append("\n");
sb.append(" payrollId: ").append(toIndentedString(payrollId)).append("\n");
sb.append(" positionId: ").append(toIndentedString(positionId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ItemWithConsentFields.java | src/main/java/com/plaid/client/model/ItemWithConsentFields.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.Item;
import com.plaid.client.model.ItemAuthMethod;
import com.plaid.client.model.ItemConsentedDataScope;
import com.plaid.client.model.ItemWithConsentFieldsAllOf;
import com.plaid.client.model.PlaidError;
import com.plaid.client.model.Products;
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;
/**
* Metadata about the Item
*/
@ApiModel(description = "Metadata about the Item")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ItemWithConsentFields {
public static final String SERIALIZED_NAME_ITEM_ID = "item_id";
@SerializedName(SERIALIZED_NAME_ITEM_ID)
private String itemId;
public static final String SERIALIZED_NAME_INSTITUTION_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_WEBHOOK = "webhook";
@SerializedName(SERIALIZED_NAME_WEBHOOK)
private String webhook;
public static final String SERIALIZED_NAME_AUTH_METHOD = "auth_method";
@SerializedName(SERIALIZED_NAME_AUTH_METHOD)
private ItemAuthMethod authMethod;
public static final String SERIALIZED_NAME_ERROR = "error";
@SerializedName(SERIALIZED_NAME_ERROR)
private PlaidError error;
public static final String SERIALIZED_NAME_AVAILABLE_PRODUCTS = "available_products";
@SerializedName(SERIALIZED_NAME_AVAILABLE_PRODUCTS)
private List<Products> availableProducts = new ArrayList<>();
public static final String SERIALIZED_NAME_BILLED_PRODUCTS = "billed_products";
@SerializedName(SERIALIZED_NAME_BILLED_PRODUCTS)
private List<Products> billedProducts = new ArrayList<>();
public static final String SERIALIZED_NAME_PRODUCTS = "products";
@SerializedName(SERIALIZED_NAME_PRODUCTS)
private List<Products> products = null;
public static final String SERIALIZED_NAME_CONSENTED_PRODUCTS = "consented_products";
@SerializedName(SERIALIZED_NAME_CONSENTED_PRODUCTS)
private List<Products> consentedProducts = null;
public static final String SERIALIZED_NAME_CONSENT_EXPIRATION_TIME = "consent_expiration_time";
@SerializedName(SERIALIZED_NAME_CONSENT_EXPIRATION_TIME)
private OffsetDateTime consentExpirationTime;
/**
* Indicates whether an Item requires user interaction to be updated, which can be the case for Items with some forms of two-factor authentication. `background` - Item can be updated in the background `user_present_required` - Item requires user interaction to be updated
*/
@JsonAdapter(UpdateTypeEnum.Adapter.class)
public enum UpdateTypeEnum {
BACKGROUND("background"),
USER_PRESENT_REQUIRED("user_present_required");
private String value;
UpdateTypeEnum(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static UpdateTypeEnum fromValue(String value) {
for (UpdateTypeEnum b : UpdateTypeEnum.values()) {
if (b.value.equals(value)) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
}
public static class Adapter extends TypeAdapter<UpdateTypeEnum> {
@Override
public void write(final JsonWriter jsonWriter, final UpdateTypeEnum enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public UpdateTypeEnum read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return UpdateTypeEnum.fromValue(value);
}
}
}
public static final String SERIALIZED_NAME_UPDATE_TYPE = "update_type";
@SerializedName(SERIALIZED_NAME_UPDATE_TYPE)
private UpdateTypeEnum updateType;
public static final String SERIALIZED_NAME_CREATED_AT = "created_at";
@SerializedName(SERIALIZED_NAME_CREATED_AT)
private OffsetDateTime createdAt;
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<ItemConsentedDataScope> consentedDataScopes = null;
public ItemWithConsentFields itemId(String itemId) {
this.itemId = itemId;
return this;
}
/**
* The Plaid Item ID. The `item_id` is always unique; linking the same account at the same institution twice will result in two Items with different `item_id` values. Like all Plaid identifiers, the `item_id` is case-sensitive.
* @return itemId
**/
@ApiModelProperty(required = true, value = "The Plaid Item ID. The `item_id` is always unique; linking the same account at the same institution twice will result in two Items with different `item_id` values. Like all Plaid identifiers, the `item_id` is case-sensitive.")
public String getItemId() {
return itemId;
}
public void setItemId(String itemId) {
this.itemId = itemId;
}
public ItemWithConsentFields institutionId(String institutionId) {
this.institutionId = institutionId;
return this;
}
/**
* The Plaid Institution ID associated with the Item. Field is `null` for Items created without an institution connection, such as Items created via Same Day Micro-deposits.
* @return institutionId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The Plaid Institution ID associated with the Item. Field is `null` for Items created without an institution connection, such as Items created via Same Day Micro-deposits.")
public String getInstitutionId() {
return institutionId;
}
public void setInstitutionId(String institutionId) {
this.institutionId = institutionId;
}
public ItemWithConsentFields institutionName(String institutionName) {
this.institutionName = institutionName;
return this;
}
/**
* The name of the institution associated with the Item. Field is `null` for Items created without an institution connection, such as Items created via Same Day Micro-deposits.
* @return institutionName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The name of the institution associated with the Item. Field is `null` for Items created without an institution connection, such as Items created via Same Day Micro-deposits.")
public String getInstitutionName() {
return institutionName;
}
public void setInstitutionName(String institutionName) {
this.institutionName = institutionName;
}
public ItemWithConsentFields webhook(String webhook) {
this.webhook = webhook;
return this;
}
/**
* The URL registered to receive webhooks for the Item.
* @return webhook
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The URL registered to receive webhooks for the Item.")
public String getWebhook() {
return webhook;
}
public void setWebhook(String webhook) {
this.webhook = webhook;
}
public ItemWithConsentFields authMethod(ItemAuthMethod authMethod) {
this.authMethod = authMethod;
return this;
}
/**
* Get authMethod
* @return authMethod
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ItemAuthMethod getAuthMethod() {
return authMethod;
}
public void setAuthMethod(ItemAuthMethod authMethod) {
this.authMethod = authMethod;
}
public ItemWithConsentFields 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 ItemWithConsentFields availableProducts(List<Products> availableProducts) {
this.availableProducts = availableProducts;
return this;
}
public ItemWithConsentFields addAvailableProductsItem(Products availableProductsItem) {
this.availableProducts.add(availableProductsItem);
return this;
}
/**
* A list of products available for the Item that have not yet been accessed. The contents of this array will be mutually exclusive with `billed_products`.
* @return availableProducts
**/
@ApiModelProperty(required = true, value = "A list of products available for the Item that have not yet been accessed. The contents of this array will be mutually exclusive with `billed_products`.")
public List<Products> getAvailableProducts() {
return availableProducts;
}
public void setAvailableProducts(List<Products> availableProducts) {
this.availableProducts = availableProducts;
}
public ItemWithConsentFields billedProducts(List<Products> billedProducts) {
this.billedProducts = billedProducts;
return this;
}
public ItemWithConsentFields addBilledProductsItem(Products billedProductsItem) {
this.billedProducts.add(billedProductsItem);
return this;
}
/**
* A list of products that have been billed for the Item. The contents of this array will be mutually exclusive with `available_products`. Note - `billed_products` is populated in all environments but only requests in Production are billed. Also note that products that are billed on a pay-per-call basis rather than a pay-per-Item basis, such as `balance`, will not appear here.
* @return billedProducts
**/
@ApiModelProperty(required = true, value = "A list of products that have been billed for the Item. The contents of this array will be mutually exclusive with `available_products`. Note - `billed_products` is populated in all environments but only requests in Production are billed. Also note that products that are billed on a pay-per-call basis rather than a pay-per-Item basis, such as `balance`, will not appear here. ")
public List<Products> getBilledProducts() {
return billedProducts;
}
public void setBilledProducts(List<Products> billedProducts) {
this.billedProducts = billedProducts;
}
public ItemWithConsentFields products(List<Products> products) {
this.products = products;
return this;
}
public ItemWithConsentFields addProductsItem(Products productsItem) {
if (this.products == null) {
this.products = new ArrayList<>();
}
this.products.add(productsItem);
return this;
}
/**
* A list of products added to the Item. In almost all cases, this will be the same as the `billed_products` field. For some products, it is possible for the product to be added to an Item but not yet billed (e.g. Assets, before `/asset_report/create` has been called, or Auth or Identity when added as Optional Products but before their endpoints have been called), in which case the product may appear in `products` but not in `billed_products`.
* @return products
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A list of products added to the Item. In almost all cases, this will be the same as the `billed_products` field. For some products, it is possible for the product to be added to an Item but not yet billed (e.g. Assets, before `/asset_report/create` has been called, or Auth or Identity when added as Optional Products but before their endpoints have been called), in which case the product may appear in `products` but not in `billed_products`. ")
public List<Products> getProducts() {
return products;
}
public void setProducts(List<Products> products) {
this.products = products;
}
public ItemWithConsentFields consentedProducts(List<Products> consentedProducts) {
this.consentedProducts = consentedProducts;
return this;
}
public ItemWithConsentFields addConsentedProductsItem(Products consentedProductsItem) {
if (this.consentedProducts == null) {
this.consentedProducts = new ArrayList<>();
}
this.consentedProducts.add(consentedProductsItem);
return this;
}
/**
* A list of products that the user has consented to for the Item via [Data Transparency Messaging](https://plaid.com/docs/link/data-transparency-messaging-migration-guide). This will consist of all products where both of the following are true: the user has consented to the required data scopes for that product and you have Production access for that product.
* @return consentedProducts
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A list of products that the user has consented to for the Item via [Data Transparency Messaging](https://plaid.com/docs/link/data-transparency-messaging-migration-guide). This will consist of all products where both of the following are true: the user has consented to the required data scopes for that product and you have Production access for that product. ")
public List<Products> getConsentedProducts() {
return consentedProducts;
}
public void setConsentedProducts(List<Products> consentedProducts) {
this.consentedProducts = consentedProducts;
}
public ItemWithConsentFields consentExpirationTime(OffsetDateTime consentExpirationTime) {
this.consentExpirationTime = consentExpirationTime;
return this;
}
/**
* The date and time at which the Item's access consent will expire, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format. If the Item does not have consent expiration scheduled, this field will be `null`. Currently, only institutions in Europe and a small number of institutions in the US have expiring consent. For a list of US institutions that currently expire consent, see the [OAuth Guide](https://plaid.com/docs/link/oauth/#refreshing-item-consent).
* @return consentExpirationTime
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The date and time at which the Item's access consent will expire, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format. If the Item does not have consent expiration scheduled, this field will be `null`. Currently, only institutions in Europe and a small number of institutions in the US have expiring consent. For a list of US institutions that currently expire consent, see the [OAuth Guide](https://plaid.com/docs/link/oauth/#refreshing-item-consent).")
public OffsetDateTime getConsentExpirationTime() {
return consentExpirationTime;
}
public void setConsentExpirationTime(OffsetDateTime consentExpirationTime) {
this.consentExpirationTime = consentExpirationTime;
}
public ItemWithConsentFields updateType(UpdateTypeEnum updateType) {
this.updateType = updateType;
return this;
}
/**
* Indicates whether an Item requires user interaction to be updated, which can be the case for Items with some forms of two-factor authentication. `background` - Item can be updated in the background `user_present_required` - Item requires user interaction to be updated
* @return updateType
**/
@ApiModelProperty(required = true, value = "Indicates whether an Item requires user interaction to be updated, which can be the case for Items with some forms of two-factor authentication. `background` - Item can be updated in the background `user_present_required` - Item requires user interaction to be updated")
public UpdateTypeEnum getUpdateType() {
return updateType;
}
public void setUpdateType(UpdateTypeEnum updateType) {
this.updateType = updateType;
}
public ItemWithConsentFields createdAt(OffsetDateTime createdAt) {
this.createdAt = createdAt;
return this;
}
/**
* The date and time when the Item was created, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
* @return createdAt
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The date and time when the Item was created, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.")
public OffsetDateTime getCreatedAt() {
return createdAt;
}
public void setCreatedAt(OffsetDateTime createdAt) {
this.createdAt = createdAt;
}
public ItemWithConsentFields consentedUseCases(List<String> consentedUseCases) {
this.consentedUseCases = consentedUseCases;
return this;
}
public ItemWithConsentFields addConsentedUseCasesItem(String consentedUseCasesItem) {
if (this.consentedUseCases == null) {
this.consentedUseCases = new ArrayList<>();
}
this.consentedUseCases.add(consentedUseCasesItem);
return this;
}
/**
* A list of use cases that the user has consented to for the Item via [Data Transparency Messaging](https://plaid.com/docs/link/data-transparency-messaging-migration-guide). You can see the full list of use cases or update the list of use cases to request at any time via the Link Customization section of the [Plaid Dashboard](https://dashboard.plaid.com/link/data-transparency-v5).
* @return consentedUseCases
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A list of use cases that the user has consented to for the Item via [Data Transparency Messaging](https://plaid.com/docs/link/data-transparency-messaging-migration-guide). You can see the full list of use cases or update the list of use cases to request at any time via the Link Customization section of the [Plaid Dashboard](https://dashboard.plaid.com/link/data-transparency-v5).")
public List<String> getConsentedUseCases() {
return consentedUseCases;
}
public void setConsentedUseCases(List<String> consentedUseCases) {
this.consentedUseCases = consentedUseCases;
}
public ItemWithConsentFields consentedDataScopes(List<ItemConsentedDataScope> consentedDataScopes) {
this.consentedDataScopes = consentedDataScopes;
return this;
}
public ItemWithConsentFields addConsentedDataScopesItem(ItemConsentedDataScope consentedDataScopesItem) {
if (this.consentedDataScopes == null) {
this.consentedDataScopes = new ArrayList<>();
}
this.consentedDataScopes.add(consentedDataScopesItem);
return this;
}
/**
* A list of data scopes that the user has consented to for the Item via [Data Transparency Messaging](https://plaid.com/docs/link/data-transparency-messaging-migration-guide). These are based on the `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 data scopes that the user has consented to for the Item via [Data Transparency Messaging](https://plaid.com/docs/link/data-transparency-messaging-migration-guide). These are based on the `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<ItemConsentedDataScope> getConsentedDataScopes() {
return consentedDataScopes;
}
public void setConsentedDataScopes(List<ItemConsentedDataScope> consentedDataScopes) {
this.consentedDataScopes = consentedDataScopes;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ItemWithConsentFields itemWithConsentFields = (ItemWithConsentFields) o;
return Objects.equals(this.itemId, itemWithConsentFields.itemId) &&
Objects.equals(this.institutionId, itemWithConsentFields.institutionId) &&
Objects.equals(this.institutionName, itemWithConsentFields.institutionName) &&
Objects.equals(this.webhook, itemWithConsentFields.webhook) &&
Objects.equals(this.authMethod, itemWithConsentFields.authMethod) &&
Objects.equals(this.error, itemWithConsentFields.error) &&
Objects.equals(this.availableProducts, itemWithConsentFields.availableProducts) &&
Objects.equals(this.billedProducts, itemWithConsentFields.billedProducts) &&
Objects.equals(this.products, itemWithConsentFields.products) &&
Objects.equals(this.consentedProducts, itemWithConsentFields.consentedProducts) &&
Objects.equals(this.consentExpirationTime, itemWithConsentFields.consentExpirationTime) &&
Objects.equals(this.updateType, itemWithConsentFields.updateType) &&
Objects.equals(this.createdAt, itemWithConsentFields.createdAt) &&
Objects.equals(this.consentedUseCases, itemWithConsentFields.consentedUseCases) &&
Objects.equals(this.consentedDataScopes, itemWithConsentFields.consentedDataScopes);
}
@Override
public int hashCode() {
return Objects.hash(itemId, institutionId, institutionName, webhook, authMethod, error, availableProducts, billedProducts, products, consentedProducts, consentExpirationTime, updateType, createdAt, consentedUseCases, consentedDataScopes);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ItemWithConsentFields {\n");
sb.append(" itemId: ").append(toIndentedString(itemId)).append("\n");
sb.append(" institutionId: ").append(toIndentedString(institutionId)).append("\n");
sb.append(" institutionName: ").append(toIndentedString(institutionName)).append("\n");
sb.append(" webhook: ").append(toIndentedString(webhook)).append("\n");
sb.append(" authMethod: ").append(toIndentedString(authMethod)).append("\n");
sb.append(" error: ").append(toIndentedString(error)).append("\n");
sb.append(" availableProducts: ").append(toIndentedString(availableProducts)).append("\n");
sb.append(" billedProducts: ").append(toIndentedString(billedProducts)).append("\n");
sb.append(" products: ").append(toIndentedString(products)).append("\n");
sb.append(" consentedProducts: ").append(toIndentedString(consentedProducts)).append("\n");
sb.append(" consentExpirationTime: ").append(toIndentedString(consentExpirationTime)).append("\n");
sb.append(" updateType: ").append(toIndentedString(updateType)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" consentedUseCases: ").append(toIndentedString(consentedUseCases)).append("\n");
sb.append(" consentedDataScopes: ").append(toIndentedString(consentedDataScopes)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ProtectReportCreateRequest.java | src/main/java/com/plaid/client/model/ProtectReportCreateRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.ProtectBankAccount;
import com.plaid.client.model.ProtectIncidentEvent;
import com.plaid.client.model.ProtectReportConfidence;
import com.plaid.client.model.ProtectReportSource;
import com.plaid.client.model.ProtectReportType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Request object for `/protect/report/create`. Must provide either `user_id` or at least one of the following identifiers in `incident_event`: `link_session_id`, `idv_session_id`, `protect_event_id`, or `signal_client_transaction_id`.
*/
@ApiModel(description = "Request object for `/protect/report/create`. Must provide either `user_id` or at least one of the following identifiers in `incident_event`: `link_session_id`, `idv_session_id`, `protect_event_id`, or `signal_client_transaction_id`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ProtectReportCreateRequest {
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 static final String SERIALIZED_NAME_INCIDENT_EVENT = "incident_event";
@SerializedName(SERIALIZED_NAME_INCIDENT_EVENT)
private ProtectIncidentEvent incidentEvent;
public static final String SERIALIZED_NAME_REPORT_CONFIDENCE = "report_confidence";
@SerializedName(SERIALIZED_NAME_REPORT_CONFIDENCE)
private ProtectReportConfidence reportConfidence;
public static final String SERIALIZED_NAME_REPORT_TYPE = "report_type";
@SerializedName(SERIALIZED_NAME_REPORT_TYPE)
private ProtectReportType reportType;
public static final String SERIALIZED_NAME_REPORT_SOURCE = "report_source";
@SerializedName(SERIALIZED_NAME_REPORT_SOURCE)
private ProtectReportSource reportSource;
public static final String SERIALIZED_NAME_BANK_ACCOUNT = "bank_account";
@SerializedName(SERIALIZED_NAME_BANK_ACCOUNT)
private ProtectBankAccount bankAccount;
public static final String SERIALIZED_NAME_ACH_RETURN_CODE = "ach_return_code";
@SerializedName(SERIALIZED_NAME_ACH_RETURN_CODE)
private String achReturnCode;
public static final String SERIALIZED_NAME_NOTES = "notes";
@SerializedName(SERIALIZED_NAME_NOTES)
private String notes;
public ProtectReportCreateRequest 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 ProtectReportCreateRequest 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 ProtectReportCreateRequest userId(String userId) {
this.userId = userId;
return this;
}
/**
* The Plaid User ID associated with the report.
* @return userId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The Plaid User ID associated with the report.")
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public ProtectReportCreateRequest incidentEvent(ProtectIncidentEvent incidentEvent) {
this.incidentEvent = incidentEvent;
return this;
}
/**
* Get incidentEvent
* @return incidentEvent
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ProtectIncidentEvent getIncidentEvent() {
return incidentEvent;
}
public void setIncidentEvent(ProtectIncidentEvent incidentEvent) {
this.incidentEvent = incidentEvent;
}
public ProtectReportCreateRequest reportConfidence(ProtectReportConfidence reportConfidence) {
this.reportConfidence = reportConfidence;
return this;
}
/**
* Get reportConfidence
* @return reportConfidence
**/
@ApiModelProperty(required = true, value = "")
public ProtectReportConfidence getReportConfidence() {
return reportConfidence;
}
public void setReportConfidence(ProtectReportConfidence reportConfidence) {
this.reportConfidence = reportConfidence;
}
public ProtectReportCreateRequest reportType(ProtectReportType reportType) {
this.reportType = reportType;
return this;
}
/**
* Get reportType
* @return reportType
**/
@ApiModelProperty(required = true, value = "")
public ProtectReportType getReportType() {
return reportType;
}
public void setReportType(ProtectReportType reportType) {
this.reportType = reportType;
}
public ProtectReportCreateRequest reportSource(ProtectReportSource reportSource) {
this.reportSource = reportSource;
return this;
}
/**
* Get reportSource
* @return reportSource
**/
@ApiModelProperty(required = true, value = "")
public ProtectReportSource getReportSource() {
return reportSource;
}
public void setReportSource(ProtectReportSource reportSource) {
this.reportSource = reportSource;
}
public ProtectReportCreateRequest bankAccount(ProtectBankAccount bankAccount) {
this.bankAccount = bankAccount;
return this;
}
/**
* Get bankAccount
* @return bankAccount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ProtectBankAccount getBankAccount() {
return bankAccount;
}
public void setBankAccount(ProtectBankAccount bankAccount) {
this.bankAccount = bankAccount;
}
public ProtectReportCreateRequest achReturnCode(String achReturnCode) {
this.achReturnCode = achReturnCode;
return this;
}
/**
* Must be a valid ACH return code (e.g. `R01`), required if `report_type` is `ACH_RETURN`.
* @return achReturnCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Must be a valid ACH return code (e.g. `R01`), required if `report_type` is `ACH_RETURN`.")
public String getAchReturnCode() {
return achReturnCode;
}
public void setAchReturnCode(String achReturnCode) {
this.achReturnCode = achReturnCode;
}
public ProtectReportCreateRequest notes(String notes) {
this.notes = notes;
return this;
}
/**
* Additional context or details about the report, required if `report_type` is `OTHER`.
* @return notes
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Additional context or details about the report, required if `report_type` is `OTHER`.")
public String getNotes() {
return notes;
}
public void setNotes(String notes) {
this.notes = notes;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ProtectReportCreateRequest protectReportCreateRequest = (ProtectReportCreateRequest) o;
return Objects.equals(this.clientId, protectReportCreateRequest.clientId) &&
Objects.equals(this.secret, protectReportCreateRequest.secret) &&
Objects.equals(this.userId, protectReportCreateRequest.userId) &&
Objects.equals(this.incidentEvent, protectReportCreateRequest.incidentEvent) &&
Objects.equals(this.reportConfidence, protectReportCreateRequest.reportConfidence) &&
Objects.equals(this.reportType, protectReportCreateRequest.reportType) &&
Objects.equals(this.reportSource, protectReportCreateRequest.reportSource) &&
Objects.equals(this.bankAccount, protectReportCreateRequest.bankAccount) &&
Objects.equals(this.achReturnCode, protectReportCreateRequest.achReturnCode) &&
Objects.equals(this.notes, protectReportCreateRequest.notes);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, userId, incidentEvent, reportConfidence, reportType, reportSource, bankAccount, achReturnCode, notes);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProtectReportCreateRequest {\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(" incidentEvent: ").append(toIndentedString(incidentEvent)).append("\n");
sb.append(" reportConfidence: ").append(toIndentedString(reportConfidence)).append("\n");
sb.append(" reportType: ").append(toIndentedString(reportType)).append("\n");
sb.append(" reportSource: ").append(toIndentedString(reportSource)).append("\n");
sb.append(" bankAccount: ").append(toIndentedString(bankAccount)).append("\n");
sb.append(" achReturnCode: ").append(toIndentedString(achReturnCode)).append("\n");
sb.append(" notes: ").append(toIndentedString(notes)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/UserItemsAssociateResponse.java | src/main/java/com/plaid/client/model/UserItemsAssociateResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* UserItemsAssociateResponse defines the response schema for `/user/items/associate`
*/
@ApiModel(description = "UserItemsAssociateResponse defines the response schema for `/user/items/associate`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class UserItemsAssociateResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public UserItemsAssociateResponse 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;
}
UserItemsAssociateResponse userItemsAssociateResponse = (UserItemsAssociateResponse) o;
return Objects.equals(this.requestId, userItemsAssociateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UserItemsAssociateResponse {\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/SandboxBankTransferSimulateResponse.java | src/main/java/com/plaid/client/model/SandboxBankTransferSimulateResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines the response schema for `/sandbox/bank_transfer/simulate`
*/
@ApiModel(description = "Defines the response schema for `/sandbox/bank_transfer/simulate`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SandboxBankTransferSimulateResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public SandboxBankTransferSimulateResponse 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;
}
SandboxBankTransferSimulateResponse sandboxBankTransferSimulateResponse = (SandboxBankTransferSimulateResponse) o;
return Objects.equals(this.requestId, sandboxBankTransferSimulateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SandboxBankTransferSimulateResponse {\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/EntityWatchlistScreening.java | src/main/java/com/plaid/client/model/EntityWatchlistScreening.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.EntityWatchlistScreeningSearchTerms;
import com.plaid.client.model.WatchlistScreeningAuditTrail;
import com.plaid.client.model.WatchlistScreeningStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The entity screening object allows you to represent an entity in your system, update its profile, and search for it on various watchlists. Note: Rejected entity screenings will not receive new hits, regardless of entity program configuration.
*/
@ApiModel(description = "The entity screening object allows you to represent an entity in your system, update its profile, and search for it on various watchlists. Note: Rejected entity screenings will not receive new hits, regardless of entity program configuration.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class EntityWatchlistScreening {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
public static final String SERIALIZED_NAME_SEARCH_TERMS = "search_terms";
@SerializedName(SERIALIZED_NAME_SEARCH_TERMS)
private EntityWatchlistScreeningSearchTerms searchTerms;
public static final String SERIALIZED_NAME_ASSIGNEE = "assignee";
@SerializedName(SERIALIZED_NAME_ASSIGNEE)
private String assignee;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private WatchlistScreeningStatus status;
public static final String SERIALIZED_NAME_CLIENT_USER_ID = "client_user_id";
@SerializedName(SERIALIZED_NAME_CLIENT_USER_ID)
private String clientUserId;
public static final String SERIALIZED_NAME_AUDIT_TRAIL = "audit_trail";
@SerializedName(SERIALIZED_NAME_AUDIT_TRAIL)
private WatchlistScreeningAuditTrail auditTrail;
public EntityWatchlistScreening id(String id) {
this.id = id;
return this;
}
/**
* ID of the associated entity screening.
* @return id
**/
@ApiModelProperty(example = "entscr_52xR9LKo77r1Np", required = true, value = "ID of the associated entity screening.")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public EntityWatchlistScreening searchTerms(EntityWatchlistScreeningSearchTerms searchTerms) {
this.searchTerms = searchTerms;
return this;
}
/**
* Get searchTerms
* @return searchTerms
**/
@ApiModelProperty(required = true, value = "")
public EntityWatchlistScreeningSearchTerms getSearchTerms() {
return searchTerms;
}
public void setSearchTerms(EntityWatchlistScreeningSearchTerms searchTerms) {
this.searchTerms = searchTerms;
}
public EntityWatchlistScreening assignee(String assignee) {
this.assignee = assignee;
return this;
}
/**
* ID of the associated user. To retrieve the email address or other details of the person corresponding to this id, use `/dashboard_user/get`.
* @return assignee
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "54350110fedcbaf01234ffee", required = true, value = "ID of the associated user. To retrieve the email address or other details of the person corresponding to this id, use `/dashboard_user/get`.")
public String getAssignee() {
return assignee;
}
public void setAssignee(String assignee) {
this.assignee = assignee;
}
public EntityWatchlistScreening status(WatchlistScreeningStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@ApiModelProperty(required = true, value = "")
public WatchlistScreeningStatus getStatus() {
return status;
}
public void setStatus(WatchlistScreeningStatus status) {
this.status = status;
}
public EntityWatchlistScreening clientUserId(String clientUserId) {
this.clientUserId = clientUserId;
return this;
}
/**
* A unique ID that identifies the end user in your system. This ID can also be used to associate user-specific data from other Plaid products. Financial Account Matching requires this field and the `/link/token/create` `client_user_id` to be consistent. Personally identifiable information, such as an email address or phone number, should not be used in the `client_user_id`.
* @return clientUserId
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "your-db-id-3b24110", required = true, value = "A unique ID that identifies the end user in your system. This ID can also be used to associate user-specific data from other Plaid products. Financial Account Matching requires this field and the `/link/token/create` `client_user_id` to be consistent. Personally identifiable information, such as an email address or phone number, should not be used in the `client_user_id`.")
public String getClientUserId() {
return clientUserId;
}
public void setClientUserId(String clientUserId) {
this.clientUserId = clientUserId;
}
public EntityWatchlistScreening auditTrail(WatchlistScreeningAuditTrail auditTrail) {
this.auditTrail = auditTrail;
return this;
}
/**
* Get auditTrail
* @return auditTrail
**/
@ApiModelProperty(required = true, value = "")
public WatchlistScreeningAuditTrail getAuditTrail() {
return auditTrail;
}
public void setAuditTrail(WatchlistScreeningAuditTrail auditTrail) {
this.auditTrail = auditTrail;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
EntityWatchlistScreening entityWatchlistScreening = (EntityWatchlistScreening) o;
return Objects.equals(this.id, entityWatchlistScreening.id) &&
Objects.equals(this.searchTerms, entityWatchlistScreening.searchTerms) &&
Objects.equals(this.assignee, entityWatchlistScreening.assignee) &&
Objects.equals(this.status, entityWatchlistScreening.status) &&
Objects.equals(this.clientUserId, entityWatchlistScreening.clientUserId) &&
Objects.equals(this.auditTrail, entityWatchlistScreening.auditTrail);
}
@Override
public int hashCode() {
return Objects.hash(id, searchTerms, assignee, status, clientUserId, auditTrail);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class EntityWatchlistScreening {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" searchTerms: ").append(toIndentedString(searchTerms)).append("\n");
sb.append(" assignee: ").append(toIndentedString(assignee)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" clientUserId: ").append(toIndentedString(clientUserId)).append("\n");
sb.append(" auditTrail: ").append(toIndentedString(auditTrail)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/InvestmentsTransactionsGetResponse.java | src/main/java/com/plaid/client/model/InvestmentsTransactionsGetResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.AccountBase;
import com.plaid.client.model.InvestmentTransaction;
import com.plaid.client.model.Item;
import com.plaid.client.model.Security;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* InvestmentsTransactionsGetResponse defines the response schema for `/investments/transactions/get`
*/
@ApiModel(description = "InvestmentsTransactionsGetResponse defines the response schema for `/investments/transactions/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class InvestmentsTransactionsGetResponse {
public static final String SERIALIZED_NAME_ITEM = "item";
@SerializedName(SERIALIZED_NAME_ITEM)
private Item item;
public static final String SERIALIZED_NAME_ACCOUNTS = "accounts";
@SerializedName(SERIALIZED_NAME_ACCOUNTS)
private List<AccountBase> accounts = new ArrayList<>();
public static final String SERIALIZED_NAME_SECURITIES = "securities";
@SerializedName(SERIALIZED_NAME_SECURITIES)
private List<Security> securities = new ArrayList<>();
public static final String SERIALIZED_NAME_INVESTMENT_TRANSACTIONS = "investment_transactions";
@SerializedName(SERIALIZED_NAME_INVESTMENT_TRANSACTIONS)
private List<InvestmentTransaction> investmentTransactions = new ArrayList<>();
public static final String SERIALIZED_NAME_TOTAL_INVESTMENT_TRANSACTIONS = "total_investment_transactions";
@SerializedName(SERIALIZED_NAME_TOTAL_INVESTMENT_TRANSACTIONS)
private Integer totalInvestmentTransactions;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public static final String SERIALIZED_NAME_IS_INVESTMENTS_FALLBACK_ITEM = "is_investments_fallback_item";
@SerializedName(SERIALIZED_NAME_IS_INVESTMENTS_FALLBACK_ITEM)
private Boolean isInvestmentsFallbackItem;
public InvestmentsTransactionsGetResponse item(Item item) {
this.item = item;
return this;
}
/**
* Get item
* @return item
**/
@ApiModelProperty(required = true, value = "")
public Item getItem() {
return item;
}
public void setItem(Item item) {
this.item = item;
}
public InvestmentsTransactionsGetResponse accounts(List<AccountBase> accounts) {
this.accounts = accounts;
return this;
}
public InvestmentsTransactionsGetResponse addAccountsItem(AccountBase accountsItem) {
this.accounts.add(accountsItem);
return this;
}
/**
* The accounts for which transaction history is being fetched.
* @return accounts
**/
@ApiModelProperty(required = true, value = "The accounts for which transaction history is being fetched.")
public List<AccountBase> getAccounts() {
return accounts;
}
public void setAccounts(List<AccountBase> accounts) {
this.accounts = accounts;
}
public InvestmentsTransactionsGetResponse securities(List<Security> securities) {
this.securities = securities;
return this;
}
public InvestmentsTransactionsGetResponse addSecuritiesItem(Security securitiesItem) {
this.securities.add(securitiesItem);
return this;
}
/**
* All securities for which there is a corresponding transaction being fetched.
* @return securities
**/
@ApiModelProperty(required = true, value = "All securities for which there is a corresponding transaction being fetched.")
public List<Security> getSecurities() {
return securities;
}
public void setSecurities(List<Security> securities) {
this.securities = securities;
}
public InvestmentsTransactionsGetResponse investmentTransactions(List<InvestmentTransaction> investmentTransactions) {
this.investmentTransactions = investmentTransactions;
return this;
}
public InvestmentsTransactionsGetResponse addInvestmentTransactionsItem(InvestmentTransaction investmentTransactionsItem) {
this.investmentTransactions.add(investmentTransactionsItem);
return this;
}
/**
* The transactions being fetched
* @return investmentTransactions
**/
@ApiModelProperty(required = true, value = "The transactions being fetched")
public List<InvestmentTransaction> getInvestmentTransactions() {
return investmentTransactions;
}
public void setInvestmentTransactions(List<InvestmentTransaction> investmentTransactions) {
this.investmentTransactions = investmentTransactions;
}
public InvestmentsTransactionsGetResponse totalInvestmentTransactions(Integer totalInvestmentTransactions) {
this.totalInvestmentTransactions = totalInvestmentTransactions;
return this;
}
/**
* The total number of transactions available within the date range specified. If `total_investment_transactions` is larger than the size of the `transactions` array, more transactions are available and can be fetched via manipulating the `offset` parameter.
* @return totalInvestmentTransactions
**/
@ApiModelProperty(required = true, value = "The total number of transactions available within the date range specified. If `total_investment_transactions` is larger than the size of the `transactions` array, more transactions are available and can be fetched via manipulating the `offset` parameter.")
public Integer getTotalInvestmentTransactions() {
return totalInvestmentTransactions;
}
public void setTotalInvestmentTransactions(Integer totalInvestmentTransactions) {
this.totalInvestmentTransactions = totalInvestmentTransactions;
}
public InvestmentsTransactionsGetResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public InvestmentsTransactionsGetResponse isInvestmentsFallbackItem(Boolean isInvestmentsFallbackItem) {
this.isInvestmentsFallbackItem = isInvestmentsFallbackItem;
return this;
}
/**
* When true, this field indicates that the Item's portfolio was manually created with the Investments Fallback flow.
* @return isInvestmentsFallbackItem
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "When true, this field indicates that the Item's portfolio was manually created with the Investments Fallback flow.")
public Boolean getIsInvestmentsFallbackItem() {
return isInvestmentsFallbackItem;
}
public void setIsInvestmentsFallbackItem(Boolean isInvestmentsFallbackItem) {
this.isInvestmentsFallbackItem = isInvestmentsFallbackItem;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
InvestmentsTransactionsGetResponse investmentsTransactionsGetResponse = (InvestmentsTransactionsGetResponse) o;
return Objects.equals(this.item, investmentsTransactionsGetResponse.item) &&
Objects.equals(this.accounts, investmentsTransactionsGetResponse.accounts) &&
Objects.equals(this.securities, investmentsTransactionsGetResponse.securities) &&
Objects.equals(this.investmentTransactions, investmentsTransactionsGetResponse.investmentTransactions) &&
Objects.equals(this.totalInvestmentTransactions, investmentsTransactionsGetResponse.totalInvestmentTransactions) &&
Objects.equals(this.requestId, investmentsTransactionsGetResponse.requestId) &&
Objects.equals(this.isInvestmentsFallbackItem, investmentsTransactionsGetResponse.isInvestmentsFallbackItem);
}
@Override
public int hashCode() {
return Objects.hash(item, accounts, securities, investmentTransactions, totalInvestmentTransactions, requestId, isInvestmentsFallbackItem);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class InvestmentsTransactionsGetResponse {\n");
sb.append(" item: ").append(toIndentedString(item)).append("\n");
sb.append(" accounts: ").append(toIndentedString(accounts)).append("\n");
sb.append(" securities: ").append(toIndentedString(securities)).append("\n");
sb.append(" investmentTransactions: ").append(toIndentedString(investmentTransactions)).append("\n");
sb.append(" totalInvestmentTransactions: ").append(toIndentedString(totalInvestmentTransactions)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append(" isInvestmentsFallbackItem: ").append(toIndentedString(isInvestmentsFallbackItem)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ProtectEventGetResponse.java | src/main/java/com/plaid/client/model/ProtectEventGetResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.TrustIndex;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
/**
* Response object for /protect/event/get
*/
@ApiModel(description = "Response object for /protect/event/get")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ProtectEventGetResponse {
public static final String SERIALIZED_NAME_EVENT_ID = "event_id";
@SerializedName(SERIALIZED_NAME_EVENT_ID)
private String eventId;
public static final String SERIALIZED_NAME_TIMESTAMP = "timestamp";
@SerializedName(SERIALIZED_NAME_TIMESTAMP)
private OffsetDateTime timestamp;
public static final String SERIALIZED_NAME_TRUST_INDEX = "trust_index";
@SerializedName(SERIALIZED_NAME_TRUST_INDEX)
private TrustIndex trustIndex;
public static final String SERIALIZED_NAME_FRAUD_ATTRIBUTES = "fraud_attributes";
@SerializedName(SERIALIZED_NAME_FRAUD_ATTRIBUTES)
private Object fraudAttributes;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public ProtectEventGetResponse eventId(String eventId) {
this.eventId = eventId;
return this;
}
/**
* The event ID.
* @return eventId
**/
@ApiModelProperty(required = true, value = "The event ID.")
public String getEventId() {
return eventId;
}
public void setEventId(String eventId) {
this.eventId = eventId;
}
public ProtectEventGetResponse timestamp(OffsetDateTime timestamp) {
this.timestamp = timestamp;
return this;
}
/**
* The timestamp of the event, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format, e.g. `\"2017-09-14T14:42:19.350Z\"`
* @return timestamp
**/
@ApiModelProperty(required = true, value = "The timestamp of the event, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format, e.g. `\"2017-09-14T14:42:19.350Z\"`")
public OffsetDateTime getTimestamp() {
return timestamp;
}
public void setTimestamp(OffsetDateTime timestamp) {
this.timestamp = timestamp;
}
public ProtectEventGetResponse trustIndex(TrustIndex trustIndex) {
this.trustIndex = trustIndex;
return this;
}
/**
* Get trustIndex
* @return trustIndex
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public TrustIndex getTrustIndex() {
return trustIndex;
}
public void setTrustIndex(TrustIndex trustIndex) {
this.trustIndex = trustIndex;
}
public ProtectEventGetResponse fraudAttributes(Object fraudAttributes) {
this.fraudAttributes = fraudAttributes;
return this;
}
/**
* Event fraud attributes as an arbitrary set of key-value pairs.
* @return fraudAttributes
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Event fraud attributes as an arbitrary set of key-value pairs.")
public Object getFraudAttributes() {
return fraudAttributes;
}
public void setFraudAttributes(Object fraudAttributes) {
this.fraudAttributes = fraudAttributes;
}
public ProtectEventGetResponse 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;
}
ProtectEventGetResponse protectEventGetResponse = (ProtectEventGetResponse) o;
return Objects.equals(this.eventId, protectEventGetResponse.eventId) &&
Objects.equals(this.timestamp, protectEventGetResponse.timestamp) &&
Objects.equals(this.trustIndex, protectEventGetResponse.trustIndex) &&
Objects.equals(this.fraudAttributes, protectEventGetResponse.fraudAttributes) &&
Objects.equals(this.requestId, protectEventGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(eventId, timestamp, trustIndex, fraudAttributes, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProtectEventGetResponse {\n");
sb.append(" eventId: ").append(toIndentedString(eventId)).append("\n");
sb.append(" timestamp: ").append(toIndentedString(timestamp)).append("\n");
sb.append(" trustIndex: ").append(toIndentedString(trustIndex)).append("\n");
sb.append(" fraudAttributes: ").append(toIndentedString(fraudAttributes)).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/W2.java | src/main/java/com/plaid/client/model/W2.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.Employee;
import com.plaid.client.model.PaystubEmployer;
import com.plaid.client.model.W2Box12;
import com.plaid.client.model.W2StateAndLocalWages;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* W2 is an object that represents income data taken from a W2 tax document.
*/
@ApiModel(description = "W2 is an object that represents income data taken from a W2 tax document.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class W2 {
public static final String SERIALIZED_NAME_EMPLOYER = "employer";
@SerializedName(SERIALIZED_NAME_EMPLOYER)
private PaystubEmployer employer;
public static final String SERIALIZED_NAME_EMPLOYEE = "employee";
@SerializedName(SERIALIZED_NAME_EMPLOYEE)
private Employee employee;
public static final String SERIALIZED_NAME_TAX_YEAR = "tax_year";
@SerializedName(SERIALIZED_NAME_TAX_YEAR)
private String taxYear;
public static final String SERIALIZED_NAME_EMPLOYER_ID_NUMBER = "employer_id_number";
@SerializedName(SERIALIZED_NAME_EMPLOYER_ID_NUMBER)
private String employerIdNumber;
public static final String SERIALIZED_NAME_WAGES_TIPS_OTHER_COMP = "wages_tips_other_comp";
@SerializedName(SERIALIZED_NAME_WAGES_TIPS_OTHER_COMP)
private String wagesTipsOtherComp;
public static final String SERIALIZED_NAME_FEDERAL_INCOME_TAX_WITHHELD = "federal_income_tax_withheld";
@SerializedName(SERIALIZED_NAME_FEDERAL_INCOME_TAX_WITHHELD)
private String federalIncomeTaxWithheld;
public static final String SERIALIZED_NAME_SOCIAL_SECURITY_WAGES = "social_security_wages";
@SerializedName(SERIALIZED_NAME_SOCIAL_SECURITY_WAGES)
private String socialSecurityWages;
public static final String SERIALIZED_NAME_SOCIAL_SECURITY_TAX_WITHHELD = "social_security_tax_withheld";
@SerializedName(SERIALIZED_NAME_SOCIAL_SECURITY_TAX_WITHHELD)
private String socialSecurityTaxWithheld;
public static final String SERIALIZED_NAME_MEDICARE_WAGES_AND_TIPS = "medicare_wages_and_tips";
@SerializedName(SERIALIZED_NAME_MEDICARE_WAGES_AND_TIPS)
private String medicareWagesAndTips;
public static final String SERIALIZED_NAME_MEDICARE_TAX_WITHHELD = "medicare_tax_withheld";
@SerializedName(SERIALIZED_NAME_MEDICARE_TAX_WITHHELD)
private String medicareTaxWithheld;
public static final String SERIALIZED_NAME_SOCIAL_SECURITY_TIPS = "social_security_tips";
@SerializedName(SERIALIZED_NAME_SOCIAL_SECURITY_TIPS)
private String socialSecurityTips;
public static final String SERIALIZED_NAME_ALLOCATED_TIPS = "allocated_tips";
@SerializedName(SERIALIZED_NAME_ALLOCATED_TIPS)
private String allocatedTips;
public static final String SERIALIZED_NAME_BOX9 = "box_9";
@SerializedName(SERIALIZED_NAME_BOX9)
private String box9;
public static final String SERIALIZED_NAME_DEPENDENT_CARE_BENEFITS = "dependent_care_benefits";
@SerializedName(SERIALIZED_NAME_DEPENDENT_CARE_BENEFITS)
private String dependentCareBenefits;
public static final String SERIALIZED_NAME_NONQUALIFIED_PLANS = "nonqualified_plans";
@SerializedName(SERIALIZED_NAME_NONQUALIFIED_PLANS)
private String nonqualifiedPlans;
public static final String SERIALIZED_NAME_BOX12 = "box_12";
@SerializedName(SERIALIZED_NAME_BOX12)
private List<W2Box12> box12 = null;
public static final String SERIALIZED_NAME_STATUTORY_EMPLOYEE = "statutory_employee";
@SerializedName(SERIALIZED_NAME_STATUTORY_EMPLOYEE)
private String statutoryEmployee;
public static final String SERIALIZED_NAME_RETIREMENT_PLAN = "retirement_plan";
@SerializedName(SERIALIZED_NAME_RETIREMENT_PLAN)
private String retirementPlan;
public static final String SERIALIZED_NAME_THIRD_PARTY_SICK_PAY = "third_party_sick_pay";
@SerializedName(SERIALIZED_NAME_THIRD_PARTY_SICK_PAY)
private String thirdPartySickPay;
public static final String SERIALIZED_NAME_OTHER = "other";
@SerializedName(SERIALIZED_NAME_OTHER)
private String other;
public static final String SERIALIZED_NAME_STATE_AND_LOCAL_WAGES = "state_and_local_wages";
@SerializedName(SERIALIZED_NAME_STATE_AND_LOCAL_WAGES)
private List<W2StateAndLocalWages> stateAndLocalWages = null;
public W2 employer(PaystubEmployer employer) {
this.employer = employer;
return this;
}
/**
* Get employer
* @return employer
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PaystubEmployer getEmployer() {
return employer;
}
public void setEmployer(PaystubEmployer employer) {
this.employer = employer;
}
public W2 employee(Employee employee) {
this.employee = employee;
return this;
}
/**
* Get employee
* @return employee
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Employee getEmployee() {
return employee;
}
public void setEmployee(Employee employee) {
this.employee = employee;
}
public W2 taxYear(String taxYear) {
this.taxYear = taxYear;
return this;
}
/**
* The tax year of the W2 document.
* @return taxYear
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The tax year of the W2 document.")
public String getTaxYear() {
return taxYear;
}
public void setTaxYear(String taxYear) {
this.taxYear = taxYear;
}
public W2 employerIdNumber(String employerIdNumber) {
this.employerIdNumber = employerIdNumber;
return this;
}
/**
* An employee identification number or EIN.
* @return employerIdNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "An employee identification number or EIN.")
public String getEmployerIdNumber() {
return employerIdNumber;
}
public void setEmployerIdNumber(String employerIdNumber) {
this.employerIdNumber = employerIdNumber;
}
public W2 wagesTipsOtherComp(String wagesTipsOtherComp) {
this.wagesTipsOtherComp = wagesTipsOtherComp;
return this;
}
/**
* Wages from tips and other compensation.
* @return wagesTipsOtherComp
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Wages from tips and other compensation.")
public String getWagesTipsOtherComp() {
return wagesTipsOtherComp;
}
public void setWagesTipsOtherComp(String wagesTipsOtherComp) {
this.wagesTipsOtherComp = wagesTipsOtherComp;
}
public W2 federalIncomeTaxWithheld(String federalIncomeTaxWithheld) {
this.federalIncomeTaxWithheld = federalIncomeTaxWithheld;
return this;
}
/**
* Federal income tax withheld for the tax year.
* @return federalIncomeTaxWithheld
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Federal income tax withheld for the tax year.")
public String getFederalIncomeTaxWithheld() {
return federalIncomeTaxWithheld;
}
public void setFederalIncomeTaxWithheld(String federalIncomeTaxWithheld) {
this.federalIncomeTaxWithheld = federalIncomeTaxWithheld;
}
public W2 socialSecurityWages(String socialSecurityWages) {
this.socialSecurityWages = socialSecurityWages;
return this;
}
/**
* Wages from social security.
* @return socialSecurityWages
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Wages from social security.")
public String getSocialSecurityWages() {
return socialSecurityWages;
}
public void setSocialSecurityWages(String socialSecurityWages) {
this.socialSecurityWages = socialSecurityWages;
}
public W2 socialSecurityTaxWithheld(String socialSecurityTaxWithheld) {
this.socialSecurityTaxWithheld = socialSecurityTaxWithheld;
return this;
}
/**
* Social security tax withheld for the tax year.
* @return socialSecurityTaxWithheld
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Social security tax withheld for the tax year.")
public String getSocialSecurityTaxWithheld() {
return socialSecurityTaxWithheld;
}
public void setSocialSecurityTaxWithheld(String socialSecurityTaxWithheld) {
this.socialSecurityTaxWithheld = socialSecurityTaxWithheld;
}
public W2 medicareWagesAndTips(String medicareWagesAndTips) {
this.medicareWagesAndTips = medicareWagesAndTips;
return this;
}
/**
* Wages and tips from medicare.
* @return medicareWagesAndTips
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Wages and tips from medicare.")
public String getMedicareWagesAndTips() {
return medicareWagesAndTips;
}
public void setMedicareWagesAndTips(String medicareWagesAndTips) {
this.medicareWagesAndTips = medicareWagesAndTips;
}
public W2 medicareTaxWithheld(String medicareTaxWithheld) {
this.medicareTaxWithheld = medicareTaxWithheld;
return this;
}
/**
* Medicare tax withheld for the tax year.
* @return medicareTaxWithheld
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Medicare tax withheld for the tax year.")
public String getMedicareTaxWithheld() {
return medicareTaxWithheld;
}
public void setMedicareTaxWithheld(String medicareTaxWithheld) {
this.medicareTaxWithheld = medicareTaxWithheld;
}
public W2 socialSecurityTips(String socialSecurityTips) {
this.socialSecurityTips = socialSecurityTips;
return this;
}
/**
* Tips from social security.
* @return socialSecurityTips
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Tips from social security.")
public String getSocialSecurityTips() {
return socialSecurityTips;
}
public void setSocialSecurityTips(String socialSecurityTips) {
this.socialSecurityTips = socialSecurityTips;
}
public W2 allocatedTips(String allocatedTips) {
this.allocatedTips = allocatedTips;
return this;
}
/**
* Allocated tips.
* @return allocatedTips
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Allocated tips.")
public String getAllocatedTips() {
return allocatedTips;
}
public void setAllocatedTips(String allocatedTips) {
this.allocatedTips = allocatedTips;
}
public W2 box9(String box9) {
this.box9 = box9;
return this;
}
/**
* Contents from box 9 on the W2.
* @return box9
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Contents from box 9 on the W2.")
public String getBox9() {
return box9;
}
public void setBox9(String box9) {
this.box9 = box9;
}
public W2 dependentCareBenefits(String dependentCareBenefits) {
this.dependentCareBenefits = dependentCareBenefits;
return this;
}
/**
* Dependent care benefits.
* @return dependentCareBenefits
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Dependent care benefits.")
public String getDependentCareBenefits() {
return dependentCareBenefits;
}
public void setDependentCareBenefits(String dependentCareBenefits) {
this.dependentCareBenefits = dependentCareBenefits;
}
public W2 nonqualifiedPlans(String nonqualifiedPlans) {
this.nonqualifiedPlans = nonqualifiedPlans;
return this;
}
/**
* Nonqualified plans.
* @return nonqualifiedPlans
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Nonqualified plans.")
public String getNonqualifiedPlans() {
return nonqualifiedPlans;
}
public void setNonqualifiedPlans(String nonqualifiedPlans) {
this.nonqualifiedPlans = nonqualifiedPlans;
}
public W2 box12(List<W2Box12> box12) {
this.box12 = box12;
return this;
}
public W2 addBox12Item(W2Box12 box12Item) {
if (this.box12 == null) {
this.box12 = new ArrayList<>();
}
this.box12.add(box12Item);
return this;
}
/**
* Get box12
* @return box12
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<W2Box12> getBox12() {
return box12;
}
public void setBox12(List<W2Box12> box12) {
this.box12 = box12;
}
public W2 statutoryEmployee(String statutoryEmployee) {
this.statutoryEmployee = statutoryEmployee;
return this;
}
/**
* Statutory employee.
* @return statutoryEmployee
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Statutory employee.")
public String getStatutoryEmployee() {
return statutoryEmployee;
}
public void setStatutoryEmployee(String statutoryEmployee) {
this.statutoryEmployee = statutoryEmployee;
}
public W2 retirementPlan(String retirementPlan) {
this.retirementPlan = retirementPlan;
return this;
}
/**
* Retirement plan.
* @return retirementPlan
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Retirement plan.")
public String getRetirementPlan() {
return retirementPlan;
}
public void setRetirementPlan(String retirementPlan) {
this.retirementPlan = retirementPlan;
}
public W2 thirdPartySickPay(String thirdPartySickPay) {
this.thirdPartySickPay = thirdPartySickPay;
return this;
}
/**
* Third party sick pay.
* @return thirdPartySickPay
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Third party sick pay.")
public String getThirdPartySickPay() {
return thirdPartySickPay;
}
public void setThirdPartySickPay(String thirdPartySickPay) {
this.thirdPartySickPay = thirdPartySickPay;
}
public W2 other(String other) {
this.other = other;
return this;
}
/**
* Other.
* @return other
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Other.")
public String getOther() {
return other;
}
public void setOther(String other) {
this.other = other;
}
public W2 stateAndLocalWages(List<W2StateAndLocalWages> stateAndLocalWages) {
this.stateAndLocalWages = stateAndLocalWages;
return this;
}
public W2 addStateAndLocalWagesItem(W2StateAndLocalWages stateAndLocalWagesItem) {
if (this.stateAndLocalWages == null) {
this.stateAndLocalWages = new ArrayList<>();
}
this.stateAndLocalWages.add(stateAndLocalWagesItem);
return this;
}
/**
* Get stateAndLocalWages
* @return stateAndLocalWages
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<W2StateAndLocalWages> getStateAndLocalWages() {
return stateAndLocalWages;
}
public void setStateAndLocalWages(List<W2StateAndLocalWages> stateAndLocalWages) {
this.stateAndLocalWages = stateAndLocalWages;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
W2 W2 = (W2) o;
return Objects.equals(this.employer, W2.employer) &&
Objects.equals(this.employee, W2.employee) &&
Objects.equals(this.taxYear, W2.taxYear) &&
Objects.equals(this.employerIdNumber, W2.employerIdNumber) &&
Objects.equals(this.wagesTipsOtherComp, W2.wagesTipsOtherComp) &&
Objects.equals(this.federalIncomeTaxWithheld, W2.federalIncomeTaxWithheld) &&
Objects.equals(this.socialSecurityWages, W2.socialSecurityWages) &&
Objects.equals(this.socialSecurityTaxWithheld, W2.socialSecurityTaxWithheld) &&
Objects.equals(this.medicareWagesAndTips, W2.medicareWagesAndTips) &&
Objects.equals(this.medicareTaxWithheld, W2.medicareTaxWithheld) &&
Objects.equals(this.socialSecurityTips, W2.socialSecurityTips) &&
Objects.equals(this.allocatedTips, W2.allocatedTips) &&
Objects.equals(this.box9, W2.box9) &&
Objects.equals(this.dependentCareBenefits, W2.dependentCareBenefits) &&
Objects.equals(this.nonqualifiedPlans, W2.nonqualifiedPlans) &&
Objects.equals(this.box12, W2.box12) &&
Objects.equals(this.statutoryEmployee, W2.statutoryEmployee) &&
Objects.equals(this.retirementPlan, W2.retirementPlan) &&
Objects.equals(this.thirdPartySickPay, W2.thirdPartySickPay) &&
Objects.equals(this.other, W2.other) &&
Objects.equals(this.stateAndLocalWages, W2.stateAndLocalWages);
}
@Override
public int hashCode() {
return Objects.hash(employer, employee, taxYear, employerIdNumber, wagesTipsOtherComp, federalIncomeTaxWithheld, socialSecurityWages, socialSecurityTaxWithheld, medicareWagesAndTips, medicareTaxWithheld, socialSecurityTips, allocatedTips, box9, dependentCareBenefits, nonqualifiedPlans, box12, statutoryEmployee, retirementPlan, thirdPartySickPay, other, stateAndLocalWages);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class W2 {\n");
sb.append(" employer: ").append(toIndentedString(employer)).append("\n");
sb.append(" employee: ").append(toIndentedString(employee)).append("\n");
sb.append(" taxYear: ").append(toIndentedString(taxYear)).append("\n");
sb.append(" employerIdNumber: ").append(toIndentedString(employerIdNumber)).append("\n");
sb.append(" wagesTipsOtherComp: ").append(toIndentedString(wagesTipsOtherComp)).append("\n");
sb.append(" federalIncomeTaxWithheld: ").append(toIndentedString(federalIncomeTaxWithheld)).append("\n");
sb.append(" socialSecurityWages: ").append(toIndentedString(socialSecurityWages)).append("\n");
sb.append(" socialSecurityTaxWithheld: ").append(toIndentedString(socialSecurityTaxWithheld)).append("\n");
sb.append(" medicareWagesAndTips: ").append(toIndentedString(medicareWagesAndTips)).append("\n");
sb.append(" medicareTaxWithheld: ").append(toIndentedString(medicareTaxWithheld)).append("\n");
sb.append(" socialSecurityTips: ").append(toIndentedString(socialSecurityTips)).append("\n");
sb.append(" allocatedTips: ").append(toIndentedString(allocatedTips)).append("\n");
sb.append(" box9: ").append(toIndentedString(box9)).append("\n");
sb.append(" dependentCareBenefits: ").append(toIndentedString(dependentCareBenefits)).append("\n");
sb.append(" nonqualifiedPlans: ").append(toIndentedString(nonqualifiedPlans)).append("\n");
sb.append(" box12: ").append(toIndentedString(box12)).append("\n");
sb.append(" statutoryEmployee: ").append(toIndentedString(statutoryEmployee)).append("\n");
sb.append(" retirementPlan: ").append(toIndentedString(retirementPlan)).append("\n");
sb.append(" thirdPartySickPay: ").append(toIndentedString(thirdPartySickPay)).append("\n");
sb.append(" other: ").append(toIndentedString(other)).append("\n");
sb.append(" stateAndLocalWages: ").append(toIndentedString(stateAndLocalWages)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransferDiligenceSubmitResponse.java | src/main/java/com/plaid/client/model/TransferDiligenceSubmitResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines the response schema for `/transfer/diligence/submit`
*/
@ApiModel(description = "Defines the response schema for `/transfer/diligence/submit`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferDiligenceSubmitResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public TransferDiligenceSubmitResponse 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;
}
TransferDiligenceSubmitResponse transferDiligenceSubmitResponse = (TransferDiligenceSubmitResponse) o;
return Objects.equals(this.requestId, transferDiligenceSubmitResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferDiligenceSubmitResponse {\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/BeaconUserRequestAddress.java | src/main/java/com/plaid/client/model/BeaconUserRequestAddress.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* Home address for the associated user. For more context on this field, see [Input Validation by Country](https://plaid.com/docs/identity-verification/hybrid-input-validation/#input-validation-by-country).
*/
@ApiModel(description = "Home address for the associated user. For more context on this field, see [Input Validation by Country](https://plaid.com/docs/identity-verification/hybrid-input-validation/#input-validation-by-country).")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BeaconUserRequestAddress {
public static final String SERIALIZED_NAME_STREET = "street";
@SerializedName(SERIALIZED_NAME_STREET)
private String street;
public static final String SERIALIZED_NAME_STREET2 = "street2";
@SerializedName(SERIALIZED_NAME_STREET2)
private String street2;
public static final String SERIALIZED_NAME_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_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 BeaconUserRequestAddress street(String street) {
this.street = street;
return this;
}
/**
* The primary street portion of an address. If an address is provided, this field will always be filled. A string with at least one non-whitespace alphabetical character, with a max length of 80 characters.
* @return street
**/
@ApiModelProperty(example = "123 Main St.", required = true, value = "The primary street portion of an address. If an address is provided, this field will always be filled. A string with at least one non-whitespace alphabetical character, with a max length of 80 characters.")
public String getStreet() {
return street;
}
public void setStreet(String street) {
this.street = street;
}
public BeaconUserRequestAddress street2(String street2) {
this.street2 = street2;
return this;
}
/**
* Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 50 characters.
* @return street2
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "Unit 42", value = "Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 50 characters.")
public String getStreet2() {
return street2;
}
public void setStreet2(String street2) {
this.street2 = street2;
}
public BeaconUserRequestAddress city(String city) {
this.city = city;
return this;
}
/**
* City from the address. A string with at least one non-whitespace alphabetical character, with a max length of 100 characters.
* @return city
**/
@ApiModelProperty(example = "Pawnee", required = true, value = "City from the address. A string with at least one non-whitespace alphabetical character, with a max length of 100 characters.")
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public BeaconUserRequestAddress region(String region) {
this.region = region;
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 region
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "IN", 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 getRegion() {
return region;
}
public void setRegion(String region) {
this.region = region;
}
public BeaconUserRequestAddress postalCode(String postalCode) {
this.postalCode = postalCode;
return this;
}
/**
* The postal code for the associated address. Between 2 and 10 alphanumeric characters. For US-based addresses this must be 5 numeric digits.
* @return postalCode
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "46001", value = "The postal code for the associated address. Between 2 and 10 alphanumeric characters. For US-based addresses this must be 5 numeric digits.")
public String getPostalCode() {
return postalCode;
}
public void setPostalCode(String postalCode) {
this.postalCode = postalCode;
}
public BeaconUserRequestAddress 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;
}
BeaconUserRequestAddress beaconUserRequestAddress = (BeaconUserRequestAddress) o;
return Objects.equals(this.street, beaconUserRequestAddress.street) &&
Objects.equals(this.street2, beaconUserRequestAddress.street2) &&
Objects.equals(this.city, beaconUserRequestAddress.city) &&
Objects.equals(this.region, beaconUserRequestAddress.region) &&
Objects.equals(this.postalCode, beaconUserRequestAddress.postalCode) &&
Objects.equals(this.country, beaconUserRequestAddress.country);
}
@Override
public int hashCode() {
return Objects.hash(street, street2, city, region, postalCode, country);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BeaconUserRequestAddress {\n");
sb.append(" street: ").append(toIndentedString(street)).append("\n");
sb.append(" street2: ").append(toIndentedString(street2)).append("\n");
sb.append(" city: ").append(toIndentedString(city)).append("\n");
sb.append(" region: ").append(toIndentedString(region)).append("\n");
sb.append(" 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/LinkSessionProtectResult.java | src/main/java/com/plaid/client/model/LinkSessionProtectResult.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.TrustIndex;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Plaid Protect details from the Link session
*/
@ApiModel(description = "Plaid Protect details from the Link session")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkSessionProtectResult {
public static final String SERIALIZED_NAME_EVENT_ID = "event_id";
@SerializedName(SERIALIZED_NAME_EVENT_ID)
private String eventId;
public static final String SERIALIZED_NAME_TRUST_INDEX = "trust_index";
@SerializedName(SERIALIZED_NAME_TRUST_INDEX)
private TrustIndex trustIndex;
public static final String SERIALIZED_NAME_FRAUD_ATTRIBUTES = "fraud_attributes";
@SerializedName(SERIALIZED_NAME_FRAUD_ATTRIBUTES)
private Object fraudAttributes;
public LinkSessionProtectResult eventId(String eventId) {
this.eventId = eventId;
return this;
}
/**
* The Plaid Protect event ID representing the completion of the link session.
* @return eventId
**/
@ApiModelProperty(required = true, value = "The Plaid Protect event ID representing the completion of the link session.")
public String getEventId() {
return eventId;
}
public void setEventId(String eventId) {
this.eventId = eventId;
}
public LinkSessionProtectResult trustIndex(TrustIndex trustIndex) {
this.trustIndex = trustIndex;
return this;
}
/**
* Get trustIndex
* @return trustIndex
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public TrustIndex getTrustIndex() {
return trustIndex;
}
public void setTrustIndex(TrustIndex trustIndex) {
this.trustIndex = trustIndex;
}
public LinkSessionProtectResult fraudAttributes(Object fraudAttributes) {
this.fraudAttributes = fraudAttributes;
return this;
}
/**
* Contains attributes used during a trust index calculation.
* @return fraudAttributes
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Contains attributes used during a trust index calculation.")
public Object getFraudAttributes() {
return fraudAttributes;
}
public void setFraudAttributes(Object fraudAttributes) {
this.fraudAttributes = fraudAttributes;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkSessionProtectResult linkSessionProtectResult = (LinkSessionProtectResult) o;
return Objects.equals(this.eventId, linkSessionProtectResult.eventId) &&
Objects.equals(this.trustIndex, linkSessionProtectResult.trustIndex) &&
Objects.equals(this.fraudAttributes, linkSessionProtectResult.fraudAttributes);
}
@Override
public int hashCode() {
return Objects.hash(eventId, trustIndex, fraudAttributes);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkSessionProtectResult {\n");
sb.append(" eventId: ").append(toIndentedString(eventId)).append("\n");
sb.append(" trustIndex: ").append(toIndentedString(trustIndex)).append("\n");
sb.append(" fraudAttributes: ").append(toIndentedString(fraudAttributes)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/IdentityVerificationDocumentAddressResponse.java | src/main/java/com/plaid/client/model/IdentityVerificationDocumentAddressResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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 extracted from the document. The address must at least contain the following fields to be a valid address: `street`, `city`, `country`. If any are missing or unable to be extracted, the address will be null. `region`, and `postal_code` may be null based on the addressing system. For example: Addresses from the United Kingdom will not include a region Addresses from Hong Kong will not include postal code Note: Optical Character Recognition (OCR) technology may sometimes extract incorrect data from a document.
*/
@ApiModel(description = "The address extracted from the document. The address must at least contain the following fields to be a valid address: `street`, `city`, `country`. If any are missing or unable to be extracted, the address will be null. `region`, and `postal_code` may be null based on the addressing system. For example: Addresses from the United Kingdom will not include a region Addresses from Hong Kong will not include postal code Note: Optical Character Recognition (OCR) technology may sometimes extract incorrect data from a document.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class IdentityVerificationDocumentAddressResponse {
public static final String SERIALIZED_NAME_STREET = "street";
@SerializedName(SERIALIZED_NAME_STREET)
private String street;
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_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 IdentityVerificationDocumentAddressResponse street(String street) {
this.street = street;
return this;
}
/**
* The full street address extracted from the document.
* @return street
**/
@ApiModelProperty(example = "123 Main St. Unit 42", required = true, value = "The full street address extracted from the document.")
public String getStreet() {
return street;
}
public void setStreet(String street) {
this.street = street;
}
public IdentityVerificationDocumentAddressResponse city(String city) {
this.city = city;
return this;
}
/**
* City extracted from the document.
* @return city
**/
@ApiModelProperty(example = "Pawnee", required = true, value = "City extracted from the document.")
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public IdentityVerificationDocumentAddressResponse region(String region) {
this.region = region;
return this;
}
/**
* A subdivision code extracted from the document. Related terms would be \"state\", \"province\", \"prefecture\", \"zone\", \"subdivision\", etc. For a full list of valid codes, see [country subdivision codes](https://plaid.com/documents/country_subdivision_codes.json). Country prefixes are omitted, since they can be inferred from the `country` field.
* @return region
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "IN", required = true, value = "A subdivision code extracted from the document. Related terms would be \"state\", \"province\", \"prefecture\", \"zone\", \"subdivision\", etc. For a full list of valid codes, see [country subdivision codes](https://plaid.com/documents/country_subdivision_codes.json). Country prefixes are omitted, since they can be inferred from the `country` field.")
public String getRegion() {
return region;
}
public void setRegion(String region) {
this.region = region;
}
public IdentityVerificationDocumentAddressResponse postalCode(String postalCode) {
this.postalCode = postalCode;
return this;
}
/**
* The postal code extracted from the document. Between 2 and 10 alphanumeric characters. For US-based addresses this must be 5 numeric digits.
* @return postalCode
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "46001", required = true, value = "The postal code extracted from the document. Between 2 and 10 alphanumeric characters. For US-based addresses this must be 5 numeric digits.")
public String getPostalCode() {
return postalCode;
}
public void setPostalCode(String postalCode) {
this.postalCode = postalCode;
}
public IdentityVerificationDocumentAddressResponse country(String country) {
this.country = country;
return this;
}
/**
* Valid, capitalized, two-letter ISO code representing the country extracted from the document. 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 extracted from the document. 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;
}
IdentityVerificationDocumentAddressResponse identityVerificationDocumentAddressResponse = (IdentityVerificationDocumentAddressResponse) o;
return Objects.equals(this.street, identityVerificationDocumentAddressResponse.street) &&
Objects.equals(this.city, identityVerificationDocumentAddressResponse.city) &&
Objects.equals(this.region, identityVerificationDocumentAddressResponse.region) &&
Objects.equals(this.postalCode, identityVerificationDocumentAddressResponse.postalCode) &&
Objects.equals(this.country, identityVerificationDocumentAddressResponse.country);
}
@Override
public int hashCode() {
return Objects.hash(street, city, region, postalCode, country);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IdentityVerificationDocumentAddressResponse {\n");
sb.append(" street: ").append(toIndentedString(street)).append("\n");
sb.append(" city: ").append(toIndentedString(city)).append("\n");
sb.append(" region: ").append(toIndentedString(region)).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/TransactionsRecurringGetRequestOptions.java | src/main/java/com/plaid/client/model/TransactionsRecurringGetRequestOptions.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.PersonalFinanceCategoryVersion;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* An optional object to be used with the request. If specified, `options` must not be `null`.
*/
@ApiModel(description = "An optional object to be used with the request. If specified, `options` must not be `null`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransactionsRecurringGetRequestOptions {
public static final String SERIALIZED_NAME_INCLUDE_PERSONAL_FINANCE_CATEGORY = "include_personal_finance_category";
@SerializedName(SERIALIZED_NAME_INCLUDE_PERSONAL_FINANCE_CATEGORY)
private Boolean includePersonalFinanceCategory = false;
public static final String SERIALIZED_NAME_PERSONAL_FINANCE_CATEGORY_VERSION = "personal_finance_category_version";
@SerializedName(SERIALIZED_NAME_PERSONAL_FINANCE_CATEGORY_VERSION)
private PersonalFinanceCategoryVersion personalFinanceCategoryVersion;
public TransactionsRecurringGetRequestOptions includePersonalFinanceCategory(Boolean includePersonalFinanceCategory) {
this.includePersonalFinanceCategory = includePersonalFinanceCategory;
return this;
}
/**
* Personal finance categories are now returned by default.
* @return includePersonalFinanceCategory
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Personal finance categories are now returned by default.")
public Boolean getIncludePersonalFinanceCategory() {
return includePersonalFinanceCategory;
}
public void setIncludePersonalFinanceCategory(Boolean includePersonalFinanceCategory) {
this.includePersonalFinanceCategory = includePersonalFinanceCategory;
}
public TransactionsRecurringGetRequestOptions personalFinanceCategoryVersion(PersonalFinanceCategoryVersion personalFinanceCategoryVersion) {
this.personalFinanceCategoryVersion = personalFinanceCategoryVersion;
return this;
}
/**
* Get personalFinanceCategoryVersion
* @return personalFinanceCategoryVersion
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PersonalFinanceCategoryVersion getPersonalFinanceCategoryVersion() {
return personalFinanceCategoryVersion;
}
public void setPersonalFinanceCategoryVersion(PersonalFinanceCategoryVersion personalFinanceCategoryVersion) {
this.personalFinanceCategoryVersion = personalFinanceCategoryVersion;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransactionsRecurringGetRequestOptions transactionsRecurringGetRequestOptions = (TransactionsRecurringGetRequestOptions) o;
return Objects.equals(this.includePersonalFinanceCategory, transactionsRecurringGetRequestOptions.includePersonalFinanceCategory) &&
Objects.equals(this.personalFinanceCategoryVersion, transactionsRecurringGetRequestOptions.personalFinanceCategoryVersion);
}
@Override
public int hashCode() {
return Objects.hash(includePersonalFinanceCategory, personalFinanceCategoryVersion);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransactionsRecurringGetRequestOptions {\n");
sb.append(" includePersonalFinanceCategory: ").append(toIndentedString(includePersonalFinanceCategory)).append("\n");
sb.append(" personalFinanceCategoryVersion: ").append(toIndentedString(personalFinanceCategoryVersion)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/AssetReportRemoveResponse.java | src/main/java/com/plaid/client/model/AssetReportRemoveResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* AssetReportRemoveResponse defines the response schema for `/asset_report/remove`
*/
@ApiModel(description = "AssetReportRemoveResponse defines the response schema for `/asset_report/remove`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class AssetReportRemoveResponse {
public static final String SERIALIZED_NAME_REMOVED = "removed";
@SerializedName(SERIALIZED_NAME_REMOVED)
private Boolean removed;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public AssetReportRemoveResponse removed(Boolean removed) {
this.removed = removed;
return this;
}
/**
* `true` if the Asset Report was successfully removed.
* @return removed
**/
@ApiModelProperty(required = true, value = "`true` if the Asset Report was successfully removed.")
public Boolean getRemoved() {
return removed;
}
public void setRemoved(Boolean removed) {
this.removed = removed;
}
public AssetReportRemoveResponse 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;
}
AssetReportRemoveResponse assetReportRemoveResponse = (AssetReportRemoveResponse) o;
return Objects.equals(this.removed, assetReportRemoveResponse.removed) &&
Objects.equals(this.requestId, assetReportRemoveResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(removed, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AssetReportRemoveResponse {\n");
sb.append(" removed: ").append(toIndentedString(removed)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransferFundingAccountWithDisplayNameAllOf.java | src/main/java/com/plaid/client/model/TransferFundingAccountWithDisplayNameAllOf.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* TransferFundingAccountWithDisplayNameAllOf
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferFundingAccountWithDisplayNameAllOf {
public static final String SERIALIZED_NAME_DISPLAY_NAME = "display_name";
@SerializedName(SERIALIZED_NAME_DISPLAY_NAME)
private String displayName;
public TransferFundingAccountWithDisplayNameAllOf displayName(String displayName) {
this.displayName = displayName;
return this;
}
/**
* The name for the funding account that is displayed in the Plaid dashboard.
* @return displayName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The name for the funding account that is displayed in the Plaid dashboard.")
public String getDisplayName() {
return displayName;
}
public void setDisplayName(String displayName) {
this.displayName = displayName;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferFundingAccountWithDisplayNameAllOf transferFundingAccountWithDisplayNameAllOf = (TransferFundingAccountWithDisplayNameAllOf) o;
return Objects.equals(this.displayName, transferFundingAccountWithDisplayNameAllOf.displayName);
}
@Override
public int hashCode() {
return Objects.hash(displayName);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferFundingAccountWithDisplayNameAllOf {\n");
sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/IncomeVerificationSourceType.java | src/main/java/com/plaid/client/model/IncomeVerificationSourceType.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 types of source income data that users should be able to share
*/
@JsonAdapter(IncomeVerificationSourceType.Adapter.class)
public enum IncomeVerificationSourceType {
BANK("bank"),
PAYROLL("payroll"),
// 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;
IncomeVerificationSourceType(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static IncomeVerificationSourceType fromValue(String value) {
for (IncomeVerificationSourceType b : IncomeVerificationSourceType.values()) {
if (b.value.equals(value)) {
return b;
}
}
return IncomeVerificationSourceType.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<IncomeVerificationSourceType> {
@Override
public void write(final JsonWriter jsonWriter, final IncomeVerificationSourceType enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public IncomeVerificationSourceType read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return IncomeVerificationSourceType.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/BeaconUserName.java | src/main/java/com/plaid/client/model/BeaconUserName.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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 full name for a given Beacon User.
*/
@ApiModel(description = "The full name for a given Beacon User.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BeaconUserName {
public static final String SERIALIZED_NAME_GIVEN_NAME = "given_name";
@SerializedName(SERIALIZED_NAME_GIVEN_NAME)
private String givenName;
public static final String SERIALIZED_NAME_FAMILY_NAME = "family_name";
@SerializedName(SERIALIZED_NAME_FAMILY_NAME)
private String familyName;
public BeaconUserName givenName(String givenName) {
this.givenName = givenName;
return this;
}
/**
* A string with at least one non-whitespace character, with a max length of 100 characters.
* @return givenName
**/
@ApiModelProperty(example = "Leslie", required = true, value = "A string with at least one non-whitespace character, with a max length of 100 characters.")
public String getGivenName() {
return givenName;
}
public void setGivenName(String givenName) {
this.givenName = givenName;
}
public BeaconUserName familyName(String familyName) {
this.familyName = familyName;
return this;
}
/**
* A string with at least one non-whitespace character, with a max length of 100 characters.
* @return familyName
**/
@ApiModelProperty(example = "Knope", required = true, value = "A string with at least one non-whitespace character, with a max length of 100 characters.")
public String getFamilyName() {
return familyName;
}
public void setFamilyName(String familyName) {
this.familyName = familyName;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BeaconUserName beaconUserName = (BeaconUserName) o;
return Objects.equals(this.givenName, beaconUserName.givenName) &&
Objects.equals(this.familyName, beaconUserName.familyName);
}
@Override
public int hashCode() {
return Objects.hash(givenName, familyName);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BeaconUserName {\n");
sb.append(" givenName: ").append(toIndentedString(givenName)).append("\n");
sb.append(" familyName: ").append(toIndentedString(familyName)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/FDXNotificationPayload.java | src/main/java/com/plaid/client/model/FDXNotificationPayload.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.FDXFiAttribute;
import com.plaid.client.model.FDXLifecycleEvent;
import com.plaid.client.model.FDXNotificationPayloadIdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Custom key-value pairs payload for a notification
*/
@ApiModel(description = "Custom key-value pairs payload for a notification")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class FDXNotificationPayload {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
public static final String SERIALIZED_NAME_ID_TYPE = "idType";
@SerializedName(SERIALIZED_NAME_ID_TYPE)
private FDXNotificationPayloadIdType idType;
public static final String SERIALIZED_NAME_EVENT = "event";
@SerializedName(SERIALIZED_NAME_EVENT)
private FDXLifecycleEvent event;
public static final String SERIALIZED_NAME_CUSTOM_FIELDS = "customFields";
@SerializedName(SERIALIZED_NAME_CUSTOM_FIELDS)
private List<FDXFiAttribute> customFields = null;
public FDXNotificationPayload id(String id) {
this.id = id;
return this;
}
/**
* ID for the origination entity related to the notification
* @return id
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "ID for the origination entity related to the notification")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public FDXNotificationPayload idType(FDXNotificationPayloadIdType idType) {
this.idType = idType;
return this;
}
/**
* Get idType
* @return idType
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public FDXNotificationPayloadIdType getIdType() {
return idType;
}
public void setIdType(FDXNotificationPayloadIdType idType) {
this.idType = idType;
}
public FDXNotificationPayload event(FDXLifecycleEvent event) {
this.event = event;
return this;
}
/**
* Get event
* @return event
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public FDXLifecycleEvent getEvent() {
return event;
}
public void setEvent(FDXLifecycleEvent event) {
this.event = event;
}
public FDXNotificationPayload customFields(List<FDXFiAttribute> customFields) {
this.customFields = customFields;
return this;
}
public FDXNotificationPayload addCustomFieldsItem(FDXFiAttribute customFieldsItem) {
if (this.customFields == null) {
this.customFields = new ArrayList<>();
}
this.customFields.add(customFieldsItem);
return this;
}
/**
* Get customFields
* @return customFields
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<FDXFiAttribute> getCustomFields() {
return customFields;
}
public void setCustomFields(List<FDXFiAttribute> customFields) {
this.customFields = customFields;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
FDXNotificationPayload fdXNotificationPayload = (FDXNotificationPayload) o;
return Objects.equals(this.id, fdXNotificationPayload.id) &&
Objects.equals(this.idType, fdXNotificationPayload.idType) &&
Objects.equals(this.event, fdXNotificationPayload.event) &&
Objects.equals(this.customFields, fdXNotificationPayload.customFields);
}
@Override
public int hashCode() {
return Objects.hash(id, idType, event, customFields);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FDXNotificationPayload {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" idType: ").append(toIndentedString(idType)).append("\n");
sb.append(" event: ").append(toIndentedString(event)).append("\n");
sb.append(" customFields: ").append(toIndentedString(customFields)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransferDiligenceSubmitRequest.java | src/main/java/com/plaid/client/model/TransferDiligenceSubmitRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.TransferOriginatorDiligence;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines the request schema for `/transfer/diligence/submit`
*/
@ApiModel(description = "Defines the request schema for `/transfer/diligence/submit`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferDiligenceSubmitRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_ORIGINATOR_CLIENT_ID = "originator_client_id";
@SerializedName(SERIALIZED_NAME_ORIGINATOR_CLIENT_ID)
private String originatorClientId;
public static final String SERIALIZED_NAME_ORIGINATOR_DILIGENCE = "originator_diligence";
@SerializedName(SERIALIZED_NAME_ORIGINATOR_DILIGENCE)
private TransferOriginatorDiligence originatorDiligence;
public TransferDiligenceSubmitRequest 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 TransferDiligenceSubmitRequest 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 TransferDiligenceSubmitRequest originatorClientId(String originatorClientId) {
this.originatorClientId = originatorClientId;
return this;
}
/**
* Client ID of the the originator whose diligence that you want to submit.
* @return originatorClientId
**/
@ApiModelProperty(required = true, value = "Client ID of the the originator whose diligence that you want to submit.")
public String getOriginatorClientId() {
return originatorClientId;
}
public void setOriginatorClientId(String originatorClientId) {
this.originatorClientId = originatorClientId;
}
public TransferDiligenceSubmitRequest originatorDiligence(TransferOriginatorDiligence originatorDiligence) {
this.originatorDiligence = originatorDiligence;
return this;
}
/**
* Get originatorDiligence
* @return originatorDiligence
**/
@ApiModelProperty(required = true, value = "")
public TransferOriginatorDiligence getOriginatorDiligence() {
return originatorDiligence;
}
public void setOriginatorDiligence(TransferOriginatorDiligence originatorDiligence) {
this.originatorDiligence = originatorDiligence;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferDiligenceSubmitRequest transferDiligenceSubmitRequest = (TransferDiligenceSubmitRequest) o;
return Objects.equals(this.clientId, transferDiligenceSubmitRequest.clientId) &&
Objects.equals(this.secret, transferDiligenceSubmitRequest.secret) &&
Objects.equals(this.originatorClientId, transferDiligenceSubmitRequest.originatorClientId) &&
Objects.equals(this.originatorDiligence, transferDiligenceSubmitRequest.originatorDiligence);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, originatorClientId, originatorDiligence);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferDiligenceSubmitRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" originatorClientId: ").append(toIndentedString(originatorClientId)).append("\n");
sb.append(" originatorDiligence: ").append(toIndentedString(originatorDiligence)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BusinessWebsite.java | src/main/java/com/plaid/client/model/BusinessWebsite.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.net.URI;
/**
* Website associated with a business
*/
@ApiModel(description = "Website associated with a business")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BusinessWebsite {
public static final String SERIALIZED_NAME_URL = "url";
@SerializedName(SERIALIZED_NAME_URL)
private URI url;
public BusinessWebsite url(URI url) {
this.url = url;
return this;
}
/**
* URL of the business website
* @return url
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "https://example.com", required = true, value = "URL of the business website")
public URI getUrl() {
return url;
}
public void setUrl(URI url) {
this.url = url;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BusinessWebsite businessWebsite = (BusinessWebsite) o;
return Objects.equals(this.url, businessWebsite.url);
}
@Override
public int hashCode() {
return Objects.hash(url);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BusinessWebsite {\n");
sb.append(" url: ").append(toIndentedString(url)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/LinkTokenCreateRequestIncomeVerificationPayrollIncome.java | src/main/java/com/plaid/client/model/LinkTokenCreateRequestIncomeVerificationPayrollIncome.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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 com.plaid.client.model.IncomeVerificationPayrollFlowType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Specifies options for initializing Link for use with Payroll Income (including Document Income). Further customization options for Document Income, such as customizing which document types may be uploaded, are also available via the [Link Customization pane](https://dashboard.plaid.com/link) in the Dashboard. (Requires Production enablement.)
*/
@ApiModel(description = "Specifies options for initializing Link for use with Payroll Income (including Document Income). Further customization options for Document Income, such as customizing which document types may be uploaded, are also available via the [Link Customization pane](https://dashboard.plaid.com/link) in the Dashboard. (Requires Production enablement.)")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkTokenCreateRequestIncomeVerificationPayrollIncome {
public static final String SERIALIZED_NAME_FLOW_TYPES = "flow_types";
@SerializedName(SERIALIZED_NAME_FLOW_TYPES)
private List<IncomeVerificationPayrollFlowType> flowTypes = null;
public static final String SERIALIZED_NAME_IS_UPDATE_MODE = "is_update_mode";
@SerializedName(SERIALIZED_NAME_IS_UPDATE_MODE)
private Boolean isUpdateMode = false;
public static final String SERIALIZED_NAME_ITEM_ID_TO_UPDATE = "item_id_to_update";
@SerializedName(SERIALIZED_NAME_ITEM_ID_TO_UPDATE)
private String itemIdToUpdate;
public static final String SERIALIZED_NAME_PARSING_CONFIG = "parsing_config";
@SerializedName(SERIALIZED_NAME_PARSING_CONFIG)
private List<IncomeVerificationDocParsingConfig> parsingConfig = null;
public LinkTokenCreateRequestIncomeVerificationPayrollIncome flowTypes(List<IncomeVerificationPayrollFlowType> flowTypes) {
this.flowTypes = flowTypes;
return this;
}
public LinkTokenCreateRequestIncomeVerificationPayrollIncome addFlowTypesItem(IncomeVerificationPayrollFlowType flowTypesItem) {
if (this.flowTypes == null) {
this.flowTypes = new ArrayList<>();
}
this.flowTypes.add(flowTypesItem);
return this;
}
/**
* The types of payroll income verification to enable for the Link session. If none are specified, then users will see both document and digital payroll income.
* @return flowTypes
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The types of payroll income verification to enable for the Link session. If none are specified, then users will see both document and digital payroll income.")
public List<IncomeVerificationPayrollFlowType> getFlowTypes() {
return flowTypes;
}
public void setFlowTypes(List<IncomeVerificationPayrollFlowType> flowTypes) {
this.flowTypes = flowTypes;
}
public LinkTokenCreateRequestIncomeVerificationPayrollIncome isUpdateMode(Boolean isUpdateMode) {
this.isUpdateMode = isUpdateMode;
return this;
}
/**
* An identifier to indicate whether the income verification Link token will be used for update mode. This field is only relevant for participants in the Payroll Income Refresh beta.
* @return isUpdateMode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "An identifier to indicate whether the income verification Link token will be used for update mode. This field is only relevant for participants in the Payroll Income Refresh beta.")
public Boolean getIsUpdateMode() {
return isUpdateMode;
}
public void setIsUpdateMode(Boolean isUpdateMode) {
this.isUpdateMode = isUpdateMode;
}
public LinkTokenCreateRequestIncomeVerificationPayrollIncome itemIdToUpdate(String itemIdToUpdate) {
this.itemIdToUpdate = itemIdToUpdate;
return this;
}
/**
* Uniquely identify a payroll income Item to update with. This field is only relevant for participants in the Payroll Income Refresh beta.
* @return itemIdToUpdate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Uniquely identify a payroll income Item to update with. This field is only relevant for participants in the Payroll Income Refresh beta.")
public String getItemIdToUpdate() {
return itemIdToUpdate;
}
public void setItemIdToUpdate(String itemIdToUpdate) {
this.itemIdToUpdate = itemIdToUpdate;
}
public LinkTokenCreateRequestIncomeVerificationPayrollIncome parsingConfig(List<IncomeVerificationDocParsingConfig> parsingConfig) {
this.parsingConfig = parsingConfig;
return this;
}
public LinkTokenCreateRequestIncomeVerificationPayrollIncome addParsingConfigItem(IncomeVerificationDocParsingConfig parsingConfigItem) {
if (this.parsingConfig == null) {
this.parsingConfig = new ArrayList<>();
}
this.parsingConfig.add(parsingConfigItem);
return this;
}
/**
* The types of analysis to enable for document uploads. If this field is not provided, then docs will undergo OCR parsing only.
* @return parsingConfig
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The types of analysis to enable for document uploads. If this field is not provided, then docs will undergo OCR parsing only.")
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;
}
LinkTokenCreateRequestIncomeVerificationPayrollIncome linkTokenCreateRequestIncomeVerificationPayrollIncome = (LinkTokenCreateRequestIncomeVerificationPayrollIncome) o;
return Objects.equals(this.flowTypes, linkTokenCreateRequestIncomeVerificationPayrollIncome.flowTypes) &&
Objects.equals(this.isUpdateMode, linkTokenCreateRequestIncomeVerificationPayrollIncome.isUpdateMode) &&
Objects.equals(this.itemIdToUpdate, linkTokenCreateRequestIncomeVerificationPayrollIncome.itemIdToUpdate) &&
Objects.equals(this.parsingConfig, linkTokenCreateRequestIncomeVerificationPayrollIncome.parsingConfig);
}
@Override
public int hashCode() {
return Objects.hash(flowTypes, isUpdateMode, itemIdToUpdate, parsingConfig);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkTokenCreateRequestIncomeVerificationPayrollIncome {\n");
sb.append(" flowTypes: ").append(toIndentedString(flowTypes)).append("\n");
sb.append(" isUpdateMode: ").append(toIndentedString(isUpdateMode)).append("\n");
sb.append(" itemIdToUpdate: ").append(toIndentedString(itemIdToUpdate)).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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.