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/PaymentInitiationRecipient.java | src/main/java/com/plaid/client/model/PaymentInitiationRecipient.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.PaymentInitiationAddress;
import com.plaid.client.model.RecipientBACSNullable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* PaymentInitiationRecipient defines a payment initiation recipient
*/
@ApiModel(description = "PaymentInitiationRecipient defines a payment initiation recipient")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PaymentInitiationRecipient {
public static final String SERIALIZED_NAME_RECIPIENT_ID = "recipient_id";
@SerializedName(SERIALIZED_NAME_RECIPIENT_ID)
private String recipientId;
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public static final String SERIALIZED_NAME_ADDRESS = "address";
@SerializedName(SERIALIZED_NAME_ADDRESS)
private PaymentInitiationAddress address;
public static final String SERIALIZED_NAME_IBAN = "iban";
@SerializedName(SERIALIZED_NAME_IBAN)
private String iban;
public static final String SERIALIZED_NAME_BACS = "bacs";
@SerializedName(SERIALIZED_NAME_BACS)
private RecipientBACSNullable bacs;
public PaymentInitiationRecipient recipientId(String recipientId) {
this.recipientId = recipientId;
return this;
}
/**
* The ID of the recipient.
* @return recipientId
**/
@ApiModelProperty(required = true, value = "The ID of the recipient.")
public String getRecipientId() {
return recipientId;
}
public void setRecipientId(String recipientId) {
this.recipientId = recipientId;
}
public PaymentInitiationRecipient name(String name) {
this.name = name;
return this;
}
/**
* The name of the recipient.
* @return name
**/
@ApiModelProperty(required = true, value = "The name of the recipient.")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public PaymentInitiationRecipient address(PaymentInitiationAddress address) {
this.address = address;
return this;
}
/**
* Get address
* @return address
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PaymentInitiationAddress getAddress() {
return address;
}
public void setAddress(PaymentInitiationAddress address) {
this.address = address;
}
public PaymentInitiationRecipient iban(String iban) {
this.iban = iban;
return this;
}
/**
* The International Bank Account Number (IBAN) for the recipient.
* @return iban
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The International Bank Account Number (IBAN) for the recipient.")
public String getIban() {
return iban;
}
public void setIban(String iban) {
this.iban = iban;
}
public PaymentInitiationRecipient bacs(RecipientBACSNullable bacs) {
this.bacs = bacs;
return this;
}
/**
* Get bacs
* @return bacs
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public RecipientBACSNullable getBacs() {
return bacs;
}
public void setBacs(RecipientBACSNullable bacs) {
this.bacs = bacs;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PaymentInitiationRecipient paymentInitiationRecipient = (PaymentInitiationRecipient) o;
return Objects.equals(this.recipientId, paymentInitiationRecipient.recipientId) &&
Objects.equals(this.name, paymentInitiationRecipient.name) &&
Objects.equals(this.address, paymentInitiationRecipient.address) &&
Objects.equals(this.iban, paymentInitiationRecipient.iban) &&
Objects.equals(this.bacs, paymentInitiationRecipient.bacs);
}
@Override
public int hashCode() {
return Objects.hash(recipientId, name, address, iban, bacs);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaymentInitiationRecipient {\n");
sb.append(" recipientId: ").append(toIndentedString(recipientId)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" address: ").append(toIndentedString(address)).append("\n");
sb.append(" iban: ").append(toIndentedString(iban)).append("\n");
sb.append(" bacs: ").append(toIndentedString(bacs)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransactionsSyncRequest.java | src/main/java/com/plaid/client/model/TransactionsSyncRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.TransactionsSyncRequestOptions;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* TransactionsSyncRequest defines the request schema for `/transactions/sync`
*/
@ApiModel(description = "TransactionsSyncRequest defines the request schema for `/transactions/sync`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransactionsSyncRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_ACCESS_TOKEN = "access_token";
@SerializedName(SERIALIZED_NAME_ACCESS_TOKEN)
private String accessToken;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_CURSOR = "cursor";
@SerializedName(SERIALIZED_NAME_CURSOR)
private String cursor;
public static final String SERIALIZED_NAME_COUNT = "count";
@SerializedName(SERIALIZED_NAME_COUNT)
private Integer count = 100;
public static final String SERIALIZED_NAME_OPTIONS = "options";
@SerializedName(SERIALIZED_NAME_OPTIONS)
private TransactionsSyncRequestOptions options;
public TransactionsSyncRequest 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 TransactionsSyncRequest 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 TransactionsSyncRequest 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 TransactionsSyncRequest cursor(String cursor) {
this.cursor = cursor;
return this;
}
/**
* The cursor value represents the last update requested. Providing it will cause the response to only return changes after this update. If omitted, the entire history of updates will be returned, starting with the first-added transactions on the Item. The cursor also accepts the special value of `\"now\"`, which can be used to fast-forward the cursor as part of migrating an existing Item from `/transactions/get` to `/transactions/sync`. For more information, see the [Transactions sync migration guide](https://plaid.com/docs/transactions/sync-migration/). Note that using the `\"now\"` value is not supported for any use case other than migrating existing Items from `/transactions/get`. The upper-bound length of this cursor is 256 characters of base64.
* @return cursor
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The cursor value represents the last update requested. Providing it will cause the response to only return changes after this update. If omitted, the entire history of updates will be returned, starting with the first-added transactions on the Item. The cursor also accepts the special value of `\"now\"`, which can be used to fast-forward the cursor as part of migrating an existing Item from `/transactions/get` to `/transactions/sync`. For more information, see the [Transactions sync migration guide](https://plaid.com/docs/transactions/sync-migration/). Note that using the `\"now\"` value is not supported for any use case other than migrating existing Items from `/transactions/get`. The upper-bound length of this cursor is 256 characters of base64.")
public String getCursor() {
return cursor;
}
public void setCursor(String cursor) {
this.cursor = cursor;
}
public TransactionsSyncRequest count(Integer count) {
this.count = count;
return this;
}
/**
* The number of transaction updates to fetch.
* minimum: 1
* maximum: 500
* @return count
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of transaction updates to fetch.")
public Integer getCount() {
return count;
}
public void setCount(Integer count) {
this.count = count;
}
public TransactionsSyncRequest options(TransactionsSyncRequestOptions options) {
this.options = options;
return this;
}
/**
* Get options
* @return options
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public TransactionsSyncRequestOptions getOptions() {
return options;
}
public void setOptions(TransactionsSyncRequestOptions options) {
this.options = options;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransactionsSyncRequest transactionsSyncRequest = (TransactionsSyncRequest) o;
return Objects.equals(this.clientId, transactionsSyncRequest.clientId) &&
Objects.equals(this.accessToken, transactionsSyncRequest.accessToken) &&
Objects.equals(this.secret, transactionsSyncRequest.secret) &&
Objects.equals(this.cursor, transactionsSyncRequest.cursor) &&
Objects.equals(this.count, transactionsSyncRequest.count) &&
Objects.equals(this.options, transactionsSyncRequest.options);
}
@Override
public int hashCode() {
return Objects.hash(clientId, accessToken, secret, cursor, count, options);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransactionsSyncRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" accessToken: ").append(toIndentedString(accessToken)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" cursor: ").append(toIndentedString(cursor)).append("\n");
sb.append(" count: ").append(toIndentedString(count)).append("\n");
sb.append(" options: ").append(toIndentedString(options)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/PaymentProfileCreateResponse.java | src/main/java/com/plaid/client/model/PaymentProfileCreateResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* PaymentProfileCreateResponse defines the response schema for `/payment_profile/create`
*/
@ApiModel(description = "PaymentProfileCreateResponse defines the response schema for `/payment_profile/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PaymentProfileCreateResponse {
public static final String SERIALIZED_NAME_PAYMENT_PROFILE_TOKEN = "payment_profile_token";
@SerializedName(SERIALIZED_NAME_PAYMENT_PROFILE_TOKEN)
private String paymentProfileToken;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public PaymentProfileCreateResponse 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;
}
public PaymentProfileCreateResponse 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;
}
PaymentProfileCreateResponse paymentProfileCreateResponse = (PaymentProfileCreateResponse) o;
return Objects.equals(this.paymentProfileToken, paymentProfileCreateResponse.paymentProfileToken) &&
Objects.equals(this.requestId, paymentProfileCreateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(paymentProfileToken, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaymentProfileCreateResponse {\n");
sb.append(" paymentProfileToken: ").append(toIndentedString(paymentProfileToken)).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/RiskSignalDocumentStatus.java | src/main/java/com/plaid/client/model/RiskSignalDocumentStatus.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* Status of a document for risk signal analysis
*/
@JsonAdapter(RiskSignalDocumentStatus.Adapter.class)
public enum RiskSignalDocumentStatus {
PROCESSING("PROCESSING"),
PROCESSING_COMPLETE("PROCESSING_COMPLETE"),
PROCESSING_ERROR("PROCESSING_ERROR"),
PASSWORD_PROTECTED("PASSWORD_PROTECTED"),
VIRUS_DETECTED("VIRUS_DETECTED"),
// 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;
RiskSignalDocumentStatus(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static RiskSignalDocumentStatus fromValue(String value) {
for (RiskSignalDocumentStatus b : RiskSignalDocumentStatus.values()) {
if (b.value.equals(value)) {
return b;
}
}
return RiskSignalDocumentStatus.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<RiskSignalDocumentStatus> {
@Override
public void write(final JsonWriter jsonWriter, final RiskSignalDocumentStatus enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public RiskSignalDocumentStatus read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return RiskSignalDocumentStatus.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/FraudAnalysisDetails.java | src/main/java/com/plaid/client/model/FraudAnalysisDetails.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.FraudCheckOutcome;
import com.plaid.client.model.FraudCheckOutcomeWithNoData;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Details about the fraud analysis performed on the document.
*/
@ApiModel(description = "Details about the fraud analysis performed on the document.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class FraudAnalysisDetails {
public static final String SERIALIZED_NAME_TYPE_SUPPORTED = "type_supported";
@SerializedName(SERIALIZED_NAME_TYPE_SUPPORTED)
private FraudCheckOutcome typeSupported;
public static final String SERIALIZED_NAME_PORTRAIT_PRESENCE_CHECK = "portrait_presence_check";
@SerializedName(SERIALIZED_NAME_PORTRAIT_PRESENCE_CHECK)
private FraudCheckOutcome portraitPresenceCheck;
public static final String SERIALIZED_NAME_PORTRAIT_DETAILS_CHECK = "portrait_details_check";
@SerializedName(SERIALIZED_NAME_PORTRAIT_DETAILS_CHECK)
private FraudCheckOutcome portraitDetailsCheck;
public static final String SERIALIZED_NAME_IMAGE_COMPOSITION_CHECK = "image_composition_check";
@SerializedName(SERIALIZED_NAME_IMAGE_COMPOSITION_CHECK)
private FraudCheckOutcome imageCompositionCheck;
public static final String SERIALIZED_NAME_INTEGRITY_CHECK = "integrity_check";
@SerializedName(SERIALIZED_NAME_INTEGRITY_CHECK)
private FraudCheckOutcome integrityCheck;
public static final String SERIALIZED_NAME_DETAIL_CHECK = "detail_check";
@SerializedName(SERIALIZED_NAME_DETAIL_CHECK)
private FraudCheckOutcome detailCheck;
public static final String SERIALIZED_NAME_ISSUE_DATE_CHECK = "issue_date_check";
@SerializedName(SERIALIZED_NAME_ISSUE_DATE_CHECK)
private FraudCheckOutcomeWithNoData issueDateCheck;
public FraudAnalysisDetails typeSupported(FraudCheckOutcome typeSupported) {
this.typeSupported = typeSupported;
return this;
}
/**
* Get typeSupported
* @return typeSupported
**/
@ApiModelProperty(required = true, value = "")
public FraudCheckOutcome getTypeSupported() {
return typeSupported;
}
public void setTypeSupported(FraudCheckOutcome typeSupported) {
this.typeSupported = typeSupported;
}
public FraudAnalysisDetails portraitPresenceCheck(FraudCheckOutcome portraitPresenceCheck) {
this.portraitPresenceCheck = portraitPresenceCheck;
return this;
}
/**
* Get portraitPresenceCheck
* @return portraitPresenceCheck
**/
@ApiModelProperty(required = true, value = "")
public FraudCheckOutcome getPortraitPresenceCheck() {
return portraitPresenceCheck;
}
public void setPortraitPresenceCheck(FraudCheckOutcome portraitPresenceCheck) {
this.portraitPresenceCheck = portraitPresenceCheck;
}
public FraudAnalysisDetails portraitDetailsCheck(FraudCheckOutcome portraitDetailsCheck) {
this.portraitDetailsCheck = portraitDetailsCheck;
return this;
}
/**
* Get portraitDetailsCheck
* @return portraitDetailsCheck
**/
@ApiModelProperty(required = true, value = "")
public FraudCheckOutcome getPortraitDetailsCheck() {
return portraitDetailsCheck;
}
public void setPortraitDetailsCheck(FraudCheckOutcome portraitDetailsCheck) {
this.portraitDetailsCheck = portraitDetailsCheck;
}
public FraudAnalysisDetails imageCompositionCheck(FraudCheckOutcome imageCompositionCheck) {
this.imageCompositionCheck = imageCompositionCheck;
return this;
}
/**
* Get imageCompositionCheck
* @return imageCompositionCheck
**/
@ApiModelProperty(required = true, value = "")
public FraudCheckOutcome getImageCompositionCheck() {
return imageCompositionCheck;
}
public void setImageCompositionCheck(FraudCheckOutcome imageCompositionCheck) {
this.imageCompositionCheck = imageCompositionCheck;
}
public FraudAnalysisDetails integrityCheck(FraudCheckOutcome integrityCheck) {
this.integrityCheck = integrityCheck;
return this;
}
/**
* Get integrityCheck
* @return integrityCheck
**/
@ApiModelProperty(required = true, value = "")
public FraudCheckOutcome getIntegrityCheck() {
return integrityCheck;
}
public void setIntegrityCheck(FraudCheckOutcome integrityCheck) {
this.integrityCheck = integrityCheck;
}
public FraudAnalysisDetails detailCheck(FraudCheckOutcome detailCheck) {
this.detailCheck = detailCheck;
return this;
}
/**
* Get detailCheck
* @return detailCheck
**/
@ApiModelProperty(required = true, value = "")
public FraudCheckOutcome getDetailCheck() {
return detailCheck;
}
public void setDetailCheck(FraudCheckOutcome detailCheck) {
this.detailCheck = detailCheck;
}
public FraudAnalysisDetails issueDateCheck(FraudCheckOutcomeWithNoData issueDateCheck) {
this.issueDateCheck = issueDateCheck;
return this;
}
/**
* Get issueDateCheck
* @return issueDateCheck
**/
@ApiModelProperty(required = true, value = "")
public FraudCheckOutcomeWithNoData getIssueDateCheck() {
return issueDateCheck;
}
public void setIssueDateCheck(FraudCheckOutcomeWithNoData issueDateCheck) {
this.issueDateCheck = issueDateCheck;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
FraudAnalysisDetails fraudAnalysisDetails = (FraudAnalysisDetails) o;
return Objects.equals(this.typeSupported, fraudAnalysisDetails.typeSupported) &&
Objects.equals(this.portraitPresenceCheck, fraudAnalysisDetails.portraitPresenceCheck) &&
Objects.equals(this.portraitDetailsCheck, fraudAnalysisDetails.portraitDetailsCheck) &&
Objects.equals(this.imageCompositionCheck, fraudAnalysisDetails.imageCompositionCheck) &&
Objects.equals(this.integrityCheck, fraudAnalysisDetails.integrityCheck) &&
Objects.equals(this.detailCheck, fraudAnalysisDetails.detailCheck) &&
Objects.equals(this.issueDateCheck, fraudAnalysisDetails.issueDateCheck);
}
@Override
public int hashCode() {
return Objects.hash(typeSupported, portraitPresenceCheck, portraitDetailsCheck, imageCompositionCheck, integrityCheck, detailCheck, issueDateCheck);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FraudAnalysisDetails {\n");
sb.append(" typeSupported: ").append(toIndentedString(typeSupported)).append("\n");
sb.append(" portraitPresenceCheck: ").append(toIndentedString(portraitPresenceCheck)).append("\n");
sb.append(" portraitDetailsCheck: ").append(toIndentedString(portraitDetailsCheck)).append("\n");
sb.append(" imageCompositionCheck: ").append(toIndentedString(imageCompositionCheck)).append("\n");
sb.append(" integrityCheck: ").append(toIndentedString(integrityCheck)).append("\n");
sb.append(" detailCheck: ").append(toIndentedString(detailCheck)).append("\n");
sb.append(" issueDateCheck: ").append(toIndentedString(issueDateCheck)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransferDebitUsageConfiguration.java | src/main/java/com/plaid/client/model/TransferDebitUsageConfiguration.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.ACHClass;
import com.plaid.client.model.OriginatorExpectedTransferFrequency;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Specifies the originator's expected usage of debits. For all dollar amounts, use a decimal string with two digits of precision e.g. \"10.00\". This field is required if the originator is expected to process debit transfers.
*/
@ApiModel(description = "Specifies the originator's expected usage of debits. For all dollar amounts, use a decimal string with two digits of precision e.g. \"10.00\". This field is required if the originator is expected to process debit transfers.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferDebitUsageConfiguration {
public static final String SERIALIZED_NAME_EXPECTED_FREQUENCY = "expected_frequency";
@SerializedName(SERIALIZED_NAME_EXPECTED_FREQUENCY)
private OriginatorExpectedTransferFrequency expectedFrequency;
public static final String SERIALIZED_NAME_EXPECTED_HIGHEST_AMOUNT = "expected_highest_amount";
@SerializedName(SERIALIZED_NAME_EXPECTED_HIGHEST_AMOUNT)
private String expectedHighestAmount;
public static final String SERIALIZED_NAME_EXPECTED_AVERAGE_AMOUNT = "expected_average_amount";
@SerializedName(SERIALIZED_NAME_EXPECTED_AVERAGE_AMOUNT)
private String expectedAverageAmount;
public static final String SERIALIZED_NAME_EXPECTED_MONTHLY_AMOUNT = "expected_monthly_amount";
@SerializedName(SERIALIZED_NAME_EXPECTED_MONTHLY_AMOUNT)
private String expectedMonthlyAmount;
public static final String SERIALIZED_NAME_SEC_CODES = "sec_codes";
@SerializedName(SERIALIZED_NAME_SEC_CODES)
private List<ACHClass> secCodes = new ArrayList<>();
public TransferDebitUsageConfiguration expectedFrequency(OriginatorExpectedTransferFrequency expectedFrequency) {
this.expectedFrequency = expectedFrequency;
return this;
}
/**
* Get expectedFrequency
* @return expectedFrequency
**/
@ApiModelProperty(required = true, value = "")
public OriginatorExpectedTransferFrequency getExpectedFrequency() {
return expectedFrequency;
}
public void setExpectedFrequency(OriginatorExpectedTransferFrequency expectedFrequency) {
this.expectedFrequency = expectedFrequency;
}
public TransferDebitUsageConfiguration expectedHighestAmount(String expectedHighestAmount) {
this.expectedHighestAmount = expectedHighestAmount;
return this;
}
/**
* The originator’s expected highest amount for a single debit transfer.
* @return expectedHighestAmount
**/
@ApiModelProperty(required = true, value = "The originator’s expected highest amount for a single debit transfer.")
public String getExpectedHighestAmount() {
return expectedHighestAmount;
}
public void setExpectedHighestAmount(String expectedHighestAmount) {
this.expectedHighestAmount = expectedHighestAmount;
}
public TransferDebitUsageConfiguration expectedAverageAmount(String expectedAverageAmount) {
this.expectedAverageAmount = expectedAverageAmount;
return this;
}
/**
* The originator’s expected average amount per debit.
* @return expectedAverageAmount
**/
@ApiModelProperty(required = true, value = "The originator’s expected average amount per debit.")
public String getExpectedAverageAmount() {
return expectedAverageAmount;
}
public void setExpectedAverageAmount(String expectedAverageAmount) {
this.expectedAverageAmount = expectedAverageAmount;
}
public TransferDebitUsageConfiguration expectedMonthlyAmount(String expectedMonthlyAmount) {
this.expectedMonthlyAmount = expectedMonthlyAmount;
return this;
}
/**
* The originator’s monthly expected ACH debit processing amount for the next 6-12 months.
* @return expectedMonthlyAmount
**/
@ApiModelProperty(required = true, value = "The originator’s monthly expected ACH debit processing amount for the next 6-12 months.")
public String getExpectedMonthlyAmount() {
return expectedMonthlyAmount;
}
public void setExpectedMonthlyAmount(String expectedMonthlyAmount) {
this.expectedMonthlyAmount = expectedMonthlyAmount;
}
public TransferDebitUsageConfiguration secCodes(List<ACHClass> secCodes) {
this.secCodes = secCodes;
return this;
}
public TransferDebitUsageConfiguration addSecCodesItem(ACHClass secCodesItem) {
this.secCodes.add(secCodesItem);
return this;
}
/**
* Specifies the expected use cases for the originator’s debit transfers. This should be a list that contains one or more of the following codes: `\"ccd\"` - Corporate Credit or Debit - fund transfer between two corporate bank accounts `\"ppd\"` - Prearranged Payment or Deposit - The transfer is part of a pre-existing relationship with a consumer. Authorization was obtained in writing either in person or via an electronic document signing, e.g. Docusign, by the consumer. Can be used for credits or debits. `\"web\"` - Internet-Initiated Entry. The transfer debits a consumer’s bank account. Authorization from the consumer is obtained over the Internet (e.g. a web or mobile application). Can be used for single debits or recurring debits. `\"tel\"` - Telephone-Initiated Entry. The transfer debits a consumer. Debit authorization has been received orally over the telephone via a recorded call.
* @return secCodes
**/
@ApiModelProperty(required = true, value = "Specifies the expected use cases for the originator’s debit transfers. This should be a list that contains one or more of the following codes: `\"ccd\"` - Corporate Credit or Debit - fund transfer between two corporate bank accounts `\"ppd\"` - Prearranged Payment or Deposit - The transfer is part of a pre-existing relationship with a consumer. Authorization was obtained in writing either in person or via an electronic document signing, e.g. Docusign, by the consumer. Can be used for credits or debits. `\"web\"` - Internet-Initiated Entry. The transfer debits a consumer’s bank account. Authorization from the consumer is obtained over the Internet (e.g. a web or mobile application). Can be used for single debits or recurring debits. `\"tel\"` - Telephone-Initiated Entry. The transfer debits a consumer. Debit authorization has been received orally over the telephone via a recorded call.")
public List<ACHClass> getSecCodes() {
return secCodes;
}
public void setSecCodes(List<ACHClass> secCodes) {
this.secCodes = secCodes;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferDebitUsageConfiguration transferDebitUsageConfiguration = (TransferDebitUsageConfiguration) o;
return Objects.equals(this.expectedFrequency, transferDebitUsageConfiguration.expectedFrequency) &&
Objects.equals(this.expectedHighestAmount, transferDebitUsageConfiguration.expectedHighestAmount) &&
Objects.equals(this.expectedAverageAmount, transferDebitUsageConfiguration.expectedAverageAmount) &&
Objects.equals(this.expectedMonthlyAmount, transferDebitUsageConfiguration.expectedMonthlyAmount) &&
Objects.equals(this.secCodes, transferDebitUsageConfiguration.secCodes);
}
@Override
public int hashCode() {
return Objects.hash(expectedFrequency, expectedHighestAmount, expectedAverageAmount, expectedMonthlyAmount, secCodes);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferDebitUsageConfiguration {\n");
sb.append(" expectedFrequency: ").append(toIndentedString(expectedFrequency)).append("\n");
sb.append(" expectedHighestAmount: ").append(toIndentedString(expectedHighestAmount)).append("\n");
sb.append(" expectedAverageAmount: ").append(toIndentedString(expectedAverageAmount)).append("\n");
sb.append(" expectedMonthlyAmount: ").append(toIndentedString(expectedMonthlyAmount)).append("\n");
sb.append(" secCodes: ").append(toIndentedString(secCodes)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/DocumentaryVerificationDocument.java | src/main/java/com/plaid/client/model/DocumentaryVerificationDocument.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.DocumentAnalysis;
import com.plaid.client.model.DocumentStatus;
import com.plaid.client.model.PhysicalDocumentExtractedData;
import com.plaid.client.model.PhysicalDocumentImages;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
/**
* Images, extracted data, and analysis from a user's identity document
*/
@ApiModel(description = "Images, extracted data, and analysis from a user's identity document")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class DocumentaryVerificationDocument {
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private DocumentStatus status;
public static final String SERIALIZED_NAME_ATTEMPT = "attempt";
@SerializedName(SERIALIZED_NAME_ATTEMPT)
private Integer attempt;
public static final String SERIALIZED_NAME_IMAGES = "images";
@SerializedName(SERIALIZED_NAME_IMAGES)
private PhysicalDocumentImages images;
public static final String SERIALIZED_NAME_EXTRACTED_DATA = "extracted_data";
@SerializedName(SERIALIZED_NAME_EXTRACTED_DATA)
private PhysicalDocumentExtractedData extractedData;
public static final String SERIALIZED_NAME_ANALYSIS = "analysis";
@SerializedName(SERIALIZED_NAME_ANALYSIS)
private DocumentAnalysis analysis;
public static final String SERIALIZED_NAME_REDACTED_AT = "redacted_at";
@SerializedName(SERIALIZED_NAME_REDACTED_AT)
private OffsetDateTime redactedAt;
public DocumentaryVerificationDocument status(DocumentStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@ApiModelProperty(required = true, value = "")
public DocumentStatus getStatus() {
return status;
}
public void setStatus(DocumentStatus status) {
this.status = status;
}
public DocumentaryVerificationDocument attempt(Integer attempt) {
this.attempt = attempt;
return this;
}
/**
* The `attempt` field begins with 1 and increments with each subsequent document upload.
* @return attempt
**/
@ApiModelProperty(example = "1", required = true, value = "The `attempt` field begins with 1 and increments with each subsequent document upload.")
public Integer getAttempt() {
return attempt;
}
public void setAttempt(Integer attempt) {
this.attempt = attempt;
}
public DocumentaryVerificationDocument images(PhysicalDocumentImages images) {
this.images = images;
return this;
}
/**
* Get images
* @return images
**/
@ApiModelProperty(required = true, value = "")
public PhysicalDocumentImages getImages() {
return images;
}
public void setImages(PhysicalDocumentImages images) {
this.images = images;
}
public DocumentaryVerificationDocument extractedData(PhysicalDocumentExtractedData extractedData) {
this.extractedData = extractedData;
return this;
}
/**
* Get extractedData
* @return extractedData
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public PhysicalDocumentExtractedData getExtractedData() {
return extractedData;
}
public void setExtractedData(PhysicalDocumentExtractedData extractedData) {
this.extractedData = extractedData;
}
public DocumentaryVerificationDocument analysis(DocumentAnalysis analysis) {
this.analysis = analysis;
return this;
}
/**
* Get analysis
* @return analysis
**/
@ApiModelProperty(required = true, value = "")
public DocumentAnalysis getAnalysis() {
return analysis;
}
public void setAnalysis(DocumentAnalysis analysis) {
this.analysis = analysis;
}
public DocumentaryVerificationDocument redactedAt(OffsetDateTime redactedAt) {
this.redactedAt = redactedAt;
return this;
}
/**
* An ISO8601 formatted timestamp.
* @return redactedAt
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "2020-07-24T03:26:02Z", required = true, value = "An ISO8601 formatted timestamp.")
public OffsetDateTime getRedactedAt() {
return redactedAt;
}
public void setRedactedAt(OffsetDateTime redactedAt) {
this.redactedAt = redactedAt;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DocumentaryVerificationDocument documentaryVerificationDocument = (DocumentaryVerificationDocument) o;
return Objects.equals(this.status, documentaryVerificationDocument.status) &&
Objects.equals(this.attempt, documentaryVerificationDocument.attempt) &&
Objects.equals(this.images, documentaryVerificationDocument.images) &&
Objects.equals(this.extractedData, documentaryVerificationDocument.extractedData) &&
Objects.equals(this.analysis, documentaryVerificationDocument.analysis) &&
Objects.equals(this.redactedAt, documentaryVerificationDocument.redactedAt);
}
@Override
public int hashCode() {
return Objects.hash(status, attempt, images, extractedData, analysis, redactedAt);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DocumentaryVerificationDocument {\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" attempt: ").append(toIndentedString(attempt)).append("\n");
sb.append(" images: ").append(toIndentedString(images)).append("\n");
sb.append(" extractedData: ").append(toIndentedString(extractedData)).append("\n");
sb.append(" analysis: ").append(toIndentedString(analysis)).append("\n");
sb.append(" redactedAt: ").append(toIndentedString(redactedAt)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BeaconUserHistoryListRequest.java | src/main/java/com/plaid/client/model/BeaconUserHistoryListRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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 the history of a Beacon User
*/
@ApiModel(description = "Request input for listing the history of a Beacon User")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BeaconUserHistoryListRequest {
public static final String SERIALIZED_NAME_BEACON_USER_ID = "beacon_user_id";
@SerializedName(SERIALIZED_NAME_BEACON_USER_ID)
private String beaconUserId;
public static final String SERIALIZED_NAME_CURSOR = "cursor";
@SerializedName(SERIALIZED_NAME_CURSOR)
private String cursor;
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public BeaconUserHistoryListRequest beaconUserId(String beaconUserId) {
this.beaconUserId = beaconUserId;
return this;
}
/**
* ID of the associated Beacon User.
* @return beaconUserId
**/
@ApiModelProperty(example = "becusr_42cF1MNo42r9Xj", required = true, value = "ID of the associated Beacon User.")
public String getBeaconUserId() {
return beaconUserId;
}
public void setBeaconUserId(String beaconUserId) {
this.beaconUserId = beaconUserId;
}
public BeaconUserHistoryListRequest cursor(String cursor) {
this.cursor = cursor;
return this;
}
/**
* An identifier that determines which page of results you receive.
* @return cursor
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "eyJkaXJlY3Rpb24iOiJuZXh0Iiwib2Zmc2V0IjoiMTU5NDM", value = "An identifier that determines which page of results you receive.")
public String getCursor() {
return cursor;
}
public void setCursor(String cursor) {
this.cursor = cursor;
}
public BeaconUserHistoryListRequest 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 BeaconUserHistoryListRequest 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;
}
BeaconUserHistoryListRequest beaconUserHistoryListRequest = (BeaconUserHistoryListRequest) o;
return Objects.equals(this.beaconUserId, beaconUserHistoryListRequest.beaconUserId) &&
Objects.equals(this.cursor, beaconUserHistoryListRequest.cursor) &&
Objects.equals(this.clientId, beaconUserHistoryListRequest.clientId) &&
Objects.equals(this.secret, beaconUserHistoryListRequest.secret);
}
@Override
public int hashCode() {
return Objects.hash(beaconUserId, cursor, clientId, secret);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BeaconUserHistoryListRequest {\n");
sb.append(" beaconUserId: ").append(toIndentedString(beaconUserId)).append("\n");
sb.append(" cursor: ").append(toIndentedString(cursor)).append("\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/LinkTokenCreateRequestAuth.java | src/main/java/com/plaid/client/model/LinkTokenCreateRequestAuth.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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 Auth product. This field can be used to enable or disable extended Auth flows for the resulting Link session. Omitting any field will result in a default that can be configured by your account manager. The default behavior described in the documentation is the default behavior that will apply if you have not requested your account manager to apply a different default. If you have enabled the [Dashboard Account Verification pane](https://dashboard.plaid.com/account-verification), the settings enabled there will override any settings in this object.
*/
@ApiModel(description = "Specifies options for initializing Link for use with the Auth product. This field can be used to enable or disable extended Auth flows for the resulting Link session. Omitting any field will result in a default that can be configured by your account manager. The default behavior described in the documentation is the default behavior that will apply if you have not requested your account manager to apply a different default. If you have enabled the [Dashboard Account Verification pane](https://dashboard.plaid.com/account-verification), the settings enabled there will override any settings in this object.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkTokenCreateRequestAuth {
public static final String SERIALIZED_NAME_AUTH_TYPE_SELECT_ENABLED = "auth_type_select_enabled";
@SerializedName(SERIALIZED_NAME_AUTH_TYPE_SELECT_ENABLED)
private Boolean authTypeSelectEnabled;
public static final String SERIALIZED_NAME_AUTOMATED_MICRODEPOSITS_ENABLED = "automated_microdeposits_enabled";
@SerializedName(SERIALIZED_NAME_AUTOMATED_MICRODEPOSITS_ENABLED)
private Boolean automatedMicrodepositsEnabled;
public static final String SERIALIZED_NAME_INSTANT_MATCH_ENABLED = "instant_match_enabled";
@SerializedName(SERIALIZED_NAME_INSTANT_MATCH_ENABLED)
private Boolean instantMatchEnabled;
public static final String SERIALIZED_NAME_SAME_DAY_MICRODEPOSITS_ENABLED = "same_day_microdeposits_enabled";
@SerializedName(SERIALIZED_NAME_SAME_DAY_MICRODEPOSITS_ENABLED)
private Boolean sameDayMicrodepositsEnabled;
public static final String SERIALIZED_NAME_INSTANT_MICRODEPOSITS_ENABLED = "instant_microdeposits_enabled";
@SerializedName(SERIALIZED_NAME_INSTANT_MICRODEPOSITS_ENABLED)
private Boolean instantMicrodepositsEnabled;
/**
* Specifies what type of [Reroute to Credentials](https://plaid.com/docs/auth/coverage/flow-options/#removing-manual-verification-entry-points-with-reroute-to-credentials) pane should be used in the Link session for the Same Day Micro-deposits flow. Default behavior is `OPTIONAL`.
*/
@JsonAdapter(RerouteToCredentialsEnum.Adapter.class)
public enum RerouteToCredentialsEnum {
OFF("OFF"),
OPTIONAL("OPTIONAL"),
FORCED("FORCED");
private String value;
RerouteToCredentialsEnum(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static RerouteToCredentialsEnum fromValue(String value) {
for (RerouteToCredentialsEnum b : RerouteToCredentialsEnum.values()) {
if (b.value.equals(value)) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
}
public static class Adapter extends TypeAdapter<RerouteToCredentialsEnum> {
@Override
public void write(final JsonWriter jsonWriter, final RerouteToCredentialsEnum enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public RerouteToCredentialsEnum read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return RerouteToCredentialsEnum.fromValue(value);
}
}
}
public static final String SERIALIZED_NAME_REROUTE_TO_CREDENTIALS = "reroute_to_credentials";
@SerializedName(SERIALIZED_NAME_REROUTE_TO_CREDENTIALS)
private RerouteToCredentialsEnum rerouteToCredentials;
public static final String SERIALIZED_NAME_DATABASE_MATCH_ENABLED = "database_match_enabled";
@SerializedName(SERIALIZED_NAME_DATABASE_MATCH_ENABLED)
private Boolean databaseMatchEnabled;
public static final String SERIALIZED_NAME_DATABASE_INSIGHTS_ENABLED = "database_insights_enabled";
@SerializedName(SERIALIZED_NAME_DATABASE_INSIGHTS_ENABLED)
private Boolean databaseInsightsEnabled;
/**
* This field has been deprecated in favor of `auth_type_select_enabled`.
*/
@JsonAdapter(FlowTypeEnum.Adapter.class)
public enum FlowTypeEnum {
FLEXIBLE_AUTH("FLEXIBLE_AUTH");
private String value;
FlowTypeEnum(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static FlowTypeEnum fromValue(String value) {
for (FlowTypeEnum b : FlowTypeEnum.values()) {
if (b.value.equals(value)) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
}
public static class Adapter extends TypeAdapter<FlowTypeEnum> {
@Override
public void write(final JsonWriter jsonWriter, final FlowTypeEnum enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public FlowTypeEnum read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return FlowTypeEnum.fromValue(value);
}
}
}
public static final String SERIALIZED_NAME_FLOW_TYPE = "flow_type";
@SerializedName(SERIALIZED_NAME_FLOW_TYPE)
private FlowTypeEnum flowType;
public static final String SERIALIZED_NAME_SMS_MICRODEPOSITS_VERIFICATION_ENABLED = "sms_microdeposits_verification_enabled";
@SerializedName(SERIALIZED_NAME_SMS_MICRODEPOSITS_VERIFICATION_ENABLED)
private Boolean smsMicrodepositsVerificationEnabled;
public LinkTokenCreateRequestAuth authTypeSelectEnabled(Boolean authTypeSelectEnabled) {
this.authTypeSelectEnabled = authTypeSelectEnabled;
return this;
}
/**
* Specifies whether Auth Type Select is enabled for the Link session, allowing the end user to choose between linking via a credentials-based flow (i.e. Instant Auth, Instant Match, Automated Micro-deposits) or a manual flow that does not require login (all other Auth flows) prior to selecting their financial institution. Default behavior is `false`.
* @return authTypeSelectEnabled
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Specifies whether Auth Type Select is enabled for the Link session, allowing the end user to choose between linking via a credentials-based flow (i.e. Instant Auth, Instant Match, Automated Micro-deposits) or a manual flow that does not require login (all other Auth flows) prior to selecting their financial institution. Default behavior is `false`.")
public Boolean getAuthTypeSelectEnabled() {
return authTypeSelectEnabled;
}
public void setAuthTypeSelectEnabled(Boolean authTypeSelectEnabled) {
this.authTypeSelectEnabled = authTypeSelectEnabled;
}
public LinkTokenCreateRequestAuth automatedMicrodepositsEnabled(Boolean automatedMicrodepositsEnabled) {
this.automatedMicrodepositsEnabled = automatedMicrodepositsEnabled;
return this;
}
/**
* Specifies whether the Link session is enabled for the Automated Micro-deposits flow. Default behavior is `false`.
* @return automatedMicrodepositsEnabled
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Specifies whether the Link session is enabled for the Automated Micro-deposits flow. Default behavior is `false`.")
public Boolean getAutomatedMicrodepositsEnabled() {
return automatedMicrodepositsEnabled;
}
public void setAutomatedMicrodepositsEnabled(Boolean automatedMicrodepositsEnabled) {
this.automatedMicrodepositsEnabled = automatedMicrodepositsEnabled;
}
public LinkTokenCreateRequestAuth instantMatchEnabled(Boolean instantMatchEnabled) {
this.instantMatchEnabled = instantMatchEnabled;
return this;
}
/**
* Specifies whether the Link session is enabled for the Instant Match flow. Instant Match is enabled by default. Instant Match can be disabled by setting this field to `false`.
* @return instantMatchEnabled
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Specifies whether the Link session is enabled for the Instant Match flow. Instant Match is enabled by default. Instant Match can be disabled by setting this field to `false`.")
public Boolean getInstantMatchEnabled() {
return instantMatchEnabled;
}
public void setInstantMatchEnabled(Boolean instantMatchEnabled) {
this.instantMatchEnabled = instantMatchEnabled;
}
public LinkTokenCreateRequestAuth sameDayMicrodepositsEnabled(Boolean sameDayMicrodepositsEnabled) {
this.sameDayMicrodepositsEnabled = sameDayMicrodepositsEnabled;
return this;
}
/**
* Specifies whether the Link session is enabled for the Same Day Micro-deposits flow. Default behavior is `false`.
* @return sameDayMicrodepositsEnabled
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Specifies whether the Link session is enabled for the Same Day Micro-deposits flow. Default behavior is `false`.")
public Boolean getSameDayMicrodepositsEnabled() {
return sameDayMicrodepositsEnabled;
}
public void setSameDayMicrodepositsEnabled(Boolean sameDayMicrodepositsEnabled) {
this.sameDayMicrodepositsEnabled = sameDayMicrodepositsEnabled;
}
public LinkTokenCreateRequestAuth instantMicrodepositsEnabled(Boolean instantMicrodepositsEnabled) {
this.instantMicrodepositsEnabled = instantMicrodepositsEnabled;
return this;
}
/**
* Specifies whether the Link session is enabled for the Instant Micro-deposits flow. Default behavior for Plaid teams created after November 2023 is `false`; default behavior for Plaid teams created before that date is `true`.
* @return instantMicrodepositsEnabled
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Specifies whether the Link session is enabled for the Instant Micro-deposits flow. Default behavior for Plaid teams created after November 2023 is `false`; default behavior for Plaid teams created before that date is `true`.")
public Boolean getInstantMicrodepositsEnabled() {
return instantMicrodepositsEnabled;
}
public void setInstantMicrodepositsEnabled(Boolean instantMicrodepositsEnabled) {
this.instantMicrodepositsEnabled = instantMicrodepositsEnabled;
}
public LinkTokenCreateRequestAuth rerouteToCredentials(RerouteToCredentialsEnum rerouteToCredentials) {
this.rerouteToCredentials = rerouteToCredentials;
return this;
}
/**
* Specifies what type of [Reroute to Credentials](https://plaid.com/docs/auth/coverage/flow-options/#removing-manual-verification-entry-points-with-reroute-to-credentials) pane should be used in the Link session for the Same Day Micro-deposits flow. Default behavior is `OPTIONAL`.
* @return rerouteToCredentials
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Specifies what type of [Reroute to Credentials](https://plaid.com/docs/auth/coverage/flow-options/#removing-manual-verification-entry-points-with-reroute-to-credentials) pane should be used in the Link session for the Same Day Micro-deposits flow. Default behavior is `OPTIONAL`.")
public RerouteToCredentialsEnum getRerouteToCredentials() {
return rerouteToCredentials;
}
public void setRerouteToCredentials(RerouteToCredentialsEnum rerouteToCredentials) {
this.rerouteToCredentials = rerouteToCredentials;
}
public LinkTokenCreateRequestAuth databaseMatchEnabled(Boolean databaseMatchEnabled) {
this.databaseMatchEnabled = databaseMatchEnabled;
return this;
}
/**
* Database Match has been deprecated and replaced with Database Auth. Use the [Account Verification Dashboard](https://dashboard.plaid.com/account-verification) to enable Database Auth.
* @return databaseMatchEnabled
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Database Match has been deprecated and replaced with Database Auth. Use the [Account Verification Dashboard](https://dashboard.plaid.com/account-verification) to enable Database Auth.")
public Boolean getDatabaseMatchEnabled() {
return databaseMatchEnabled;
}
public void setDatabaseMatchEnabled(Boolean databaseMatchEnabled) {
this.databaseMatchEnabled = databaseMatchEnabled;
}
public LinkTokenCreateRequestAuth databaseInsightsEnabled(Boolean databaseInsightsEnabled) {
this.databaseInsightsEnabled = databaseInsightsEnabled;
return this;
}
/**
* Database Insights has been deprecated and replaced with Database Auth. Use the [Account Verification Dashboard](https://dashboard.plaid.com/account-verification) to enable Database Auth.
* @return databaseInsightsEnabled
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Database Insights has been deprecated and replaced with Database Auth. Use the [Account Verification Dashboard](https://dashboard.plaid.com/account-verification) to enable Database Auth.")
public Boolean getDatabaseInsightsEnabled() {
return databaseInsightsEnabled;
}
public void setDatabaseInsightsEnabled(Boolean databaseInsightsEnabled) {
this.databaseInsightsEnabled = databaseInsightsEnabled;
}
public LinkTokenCreateRequestAuth flowType(FlowTypeEnum flowType) {
this.flowType = flowType;
return this;
}
/**
* This field has been deprecated in favor of `auth_type_select_enabled`.
* @return flowType
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "This field has been deprecated in favor of `auth_type_select_enabled`.")
public FlowTypeEnum getFlowType() {
return flowType;
}
public void setFlowType(FlowTypeEnum flowType) {
this.flowType = flowType;
}
public LinkTokenCreateRequestAuth smsMicrodepositsVerificationEnabled(Boolean smsMicrodepositsVerificationEnabled) {
this.smsMicrodepositsVerificationEnabled = smsMicrodepositsVerificationEnabled;
return this;
}
/**
* Specifies whether the Link session is enabled for SMS micro-deposits verification. Default behavior is `true`.
* @return smsMicrodepositsVerificationEnabled
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Specifies whether the Link session is enabled for SMS micro-deposits verification. Default behavior is `true`.")
public Boolean getSmsMicrodepositsVerificationEnabled() {
return smsMicrodepositsVerificationEnabled;
}
public void setSmsMicrodepositsVerificationEnabled(Boolean smsMicrodepositsVerificationEnabled) {
this.smsMicrodepositsVerificationEnabled = smsMicrodepositsVerificationEnabled;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkTokenCreateRequestAuth linkTokenCreateRequestAuth = (LinkTokenCreateRequestAuth) o;
return Objects.equals(this.authTypeSelectEnabled, linkTokenCreateRequestAuth.authTypeSelectEnabled) &&
Objects.equals(this.automatedMicrodepositsEnabled, linkTokenCreateRequestAuth.automatedMicrodepositsEnabled) &&
Objects.equals(this.instantMatchEnabled, linkTokenCreateRequestAuth.instantMatchEnabled) &&
Objects.equals(this.sameDayMicrodepositsEnabled, linkTokenCreateRequestAuth.sameDayMicrodepositsEnabled) &&
Objects.equals(this.instantMicrodepositsEnabled, linkTokenCreateRequestAuth.instantMicrodepositsEnabled) &&
Objects.equals(this.rerouteToCredentials, linkTokenCreateRequestAuth.rerouteToCredentials) &&
Objects.equals(this.databaseMatchEnabled, linkTokenCreateRequestAuth.databaseMatchEnabled) &&
Objects.equals(this.databaseInsightsEnabled, linkTokenCreateRequestAuth.databaseInsightsEnabled) &&
Objects.equals(this.flowType, linkTokenCreateRequestAuth.flowType) &&
Objects.equals(this.smsMicrodepositsVerificationEnabled, linkTokenCreateRequestAuth.smsMicrodepositsVerificationEnabled);
}
@Override
public int hashCode() {
return Objects.hash(authTypeSelectEnabled, automatedMicrodepositsEnabled, instantMatchEnabled, sameDayMicrodepositsEnabled, instantMicrodepositsEnabled, rerouteToCredentials, databaseMatchEnabled, databaseInsightsEnabled, flowType, smsMicrodepositsVerificationEnabled);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkTokenCreateRequestAuth {\n");
sb.append(" authTypeSelectEnabled: ").append(toIndentedString(authTypeSelectEnabled)).append("\n");
sb.append(" automatedMicrodepositsEnabled: ").append(toIndentedString(automatedMicrodepositsEnabled)).append("\n");
sb.append(" instantMatchEnabled: ").append(toIndentedString(instantMatchEnabled)).append("\n");
sb.append(" sameDayMicrodepositsEnabled: ").append(toIndentedString(sameDayMicrodepositsEnabled)).append("\n");
sb.append(" instantMicrodepositsEnabled: ").append(toIndentedString(instantMicrodepositsEnabled)).append("\n");
sb.append(" rerouteToCredentials: ").append(toIndentedString(rerouteToCredentials)).append("\n");
sb.append(" databaseMatchEnabled: ").append(toIndentedString(databaseMatchEnabled)).append("\n");
sb.append(" databaseInsightsEnabled: ").append(toIndentedString(databaseInsightsEnabled)).append("\n");
sb.append(" flowType: ").append(toIndentedString(flowType)).append("\n");
sb.append(" smsMicrodepositsVerificationEnabled: ").append(toIndentedString(smsMicrodepositsVerificationEnabled)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/NumbersEFT.java | src/main/java/com/plaid/client/model/NumbersEFT.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Identifying information for transferring money to or from a Canadian bank account via EFT.
*/
@ApiModel(description = "Identifying information for transferring money to or from a Canadian bank account via EFT.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class NumbersEFT {
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
private String accountId;
public static final String SERIALIZED_NAME_ACCOUNT = "account";
@SerializedName(SERIALIZED_NAME_ACCOUNT)
private String account;
public static final String SERIALIZED_NAME_INSTITUTION = "institution";
@SerializedName(SERIALIZED_NAME_INSTITUTION)
private String institution;
public static final String SERIALIZED_NAME_BRANCH = "branch";
@SerializedName(SERIALIZED_NAME_BRANCH)
private String branch;
public NumbersEFT accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* The Plaid account ID associated with the account numbers
* @return accountId
**/
@ApiModelProperty(required = true, value = "The Plaid account ID associated with the account numbers")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public NumbersEFT account(String account) {
this.account = account;
return this;
}
/**
* The EFT account number for the account
* @return account
**/
@ApiModelProperty(required = true, value = "The EFT account number for the account")
public String getAccount() {
return account;
}
public void setAccount(String account) {
this.account = account;
}
public NumbersEFT institution(String institution) {
this.institution = institution;
return this;
}
/**
* The EFT institution number for the account
* @return institution
**/
@ApiModelProperty(required = true, value = "The EFT institution number for the account")
public String getInstitution() {
return institution;
}
public void setInstitution(String institution) {
this.institution = institution;
}
public NumbersEFT branch(String branch) {
this.branch = branch;
return this;
}
/**
* The EFT branch number for the account
* @return branch
**/
@ApiModelProperty(required = true, value = "The EFT branch number for the account")
public String getBranch() {
return branch;
}
public void setBranch(String branch) {
this.branch = branch;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
NumbersEFT numbersEFT = (NumbersEFT) o;
return Objects.equals(this.accountId, numbersEFT.accountId) &&
Objects.equals(this.account, numbersEFT.account) &&
Objects.equals(this.institution, numbersEFT.institution) &&
Objects.equals(this.branch, numbersEFT.branch);
}
@Override
public int hashCode() {
return Objects.hash(accountId, account, institution, branch);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class NumbersEFT {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" account: ").append(toIndentedString(account)).append("\n");
sb.append(" institution: ").append(toIndentedString(institution)).append("\n");
sb.append(" branch: ").append(toIndentedString(branch)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransferAuthorizationCancelRequest.java | src/main/java/com/plaid/client/model/TransferAuthorizationCancelRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines the request schema for `/transfer/authorization/cancel`
*/
@ApiModel(description = "Defines the request schema for `/transfer/authorization/cancel`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferAuthorizationCancelRequest {
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_AUTHORIZATION_ID = "authorization_id";
@SerializedName(SERIALIZED_NAME_AUTHORIZATION_ID)
private String authorizationId;
public TransferAuthorizationCancelRequest 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 TransferAuthorizationCancelRequest 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 TransferAuthorizationCancelRequest authorizationId(String authorizationId) {
this.authorizationId = authorizationId;
return this;
}
/**
* Plaid’s unique identifier for a transfer authorization.
* @return authorizationId
**/
@ApiModelProperty(required = true, value = "Plaid’s unique identifier for a transfer authorization.")
public String getAuthorizationId() {
return authorizationId;
}
public void setAuthorizationId(String authorizationId) {
this.authorizationId = authorizationId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferAuthorizationCancelRequest transferAuthorizationCancelRequest = (TransferAuthorizationCancelRequest) o;
return Objects.equals(this.clientId, transferAuthorizationCancelRequest.clientId) &&
Objects.equals(this.secret, transferAuthorizationCancelRequest.secret) &&
Objects.equals(this.authorizationId, transferAuthorizationCancelRequest.authorizationId);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, authorizationId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferAuthorizationCancelRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" authorizationId: ").append(toIndentedString(authorizationId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/SandboxTransferLedgerWithdrawSimulateResponse.java | src/main/java/com/plaid/client/model/SandboxTransferLedgerWithdrawSimulateResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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/transfer/ledger/withdraw/simulate`
*/
@ApiModel(description = "Defines the response schema for `/sandbox/transfer/ledger/withdraw/simulate`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SandboxTransferLedgerWithdrawSimulateResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public SandboxTransferLedgerWithdrawSimulateResponse 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;
}
SandboxTransferLedgerWithdrawSimulateResponse sandboxTransferLedgerWithdrawSimulateResponse = (SandboxTransferLedgerWithdrawSimulateResponse) o;
return Objects.equals(this.requestId, sandboxTransferLedgerWithdrawSimulateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SandboxTransferLedgerWithdrawSimulateResponse {\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/AssetReportPDFGetRequestOptions.java | src/main/java/com/plaid/client/model/AssetReportPDFGetRequestOptions.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* An optional object to filter or add data to `/asset_report/get` results. If provided, must be non-`null`.
*/
@ApiModel(description = "An optional object to filter or add data to `/asset_report/get` results. If provided, must be non-`null`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class AssetReportPDFGetRequestOptions {
public static final String SERIALIZED_NAME_DAYS_TO_INCLUDE = "days_to_include";
@SerializedName(SERIALIZED_NAME_DAYS_TO_INCLUDE)
private Integer daysToInclude;
public AssetReportPDFGetRequestOptions daysToInclude(Integer daysToInclude) {
this.daysToInclude = daysToInclude;
return this;
}
/**
* The maximum integer number of days of history to include in the Asset Report.
* minimum: 0
* maximum: 731
* @return daysToInclude
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The maximum integer number of days of history to include in the Asset Report.")
public Integer getDaysToInclude() {
return daysToInclude;
}
public void setDaysToInclude(Integer daysToInclude) {
this.daysToInclude = daysToInclude;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AssetReportPDFGetRequestOptions assetReportPDFGetRequestOptions = (AssetReportPDFGetRequestOptions) o;
return Objects.equals(this.daysToInclude, assetReportPDFGetRequestOptions.daysToInclude);
}
@Override
public int hashCode() {
return Objects.hash(daysToInclude);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AssetReportPDFGetRequestOptions {\n");
sb.append(" daysToInclude: ").append(toIndentedString(daysToInclude)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CreditBankStatementsUploadsGetResponse.java | src/main/java/com/plaid/client/model/CreditBankStatementsUploadsGetResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.CreditBankStatementUploadItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* CreditBankStatementsUploadsGetResponse defines the response schema for `/credit/bank_statements/uploads/get`
*/
@ApiModel(description = "CreditBankStatementsUploadsGetResponse defines the response schema for `/credit/bank_statements/uploads/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditBankStatementsUploadsGetResponse {
public static final String SERIALIZED_NAME_ITEMS = "items";
@SerializedName(SERIALIZED_NAME_ITEMS)
private List<CreditBankStatementUploadItem> items = new ArrayList<>();
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public CreditBankStatementsUploadsGetResponse items(List<CreditBankStatementUploadItem> items) {
this.items = items;
return this;
}
public CreditBankStatementsUploadsGetResponse addItemsItem(CreditBankStatementUploadItem itemsItem) {
this.items.add(itemsItem);
return this;
}
/**
* Array of bank statement upload items.
* @return items
**/
@ApiModelProperty(required = true, value = "Array of bank statement upload items.")
public List<CreditBankStatementUploadItem> getItems() {
return items;
}
public void setItems(List<CreditBankStatementUploadItem> items) {
this.items = items;
}
public CreditBankStatementsUploadsGetResponse 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;
}
CreditBankStatementsUploadsGetResponse creditBankStatementsUploadsGetResponse = (CreditBankStatementsUploadsGetResponse) o;
return Objects.equals(this.items, creditBankStatementsUploadsGetResponse.items) &&
Objects.equals(this.requestId, creditBankStatementsUploadsGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(items, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditBankStatementsUploadsGetResponse {\n");
sb.append(" items: ").append(toIndentedString(items)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BeaconUserCreateRequest.java | src/main/java/com/plaid/client/model/BeaconUserCreateRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.BeaconUserRequestData;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Request input for creating a Beacon User. The primary use for this endpoint is to add a new end user to Beacon for fraud and duplicate scanning. Some fields are optional, but it is recommended to provide as much information as possible to improve the accuracy of the fraud and duplicate scanning.
*/
@ApiModel(description = "Request input for creating a Beacon User. The primary use for this endpoint is to add a new end user to Beacon for fraud and duplicate scanning. Some fields are optional, but it is recommended to provide as much information as possible to improve the accuracy of the fraud and duplicate scanning.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BeaconUserCreateRequest {
public static final String SERIALIZED_NAME_PROGRAM_ID = "program_id";
@SerializedName(SERIALIZED_NAME_PROGRAM_ID)
private String programId;
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 = "user";
@SerializedName(SERIALIZED_NAME_USER)
private BeaconUserRequestData user;
public static final String SERIALIZED_NAME_ACCESS_TOKENS = "access_tokens";
@SerializedName(SERIALIZED_NAME_ACCESS_TOKENS)
private List<String> accessTokens = null;
public static final String SERIALIZED_NAME_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 BeaconUserCreateRequest programId(String programId) {
this.programId = programId;
return this;
}
/**
* ID of the associated Beacon Program.
* @return programId
**/
@ApiModelProperty(example = "becprg_11111111111111", required = true, value = "ID of the associated Beacon Program.")
public String getProgramId() {
return programId;
}
public void setProgramId(String programId) {
this.programId = programId;
}
public BeaconUserCreateRequest clientUserId(String clientUserId) {
this.clientUserId = clientUserId;
return this;
}
/**
* A unique ID that identifies the end user in your system. This ID can also be used to associate user-specific data from other Plaid products. Financial Account Matching requires this field and the `/link/token/create` `client_user_id` to be consistent. Personally identifiable information, such as an email address or phone number, should not be used in the `client_user_id`.
* @return clientUserId
**/
@ApiModelProperty(example = "your-db-id-3b24110", required = true, value = "A unique ID that identifies the end user in your system. This ID can also be used to associate user-specific data from other Plaid products. Financial Account Matching requires this field and the `/link/token/create` `client_user_id` to be consistent. Personally identifiable information, such as an email address or phone number, should not be used in the `client_user_id`.")
public String getClientUserId() {
return clientUserId;
}
public void setClientUserId(String clientUserId) {
this.clientUserId = clientUserId;
}
public BeaconUserCreateRequest user(BeaconUserRequestData user) {
this.user = user;
return this;
}
/**
* Get user
* @return user
**/
@ApiModelProperty(required = true, value = "")
public BeaconUserRequestData getUser() {
return user;
}
public void setUser(BeaconUserRequestData user) {
this.user = user;
}
public BeaconUserCreateRequest accessTokens(List<String> accessTokens) {
this.accessTokens = accessTokens;
return this;
}
public BeaconUserCreateRequest addAccessTokensItem(String accessTokensItem) {
if (this.accessTokens == null) {
this.accessTokens = new ArrayList<>();
}
this.accessTokens.add(accessTokensItem);
return this;
}
/**
* Send this array of access tokens to link accounts to the Beacon User and have them evaluated for Account Insights. A maximum of 50 accounts total can be added to a single Beacon User.
* @return accessTokens
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Send this array of access tokens to link accounts to the Beacon User and have them evaluated for Account Insights. A maximum of 50 accounts total can be added to a single Beacon User.")
public List<String> getAccessTokens() {
return accessTokens;
}
public void setAccessTokens(List<String> accessTokens) {
this.accessTokens = accessTokens;
}
public BeaconUserCreateRequest 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 BeaconUserCreateRequest 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;
}
BeaconUserCreateRequest beaconUserCreateRequest = (BeaconUserCreateRequest) o;
return Objects.equals(this.programId, beaconUserCreateRequest.programId) &&
Objects.equals(this.clientUserId, beaconUserCreateRequest.clientUserId) &&
Objects.equals(this.user, beaconUserCreateRequest.user) &&
Objects.equals(this.accessTokens, beaconUserCreateRequest.accessTokens) &&
Objects.equals(this.clientId, beaconUserCreateRequest.clientId) &&
Objects.equals(this.secret, beaconUserCreateRequest.secret);
}
@Override
public int hashCode() {
return Objects.hash(programId, clientUserId, user, accessTokens, clientId, secret);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BeaconUserCreateRequest {\n");
sb.append(" programId: ").append(toIndentedString(programId)).append("\n");
sb.append(" clientUserId: ").append(toIndentedString(clientUserId)).append("\n");
sb.append(" user: ").append(toIndentedString(user)).append("\n");
sb.append(" accessTokens: ").append(toIndentedString(accessTokens)).append("\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransferRepaymentListResponse.java | src/main/java/com/plaid/client/model/TransferRepaymentListResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.TransferRepayment;
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/repayments/list`
*/
@ApiModel(description = "Defines the response schema for `/transfer/repayments/list`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferRepaymentListResponse {
public static final String SERIALIZED_NAME_REPAYMENTS = "repayments";
@SerializedName(SERIALIZED_NAME_REPAYMENTS)
private List<TransferRepayment> repayments = new ArrayList<>();
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public TransferRepaymentListResponse repayments(List<TransferRepayment> repayments) {
this.repayments = repayments;
return this;
}
public TransferRepaymentListResponse addRepaymentsItem(TransferRepayment repaymentsItem) {
this.repayments.add(repaymentsItem);
return this;
}
/**
* Get repayments
* @return repayments
**/
@ApiModelProperty(required = true, value = "")
public List<TransferRepayment> getRepayments() {
return repayments;
}
public void setRepayments(List<TransferRepayment> repayments) {
this.repayments = repayments;
}
public TransferRepaymentListResponse 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;
}
TransferRepaymentListResponse transferRepaymentListResponse = (TransferRepaymentListResponse) o;
return Objects.equals(this.repayments, transferRepaymentListResponse.repayments) &&
Objects.equals(this.requestId, transferRepaymentListResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(repayments, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferRepaymentListResponse {\n");
sb.append(" repayments: ").append(toIndentedString(repayments)).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/CreditAmountWithCurrency.java | src/main/java/com/plaid/client/model/CreditAmountWithCurrency.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* This contains an amount, denominated in the currency specified by either `iso_currency_code` or `unofficial_currency_code`
*/
@ApiModel(description = "This contains an amount, denominated in the currency specified by either `iso_currency_code` or `unofficial_currency_code`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditAmountWithCurrency {
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 CreditAmountWithCurrency 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 CreditAmountWithCurrency 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 CreditAmountWithCurrency 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;
}
CreditAmountWithCurrency creditAmountWithCurrency = (CreditAmountWithCurrency) o;
return Objects.equals(this.amount, creditAmountWithCurrency.amount) &&
Objects.equals(this.isoCurrencyCode, creditAmountWithCurrency.isoCurrencyCode) &&
Objects.equals(this.unofficialCurrencyCode, creditAmountWithCurrency.unofficialCurrencyCode);
}
@Override
public int hashCode() {
return Objects.hash(amount, isoCurrencyCode, unofficialCurrencyCode);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditAmountWithCurrency {\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/TransferIntentCreateMode.java | src/main/java/com/plaid/client/model/TransferIntentCreateMode.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* The direction of the flow of transfer funds. `PAYMENT`: Transfers funds from an end user's account to your business account. `DISBURSEMENT`: Transfers funds from your business account to an end user's account.
*/
@JsonAdapter(TransferIntentCreateMode.Adapter.class)
public enum TransferIntentCreateMode {
PAYMENT("PAYMENT"),
DISBURSEMENT("DISBURSEMENT"),
// 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;
TransferIntentCreateMode(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static TransferIntentCreateMode fromValue(String value) {
for (TransferIntentCreateMode b : TransferIntentCreateMode.values()) {
if (b.value.equals(value)) {
return b;
}
}
return TransferIntentCreateMode.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<TransferIntentCreateMode> {
@Override
public void write(final JsonWriter jsonWriter, final TransferIntentCreateMode enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public TransferIntentCreateMode read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return TransferIntentCreateMode.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/WatchlistScreeningIndividualUpdateResponse.java | src/main/java/com/plaid/client/model/WatchlistScreeningIndividualUpdateResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.WatchlistScreeningAuditTrail;
import com.plaid.client.model.WatchlistScreeningSearchTerms;
import com.plaid.client.model.WatchlistScreeningStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The screening object allows you to represent a customer in your system, update their profile, and search for them on various watchlists. Note: Rejected customers will not receive new hits, regardless of program configuration.
*/
@ApiModel(description = "The screening object allows you to represent a customer in your system, update their profile, and search for them on various watchlists. Note: Rejected customers will not receive new hits, regardless of program configuration.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class WatchlistScreeningIndividualUpdateResponse {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
public static final String SERIALIZED_NAME_SEARCH_TERMS = "search_terms";
@SerializedName(SERIALIZED_NAME_SEARCH_TERMS)
private WatchlistScreeningSearchTerms searchTerms;
public static final String SERIALIZED_NAME_ASSIGNEE = "assignee";
@SerializedName(SERIALIZED_NAME_ASSIGNEE)
private String assignee;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private WatchlistScreeningStatus status;
public static final String SERIALIZED_NAME_CLIENT_USER_ID = "client_user_id";
@SerializedName(SERIALIZED_NAME_CLIENT_USER_ID)
private String clientUserId;
public static final String SERIALIZED_NAME_AUDIT_TRAIL = "audit_trail";
@SerializedName(SERIALIZED_NAME_AUDIT_TRAIL)
private WatchlistScreeningAuditTrail auditTrail;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public WatchlistScreeningIndividualUpdateResponse id(String id) {
this.id = id;
return this;
}
/**
* ID of the associated screening.
* @return id
**/
@ApiModelProperty(example = "scr_52xR9LKo77r1Np", required = true, value = "ID of the associated screening.")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public WatchlistScreeningIndividualUpdateResponse searchTerms(WatchlistScreeningSearchTerms searchTerms) {
this.searchTerms = searchTerms;
return this;
}
/**
* Get searchTerms
* @return searchTerms
**/
@ApiModelProperty(required = true, value = "")
public WatchlistScreeningSearchTerms getSearchTerms() {
return searchTerms;
}
public void setSearchTerms(WatchlistScreeningSearchTerms searchTerms) {
this.searchTerms = searchTerms;
}
public WatchlistScreeningIndividualUpdateResponse 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 WatchlistScreeningIndividualUpdateResponse 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 WatchlistScreeningIndividualUpdateResponse 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 WatchlistScreeningIndividualUpdateResponse auditTrail(WatchlistScreeningAuditTrail auditTrail) {
this.auditTrail = auditTrail;
return this;
}
/**
* Get auditTrail
* @return auditTrail
**/
@ApiModelProperty(required = true, value = "")
public WatchlistScreeningAuditTrail getAuditTrail() {
return auditTrail;
}
public void setAuditTrail(WatchlistScreeningAuditTrail auditTrail) {
this.auditTrail = auditTrail;
}
public WatchlistScreeningIndividualUpdateResponse 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;
}
WatchlistScreeningIndividualUpdateResponse watchlistScreeningIndividualUpdateResponse = (WatchlistScreeningIndividualUpdateResponse) o;
return Objects.equals(this.id, watchlistScreeningIndividualUpdateResponse.id) &&
Objects.equals(this.searchTerms, watchlistScreeningIndividualUpdateResponse.searchTerms) &&
Objects.equals(this.assignee, watchlistScreeningIndividualUpdateResponse.assignee) &&
Objects.equals(this.status, watchlistScreeningIndividualUpdateResponse.status) &&
Objects.equals(this.clientUserId, watchlistScreeningIndividualUpdateResponse.clientUserId) &&
Objects.equals(this.auditTrail, watchlistScreeningIndividualUpdateResponse.auditTrail) &&
Objects.equals(this.requestId, watchlistScreeningIndividualUpdateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(id, searchTerms, assignee, status, clientUserId, auditTrail, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class WatchlistScreeningIndividualUpdateResponse {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" searchTerms: ").append(toIndentedString(searchTerms)).append("\n");
sb.append(" assignee: ").append(toIndentedString(assignee)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" clientUserId: ").append(toIndentedString(clientUserId)).append("\n");
sb.append(" auditTrail: ").append(toIndentedString(auditTrail)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CreditBankEmploymentGetResponse.java | src/main/java/com/plaid/client/model/CreditBankEmploymentGetResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.CreditBankEmploymentReport;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* CreditBankEmploymentGetResponse defines the response schema for `/beta/credit/v1/bank_employment/get`.
*/
@ApiModel(description = "CreditBankEmploymentGetResponse defines the response schema for `/beta/credit/v1/bank_employment/get`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditBankEmploymentGetResponse {
public static final String SERIALIZED_NAME_BANK_EMPLOYMENT_REPORTS = "bank_employment_reports";
@SerializedName(SERIALIZED_NAME_BANK_EMPLOYMENT_REPORTS)
private List<CreditBankEmploymentReport> bankEmploymentReports = new ArrayList<>();
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public CreditBankEmploymentGetResponse bankEmploymentReports(List<CreditBankEmploymentReport> bankEmploymentReports) {
this.bankEmploymentReports = bankEmploymentReports;
return this;
}
public CreditBankEmploymentGetResponse addBankEmploymentReportsItem(CreditBankEmploymentReport bankEmploymentReportsItem) {
this.bankEmploymentReports.add(bankEmploymentReportsItem);
return this;
}
/**
* Bank Employment data. Each entry in the array will be a distinct bank employment report.
* @return bankEmploymentReports
**/
@ApiModelProperty(required = true, value = "Bank Employment data. Each entry in the array will be a distinct bank employment report.")
public List<CreditBankEmploymentReport> getBankEmploymentReports() {
return bankEmploymentReports;
}
public void setBankEmploymentReports(List<CreditBankEmploymentReport> bankEmploymentReports) {
this.bankEmploymentReports = bankEmploymentReports;
}
public CreditBankEmploymentGetResponse 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;
}
CreditBankEmploymentGetResponse creditBankEmploymentGetResponse = (CreditBankEmploymentGetResponse) o;
return Objects.equals(this.bankEmploymentReports, creditBankEmploymentGetResponse.bankEmploymentReports) &&
Objects.equals(this.requestId, creditBankEmploymentGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(bankEmploymentReports, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditBankEmploymentGetResponse {\n");
sb.append(" bankEmploymentReports: ").append(toIndentedString(bankEmploymentReports)).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/LinkTokenCreateRequestCraOptionsPartnerInsights.java | src/main/java/com/plaid/client/model/LinkTokenCreateRequestCraOptionsPartnerInsights.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.PrismVersions;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Specifies options for initializing Link for use with the Credit Partner Insights product.
*/
@ApiModel(description = "Specifies options for initializing Link for use with the Credit Partner Insights product.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkTokenCreateRequestCraOptionsPartnerInsights {
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 PrismVersions prismVersions;
public LinkTokenCreateRequestCraOptionsPartnerInsights prismProducts(List<PrismProduct> prismProducts) {
this.prismProducts = prismProducts;
return this;
}
public LinkTokenCreateRequestCraOptionsPartnerInsights addPrismProductsItem(PrismProduct prismProductsItem) {
if (this.prismProducts == null) {
this.prismProducts = new ArrayList<>();
}
this.prismProducts.add(prismProductsItem);
return this;
}
/**
* The specific Prism products to return. If none are passed in, then all products will be returned.
* @return prismProducts
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The specific Prism 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 LinkTokenCreateRequestCraOptionsPartnerInsights prismVersions(PrismVersions prismVersions) {
this.prismVersions = prismVersions;
return this;
}
/**
* Get prismVersions
* @return prismVersions
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PrismVersions getPrismVersions() {
return prismVersions;
}
public void setPrismVersions(PrismVersions prismVersions) {
this.prismVersions = prismVersions;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkTokenCreateRequestCraOptionsPartnerInsights linkTokenCreateRequestCraOptionsPartnerInsights = (LinkTokenCreateRequestCraOptionsPartnerInsights) o;
return Objects.equals(this.prismProducts, linkTokenCreateRequestCraOptionsPartnerInsights.prismProducts) &&
Objects.equals(this.prismVersions, linkTokenCreateRequestCraOptionsPartnerInsights.prismVersions);
}
@Override
public int hashCode() {
return Objects.hash(prismProducts, prismVersions);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkTokenCreateRequestCraOptionsPartnerInsights {\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/TransferIntentAuthorizationDecision.java | src/main/java/com/plaid/client/model/TransferIntentAuthorizationDecision.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 decision regarding the proposed transfer. `APPROVED` – The proposed transfer has received the end user's consent and has been approved for processing by Plaid. The `decision_rationale` field is set if Plaid was unable to fetch the account information. You may proceed with the transfer, but further review is recommended (i.e., use Link in update mode to re-authenticate your user when `decision_rationale.code` is `ITEM_LOGIN_REQUIRED`). Refer to the `code` field in the `decision_rationale` object for details. `DECLINED` – Plaid reviewed the proposed transfer and declined processing. Refer to the `code` field in the `decision_rationale` object for details.
*/
@JsonAdapter(TransferIntentAuthorizationDecision.Adapter.class)
public enum TransferIntentAuthorizationDecision {
APPROVED("APPROVED"),
DECLINED("DECLINED"),
// 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;
TransferIntentAuthorizationDecision(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static TransferIntentAuthorizationDecision fromValue(String value) {
for (TransferIntentAuthorizationDecision b : TransferIntentAuthorizationDecision.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null; }
public static class Adapter extends TypeAdapter<TransferIntentAuthorizationDecision> {
@Override
public void write(final JsonWriter jsonWriter, final TransferIntentAuthorizationDecision enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public TransferIntentAuthorizationDecision read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return TransferIntentAuthorizationDecision.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/UserProductsTerminateRequest.java | src/main/java/com/plaid/client/model/UserProductsTerminateRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.UserBasedProducts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* UserProductsTerminateRequest defines the request schema for `/user/products/terminate`
*/
@ApiModel(description = "UserProductsTerminateRequest defines the request schema for `/user/products/terminate`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class UserProductsTerminateRequest {
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_PRODUCTS = "products";
@SerializedName(SERIALIZED_NAME_PRODUCTS)
private List<UserBasedProducts> products = null;
public UserProductsTerminateRequest 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 UserProductsTerminateRequest 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 UserProductsTerminateRequest userId(String userId) {
this.userId = userId;
return this;
}
/**
* A unique user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [new user APIs](https://plaid.com/docs/api/users/user-apis).
* @return userId
**/
@ApiModelProperty(required = true, value = "A unique user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [new user APIs](https://plaid.com/docs/api/users/user-apis).")
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public UserProductsTerminateRequest products(List<UserBasedProducts> products) {
this.products = products;
return this;
}
public UserProductsTerminateRequest addProductsItem(UserBasedProducts productsItem) {
if (this.products == null) {
this.products = new ArrayList<>();
}
this.products.add(productsItem);
return this;
}
/**
* An optional list of user-based products to terminate. If not provided, all user-based products will be terminated.
* @return products
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "An optional list of user-based products to terminate. If not provided, all user-based products will be terminated.")
public List<UserBasedProducts> getProducts() {
return products;
}
public void setProducts(List<UserBasedProducts> products) {
this.products = products;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
UserProductsTerminateRequest userProductsTerminateRequest = (UserProductsTerminateRequest) o;
return Objects.equals(this.clientId, userProductsTerminateRequest.clientId) &&
Objects.equals(this.secret, userProductsTerminateRequest.secret) &&
Objects.equals(this.userId, userProductsTerminateRequest.userId) &&
Objects.equals(this.products, userProductsTerminateRequest.products);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, userId, products);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UserProductsTerminateRequest {\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(" products: ").append(toIndentedString(products)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/GSEReportType.java | src/main/java/com/plaid/client/model/GSEReportType.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 GSE Reports supported by the Plaid API
*/
@JsonAdapter(GSEReportType.Adapter.class)
public enum GSEReportType {
VOA("VOA"),
EMPLOYMENT_REFRESH("EMPLOYMENT_REFRESH"),
// 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;
GSEReportType(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static GSEReportType fromValue(String value) {
for (GSEReportType b : GSEReportType.values()) {
if (b.value.equals(value)) {
return b;
}
}
return GSEReportType.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<GSEReportType> {
@Override
public void write(final JsonWriter jsonWriter, final GSEReportType enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public GSEReportType read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return GSEReportType.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/BaseReportInvestmentTransaction.java | src/main/java/com/plaid/client/model/BaseReportInvestmentTransaction.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.InvestmentTransactionSubtype;
import com.plaid.client.model.InvestmentTransactionType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
/**
* A transaction within an investment account.
*/
@ApiModel(description = "A transaction within an investment account.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BaseReportInvestmentTransaction {
public static final String SERIALIZED_NAME_INVESTMENT_TRANSACTION_ID = "investment_transaction_id";
@SerializedName(SERIALIZED_NAME_INVESTMENT_TRANSACTION_ID)
private String investmentTransactionId;
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
private String accountId;
public static final String SERIALIZED_NAME_SECURITY_ID = "security_id";
@SerializedName(SERIALIZED_NAME_SECURITY_ID)
private String securityId;
public static final String SERIALIZED_NAME_DATE = "date";
@SerializedName(SERIALIZED_NAME_DATE)
private LocalDate date;
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public static final String SERIALIZED_NAME_QUANTITY = "quantity";
@SerializedName(SERIALIZED_NAME_QUANTITY)
private Double quantity;
public static final String SERIALIZED_NAME_AMOUNT = "amount";
@SerializedName(SERIALIZED_NAME_AMOUNT)
private Double amount;
public static final String SERIALIZED_NAME_PRICE = "price";
@SerializedName(SERIALIZED_NAME_PRICE)
private Double price;
public static final String SERIALIZED_NAME_FEES = "fees";
@SerializedName(SERIALIZED_NAME_FEES)
private Double fees;
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private InvestmentTransactionType type;
public static final String SERIALIZED_NAME_SUBTYPE = "subtype";
@SerializedName(SERIALIZED_NAME_SUBTYPE)
private InvestmentTransactionSubtype subtype;
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 BaseReportInvestmentTransaction investmentTransactionId(String investmentTransactionId) {
this.investmentTransactionId = investmentTransactionId;
return this;
}
/**
* The ID of the Investment transaction, unique across all Plaid transactions. Like all Plaid identifiers, the `investment_transaction_id` is case sensitive.
* @return investmentTransactionId
**/
@ApiModelProperty(required = true, value = "The ID of the Investment transaction, unique across all Plaid transactions. Like all Plaid identifiers, the `investment_transaction_id` is case sensitive.")
public String getInvestmentTransactionId() {
return investmentTransactionId;
}
public void setInvestmentTransactionId(String investmentTransactionId) {
this.investmentTransactionId = investmentTransactionId;
}
public BaseReportInvestmentTransaction accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* The `account_id` of the account against which this transaction posted.
* @return accountId
**/
@ApiModelProperty(required = true, value = "The `account_id` of the account against which this transaction posted.")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public BaseReportInvestmentTransaction securityId(String securityId) {
this.securityId = securityId;
return this;
}
/**
* The `security_id` to which this transaction is related.
* @return securityId
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The `security_id` to which this transaction is related.")
public String getSecurityId() {
return securityId;
}
public void setSecurityId(String securityId) {
this.securityId = securityId;
}
public BaseReportInvestmentTransaction date(LocalDate date) {
this.date = date;
return this;
}
/**
* The [ISO 8601](https://wikipedia.org/wiki/ISO_8601) posting date for the transaction.
* @return date
**/
@ApiModelProperty(required = true, value = "The [ISO 8601](https://wikipedia.org/wiki/ISO_8601) posting date for the transaction.")
public LocalDate getDate() {
return date;
}
public void setDate(LocalDate date) {
this.date = date;
}
public BaseReportInvestmentTransaction name(String name) {
this.name = name;
return this;
}
/**
* The institution’s description of the transaction.
* @return name
**/
@ApiModelProperty(required = true, value = "The institution’s description of the transaction.")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public BaseReportInvestmentTransaction quantity(Double quantity) {
this.quantity = quantity;
return this;
}
/**
* The number of units of the security involved in this transaction. Positive for buy transactions; negative for sell transactions.
* @return quantity
**/
@ApiModelProperty(required = true, value = "The number of units of the security involved in this transaction. Positive for buy transactions; negative for sell transactions.")
public Double getQuantity() {
return quantity;
}
public void setQuantity(Double quantity) {
this.quantity = quantity;
}
public BaseReportInvestmentTransaction amount(Double amount) {
this.amount = amount;
return this;
}
/**
* The complete value of the transaction. Positive values when cash is debited, e.g. purchases of stock; negative values when cash is credited, e.g. sales of stock. Treatment remains the same for cash-only movements unassociated with securities.
* @return amount
**/
@ApiModelProperty(required = true, value = "The complete value of the transaction. Positive values when cash is debited, e.g. purchases of stock; negative values when cash is credited, e.g. sales of stock. Treatment remains the same for cash-only movements unassociated with securities.")
public Double getAmount() {
return amount;
}
public void setAmount(Double amount) {
this.amount = amount;
}
public BaseReportInvestmentTransaction price(Double price) {
this.price = price;
return this;
}
/**
* The price of the security at which this transaction occurred.
* @return price
**/
@ApiModelProperty(required = true, value = "The price of the security at which this transaction occurred.")
public Double getPrice() {
return price;
}
public void setPrice(Double price) {
this.price = price;
}
public BaseReportInvestmentTransaction fees(Double fees) {
this.fees = fees;
return this;
}
/**
* The combined value of all fees applied to this transaction
* @return fees
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The combined value of all fees applied to this transaction")
public Double getFees() {
return fees;
}
public void setFees(Double fees) {
this.fees = fees;
}
public BaseReportInvestmentTransaction type(InvestmentTransactionType type) {
this.type = type;
return this;
}
/**
* Get type
* @return type
**/
@ApiModelProperty(required = true, value = "")
public InvestmentTransactionType getType() {
return type;
}
public void setType(InvestmentTransactionType type) {
this.type = type;
}
public BaseReportInvestmentTransaction subtype(InvestmentTransactionSubtype subtype) {
this.subtype = subtype;
return this;
}
/**
* Get subtype
* @return subtype
**/
@ApiModelProperty(required = true, value = "")
public InvestmentTransactionSubtype getSubtype() {
return subtype;
}
public void setSubtype(InvestmentTransactionSubtype subtype) {
this.subtype = subtype;
}
public BaseReportInvestmentTransaction 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 BaseReportInvestmentTransaction unofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
return this;
}
/**
* The unofficial currency code associated with the holding. Always `null` if `iso_currency_code` is non-`null`. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `iso_currency_code`s.
* @return unofficialCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The unofficial currency code associated with the holding. Always `null` if `iso_currency_code` is non-`null`. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `iso_currency_code`s.")
public String getUnofficialCurrencyCode() {
return unofficialCurrencyCode;
}
public void setUnofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BaseReportInvestmentTransaction baseReportInvestmentTransaction = (BaseReportInvestmentTransaction) o;
return Objects.equals(this.investmentTransactionId, baseReportInvestmentTransaction.investmentTransactionId) &&
Objects.equals(this.accountId, baseReportInvestmentTransaction.accountId) &&
Objects.equals(this.securityId, baseReportInvestmentTransaction.securityId) &&
Objects.equals(this.date, baseReportInvestmentTransaction.date) &&
Objects.equals(this.name, baseReportInvestmentTransaction.name) &&
Objects.equals(this.quantity, baseReportInvestmentTransaction.quantity) &&
Objects.equals(this.amount, baseReportInvestmentTransaction.amount) &&
Objects.equals(this.price, baseReportInvestmentTransaction.price) &&
Objects.equals(this.fees, baseReportInvestmentTransaction.fees) &&
Objects.equals(this.type, baseReportInvestmentTransaction.type) &&
Objects.equals(this.subtype, baseReportInvestmentTransaction.subtype) &&
Objects.equals(this.isoCurrencyCode, baseReportInvestmentTransaction.isoCurrencyCode) &&
Objects.equals(this.unofficialCurrencyCode, baseReportInvestmentTransaction.unofficialCurrencyCode);
}
@Override
public int hashCode() {
return Objects.hash(investmentTransactionId, accountId, securityId, date, name, quantity, amount, price, fees, type, subtype, isoCurrencyCode, unofficialCurrencyCode);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BaseReportInvestmentTransaction {\n");
sb.append(" investmentTransactionId: ").append(toIndentedString(investmentTransactionId)).append("\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" securityId: ").append(toIndentedString(securityId)).append("\n");
sb.append(" date: ").append(toIndentedString(date)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" price: ").append(toIndentedString(price)).append("\n");
sb.append(" fees: ").append(toIndentedString(fees)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" subtype: ").append(toIndentedString(subtype)).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/TransferFailure.java | src/main/java/com/plaid/client/model/TransferFailure.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The failure reason if the event type for a transfer is `\"failed\"` or `\"returned\"`. Null value otherwise.
*/
@ApiModel(description = "The failure reason if the event type for a transfer is `\"failed\"` or `\"returned\"`. Null value otherwise.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferFailure {
public static final String SERIALIZED_NAME_FAILURE_CODE = "failure_code";
@SerializedName(SERIALIZED_NAME_FAILURE_CODE)
private String failureCode;
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_DESCRIPTION = "description";
@SerializedName(SERIALIZED_NAME_DESCRIPTION)
private String description;
public TransferFailure failureCode(String failureCode) {
this.failureCode = failureCode;
return this;
}
/**
* The failure code, e.g. `R01`. A failure code will be provided if and only if the transfer status is `returned`. See [ACH return codes](https://plaid.com/docs/errors/transfer/#ach-return-codes) for a full listing of ACH return codes and [RTP/RfP error codes](https://plaid.com/docs/errors/transfer/#rtprfp-error-codes) for RTP error codes.
* @return failureCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The failure code, e.g. `R01`. A failure code will be provided if and only if the transfer status is `returned`. See [ACH return codes](https://plaid.com/docs/errors/transfer/#ach-return-codes) for a full listing of ACH return codes and [RTP/RfP error codes](https://plaid.com/docs/errors/transfer/#rtprfp-error-codes) for RTP error codes.")
public String getFailureCode() {
return failureCode;
}
public void setFailureCode(String failureCode) {
this.failureCode = failureCode;
}
public TransferFailure achReturnCode(String achReturnCode) {
this.achReturnCode = achReturnCode;
return this;
}
/**
* The ACH return code, e.g. `R01`. A return code will be provided if and only if the transfer status is `returned`. For a full listing of ACH return codes, see [Transfer errors](https://plaid.com/docs/errors/transfer/#ach-return-codes).
* @return achReturnCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The ACH return code, e.g. `R01`. A return code will be provided if and only if the transfer status is `returned`. For a full listing of ACH return codes, see [Transfer errors](https://plaid.com/docs/errors/transfer/#ach-return-codes).")
public String getAchReturnCode() {
return achReturnCode;
}
public void setAchReturnCode(String achReturnCode) {
this.achReturnCode = achReturnCode;
}
public TransferFailure description(String description) {
this.description = description;
return this;
}
/**
* A human-readable description of the reason for the failure or reversal.
* @return description
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A human-readable description of the reason for the failure or reversal.")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferFailure transferFailure = (TransferFailure) o;
return Objects.equals(this.failureCode, transferFailure.failureCode) &&
Objects.equals(this.achReturnCode, transferFailure.achReturnCode) &&
Objects.equals(this.description, transferFailure.description);
}
@Override
public int hashCode() {
return Objects.hash(failureCode, achReturnCode, description);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferFailure {\n");
sb.append(" failureCode: ").append(toIndentedString(failureCode)).append("\n");
sb.append(" achReturnCode: ").append(toIndentedString(achReturnCode)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/AssetReportCreateResponse.java | src/main/java/com/plaid/client/model/AssetReportCreateResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* AssetReportCreateResponse defines the response schema for `/asset_report/create`
*/
@ApiModel(description = "AssetReportCreateResponse defines the response schema for `/asset_report/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class AssetReportCreateResponse {
public static final String SERIALIZED_NAME_ASSET_REPORT_TOKEN = "asset_report_token";
@SerializedName(SERIALIZED_NAME_ASSET_REPORT_TOKEN)
private String assetReportToken;
public static final String SERIALIZED_NAME_ASSET_REPORT_ID = "asset_report_id";
@SerializedName(SERIALIZED_NAME_ASSET_REPORT_ID)
private String assetReportId;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public AssetReportCreateResponse assetReportToken(String assetReportToken) {
this.assetReportToken = assetReportToken;
return this;
}
/**
* A token that can be provided to endpoints such as `/asset_report/get` or `/asset_report/pdf/get` to fetch or update an Asset Report.
* @return assetReportToken
**/
@ApiModelProperty(required = true, value = "A token that can be provided to endpoints such as `/asset_report/get` or `/asset_report/pdf/get` to fetch or update an Asset Report.")
public String getAssetReportToken() {
return assetReportToken;
}
public void setAssetReportToken(String assetReportToken) {
this.assetReportToken = assetReportToken;
}
public AssetReportCreateResponse 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 AssetReportCreateResponse 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;
}
AssetReportCreateResponse assetReportCreateResponse = (AssetReportCreateResponse) o;
return Objects.equals(this.assetReportToken, assetReportCreateResponse.assetReportToken) &&
Objects.equals(this.assetReportId, assetReportCreateResponse.assetReportId) &&
Objects.equals(this.requestId, assetReportCreateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(assetReportToken, assetReportId, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AssetReportCreateResponse {\n");
sb.append(" assetReportToken: ").append(toIndentedString(assetReportToken)).append("\n");
sb.append(" assetReportId: ").append(toIndentedString(assetReportId)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/PaystubOverrideEmployee.java | src/main/java/com/plaid/client/model/PaystubOverrideEmployee.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.PaystubOverrideEmployeeAddress;
import com.plaid.client.model.PaystubOverrideTaxpayerID;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The employee on the paystub.
*/
@ApiModel(description = "The employee on the paystub.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PaystubOverrideEmployee {
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public static final String SERIALIZED_NAME_ADDRESS = "address";
@SerializedName(SERIALIZED_NAME_ADDRESS)
private PaystubOverrideEmployeeAddress address;
public static final String SERIALIZED_NAME_MARITAL_STATUS = "marital_status";
@SerializedName(SERIALIZED_NAME_MARITAL_STATUS)
private String maritalStatus;
public static final String SERIALIZED_NAME_TAXPAYER_ID = "taxpayer_id";
@SerializedName(SERIALIZED_NAME_TAXPAYER_ID)
private PaystubOverrideTaxpayerID taxpayerId;
public PaystubOverrideEmployee name(String name) {
this.name = name;
return this;
}
/**
* The name of the employee.
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The name of the employee.")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public PaystubOverrideEmployee address(PaystubOverrideEmployeeAddress address) {
this.address = address;
return this;
}
/**
* Get address
* @return address
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PaystubOverrideEmployeeAddress getAddress() {
return address;
}
public void setAddress(PaystubOverrideEmployeeAddress address) {
this.address = address;
}
public PaystubOverrideEmployee maritalStatus(String maritalStatus) {
this.maritalStatus = maritalStatus;
return this;
}
/**
* Marital status of the employee - either `single` or `married`.
* @return maritalStatus
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Marital status of the employee - either `single` or `married`.")
public String getMaritalStatus() {
return maritalStatus;
}
public void setMaritalStatus(String maritalStatus) {
this.maritalStatus = maritalStatus;
}
public PaystubOverrideEmployee taxpayerId(PaystubOverrideTaxpayerID taxpayerId) {
this.taxpayerId = taxpayerId;
return this;
}
/**
* Get taxpayerId
* @return taxpayerId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PaystubOverrideTaxpayerID getTaxpayerId() {
return taxpayerId;
}
public void setTaxpayerId(PaystubOverrideTaxpayerID taxpayerId) {
this.taxpayerId = taxpayerId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PaystubOverrideEmployee paystubOverrideEmployee = (PaystubOverrideEmployee) o;
return Objects.equals(this.name, paystubOverrideEmployee.name) &&
Objects.equals(this.address, paystubOverrideEmployee.address) &&
Objects.equals(this.maritalStatus, paystubOverrideEmployee.maritalStatus) &&
Objects.equals(this.taxpayerId, paystubOverrideEmployee.taxpayerId);
}
@Override
public int hashCode() {
return Objects.hash(name, address, maritalStatus, taxpayerId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaystubOverrideEmployee {\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" address: ").append(toIndentedString(address)).append("\n");
sb.append(" maritalStatus: ").append(toIndentedString(maritalStatus)).append("\n");
sb.append(" taxpayerId: ").append(toIndentedString(taxpayerId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CraCheckReportFreddieMacGetRequest.java | src/main/java/com/plaid/client/model/CraCheckReportFreddieMacGetRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* CraCheckReportFreddieMacGetRequest defines the request schema for `/cra/check_report/freddie_mac/get`
*/
@ApiModel(description = "CraCheckReportFreddieMacGetRequest defines the request schema for `/cra/check_report/freddie_mac/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraCheckReportFreddieMacGetRequest {
public static final String SERIALIZED_NAME_THIRD_PARTY_USER_TOKEN = "third_party_user_token";
@SerializedName(SERIALIZED_NAME_THIRD_PARTY_USER_TOKEN)
private String thirdPartyUserToken;
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 CraCheckReportFreddieMacGetRequest thirdPartyUserToken(String thirdPartyUserToken) {
this.thirdPartyUserToken = thirdPartyUserToken;
return this;
}
/**
* The third-party user token associated with the requested User data.
* @return thirdPartyUserToken
**/
@ApiModelProperty(required = true, value = "The third-party user token associated with the requested User data.")
public String getThirdPartyUserToken() {
return thirdPartyUserToken;
}
public void setThirdPartyUserToken(String thirdPartyUserToken) {
this.thirdPartyUserToken = thirdPartyUserToken;
}
public CraCheckReportFreddieMacGetRequest 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 CraCheckReportFreddieMacGetRequest 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;
}
CraCheckReportFreddieMacGetRequest craCheckReportFreddieMacGetRequest = (CraCheckReportFreddieMacGetRequest) o;
return Objects.equals(this.thirdPartyUserToken, craCheckReportFreddieMacGetRequest.thirdPartyUserToken) &&
Objects.equals(this.clientId, craCheckReportFreddieMacGetRequest.clientId) &&
Objects.equals(this.secret, craCheckReportFreddieMacGetRequest.secret);
}
@Override
public int hashCode() {
return Objects.hash(thirdPartyUserToken, clientId, secret);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraCheckReportFreddieMacGetRequest {\n");
sb.append(" thirdPartyUserToken: ").append(toIndentedString(thirdPartyUserToken)).append("\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/DocumentRiskSignal.java | src/main/java/com/plaid/client/model/DocumentRiskSignal.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.DocumentRiskSignalInstitutionMetadata;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Details about a certain reason as to why a document could potentially be fraudulent.
*/
@ApiModel(description = "Details about a certain reason as to why a document could potentially be fraudulent.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class DocumentRiskSignal {
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private String type;
public static final String SERIALIZED_NAME_FIELD = "field";
@SerializedName(SERIALIZED_NAME_FIELD)
private String field;
public static final String SERIALIZED_NAME_HAS_FRAUD_RISK = "has_fraud_risk";
@SerializedName(SERIALIZED_NAME_HAS_FRAUD_RISK)
private Boolean hasFraudRisk;
public static final String SERIALIZED_NAME_INSTITUTION_METADATA = "institution_metadata";
@SerializedName(SERIALIZED_NAME_INSTITUTION_METADATA)
private DocumentRiskSignalInstitutionMetadata institutionMetadata;
public static final String SERIALIZED_NAME_EXPECTED_VALUE = "expected_value";
@SerializedName(SERIALIZED_NAME_EXPECTED_VALUE)
private String expectedValue;
public static final String SERIALIZED_NAME_ACTUAL_VALUE = "actual_value";
@SerializedName(SERIALIZED_NAME_ACTUAL_VALUE)
private String actualValue;
public static final String SERIALIZED_NAME_SIGNAL_DESCRIPTION = "signal_description";
@SerializedName(SERIALIZED_NAME_SIGNAL_DESCRIPTION)
private String signalDescription;
public static final String SERIALIZED_NAME_PAGE_NUMBER = "page_number";
@SerializedName(SERIALIZED_NAME_PAGE_NUMBER)
private Integer pageNumber;
public DocumentRiskSignal type(String type) {
this.type = type;
return this;
}
/**
* The type of risk found in the risk signal check.
* @return type
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The type of risk found in the risk signal check.")
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public DocumentRiskSignal field(String field) {
this.field = field;
return this;
}
/**
* The field which the risk signal was computed for
* @return field
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The field which the risk signal was computed for")
public String getField() {
return field;
}
public void setField(String field) {
this.field = field;
}
public DocumentRiskSignal hasFraudRisk(Boolean hasFraudRisk) {
this.hasFraudRisk = hasFraudRisk;
return this;
}
/**
* A flag used to quickly identify if the signal indicates that this field is authentic or fraudulent
* @return hasFraudRisk
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "A flag used to quickly identify if the signal indicates that this field is authentic or fraudulent")
public Boolean getHasFraudRisk() {
return hasFraudRisk;
}
public void setHasFraudRisk(Boolean hasFraudRisk) {
this.hasFraudRisk = hasFraudRisk;
}
public DocumentRiskSignal institutionMetadata(DocumentRiskSignalInstitutionMetadata institutionMetadata) {
this.institutionMetadata = institutionMetadata;
return this;
}
/**
* Get institutionMetadata
* @return institutionMetadata
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public DocumentRiskSignalInstitutionMetadata getInstitutionMetadata() {
return institutionMetadata;
}
public void setInstitutionMetadata(DocumentRiskSignalInstitutionMetadata institutionMetadata) {
this.institutionMetadata = institutionMetadata;
}
public DocumentRiskSignal expectedValue(String expectedValue) {
this.expectedValue = expectedValue;
return this;
}
/**
* The expected value of the field, as seen on the document
* @return expectedValue
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The expected value of the field, as seen on the document")
public String getExpectedValue() {
return expectedValue;
}
public void setExpectedValue(String expectedValue) {
this.expectedValue = expectedValue;
}
public DocumentRiskSignal actualValue(String actualValue) {
this.actualValue = actualValue;
return this;
}
/**
* The derived value obtained in the risk signal calculation process for this field
* @return actualValue
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The derived value obtained in the risk signal calculation process for this field")
public String getActualValue() {
return actualValue;
}
public void setActualValue(String actualValue) {
this.actualValue = actualValue;
}
public DocumentRiskSignal signalDescription(String signalDescription) {
this.signalDescription = signalDescription;
return this;
}
/**
* A human-readable explanation providing more detail into the particular risk signal
* @return signalDescription
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "A human-readable explanation providing more detail into the particular risk signal")
public String getSignalDescription() {
return signalDescription;
}
public void setSignalDescription(String signalDescription) {
this.signalDescription = signalDescription;
}
public DocumentRiskSignal pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* The relevant page associated with the risk signal. If the risk signal is not associated with a specific page, the value will be 0.
* @return pageNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The relevant page associated with the risk signal. If the risk signal is not associated with a specific page, the value will be 0.")
public Integer getPageNumber() {
return pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DocumentRiskSignal documentRiskSignal = (DocumentRiskSignal) o;
return Objects.equals(this.type, documentRiskSignal.type) &&
Objects.equals(this.field, documentRiskSignal.field) &&
Objects.equals(this.hasFraudRisk, documentRiskSignal.hasFraudRisk) &&
Objects.equals(this.institutionMetadata, documentRiskSignal.institutionMetadata) &&
Objects.equals(this.expectedValue, documentRiskSignal.expectedValue) &&
Objects.equals(this.actualValue, documentRiskSignal.actualValue) &&
Objects.equals(this.signalDescription, documentRiskSignal.signalDescription) &&
Objects.equals(this.pageNumber, documentRiskSignal.pageNumber);
}
@Override
public int hashCode() {
return Objects.hash(type, field, hasFraudRisk, institutionMetadata, expectedValue, actualValue, signalDescription, pageNumber);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DocumentRiskSignal {\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" field: ").append(toIndentedString(field)).append("\n");
sb.append(" hasFraudRisk: ").append(toIndentedString(hasFraudRisk)).append("\n");
sb.append(" institutionMetadata: ").append(toIndentedString(institutionMetadata)).append("\n");
sb.append(" expectedValue: ").append(toIndentedString(expectedValue)).append("\n");
sb.append(" actualValue: ").append(toIndentedString(actualValue)).append("\n");
sb.append(" signalDescription: ").append(toIndentedString(signalDescription)).append("\n");
sb.append(" pageNumber: ").append(toIndentedString(pageNumber)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/WatchlistScreeningEntityHistoryListResponse.java | src/main/java/com/plaid/client/model/WatchlistScreeningEntityHistoryListResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.EntityWatchlistScreening;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Paginated list of entity watchlist screenings
*/
@ApiModel(description = "Paginated list of entity watchlist screenings")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class WatchlistScreeningEntityHistoryListResponse {
public static final String SERIALIZED_NAME_ENTITY_WATCHLIST_SCREENINGS = "entity_watchlist_screenings";
@SerializedName(SERIALIZED_NAME_ENTITY_WATCHLIST_SCREENINGS)
private List<EntityWatchlistScreening> entityWatchlistScreenings = new ArrayList<>();
public static final String SERIALIZED_NAME_NEXT_CURSOR = "next_cursor";
@SerializedName(SERIALIZED_NAME_NEXT_CURSOR)
private String nextCursor;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public WatchlistScreeningEntityHistoryListResponse entityWatchlistScreenings(List<EntityWatchlistScreening> entityWatchlistScreenings) {
this.entityWatchlistScreenings = entityWatchlistScreenings;
return this;
}
public WatchlistScreeningEntityHistoryListResponse addEntityWatchlistScreeningsItem(EntityWatchlistScreening entityWatchlistScreeningsItem) {
this.entityWatchlistScreenings.add(entityWatchlistScreeningsItem);
return this;
}
/**
* List of entity watchlist screening
* @return entityWatchlistScreenings
**/
@ApiModelProperty(required = true, value = "List of entity watchlist screening")
public List<EntityWatchlistScreening> getEntityWatchlistScreenings() {
return entityWatchlistScreenings;
}
public void setEntityWatchlistScreenings(List<EntityWatchlistScreening> entityWatchlistScreenings) {
this.entityWatchlistScreenings = entityWatchlistScreenings;
}
public WatchlistScreeningEntityHistoryListResponse nextCursor(String nextCursor) {
this.nextCursor = nextCursor;
return this;
}
/**
* An identifier that determines which page of results you receive.
* @return nextCursor
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "eyJkaXJlY3Rpb24iOiJuZXh0Iiwib2Zmc2V0IjoiMTU5NDM", required = true, value = "An identifier that determines which page of results you receive.")
public String getNextCursor() {
return nextCursor;
}
public void setNextCursor(String nextCursor) {
this.nextCursor = nextCursor;
}
public WatchlistScreeningEntityHistoryListResponse 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;
}
WatchlistScreeningEntityHistoryListResponse watchlistScreeningEntityHistoryListResponse = (WatchlistScreeningEntityHistoryListResponse) o;
return Objects.equals(this.entityWatchlistScreenings, watchlistScreeningEntityHistoryListResponse.entityWatchlistScreenings) &&
Objects.equals(this.nextCursor, watchlistScreeningEntityHistoryListResponse.nextCursor) &&
Objects.equals(this.requestId, watchlistScreeningEntityHistoryListResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(entityWatchlistScreenings, nextCursor, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class WatchlistScreeningEntityHistoryListResponse {\n");
sb.append(" entityWatchlistScreenings: ").append(toIndentedString(entityWatchlistScreenings)).append("\n");
sb.append(" nextCursor: ").append(toIndentedString(nextCursor)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CreditCardLiability.java | src/main/java/com/plaid/client/model/CreditCardLiability.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.APR;
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;
/**
* An object representing a credit card account.
*/
@ApiModel(description = "An object representing a credit card account.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditCardLiability {
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
private String accountId;
public static final String SERIALIZED_NAME_APRS = "aprs";
@SerializedName(SERIALIZED_NAME_APRS)
private List<APR> aprs = new ArrayList<>();
public static final String SERIALIZED_NAME_IS_OVERDUE = "is_overdue";
@SerializedName(SERIALIZED_NAME_IS_OVERDUE)
private Boolean isOverdue;
public static final String SERIALIZED_NAME_LAST_PAYMENT_AMOUNT = "last_payment_amount";
@SerializedName(SERIALIZED_NAME_LAST_PAYMENT_AMOUNT)
private Double lastPaymentAmount;
public static final String SERIALIZED_NAME_LAST_PAYMENT_DATE = "last_payment_date";
@SerializedName(SERIALIZED_NAME_LAST_PAYMENT_DATE)
private LocalDate lastPaymentDate;
public static final String SERIALIZED_NAME_LAST_STATEMENT_ISSUE_DATE = "last_statement_issue_date";
@SerializedName(SERIALIZED_NAME_LAST_STATEMENT_ISSUE_DATE)
private LocalDate lastStatementIssueDate;
public static final String SERIALIZED_NAME_LAST_STATEMENT_BALANCE = "last_statement_balance";
@SerializedName(SERIALIZED_NAME_LAST_STATEMENT_BALANCE)
private Double lastStatementBalance;
public static final String SERIALIZED_NAME_MINIMUM_PAYMENT_AMOUNT = "minimum_payment_amount";
@SerializedName(SERIALIZED_NAME_MINIMUM_PAYMENT_AMOUNT)
private Double minimumPaymentAmount;
public static final String SERIALIZED_NAME_NEXT_PAYMENT_DUE_DATE = "next_payment_due_date";
@SerializedName(SERIALIZED_NAME_NEXT_PAYMENT_DUE_DATE)
private LocalDate nextPaymentDueDate;
public CreditCardLiability accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* The ID of the account that this liability belongs to.
* @return accountId
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The ID of the account that this liability belongs to.")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public CreditCardLiability aprs(List<APR> aprs) {
this.aprs = aprs;
return this;
}
public CreditCardLiability addAprsItem(APR aprsItem) {
this.aprs.add(aprsItem);
return this;
}
/**
* The various interest rates that apply to the account. APR information is not provided by all card issuers; if APR data is not available, this array will be empty.
* @return aprs
**/
@ApiModelProperty(required = true, value = "The various interest rates that apply to the account. APR information is not provided by all card issuers; if APR data is not available, this array will be empty.")
public List<APR> getAprs() {
return aprs;
}
public void setAprs(List<APR> aprs) {
this.aprs = aprs;
}
public CreditCardLiability isOverdue(Boolean isOverdue) {
this.isOverdue = isOverdue;
return this;
}
/**
* true if a payment is currently overdue. Availability for this field is limited.
* @return isOverdue
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "true if a payment is currently overdue. Availability for this field is limited.")
public Boolean getIsOverdue() {
return isOverdue;
}
public void setIsOverdue(Boolean isOverdue) {
this.isOverdue = isOverdue;
}
public CreditCardLiability lastPaymentAmount(Double lastPaymentAmount) {
this.lastPaymentAmount = lastPaymentAmount;
return this;
}
/**
* The amount of the last payment.
* @return lastPaymentAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The amount of the last payment.")
public Double getLastPaymentAmount() {
return lastPaymentAmount;
}
public void setLastPaymentAmount(Double lastPaymentAmount) {
this.lastPaymentAmount = lastPaymentAmount;
}
public CreditCardLiability lastPaymentDate(LocalDate lastPaymentDate) {
this.lastPaymentDate = lastPaymentDate;
return this;
}
/**
* The date of the last payment. Dates are returned in an [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (YYYY-MM-DD). Availability for this field is limited.
* @return lastPaymentDate
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The date of the last payment. Dates are returned in an [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (YYYY-MM-DD). Availability for this field is limited.")
public LocalDate getLastPaymentDate() {
return lastPaymentDate;
}
public void setLastPaymentDate(LocalDate lastPaymentDate) {
this.lastPaymentDate = lastPaymentDate;
}
public CreditCardLiability lastStatementIssueDate(LocalDate lastStatementIssueDate) {
this.lastStatementIssueDate = lastStatementIssueDate;
return this;
}
/**
* The date of the last statement. Dates are returned in an [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (YYYY-MM-DD).
* @return lastStatementIssueDate
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The date of the last statement. Dates are returned in an [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (YYYY-MM-DD).")
public LocalDate getLastStatementIssueDate() {
return lastStatementIssueDate;
}
public void setLastStatementIssueDate(LocalDate lastStatementIssueDate) {
this.lastStatementIssueDate = lastStatementIssueDate;
}
public CreditCardLiability lastStatementBalance(Double lastStatementBalance) {
this.lastStatementBalance = lastStatementBalance;
return this;
}
/**
* The total amount owed as of the last statement issued
* @return lastStatementBalance
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The total amount owed as of the last statement issued")
public Double getLastStatementBalance() {
return lastStatementBalance;
}
public void setLastStatementBalance(Double lastStatementBalance) {
this.lastStatementBalance = lastStatementBalance;
}
public CreditCardLiability minimumPaymentAmount(Double minimumPaymentAmount) {
this.minimumPaymentAmount = minimumPaymentAmount;
return this;
}
/**
* The minimum payment due for the next billing cycle.
* @return minimumPaymentAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The minimum payment due for the next billing cycle.")
public Double getMinimumPaymentAmount() {
return minimumPaymentAmount;
}
public void setMinimumPaymentAmount(Double minimumPaymentAmount) {
this.minimumPaymentAmount = minimumPaymentAmount;
}
public CreditCardLiability nextPaymentDueDate(LocalDate nextPaymentDueDate) {
this.nextPaymentDueDate = nextPaymentDueDate;
return this;
}
/**
* The due date for the next payment. The due date is `null` if a payment is not expected. Dates are returned in an [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (YYYY-MM-DD).
* @return nextPaymentDueDate
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The due date for the next payment. The due date is `null` if a payment is not expected. Dates are returned in an [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (YYYY-MM-DD).")
public LocalDate getNextPaymentDueDate() {
return nextPaymentDueDate;
}
public void setNextPaymentDueDate(LocalDate nextPaymentDueDate) {
this.nextPaymentDueDate = nextPaymentDueDate;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreditCardLiability creditCardLiability = (CreditCardLiability) o;
return Objects.equals(this.accountId, creditCardLiability.accountId) &&
Objects.equals(this.aprs, creditCardLiability.aprs) &&
Objects.equals(this.isOverdue, creditCardLiability.isOverdue) &&
Objects.equals(this.lastPaymentAmount, creditCardLiability.lastPaymentAmount) &&
Objects.equals(this.lastPaymentDate, creditCardLiability.lastPaymentDate) &&
Objects.equals(this.lastStatementIssueDate, creditCardLiability.lastStatementIssueDate) &&
Objects.equals(this.lastStatementBalance, creditCardLiability.lastStatementBalance) &&
Objects.equals(this.minimumPaymentAmount, creditCardLiability.minimumPaymentAmount) &&
Objects.equals(this.nextPaymentDueDate, creditCardLiability.nextPaymentDueDate);
}
@Override
public int hashCode() {
return Objects.hash(accountId, aprs, isOverdue, lastPaymentAmount, lastPaymentDate, lastStatementIssueDate, lastStatementBalance, minimumPaymentAmount, nextPaymentDueDate);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditCardLiability {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" aprs: ").append(toIndentedString(aprs)).append("\n");
sb.append(" isOverdue: ").append(toIndentedString(isOverdue)).append("\n");
sb.append(" lastPaymentAmount: ").append(toIndentedString(lastPaymentAmount)).append("\n");
sb.append(" lastPaymentDate: ").append(toIndentedString(lastPaymentDate)).append("\n");
sb.append(" lastStatementIssueDate: ").append(toIndentedString(lastStatementIssueDate)).append("\n");
sb.append(" lastStatementBalance: ").append(toIndentedString(lastStatementBalance)).append("\n");
sb.append(" minimumPaymentAmount: ").append(toIndentedString(minimumPaymentAmount)).append("\n");
sb.append(" nextPaymentDueDate: ").append(toIndentedString(nextPaymentDueDate)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CreditPayrollIncomePrecheckResponse.java | src/main/java/com/plaid/client/model/CreditPayrollIncomePrecheckResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.IncomeVerificationPrecheckConfidence;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines the response schema for `/credit/payroll_income/precheck`.
*/
@ApiModel(description = "Defines the response schema for `/credit/payroll_income/precheck`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditPayrollIncomePrecheckResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public static final String SERIALIZED_NAME_CONFIDENCE = "confidence";
@SerializedName(SERIALIZED_NAME_CONFIDENCE)
private IncomeVerificationPrecheckConfidence confidence;
public CreditPayrollIncomePrecheckResponse 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 CreditPayrollIncomePrecheckResponse confidence(IncomeVerificationPrecheckConfidence confidence) {
this.confidence = confidence;
return this;
}
/**
* Get confidence
* @return confidence
**/
@ApiModelProperty(required = true, value = "")
public IncomeVerificationPrecheckConfidence getConfidence() {
return confidence;
}
public void setConfidence(IncomeVerificationPrecheckConfidence confidence) {
this.confidence = confidence;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreditPayrollIncomePrecheckResponse creditPayrollIncomePrecheckResponse = (CreditPayrollIncomePrecheckResponse) o;
return Objects.equals(this.requestId, creditPayrollIncomePrecheckResponse.requestId) &&
Objects.equals(this.confidence, creditPayrollIncomePrecheckResponse.confidence);
}
@Override
public int hashCode() {
return Objects.hash(requestId, confidence);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditPayrollIncomePrecheckResponse {\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append(" confidence: ").append(toIndentedString(confidence)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/Parties.java | src/main/java/com/plaid/client/model/Parties.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.Party;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* A collection of objects that define specific parties to a deal. This includes the direct participating parties, such as borrower and seller and the indirect parties such as the credit report provider.
*/
@ApiModel(description = "A collection of objects that define specific parties to a deal. This includes the direct participating parties, such as borrower and seller and the indirect parties such as the credit report provider.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class Parties {
public static final String SERIALIZED_NAME_P_A_R_T_Y = "PARTY";
@SerializedName(SERIALIZED_NAME_P_A_R_T_Y)
private List<Party> PARTY = new ArrayList<>();
public Parties PARTY(List<Party> PARTY) {
this.PARTY = PARTY;
return this;
}
public Parties addPARTYItem(Party PARTYItem) {
this.PARTY.add(PARTYItem);
return this;
}
/**
* Get PARTY
* @return PARTY
**/
@ApiModelProperty(required = true, value = "")
public List<Party> getPARTY() {
return PARTY;
}
public void setPARTY(List<Party> PARTY) {
this.PARTY = PARTY;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Parties parties = (Parties) o;
return Objects.equals(this.PARTY, parties.PARTY);
}
@Override
public int hashCode() {
return Objects.hash(PARTY);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Parties {\n");
sb.append(" PARTY: ").append(toIndentedString(PARTY)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ProcessorRecurringTransactionsUpdateWebhook.java | src/main/java/com/plaid/client/model/ProcessorRecurringTransactionsUpdateWebhook.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.WebhookEnvironmentValues;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* This webhook is only sent to [Plaid processor partners](https://plaid.com/docs/auth/partnerships/). Fired when recurring transactions data is updated. This includes when a new recurring stream is detected or when a new transaction is added to an existing recurring stream. The `RECURRING_TRANSACTIONS_UPDATE` webhook will also fire when one or more attributes of the recurring stream changes, which is usually a result of the addition, update, or removal of transactions to the stream. After receipt of this webhook, the updated data can be fetched from `/processor/transactions/recurring/get`.
*/
@ApiModel(description = "This webhook is only sent to [Plaid processor partners](https://plaid.com/docs/auth/partnerships/). Fired when recurring transactions data is updated. This includes when a new recurring stream is detected or when a new transaction is added to an existing recurring stream. The `RECURRING_TRANSACTIONS_UPDATE` webhook will also fire when one or more attributes of the recurring stream changes, which is usually a result of the addition, update, or removal of transactions to the stream. After receipt of this webhook, the updated data can be fetched from `/processor/transactions/recurring/get`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ProcessorRecurringTransactionsUpdateWebhook {
public static final String SERIALIZED_NAME_WEBHOOK_TYPE = "webhook_type";
@SerializedName(SERIALIZED_NAME_WEBHOOK_TYPE)
private String webhookType;
public static final String SERIALIZED_NAME_WEBHOOK_CODE = "webhook_code";
@SerializedName(SERIALIZED_NAME_WEBHOOK_CODE)
private String webhookCode;
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
private String accountId;
public static final String SERIALIZED_NAME_ENVIRONMENT = "environment";
@SerializedName(SERIALIZED_NAME_ENVIRONMENT)
private WebhookEnvironmentValues environment;
public ProcessorRecurringTransactionsUpdateWebhook 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 ProcessorRecurringTransactionsUpdateWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `RECURRING_TRANSACTIONS_UPDATE`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`RECURRING_TRANSACTIONS_UPDATE`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public ProcessorRecurringTransactionsUpdateWebhook accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* The ID of the account.
* @return accountId
**/
@ApiModelProperty(required = true, value = "The ID of the account.")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public ProcessorRecurringTransactionsUpdateWebhook 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;
}
ProcessorRecurringTransactionsUpdateWebhook processorRecurringTransactionsUpdateWebhook = (ProcessorRecurringTransactionsUpdateWebhook) o;
return Objects.equals(this.webhookType, processorRecurringTransactionsUpdateWebhook.webhookType) &&
Objects.equals(this.webhookCode, processorRecurringTransactionsUpdateWebhook.webhookCode) &&
Objects.equals(this.accountId, processorRecurringTransactionsUpdateWebhook.accountId) &&
Objects.equals(this.environment, processorRecurringTransactionsUpdateWebhook.environment);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, accountId, environment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProcessorRecurringTransactionsUpdateWebhook {\n");
sb.append(" webhookType: ").append(toIndentedString(webhookType)).append("\n");
sb.append(" webhookCode: ").append(toIndentedString(webhookCode)).append("\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" 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/KYCCheckIDNumberSummary.java | src/main/java/com/plaid/client/model/KYCCheckIDNumberSummary.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.MatchSummaryCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Result summary object specifying how the `id_number` field matched.
*/
@ApiModel(description = "Result summary object specifying how the `id_number` field matched.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class KYCCheckIDNumberSummary {
public static final String SERIALIZED_NAME_SUMMARY = "summary";
@SerializedName(SERIALIZED_NAME_SUMMARY)
private MatchSummaryCode summary;
public KYCCheckIDNumberSummary summary(MatchSummaryCode summary) {
this.summary = summary;
return this;
}
/**
* Get summary
* @return summary
**/
@ApiModelProperty(required = true, value = "")
public MatchSummaryCode getSummary() {
return summary;
}
public void setSummary(MatchSummaryCode summary) {
this.summary = summary;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
KYCCheckIDNumberSummary kyCCheckIDNumberSummary = (KYCCheckIDNumberSummary) o;
return Objects.equals(this.summary, kyCCheckIDNumberSummary.summary);
}
@Override
public int hashCode() {
return Objects.hash(summary);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class KYCCheckIDNumberSummary {\n");
sb.append(" summary: ").append(toIndentedString(summary)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CreditAuditCopyTokenUpdateRequest.java | src/main/java/com/plaid/client/model/CreditAuditCopyTokenUpdateRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* CreditAuditCopyTokenUpdateRequest defines the request schema for `/credit/audit_copy_token/update`
*/
@ApiModel(description = "CreditAuditCopyTokenUpdateRequest defines the request schema for `/credit/audit_copy_token/update`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditAuditCopyTokenUpdateRequest {
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 static final String SERIALIZED_NAME_REPORT_TOKENS = "report_tokens";
@SerializedName(SERIALIZED_NAME_REPORT_TOKENS)
private List<String> reportTokens = new ArrayList<>();
public CreditAuditCopyTokenUpdateRequest 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 CreditAuditCopyTokenUpdateRequest 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 CreditAuditCopyTokenUpdateRequest auditCopyToken(String auditCopyToken) {
this.auditCopyToken = auditCopyToken;
return this;
}
/**
* The `audit_copy_token` you would like to update.
* @return auditCopyToken
**/
@ApiModelProperty(required = true, value = "The `audit_copy_token` you would like to update.")
public String getAuditCopyToken() {
return auditCopyToken;
}
public void setAuditCopyToken(String auditCopyToken) {
this.auditCopyToken = auditCopyToken;
}
public CreditAuditCopyTokenUpdateRequest reportTokens(List<String> reportTokens) {
this.reportTokens = reportTokens;
return this;
}
public CreditAuditCopyTokenUpdateRequest addReportTokensItem(String reportTokensItem) {
this.reportTokens.add(reportTokensItem);
return this;
}
/**
* Array of tokens which the specified Audit Copy Token will be updated with. The types of token supported are asset report token and employment report token. There can be at most 1 of each token type in the array.
* @return reportTokens
**/
@ApiModelProperty(required = true, value = "Array of tokens which the specified Audit Copy Token will be updated with. The types of token supported are asset report token and employment report token. There can be at most 1 of each token type in the array.")
public List<String> getReportTokens() {
return reportTokens;
}
public void setReportTokens(List<String> reportTokens) {
this.reportTokens = reportTokens;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreditAuditCopyTokenUpdateRequest creditAuditCopyTokenUpdateRequest = (CreditAuditCopyTokenUpdateRequest) o;
return Objects.equals(this.clientId, creditAuditCopyTokenUpdateRequest.clientId) &&
Objects.equals(this.secret, creditAuditCopyTokenUpdateRequest.secret) &&
Objects.equals(this.auditCopyToken, creditAuditCopyTokenUpdateRequest.auditCopyToken) &&
Objects.equals(this.reportTokens, creditAuditCopyTokenUpdateRequest.reportTokens);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, auditCopyToken, reportTokens);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditAuditCopyTokenUpdateRequest {\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(" reportTokens: ").append(toIndentedString(reportTokens)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/WatchlistScreeningIndividualHitListResponse.java | src/main/java/com/plaid/client/model/WatchlistScreeningIndividualHitListResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.WatchlistScreeningHit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Paginated list of individual watchlist screening hits
*/
@ApiModel(description = "Paginated list of individual watchlist screening hits")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class WatchlistScreeningIndividualHitListResponse {
public static final String SERIALIZED_NAME_WATCHLIST_SCREENING_HITS = "watchlist_screening_hits";
@SerializedName(SERIALIZED_NAME_WATCHLIST_SCREENING_HITS)
private List<WatchlistScreeningHit> watchlistScreeningHits = new ArrayList<>();
public static final String SERIALIZED_NAME_NEXT_CURSOR = "next_cursor";
@SerializedName(SERIALIZED_NAME_NEXT_CURSOR)
private String nextCursor;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public WatchlistScreeningIndividualHitListResponse watchlistScreeningHits(List<WatchlistScreeningHit> watchlistScreeningHits) {
this.watchlistScreeningHits = watchlistScreeningHits;
return this;
}
public WatchlistScreeningIndividualHitListResponse addWatchlistScreeningHitsItem(WatchlistScreeningHit watchlistScreeningHitsItem) {
this.watchlistScreeningHits.add(watchlistScreeningHitsItem);
return this;
}
/**
* List of individual watchlist screening hits
* @return watchlistScreeningHits
**/
@ApiModelProperty(required = true, value = "List of individual watchlist screening hits")
public List<WatchlistScreeningHit> getWatchlistScreeningHits() {
return watchlistScreeningHits;
}
public void setWatchlistScreeningHits(List<WatchlistScreeningHit> watchlistScreeningHits) {
this.watchlistScreeningHits = watchlistScreeningHits;
}
public WatchlistScreeningIndividualHitListResponse nextCursor(String nextCursor) {
this.nextCursor = nextCursor;
return this;
}
/**
* An identifier that determines which page of results you receive.
* @return nextCursor
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "eyJkaXJlY3Rpb24iOiJuZXh0Iiwib2Zmc2V0IjoiMTU5NDM", required = true, value = "An identifier that determines which page of results you receive.")
public String getNextCursor() {
return nextCursor;
}
public void setNextCursor(String nextCursor) {
this.nextCursor = nextCursor;
}
public WatchlistScreeningIndividualHitListResponse 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;
}
WatchlistScreeningIndividualHitListResponse watchlistScreeningIndividualHitListResponse = (WatchlistScreeningIndividualHitListResponse) o;
return Objects.equals(this.watchlistScreeningHits, watchlistScreeningIndividualHitListResponse.watchlistScreeningHits) &&
Objects.equals(this.nextCursor, watchlistScreeningIndividualHitListResponse.nextCursor) &&
Objects.equals(this.requestId, watchlistScreeningIndividualHitListResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(watchlistScreeningHits, nextCursor, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class WatchlistScreeningIndividualHitListResponse {\n");
sb.append(" watchlistScreeningHits: ").append(toIndentedString(watchlistScreeningHits)).append("\n");
sb.append(" nextCursor: ").append(toIndentedString(nextCursor)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/NumbersInternational.java | src/main/java/com/plaid/client/model/NumbersInternational.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Identifying information for transferring money to or from an international bank account via wire transfer.
*/
@ApiModel(description = "Identifying information for transferring money to or from an international bank account via wire transfer.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class NumbersInternational {
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
private String accountId;
public static final String SERIALIZED_NAME_IBAN = "iban";
@SerializedName(SERIALIZED_NAME_IBAN)
private String iban;
public static final String SERIALIZED_NAME_BIC = "bic";
@SerializedName(SERIALIZED_NAME_BIC)
private String bic;
public NumbersInternational accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* The Plaid account ID associated with the account numbers
* @return accountId
**/
@ApiModelProperty(required = true, value = "The Plaid account ID associated with the account numbers")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public NumbersInternational iban(String iban) {
this.iban = iban;
return this;
}
/**
* The International Bank Account Number (IBAN) for the account
* @return iban
**/
@ApiModelProperty(required = true, value = "The International Bank Account Number (IBAN) for the account")
public String getIban() {
return iban;
}
public void setIban(String iban) {
this.iban = iban;
}
public NumbersInternational bic(String bic) {
this.bic = bic;
return this;
}
/**
* The Bank Identifier Code (BIC) for the account
* @return bic
**/
@ApiModelProperty(required = true, value = "The Bank Identifier Code (BIC) for the account")
public String getBic() {
return bic;
}
public void setBic(String bic) {
this.bic = bic;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
NumbersInternational numbersInternational = (NumbersInternational) o;
return Objects.equals(this.accountId, numbersInternational.accountId) &&
Objects.equals(this.iban, numbersInternational.iban) &&
Objects.equals(this.bic, numbersInternational.bic);
}
@Override
public int hashCode() {
return Objects.hash(accountId, iban, bic);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class NumbersInternational {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" iban: ").append(toIndentedString(iban)).append("\n");
sb.append(" bic: ").append(toIndentedString(bic)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CreditSessionDocumentIncomeResult.java | src/main/java/com/plaid/client/model/CreditSessionDocumentIncomeResult.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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 details of a document income verification in Link
*/
@ApiModel(description = "The details of a document income verification in Link")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditSessionDocumentIncomeResult {
public static final String SERIALIZED_NAME_NUM_PAYSTUBS_UPLOADED = "num_paystubs_uploaded";
@SerializedName(SERIALIZED_NAME_NUM_PAYSTUBS_UPLOADED)
private Integer numPaystubsUploaded;
public static final String SERIALIZED_NAME_NUM_W2S_UPLOADED = "num_w2s_uploaded";
@SerializedName(SERIALIZED_NAME_NUM_W2S_UPLOADED)
private Integer numW2sUploaded;
public static final String SERIALIZED_NAME_NUM_BANK_STATEMENTS_UPLOADED = "num_bank_statements_uploaded";
@SerializedName(SERIALIZED_NAME_NUM_BANK_STATEMENTS_UPLOADED)
private Integer numBankStatementsUploaded;
public static final String SERIALIZED_NAME_NUM1099S_UPLOADED = "num_1099s_uploaded";
@SerializedName(SERIALIZED_NAME_NUM1099S_UPLOADED)
private Integer num1099sUploaded;
public CreditSessionDocumentIncomeResult numPaystubsUploaded(Integer numPaystubsUploaded) {
this.numPaystubsUploaded = numPaystubsUploaded;
return this;
}
/**
* The number of paystubs uploaded by the user.
* @return numPaystubsUploaded
**/
@ApiModelProperty(required = true, value = "The number of paystubs uploaded by the user.")
public Integer getNumPaystubsUploaded() {
return numPaystubsUploaded;
}
public void setNumPaystubsUploaded(Integer numPaystubsUploaded) {
this.numPaystubsUploaded = numPaystubsUploaded;
}
public CreditSessionDocumentIncomeResult numW2sUploaded(Integer numW2sUploaded) {
this.numW2sUploaded = numW2sUploaded;
return this;
}
/**
* The number of w2s uploaded by the user.
* @return numW2sUploaded
**/
@ApiModelProperty(required = true, value = "The number of w2s uploaded by the user.")
public Integer getNumW2sUploaded() {
return numW2sUploaded;
}
public void setNumW2sUploaded(Integer numW2sUploaded) {
this.numW2sUploaded = numW2sUploaded;
}
public CreditSessionDocumentIncomeResult numBankStatementsUploaded(Integer numBankStatementsUploaded) {
this.numBankStatementsUploaded = numBankStatementsUploaded;
return this;
}
/**
* The number of bank statements uploaded by the user.
* @return numBankStatementsUploaded
**/
@ApiModelProperty(required = true, value = "The number of bank statements uploaded by the user.")
public Integer getNumBankStatementsUploaded() {
return numBankStatementsUploaded;
}
public void setNumBankStatementsUploaded(Integer numBankStatementsUploaded) {
this.numBankStatementsUploaded = numBankStatementsUploaded;
}
public CreditSessionDocumentIncomeResult num1099sUploaded(Integer num1099sUploaded) {
this.num1099sUploaded = num1099sUploaded;
return this;
}
/**
* The number of 1099s uploaded by the user
* @return num1099sUploaded
**/
@ApiModelProperty(required = true, value = "The number of 1099s uploaded by the user")
public Integer getNum1099sUploaded() {
return num1099sUploaded;
}
public void setNum1099sUploaded(Integer num1099sUploaded) {
this.num1099sUploaded = num1099sUploaded;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreditSessionDocumentIncomeResult creditSessionDocumentIncomeResult = (CreditSessionDocumentIncomeResult) o;
return Objects.equals(this.numPaystubsUploaded, creditSessionDocumentIncomeResult.numPaystubsUploaded) &&
Objects.equals(this.numW2sUploaded, creditSessionDocumentIncomeResult.numW2sUploaded) &&
Objects.equals(this.numBankStatementsUploaded, creditSessionDocumentIncomeResult.numBankStatementsUploaded) &&
Objects.equals(this.num1099sUploaded, creditSessionDocumentIncomeResult.num1099sUploaded);
}
@Override
public int hashCode() {
return Objects.hash(numPaystubsUploaded, numW2sUploaded, numBankStatementsUploaded, num1099sUploaded);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditSessionDocumentIncomeResult {\n");
sb.append(" numPaystubsUploaded: ").append(toIndentedString(numPaystubsUploaded)).append("\n");
sb.append(" numW2sUploaded: ").append(toIndentedString(numW2sUploaded)).append("\n");
sb.append(" numBankStatementsUploaded: ").append(toIndentedString(numBankStatementsUploaded)).append("\n");
sb.append(" num1099sUploaded: ").append(toIndentedString(num1099sUploaded)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CraCheckReportVerificationGetReportType.java | src/main/java/com/plaid/client/model/CraCheckReportVerificationGetReportType.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* Type of verification report.
*/
@JsonAdapter(CraCheckReportVerificationGetReportType.Adapter.class)
public enum CraCheckReportVerificationGetReportType {
VOA("VOA"),
EMPLOYMENT_REFRESH("EMPLOYMENT_REFRESH"),
// 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;
CraCheckReportVerificationGetReportType(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static CraCheckReportVerificationGetReportType fromValue(String value) {
for (CraCheckReportVerificationGetReportType b : CraCheckReportVerificationGetReportType.values()) {
if (b.value.equals(value)) {
return b;
}
}
return CraCheckReportVerificationGetReportType.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<CraCheckReportVerificationGetReportType> {
@Override
public void write(final JsonWriter jsonWriter, final CraCheckReportVerificationGetReportType enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public CraCheckReportVerificationGetReportType read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return CraCheckReportVerificationGetReportType.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/YTDGrossIncomeSummaryFieldNumber.java | src/main/java/com/plaid/client/model/YTDGrossIncomeSummaryFieldNumber.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.IncomeSummaryFieldNumber;
import com.plaid.client.model.VerificationStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Year-to-date pre-tax earnings, as reported on the paystub.
*/
@ApiModel(description = "Year-to-date pre-tax earnings, as reported on the paystub.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class YTDGrossIncomeSummaryFieldNumber {
public static final String SERIALIZED_NAME_VALUE = "value";
@SerializedName(SERIALIZED_NAME_VALUE)
private Double value;
public static final String SERIALIZED_NAME_VERIFICATION_STATUS = "verification_status";
@SerializedName(SERIALIZED_NAME_VERIFICATION_STATUS)
private VerificationStatus verificationStatus;
public YTDGrossIncomeSummaryFieldNumber value(Double value) {
this.value = value;
return this;
}
/**
* The value of the field.
* @return value
**/
@ApiModelProperty(required = true, value = "The value of the field.")
public Double getValue() {
return value;
}
public void setValue(Double value) {
this.value = value;
}
public YTDGrossIncomeSummaryFieldNumber verificationStatus(VerificationStatus verificationStatus) {
this.verificationStatus = verificationStatus;
return this;
}
/**
* Get verificationStatus
* @return verificationStatus
**/
@ApiModelProperty(required = true, value = "")
public VerificationStatus getVerificationStatus() {
return verificationStatus;
}
public void setVerificationStatus(VerificationStatus verificationStatus) {
this.verificationStatus = verificationStatus;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
YTDGrossIncomeSummaryFieldNumber ytDGrossIncomeSummaryFieldNumber = (YTDGrossIncomeSummaryFieldNumber) o;
return Objects.equals(this.value, ytDGrossIncomeSummaryFieldNumber.value) &&
Objects.equals(this.verificationStatus, ytDGrossIncomeSummaryFieldNumber.verificationStatus);
}
@Override
public int hashCode() {
return Objects.hash(value, verificationStatus);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class YTDGrossIncomeSummaryFieldNumber {\n");
sb.append(" value: ").append(toIndentedString(value)).append("\n");
sb.append(" verificationStatus: ").append(toIndentedString(verificationStatus)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CraCheckReportBaseReportGetResponse.java | src/main/java/com/plaid/client/model/CraCheckReportBaseReportGetResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.BaseReport;
import com.plaid.client.model.BaseReportWarning;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* CraCheckReportBaseReportGetResponse defines the response schema for `/cra/check_report/base_report/get`
*/
@ApiModel(description = "CraCheckReportBaseReportGetResponse defines the response schema for `/cra/check_report/base_report/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraCheckReportBaseReportGetResponse {
public static final String SERIALIZED_NAME_REPORT = "report";
@SerializedName(SERIALIZED_NAME_REPORT)
private BaseReport report;
public static final String SERIALIZED_NAME_WARNINGS = "warnings";
@SerializedName(SERIALIZED_NAME_WARNINGS)
private List<BaseReportWarning> warnings = new ArrayList<>();
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public CraCheckReportBaseReportGetResponse report(BaseReport report) {
this.report = report;
return this;
}
/**
* Get report
* @return report
**/
@ApiModelProperty(required = true, value = "")
public BaseReport getReport() {
return report;
}
public void setReport(BaseReport report) {
this.report = report;
}
public CraCheckReportBaseReportGetResponse warnings(List<BaseReportWarning> warnings) {
this.warnings = warnings;
return this;
}
public CraCheckReportBaseReportGetResponse addWarningsItem(BaseReportWarning warningsItem) {
this.warnings.add(warningsItem);
return this;
}
/**
* This array contains any information about errors or alerts related to the Base Report that did not block generation of the report.
* @return warnings
**/
@ApiModelProperty(required = true, value = "This array contains any information about errors or alerts related to the Base Report that did not block generation of the report.")
public List<BaseReportWarning> getWarnings() {
return warnings;
}
public void setWarnings(List<BaseReportWarning> warnings) {
this.warnings = warnings;
}
public CraCheckReportBaseReportGetResponse 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;
}
CraCheckReportBaseReportGetResponse craCheckReportBaseReportGetResponse = (CraCheckReportBaseReportGetResponse) o;
return Objects.equals(this.report, craCheckReportBaseReportGetResponse.report) &&
Objects.equals(this.warnings, craCheckReportBaseReportGetResponse.warnings) &&
Objects.equals(this.requestId, craCheckReportBaseReportGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(report, warnings, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraCheckReportBaseReportGetResponse {\n");
sb.append(" report: ").append(toIndentedString(report)).append("\n");
sb.append(" warnings: ").append(toIndentedString(warnings)).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/IdentityVerificationAutofillCreateResponse.java | src/main/java/com/plaid/client/model/IdentityVerificationAutofillCreateResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.IdentityVerificationAutofillStatus;
import com.plaid.client.model.IdentityVerificationAutofillUserData;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Autofill represents unverified customer information. This needs to be confirmed by the customer before using.
*/
@ApiModel(description = "Autofill represents unverified customer information. This needs to be confirmed by the customer before using.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class IdentityVerificationAutofillCreateResponse {
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private IdentityVerificationAutofillStatus status;
public static final String SERIALIZED_NAME_USER = "user";
@SerializedName(SERIALIZED_NAME_USER)
private IdentityVerificationAutofillUserData user;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public IdentityVerificationAutofillCreateResponse status(IdentityVerificationAutofillStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@ApiModelProperty(required = true, value = "")
public IdentityVerificationAutofillStatus getStatus() {
return status;
}
public void setStatus(IdentityVerificationAutofillStatus status) {
this.status = status;
}
public IdentityVerificationAutofillCreateResponse user(IdentityVerificationAutofillUserData user) {
this.user = user;
return this;
}
/**
* Get user
* @return user
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public IdentityVerificationAutofillUserData getUser() {
return user;
}
public void setUser(IdentityVerificationAutofillUserData user) {
this.user = user;
}
public IdentityVerificationAutofillCreateResponse 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;
}
IdentityVerificationAutofillCreateResponse identityVerificationAutofillCreateResponse = (IdentityVerificationAutofillCreateResponse) o;
return Objects.equals(this.status, identityVerificationAutofillCreateResponse.status) &&
Objects.equals(this.user, identityVerificationAutofillCreateResponse.user) &&
Objects.equals(this.requestId, identityVerificationAutofillCreateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(status, user, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IdentityVerificationAutofillCreateResponse {\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" user: ").append(toIndentedString(user)).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/LoanAccountSubtype.java | src/main/java/com/plaid/client/model/LoanAccountSubtype.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* Valid account subtypes for loan accounts. For a list containing descriptions of each subtype, see [Account schemas](https://plaid.com/docs/api/accounts/#StandaloneAccountType-loan).
*/
@JsonAdapter(LoanAccountSubtype.Adapter.class)
public enum LoanAccountSubtype {
AUTO("auto"),
BUSINESS("business"),
COMMERCIAL("commercial"),
CONSTRUCTION("construction"),
CONSUMER("consumer"),
HOME_EQUITY("home equity"),
LOAN("loan"),
MORTGAGE("mortgage"),
OVERDRAFT("overdraft"),
LINE_OF_CREDIT("line of credit"),
STUDENT("student"),
OTHER("other"),
ALL("all"),
// 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;
LoanAccountSubtype(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static LoanAccountSubtype fromValue(String value) {
for (LoanAccountSubtype b : LoanAccountSubtype.values()) {
if (b.value.equals(value)) {
return b;
}
}
return LoanAccountSubtype.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<LoanAccountSubtype> {
@Override
public void write(final JsonWriter jsonWriter, final LoanAccountSubtype enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public LoanAccountSubtype read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return LoanAccountSubtype.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/LinkTokenCreateRequestCreditPartnerInsights.java | src/main/java/com/plaid/client/model/LinkTokenCreateRequestCreditPartnerInsights.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Specifies options for initializing Link for use with the Credit Partner Insights product.
*/
@ApiModel(description = "Specifies options for initializing Link for use with the Credit Partner Insights product.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkTokenCreateRequestCreditPartnerInsights {
public static final String SERIALIZED_NAME_DAYS_REQUESTED = "days_requested";
@SerializedName(SERIALIZED_NAME_DAYS_REQUESTED)
private Integer daysRequested;
public static final String SERIALIZED_NAME_PRISM_PRODUCTS = "prism_products";
@SerializedName(SERIALIZED_NAME_PRISM_PRODUCTS)
private List<PrismProduct> prismProducts = null;
public LinkTokenCreateRequestCreditPartnerInsights daysRequested(Integer daysRequested) {
this.daysRequested = daysRequested;
return this;
}
/**
* The maximum integer number of days of history to compute Credit Partner Insights. Defaults to 180 if not specified
* minimum: 1
* maximum: 730
* @return daysRequested
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The maximum integer number of days of history to compute Credit Partner Insights. Defaults to 180 if not specified")
public Integer getDaysRequested() {
return daysRequested;
}
public void setDaysRequested(Integer daysRequested) {
this.daysRequested = daysRequested;
}
public LinkTokenCreateRequestCreditPartnerInsights prismProducts(List<PrismProduct> prismProducts) {
this.prismProducts = prismProducts;
return this;
}
public LinkTokenCreateRequestCreditPartnerInsights addPrismProductsItem(PrismProduct prismProductsItem) {
if (this.prismProducts == null) {
this.prismProducts = new ArrayList<>();
}
this.prismProducts.add(prismProductsItem);
return this;
}
/**
* The specific Prism products to return. If none are passed in, then all products will be returned.
* @return prismProducts
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The specific Prism 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;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkTokenCreateRequestCreditPartnerInsights linkTokenCreateRequestCreditPartnerInsights = (LinkTokenCreateRequestCreditPartnerInsights) o;
return Objects.equals(this.daysRequested, linkTokenCreateRequestCreditPartnerInsights.daysRequested) &&
Objects.equals(this.prismProducts, linkTokenCreateRequestCreditPartnerInsights.prismProducts);
}
@Override
public int hashCode() {
return Objects.hash(daysRequested, prismProducts);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkTokenCreateRequestCreditPartnerInsights {\n");
sb.append(" daysRequested: ").append(toIndentedString(daysRequested)).append("\n");
sb.append(" prismProducts: ").append(toIndentedString(prismProducts)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BusinessVerificationStatusKYBCheck.java | src/main/java/com/plaid/client/model/BusinessVerificationStatusKYBCheck.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* Status of the KYB (Know Your Business) identity assessment check
*/
@JsonAdapter(BusinessVerificationStatusKYBCheck.Adapter.class)
public enum BusinessVerificationStatusKYBCheck {
ACTIVE("active"),
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;
BusinessVerificationStatusKYBCheck(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static BusinessVerificationStatusKYBCheck fromValue(String value) {
for (BusinessVerificationStatusKYBCheck b : BusinessVerificationStatusKYBCheck.values()) {
if (b.value.equals(value)) {
return b;
}
}
return BusinessVerificationStatusKYBCheck.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<BusinessVerificationStatusKYBCheck> {
@Override
public void write(final JsonWriter jsonWriter, final BusinessVerificationStatusKYBCheck enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public BusinessVerificationStatusKYBCheck read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return BusinessVerificationStatusKYBCheck.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/TransferIntentCreateRequest.java | src/main/java/com/plaid/client/model/TransferIntentCreateRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.ACHClass;
import com.plaid.client.model.TransferIntentCreateMode;
import com.plaid.client.model.TransferIntentCreateNetwork;
import com.plaid.client.model.TransferUserInRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* Defines the request schema for `/transfer/intent/create`
*/
@ApiModel(description = "Defines the request schema for `/transfer/intent/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferIntentCreateRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
private String accountId;
public static final String SERIALIZED_NAME_FUNDING_ACCOUNT_ID = "funding_account_id";
@SerializedName(SERIALIZED_NAME_FUNDING_ACCOUNT_ID)
private String fundingAccountId;
public static final String SERIALIZED_NAME_MODE = "mode";
@SerializedName(SERIALIZED_NAME_MODE)
private TransferIntentCreateMode mode;
public static final String SERIALIZED_NAME_NETWORK = "network";
@SerializedName(SERIALIZED_NAME_NETWORK)
private TransferIntentCreateNetwork network = TransferIntentCreateNetwork.SAME_DAY_ACH;
public static final String SERIALIZED_NAME_AMOUNT = "amount";
@SerializedName(SERIALIZED_NAME_AMOUNT)
private String amount;
public static final String SERIALIZED_NAME_DESCRIPTION = "description";
@SerializedName(SERIALIZED_NAME_DESCRIPTION)
private String description;
public static final String SERIALIZED_NAME_ACH_CLASS = "ach_class";
@SerializedName(SERIALIZED_NAME_ACH_CLASS)
private ACHClass achClass;
public static final String SERIALIZED_NAME_ORIGINATION_ACCOUNT_ID = "origination_account_id";
@SerializedName(SERIALIZED_NAME_ORIGINATION_ACCOUNT_ID)
private String originationAccountId;
public static final String SERIALIZED_NAME_USER = "user";
@SerializedName(SERIALIZED_NAME_USER)
private TransferUserInRequest user;
public static final String SERIALIZED_NAME_METADATA = "metadata";
@SerializedName(SERIALIZED_NAME_METADATA)
private Map<String, String> metadata = null;
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_REQUIRE_GUARANTEE = "require_guarantee";
@SerializedName(SERIALIZED_NAME_REQUIRE_GUARANTEE)
private Boolean requireGuarantee = false;
public TransferIntentCreateRequest 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 TransferIntentCreateRequest 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 TransferIntentCreateRequest accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* The Plaid `account_id` corresponding to the end-user account that will be debited or credited.
* @return accountId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The Plaid `account_id` corresponding to the end-user account that will be debited or credited.")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public TransferIntentCreateRequest fundingAccountId(String fundingAccountId) {
this.fundingAccountId = fundingAccountId;
return this;
}
/**
* Specify the account used to fund the transfer. Should be specified if using legacy funding methods only. If using Plaid Ledger, leave this field blank. Customers can find a list of `funding_account_id`s in the Accounts page of your Plaid Dashboard, under the \"Account ID\" column. If this field is left blank and you are using legacy funding methods, this will default to the default `funding_account_id` specified during onboarding. Otherwise, Plaid Ledger will be used.
* @return fundingAccountId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Specify the account used to fund the transfer. Should be specified if using legacy funding methods only. If using Plaid Ledger, leave this field blank. Customers can find a list of `funding_account_id`s in the Accounts page of your Plaid Dashboard, under the \"Account ID\" column. If this field is left blank and you are using legacy funding methods, this will default to the default `funding_account_id` specified during onboarding. Otherwise, Plaid Ledger will be used.")
public String getFundingAccountId() {
return fundingAccountId;
}
public void setFundingAccountId(String fundingAccountId) {
this.fundingAccountId = fundingAccountId;
}
public TransferIntentCreateRequest mode(TransferIntentCreateMode mode) {
this.mode = mode;
return this;
}
/**
* Get mode
* @return mode
**/
@ApiModelProperty(required = true, value = "")
public TransferIntentCreateMode getMode() {
return mode;
}
public void setMode(TransferIntentCreateMode mode) {
this.mode = mode;
}
public TransferIntentCreateRequest network(TransferIntentCreateNetwork network) {
this.network = network;
return this;
}
/**
* Get network
* @return network
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public TransferIntentCreateNetwork getNetwork() {
return network;
}
public void setNetwork(TransferIntentCreateNetwork network) {
this.network = network;
}
public TransferIntentCreateRequest amount(String amount) {
this.amount = amount;
return this;
}
/**
* The amount of the transfer (decimal string with two digits of precision e.g. \"10.00\"). When calling `/transfer/authorization/create`, specify the maximum amount to authorize. When calling `/transfer/create`, specify the exact amount of the transfer, up to a maximum of the amount authorized. If this field is left blank when calling `/transfer/create`, the maximum amount authorized in the `authorization_id` will be sent.
* @return amount
**/
@ApiModelProperty(required = true, value = "The amount of the transfer (decimal string with two digits of precision e.g. \"10.00\"). When calling `/transfer/authorization/create`, specify the maximum amount to authorize. When calling `/transfer/create`, specify the exact amount of the transfer, up to a maximum of the amount authorized. If this field is left blank when calling `/transfer/create`, the maximum amount authorized in the `authorization_id` will be sent.")
public String getAmount() {
return amount;
}
public void setAmount(String amount) {
this.amount = amount;
}
public TransferIntentCreateRequest description(String description) {
this.description = description;
return this;
}
/**
* A description for the underlying transfer. Maximum of 15 characters.
* @return description
**/
@ApiModelProperty(required = true, value = "A description for the underlying transfer. Maximum of 15 characters.")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public TransferIntentCreateRequest achClass(ACHClass achClass) {
this.achClass = achClass;
return this;
}
/**
* Get achClass
* @return achClass
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ACHClass getAchClass() {
return achClass;
}
public void setAchClass(ACHClass achClass) {
this.achClass = achClass;
}
public TransferIntentCreateRequest originationAccountId(String originationAccountId) {
this.originationAccountId = originationAccountId;
return this;
}
/**
* Plaid’s unique identifier for the origination account for the intent. If not provided, the default account will be used.
* @return originationAccountId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Plaid’s unique identifier for the origination account for the intent. If not provided, the default account will be used.")
public String getOriginationAccountId() {
return originationAccountId;
}
public void setOriginationAccountId(String originationAccountId) {
this.originationAccountId = originationAccountId;
}
public TransferIntentCreateRequest user(TransferUserInRequest user) {
this.user = user;
return this;
}
/**
* Get user
* @return user
**/
@ApiModelProperty(required = true, value = "")
public TransferUserInRequest getUser() {
return user;
}
public void setUser(TransferUserInRequest user) {
this.user = user;
}
public TransferIntentCreateRequest metadata(Map<String, String> metadata) {
this.metadata = metadata;
return this;
}
public TransferIntentCreateRequest putMetadataItem(String key, String metadataItem) {
if (this.metadata == null) {
this.metadata = new HashMap<>();
}
this.metadata.put(key, metadataItem);
return this;
}
/**
* The Metadata object is a mapping of client-provided string fields to any string value. The following limitations apply: The JSON values must be Strings (no nested JSON objects allowed) Only ASCII characters may be used Maximum of 50 key/value pairs Maximum key length of 40 characters Maximum value length of 500 characters
* @return metadata
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The Metadata object is a mapping of client-provided string fields to any string value. The following limitations apply: The JSON values must be Strings (no nested JSON objects allowed) Only ASCII characters may be used Maximum of 50 key/value pairs Maximum key length of 40 characters Maximum value length of 500 characters ")
public Map<String, String> getMetadata() {
return metadata;
}
public void setMetadata(Map<String, String> metadata) {
this.metadata = metadata;
}
public TransferIntentCreateRequest isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The currency of the transfer amount, e.g. \"USD\"
* @return isoCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The currency of the transfer amount, e.g. \"USD\"")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public TransferIntentCreateRequest requireGuarantee(Boolean requireGuarantee) {
this.requireGuarantee = requireGuarantee;
return this;
}
/**
* When `true`, the transfer requires a `GUARANTEED` decision by Plaid to proceed (Guarantee customers only).
* @return requireGuarantee
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "When `true`, the transfer requires a `GUARANTEED` decision by Plaid to proceed (Guarantee customers only).")
public Boolean getRequireGuarantee() {
return requireGuarantee;
}
public void setRequireGuarantee(Boolean requireGuarantee) {
this.requireGuarantee = requireGuarantee;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferIntentCreateRequest transferIntentCreateRequest = (TransferIntentCreateRequest) o;
return Objects.equals(this.clientId, transferIntentCreateRequest.clientId) &&
Objects.equals(this.secret, transferIntentCreateRequest.secret) &&
Objects.equals(this.accountId, transferIntentCreateRequest.accountId) &&
Objects.equals(this.fundingAccountId, transferIntentCreateRequest.fundingAccountId) &&
Objects.equals(this.mode, transferIntentCreateRequest.mode) &&
Objects.equals(this.network, transferIntentCreateRequest.network) &&
Objects.equals(this.amount, transferIntentCreateRequest.amount) &&
Objects.equals(this.description, transferIntentCreateRequest.description) &&
Objects.equals(this.achClass, transferIntentCreateRequest.achClass) &&
Objects.equals(this.originationAccountId, transferIntentCreateRequest.originationAccountId) &&
Objects.equals(this.user, transferIntentCreateRequest.user) &&
Objects.equals(this.metadata, transferIntentCreateRequest.metadata) &&
Objects.equals(this.isoCurrencyCode, transferIntentCreateRequest.isoCurrencyCode) &&
Objects.equals(this.requireGuarantee, transferIntentCreateRequest.requireGuarantee);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, accountId, fundingAccountId, mode, network, amount, description, achClass, originationAccountId, user, metadata, isoCurrencyCode, requireGuarantee);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferIntentCreateRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" fundingAccountId: ").append(toIndentedString(fundingAccountId)).append("\n");
sb.append(" mode: ").append(toIndentedString(mode)).append("\n");
sb.append(" network: ").append(toIndentedString(network)).append("\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" achClass: ").append(toIndentedString(achClass)).append("\n");
sb.append(" originationAccountId: ").append(toIndentedString(originationAccountId)).append("\n");
sb.append(" user: ").append(toIndentedString(user)).append("\n");
sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" requireGuarantee: ").append(toIndentedString(requireGuarantee)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BeaconUserRevision.java | src/main/java/com/plaid/client/model/BeaconUserRevision.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* A Beacon User Revision identifies a Beacon User at some point in its revision history.
*/
@ApiModel(description = "A Beacon User Revision identifies a Beacon User at some point in its revision history.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BeaconUserRevision {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
public static final String SERIALIZED_NAME_VERSION = "version";
@SerializedName(SERIALIZED_NAME_VERSION)
private Integer version;
public BeaconUserRevision id(String id) {
this.id = id;
return this;
}
/**
* ID of the associated Beacon User.
* @return id
**/
@ApiModelProperty(example = "becusr_42cF1MNo42r9Xj", required = true, value = "ID of the associated Beacon User.")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public BeaconUserRevision version(Integer version) {
this.version = version;
return this;
}
/**
* The `version` field begins with 1 and increments with each subsequent revision.
* @return version
**/
@ApiModelProperty(example = "1", required = true, value = "The `version` field begins with 1 and increments with each subsequent revision.")
public Integer getVersion() {
return version;
}
public void setVersion(Integer version) {
this.version = version;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BeaconUserRevision beaconUserRevision = (BeaconUserRevision) o;
return Objects.equals(this.id, beaconUserRevision.id) &&
Objects.equals(this.version, beaconUserRevision.version);
}
@Override
public int hashCode() {
return Objects.hash(id, version);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BeaconUserRevision {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BankTransferEventType.java | src/main/java/com/plaid/client/model/BankTransferEventType.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 event that this bank transfer represents. `pending`: A new transfer was created; it is in the pending state. `cancelled`: The transfer was cancelled by the client. `failed`: The transfer failed, no funds were moved. `posted`: The transfer has been successfully submitted to the payment network. `reversed`: A posted transfer was reversed.
*/
@JsonAdapter(BankTransferEventType.Adapter.class)
public enum BankTransferEventType {
PENDING("pending"),
CANCELLED("cancelled"),
FAILED("failed"),
POSTED("posted"),
REVERSED("reversed"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
BankTransferEventType(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static BankTransferEventType fromValue(String value) {
for (BankTransferEventType b : BankTransferEventType.values()) {
if (b.value.equals(value)) {
return b;
}
}
return BankTransferEventType.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<BankTransferEventType> {
@Override
public void write(final JsonWriter jsonWriter, final BankTransferEventType enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public BankTransferEventType read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return BankTransferEventType.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/HistoricalUpdateWebhook.java | src/main/java/com/plaid/client/model/HistoricalUpdateWebhook.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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 an Item's historical transaction pull is completed and Plaid has prepared as much historical transaction data as possible for the Item. Once this webhook has been fired, transaction data beyond the most recent 30 days can be fetched for the Item. This webhook will also be fired if account selections for the Item are updated, with `new_transactions` set to the number of net new transactions pulled after the account selection update. This webhook is intended for use with `/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 an Item's historical transaction pull is completed and Plaid has prepared as much historical transaction data as possible for the Item. Once this webhook has been fired, transaction data beyond the most recent 30 days can be fetched for the Item. This webhook will also be fired if account selections for the Item are updated, with `new_transactions` set to the number of net new transactions pulled after the account selection update. This webhook is intended for use with `/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 HistoricalUpdateWebhook {
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 HistoricalUpdateWebhook 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 HistoricalUpdateWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `HISTORICAL_UPDATE`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`HISTORICAL_UPDATE`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public HistoricalUpdateWebhook 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 HistoricalUpdateWebhook newTransactions(Double newTransactions) {
this.newTransactions = newTransactions;
return this;
}
/**
* The number of new transactions available
* @return newTransactions
**/
@ApiModelProperty(required = true, value = "The number of new transactions available")
public Double getNewTransactions() {
return newTransactions;
}
public void setNewTransactions(Double newTransactions) {
this.newTransactions = newTransactions;
}
public HistoricalUpdateWebhook 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 HistoricalUpdateWebhook 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;
}
HistoricalUpdateWebhook historicalUpdateWebhook = (HistoricalUpdateWebhook) o;
return Objects.equals(this.webhookType, historicalUpdateWebhook.webhookType) &&
Objects.equals(this.webhookCode, historicalUpdateWebhook.webhookCode) &&
Objects.equals(this.error, historicalUpdateWebhook.error) &&
Objects.equals(this.newTransactions, historicalUpdateWebhook.newTransactions) &&
Objects.equals(this.itemId, historicalUpdateWebhook.itemId) &&
Objects.equals(this.environment, historicalUpdateWebhook.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 HistoricalUpdateWebhook {\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/TransferCapabilitiesGetRequest.java | src/main/java/com/plaid/client/model/TransferCapabilitiesGetRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines the request schema for `/transfer/capabilities/get`
*/
@ApiModel(description = "Defines the request schema for `/transfer/capabilities/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferCapabilitiesGetRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_ACCESS_TOKEN = "access_token";
@SerializedName(SERIALIZED_NAME_ACCESS_TOKEN)
private String accessToken;
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
private String accountId;
public static final String SERIALIZED_NAME_PAYMENT_PROFILE_TOKEN = "payment_profile_token";
@SerializedName(SERIALIZED_NAME_PAYMENT_PROFILE_TOKEN)
private String paymentProfileToken;
public TransferCapabilitiesGetRequest 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 TransferCapabilitiesGetRequest 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 TransferCapabilitiesGetRequest accessToken(String accessToken) {
this.accessToken = accessToken;
return this;
}
/**
* The Plaid `access_token` for the account that will be debited or credited.
* @return accessToken
**/
@ApiModelProperty(required = true, value = "The Plaid `access_token` for the account that will be debited or credited.")
public String getAccessToken() {
return accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
}
public TransferCapabilitiesGetRequest accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* The Plaid `account_id` corresponding to the end-user account that will be debited or credited.
* @return accountId
**/
@ApiModelProperty(required = true, value = "The Plaid `account_id` corresponding to the end-user account that will be debited or credited.")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public TransferCapabilitiesGetRequest paymentProfileToken(String paymentProfileToken) {
this.paymentProfileToken = paymentProfileToken;
return this;
}
/**
* A payment profile token associated with the Payment Profile data that is being requested.
* @return paymentProfileToken
**/
@javax.annotation.Nullable
@ApiModelProperty(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;
}
TransferCapabilitiesGetRequest transferCapabilitiesGetRequest = (TransferCapabilitiesGetRequest) o;
return Objects.equals(this.clientId, transferCapabilitiesGetRequest.clientId) &&
Objects.equals(this.secret, transferCapabilitiesGetRequest.secret) &&
Objects.equals(this.accessToken, transferCapabilitiesGetRequest.accessToken) &&
Objects.equals(this.accountId, transferCapabilitiesGetRequest.accountId) &&
Objects.equals(this.paymentProfileToken, transferCapabilitiesGetRequest.paymentProfileToken);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, accessToken, accountId, paymentProfileToken);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferCapabilitiesGetRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" accessToken: ").append(toIndentedString(accessToken)).append("\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" 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/LinkDeliveryVerificationStatus.java | src/main/java/com/plaid/client/model/LinkDeliveryVerificationStatus.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* Indicates an Item's micro-deposit-based verification or database verification status.
*/
@JsonAdapter(LinkDeliveryVerificationStatus.Adapter.class)
public enum LinkDeliveryVerificationStatus {
AUTOMATICALLY_VERIFIED("automatically_verified"),
PENDING_AUTOMATIC_VERIFICATION("pending_automatic_verification"),
PENDING_MANUAL_VERIFICATION("pending_manual_verification"),
MANUALLY_VERIFIED("manually_verified"),
VERIFICATION_EXPIRED("verification_expired"),
VERIFICATION_FAILED("verification_failed"),
UNSENT("unsent"),
DATABASE_MATCHED("database_matched"),
DATABASE_INSIGHTS_PENDING("database_insights_pending"),
// 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;
LinkDeliveryVerificationStatus(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static LinkDeliveryVerificationStatus fromValue(String value) {
for (LinkDeliveryVerificationStatus b : LinkDeliveryVerificationStatus.values()) {
if (b.value.equals(value)) {
return b;
}
}
return LinkDeliveryVerificationStatus.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<LinkDeliveryVerificationStatus> {
@Override
public void write(final JsonWriter jsonWriter, final LinkDeliveryVerificationStatus enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public LinkDeliveryVerificationStatus read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return LinkDeliveryVerificationStatus.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/PartnerCustomerOAuthInstitutionsGetRequest.java | src/main/java/com/plaid/client/model/PartnerCustomerOAuthInstitutionsGetRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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 schema for `/partner/customer/oauth_institutions/get`.
*/
@ApiModel(description = "Request schema for `/partner/customer/oauth_institutions/get`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PartnerCustomerOAuthInstitutionsGetRequest {
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_END_CUSTOMER_CLIENT_ID = "end_customer_client_id";
@SerializedName(SERIALIZED_NAME_END_CUSTOMER_CLIENT_ID)
private String endCustomerClientId;
public PartnerCustomerOAuthInstitutionsGetRequest 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 PartnerCustomerOAuthInstitutionsGetRequest 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 PartnerCustomerOAuthInstitutionsGetRequest endCustomerClientId(String endCustomerClientId) {
this.endCustomerClientId = endCustomerClientId;
return this;
}
/**
* Get endCustomerClientId
* @return endCustomerClientId
**/
@ApiModelProperty(required = true, value = "")
public String getEndCustomerClientId() {
return endCustomerClientId;
}
public void setEndCustomerClientId(String endCustomerClientId) {
this.endCustomerClientId = endCustomerClientId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PartnerCustomerOAuthInstitutionsGetRequest partnerCustomerOAuthInstitutionsGetRequest = (PartnerCustomerOAuthInstitutionsGetRequest) o;
return Objects.equals(this.clientId, partnerCustomerOAuthInstitutionsGetRequest.clientId) &&
Objects.equals(this.secret, partnerCustomerOAuthInstitutionsGetRequest.secret) &&
Objects.equals(this.endCustomerClientId, partnerCustomerOAuthInstitutionsGetRequest.endCustomerClientId);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, endCustomerClientId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PartnerCustomerOAuthInstitutionsGetRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" endCustomerClientId: ").append(toIndentedString(endCustomerClientId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/Activity.java | src/main/java/com/plaid/client/model/Activity.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.ActionState;
import com.plaid.client.model.ActivityType;
import com.plaid.client.model.ItemCreateAuthentication;
import com.plaid.client.model.ScopesNullable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
/**
* Describes a consent activity.
*/
@ApiModel(description = "Describes a consent activity.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class Activity {
public static final String SERIALIZED_NAME_ACTIVITY = "activity";
@SerializedName(SERIALIZED_NAME_ACTIVITY)
private ActivityType activity;
public static final String SERIALIZED_NAME_INITIATED_DATE = "initiated_date";
@SerializedName(SERIALIZED_NAME_INITIATED_DATE)
private LocalDate initiatedDate;
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
public static final String SERIALIZED_NAME_INITIATOR = "initiator";
@SerializedName(SERIALIZED_NAME_INITIATOR)
private String initiator;
public static final String SERIALIZED_NAME_STATE = "state";
@SerializedName(SERIALIZED_NAME_STATE)
private ActionState state;
public static final String SERIALIZED_NAME_TARGET_APPLICATION_ID = "target_application_id";
@SerializedName(SERIALIZED_NAME_TARGET_APPLICATION_ID)
private String targetApplicationId;
public static final String SERIALIZED_NAME_SCOPES = "scopes";
@SerializedName(SERIALIZED_NAME_SCOPES)
private ScopesNullable scopes;
public static final String SERIALIZED_NAME_AUTHENTICATION = "authentication";
@SerializedName(SERIALIZED_NAME_AUTHENTICATION)
private ItemCreateAuthentication authentication;
public Activity activity(ActivityType activity) {
this.activity = activity;
return this;
}
/**
* Get activity
* @return activity
**/
@ApiModelProperty(required = true, value = "")
public ActivityType getActivity() {
return activity;
}
public void setActivity(ActivityType activity) {
this.activity = activity;
}
public Activity initiatedDate(LocalDate initiatedDate) {
this.initiatedDate = initiatedDate;
return this;
}
/**
* The date this activity was initiated [ISO 8601](https://wikipedia.org/wiki/ISO_8601) (YYYY-MM-DD) format in UTC.
* @return initiatedDate
**/
@ApiModelProperty(example = "Wed Jan 01 00:00:00 UTC 2020", required = true, value = "The date this activity was initiated [ISO 8601](https://wikipedia.org/wiki/ISO_8601) (YYYY-MM-DD) format in UTC.")
public LocalDate getInitiatedDate() {
return initiatedDate;
}
public void setInitiatedDate(LocalDate initiatedDate) {
this.initiatedDate = initiatedDate;
}
public Activity id(String id) {
this.id = id;
return this;
}
/**
* A unique identifier for the activity
* @return id
**/
@ApiModelProperty(required = true, value = "A unique identifier for the activity")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public Activity initiator(String initiator) {
this.initiator = initiator;
return this;
}
/**
* Application ID of the client who initiated the activity.
* @return initiator
**/
@ApiModelProperty(required = true, value = "Application ID of the client who initiated the activity.")
public String getInitiator() {
return initiator;
}
public void setInitiator(String initiator) {
this.initiator = initiator;
}
public Activity state(ActionState state) {
this.state = state;
return this;
}
/**
* Get state
* @return state
**/
@ApiModelProperty(required = true, value = "")
public ActionState getState() {
return state;
}
public void setState(ActionState state) {
this.state = state;
}
public Activity targetApplicationId(String targetApplicationId) {
this.targetApplicationId = targetApplicationId;
return this;
}
/**
* This field will map to the application ID that is returned from /item/application/list, or provided to the institution in an oauth redirect.
* @return targetApplicationId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "This field will map to the application ID that is returned from /item/application/list, or provided to the institution in an oauth redirect.")
public String getTargetApplicationId() {
return targetApplicationId;
}
public void setTargetApplicationId(String targetApplicationId) {
this.targetApplicationId = targetApplicationId;
}
public Activity scopes(ScopesNullable scopes) {
this.scopes = scopes;
return this;
}
/**
* Get scopes
* @return scopes
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ScopesNullable getScopes() {
return scopes;
}
public void setScopes(ScopesNullable scopes) {
this.scopes = scopes;
}
public Activity authentication(ItemCreateAuthentication authentication) {
this.authentication = authentication;
return this;
}
/**
* Get authentication
* @return authentication
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ItemCreateAuthentication getAuthentication() {
return authentication;
}
public void setAuthentication(ItemCreateAuthentication authentication) {
this.authentication = authentication;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Activity activity = (Activity) o;
return Objects.equals(this.activity, activity.activity) &&
Objects.equals(this.initiatedDate, activity.initiatedDate) &&
Objects.equals(this.id, activity.id) &&
Objects.equals(this.initiator, activity.initiator) &&
Objects.equals(this.state, activity.state) &&
Objects.equals(this.targetApplicationId, activity.targetApplicationId) &&
Objects.equals(this.scopes, activity.scopes) &&
Objects.equals(this.authentication, activity.authentication);
}
@Override
public int hashCode() {
return Objects.hash(activity, initiatedDate, id, initiator, state, targetApplicationId, scopes, authentication);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Activity {\n");
sb.append(" activity: ").append(toIndentedString(activity)).append("\n");
sb.append(" initiatedDate: ").append(toIndentedString(initiatedDate)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" initiator: ").append(toIndentedString(initiator)).append("\n");
sb.append(" state: ").append(toIndentedString(state)).append("\n");
sb.append(" targetApplicationId: ").append(toIndentedString(targetApplicationId)).append("\n");
sb.append(" scopes: ").append(toIndentedString(scopes)).append("\n");
sb.append(" authentication: ").append(toIndentedString(authentication)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BeaconUserRequestAddressNullable.java | src/main/java/com/plaid/client/model/BeaconUserRequestAddressNullable.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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 BeaconUserRequestAddressNullable {
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 BeaconUserRequestAddressNullable 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 BeaconUserRequestAddressNullable 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 BeaconUserRequestAddressNullable 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 BeaconUserRequestAddressNullable 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 BeaconUserRequestAddressNullable 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 BeaconUserRequestAddressNullable 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;
}
BeaconUserRequestAddressNullable beaconUserRequestAddressNullable = (BeaconUserRequestAddressNullable) o;
return Objects.equals(this.street, beaconUserRequestAddressNullable.street) &&
Objects.equals(this.street2, beaconUserRequestAddressNullable.street2) &&
Objects.equals(this.city, beaconUserRequestAddressNullable.city) &&
Objects.equals(this.region, beaconUserRequestAddressNullable.region) &&
Objects.equals(this.postalCode, beaconUserRequestAddressNullable.postalCode) &&
Objects.equals(this.country, beaconUserRequestAddressNullable.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 BeaconUserRequestAddressNullable {\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/TransactionsRuleType.java | src/main/java/com/plaid/client/model/TransactionsRuleType.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* Transaction rule's match type. For `TRANSACTION_ID` field, `EXACT_MATCH` is available. Matches are case sensitive.
*/
@JsonAdapter(TransactionsRuleType.Adapter.class)
public enum TransactionsRuleType {
EXACT_MATCH("EXACT_MATCH"),
SUBSTRING_MATCH("SUBSTRING_MATCH"),
// 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;
TransactionsRuleType(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static TransactionsRuleType fromValue(String value) {
for (TransactionsRuleType b : TransactionsRuleType.values()) {
if (b.value.equals(value)) {
return b;
}
}
return TransactionsRuleType.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<TransactionsRuleType> {
@Override
public void write(final JsonWriter jsonWriter, final TransactionsRuleType enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public TransactionsRuleType read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return TransactionsRuleType.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/LinkOAuthCorrelationIdExchangeResponse.java | src/main/java/com/plaid/client/model/LinkOAuthCorrelationIdExchangeResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* LinkOAuthCorrelationIdExchangeResponse defines the response schema for `/link/oauth/correlation_id/exchange`
*/
@ApiModel(description = "LinkOAuthCorrelationIdExchangeResponse defines the response schema for `/link/oauth/correlation_id/exchange`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkOAuthCorrelationIdExchangeResponse {
public static final String SERIALIZED_NAME_LINK_TOKEN = "link_token";
@SerializedName(SERIALIZED_NAME_LINK_TOKEN)
private String linkToken;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public LinkOAuthCorrelationIdExchangeResponse linkToken(String linkToken) {
this.linkToken = linkToken;
return this;
}
/**
* The `link_token` associated to the given `link_correlation_id`, which can be used to re-initialize Link.
* @return linkToken
**/
@ApiModelProperty(required = true, value = "The `link_token` associated to the given `link_correlation_id`, which can be used to re-initialize Link.")
public String getLinkToken() {
return linkToken;
}
public void setLinkToken(String linkToken) {
this.linkToken = linkToken;
}
public LinkOAuthCorrelationIdExchangeResponse 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;
}
LinkOAuthCorrelationIdExchangeResponse linkOAuthCorrelationIdExchangeResponse = (LinkOAuthCorrelationIdExchangeResponse) o;
return Objects.equals(this.linkToken, linkOAuthCorrelationIdExchangeResponse.linkToken) &&
Objects.equals(this.requestId, linkOAuthCorrelationIdExchangeResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(linkToken, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkOAuthCorrelationIdExchangeResponse {\n");
sb.append(" linkToken: ").append(toIndentedString(linkToken)).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/EntityWatchlistProgram.java | src/main/java/com/plaid/client/model/EntityWatchlistProgram.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.EntityWatchlistCode;
import com.plaid.client.model.ProgramNameSensitivity;
import com.plaid.client.model.WatchlistScreeningAuditTrail;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
/**
* A program that configures the active lists, search parameters, and other behavior for initial and ongoing screening of entities.
*/
@ApiModel(description = "A program that configures the active lists, search parameters, and other behavior for initial and ongoing screening of entities.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class EntityWatchlistProgram {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
public static final String SERIALIZED_NAME_CREATED_AT = "created_at";
@SerializedName(SERIALIZED_NAME_CREATED_AT)
private java.sql.Timestamp createdAt;
public static final String SERIALIZED_NAME_IS_RESCANNING_ENABLED = "is_rescanning_enabled";
@SerializedName(SERIALIZED_NAME_IS_RESCANNING_ENABLED)
private Boolean isRescanningEnabled;
public static final String SERIALIZED_NAME_LISTS_ENABLED = "lists_enabled";
@SerializedName(SERIALIZED_NAME_LISTS_ENABLED)
private Set<EntityWatchlistCode> listsEnabled = new LinkedHashSet<>();
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public static final String SERIALIZED_NAME_NAME_SENSITIVITY = "name_sensitivity";
@SerializedName(SERIALIZED_NAME_NAME_SENSITIVITY)
private ProgramNameSensitivity nameSensitivity;
public static final String SERIALIZED_NAME_AUDIT_TRAIL = "audit_trail";
@SerializedName(SERIALIZED_NAME_AUDIT_TRAIL)
private WatchlistScreeningAuditTrail auditTrail;
public static final String SERIALIZED_NAME_IS_ARCHIVED = "is_archived";
@SerializedName(SERIALIZED_NAME_IS_ARCHIVED)
private Boolean isArchived;
public EntityWatchlistProgram id(String id) {
this.id = id;
return this;
}
/**
* ID of the associated entity program.
* @return id
**/
@ApiModelProperty(example = "entprg_2eRPsDnL66rZ7H", required = true, value = "ID of the associated entity program.")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public EntityWatchlistProgram createdAt(java.sql.Timestamp createdAt) {
this.createdAt = createdAt;
return this;
}
/**
* Get createdAt
* @return createdAt
**/
@ApiModelProperty(required = true, value = "")
public java.sql.Timestamp getCreatedAt() {
return createdAt;
}
public void setCreatedAt(java.sql.Timestamp createdAt) {
this.createdAt = createdAt;
}
public EntityWatchlistProgram isRescanningEnabled(Boolean isRescanningEnabled) {
this.isRescanningEnabled = isRescanningEnabled;
return this;
}
/**
* Indicator specifying whether the program is enabled and will perform daily rescans.
* @return isRescanningEnabled
**/
@ApiModelProperty(example = "true", required = true, value = "Indicator specifying whether the program is enabled and will perform daily rescans.")
public Boolean getIsRescanningEnabled() {
return isRescanningEnabled;
}
public void setIsRescanningEnabled(Boolean isRescanningEnabled) {
this.isRescanningEnabled = isRescanningEnabled;
}
public EntityWatchlistProgram listsEnabled(Set<EntityWatchlistCode> listsEnabled) {
this.listsEnabled = listsEnabled;
return this;
}
public EntityWatchlistProgram addListsEnabledItem(EntityWatchlistCode listsEnabledItem) {
this.listsEnabled.add(listsEnabledItem);
return this;
}
/**
* Watchlists enabled for the associated program
* @return listsEnabled
**/
@ApiModelProperty(example = "[\"EU_CON\"]", required = true, value = "Watchlists enabled for the associated program")
public Set<EntityWatchlistCode> getListsEnabled() {
return listsEnabled;
}
public void setListsEnabled(Set<EntityWatchlistCode> listsEnabled) {
this.listsEnabled = listsEnabled;
}
public EntityWatchlistProgram name(String name) {
this.name = name;
return this;
}
/**
* A name for the entity program to define its purpose. For example, \"High Risk Organizations\" or \"Applicants\".
* @return name
**/
@ApiModelProperty(example = "Sample Program", required = true, value = "A name for the entity program to define its purpose. For example, \"High Risk Organizations\" or \"Applicants\".")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public EntityWatchlistProgram nameSensitivity(ProgramNameSensitivity nameSensitivity) {
this.nameSensitivity = nameSensitivity;
return this;
}
/**
* Get nameSensitivity
* @return nameSensitivity
**/
@ApiModelProperty(required = true, value = "")
public ProgramNameSensitivity getNameSensitivity() {
return nameSensitivity;
}
public void setNameSensitivity(ProgramNameSensitivity nameSensitivity) {
this.nameSensitivity = nameSensitivity;
}
public EntityWatchlistProgram auditTrail(WatchlistScreeningAuditTrail auditTrail) {
this.auditTrail = auditTrail;
return this;
}
/**
* Get auditTrail
* @return auditTrail
**/
@ApiModelProperty(required = true, value = "")
public WatchlistScreeningAuditTrail getAuditTrail() {
return auditTrail;
}
public void setAuditTrail(WatchlistScreeningAuditTrail auditTrail) {
this.auditTrail = auditTrail;
}
public EntityWatchlistProgram isArchived(Boolean isArchived) {
this.isArchived = isArchived;
return this;
}
/**
* Archived programs are read-only and cannot screen new customers nor participate in ongoing monitoring.
* @return isArchived
**/
@ApiModelProperty(example = "false", required = true, value = "Archived programs are read-only and cannot screen new customers nor participate in ongoing monitoring.")
public Boolean getIsArchived() {
return isArchived;
}
public void setIsArchived(Boolean isArchived) {
this.isArchived = isArchived;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
EntityWatchlistProgram entityWatchlistProgram = (EntityWatchlistProgram) o;
return Objects.equals(this.id, entityWatchlistProgram.id) &&
Objects.equals(this.createdAt, entityWatchlistProgram.createdAt) &&
Objects.equals(this.isRescanningEnabled, entityWatchlistProgram.isRescanningEnabled) &&
Objects.equals(this.listsEnabled, entityWatchlistProgram.listsEnabled) &&
Objects.equals(this.name, entityWatchlistProgram.name) &&
Objects.equals(this.nameSensitivity, entityWatchlistProgram.nameSensitivity) &&
Objects.equals(this.auditTrail, entityWatchlistProgram.auditTrail) &&
Objects.equals(this.isArchived, entityWatchlistProgram.isArchived);
}
@Override
public int hashCode() {
return Objects.hash(id, createdAt, isRescanningEnabled, listsEnabled, name, nameSensitivity, auditTrail, isArchived);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class EntityWatchlistProgram {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" isRescanningEnabled: ").append(toIndentedString(isRescanningEnabled)).append("\n");
sb.append(" listsEnabled: ").append(toIndentedString(listsEnabled)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" nameSensitivity: ").append(toIndentedString(nameSensitivity)).append("\n");
sb.append(" auditTrail: ").append(toIndentedString(auditTrail)).append("\n");
sb.append(" isArchived: ").append(toIndentedString(isArchived)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/NetworkStatusGetResponse.java | src/main/java/com/plaid/client/model/NetworkStatusGetResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.NetworkStatusGetResponseLayer;
import com.plaid.client.model.NetworkStatusGetResponseNetworkStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* NetworkStatusGetResponse defines the response schema for `/network/status/get`
*/
@ApiModel(description = "NetworkStatusGetResponse defines the response schema for `/network/status/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class NetworkStatusGetResponse {
public static final String SERIALIZED_NAME_NETWORK_STATUS = "network_status";
@SerializedName(SERIALIZED_NAME_NETWORK_STATUS)
private NetworkStatusGetResponseNetworkStatus networkStatus;
public static final String SERIALIZED_NAME_LAYER = "layer";
@SerializedName(SERIALIZED_NAME_LAYER)
private NetworkStatusGetResponseLayer layer;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public NetworkStatusGetResponse networkStatus(NetworkStatusGetResponseNetworkStatus networkStatus) {
this.networkStatus = networkStatus;
return this;
}
/**
* Get networkStatus
* @return networkStatus
**/
@ApiModelProperty(required = true, value = "")
public NetworkStatusGetResponseNetworkStatus getNetworkStatus() {
return networkStatus;
}
public void setNetworkStatus(NetworkStatusGetResponseNetworkStatus networkStatus) {
this.networkStatus = networkStatus;
}
public NetworkStatusGetResponse layer(NetworkStatusGetResponseLayer layer) {
this.layer = layer;
return this;
}
/**
* Get layer
* @return layer
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public NetworkStatusGetResponseLayer getLayer() {
return layer;
}
public void setLayer(NetworkStatusGetResponseLayer layer) {
this.layer = layer;
}
public NetworkStatusGetResponse 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;
}
NetworkStatusGetResponse networkStatusGetResponse = (NetworkStatusGetResponse) o;
return Objects.equals(this.networkStatus, networkStatusGetResponse.networkStatus) &&
Objects.equals(this.layer, networkStatusGetResponse.layer) &&
Objects.equals(this.requestId, networkStatusGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(networkStatus, layer, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class NetworkStatusGetResponse {\n");
sb.append(" networkStatus: ").append(toIndentedString(networkStatus)).append("\n");
sb.append(" layer: ").append(toIndentedString(layer)).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/SandboxTransferTestClockAdvanceResponse.java | src/main/java/com/plaid/client/model/SandboxTransferTestClockAdvanceResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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/transfer/test_clock/advance`
*/
@ApiModel(description = "Defines the response schema for `/sandbox/transfer/test_clock/advance`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SandboxTransferTestClockAdvanceResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public SandboxTransferTestClockAdvanceResponse 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;
}
SandboxTransferTestClockAdvanceResponse sandboxTransferTestClockAdvanceResponse = (SandboxTransferTestClockAdvanceResponse) o;
return Objects.equals(this.requestId, sandboxTransferTestClockAdvanceResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SandboxTransferTestClockAdvanceResponse {\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/SandboxPaymentProfileResetLoginResponse.java | src/main/java/com/plaid/client/model/SandboxPaymentProfileResetLoginResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* SandboxPaymentProfileResetLoginResponse defines the response schema for `/sandbox/payment_profile/reset_login`
*/
@ApiModel(description = "SandboxPaymentProfileResetLoginResponse defines the response schema for `/sandbox/payment_profile/reset_login`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SandboxPaymentProfileResetLoginResponse {
public static final String SERIALIZED_NAME_RESET_LOGIN = "reset_login";
@SerializedName(SERIALIZED_NAME_RESET_LOGIN)
private Boolean resetLogin;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public SandboxPaymentProfileResetLoginResponse resetLogin(Boolean resetLogin) {
this.resetLogin = resetLogin;
return this;
}
/**
* `true` if the call succeeded
* @return resetLogin
**/
@ApiModelProperty(required = true, value = "`true` if the call succeeded")
public Boolean getResetLogin() {
return resetLogin;
}
public void setResetLogin(Boolean resetLogin) {
this.resetLogin = resetLogin;
}
public SandboxPaymentProfileResetLoginResponse 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;
}
SandboxPaymentProfileResetLoginResponse sandboxPaymentProfileResetLoginResponse = (SandboxPaymentProfileResetLoginResponse) o;
return Objects.equals(this.resetLogin, sandboxPaymentProfileResetLoginResponse.resetLogin) &&
Objects.equals(this.requestId, sandboxPaymentProfileResetLoginResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(resetLogin, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SandboxPaymentProfileResetLoginResponse {\n");
sb.append(" resetLogin: ").append(toIndentedString(resetLogin)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/Application.java | src/main/java/com/plaid/client/model/Application.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* Metadata about the application
*/
@ApiModel(description = "Metadata about the application")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class Application {
public static final String SERIALIZED_NAME_APPLICATION_ID = "application_id";
@SerializedName(SERIALIZED_NAME_APPLICATION_ID)
private String applicationId;
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public static final String SERIALIZED_NAME_DISPLAY_NAME = "display_name";
@SerializedName(SERIALIZED_NAME_DISPLAY_NAME)
private String displayName;
public static final String SERIALIZED_NAME_JOIN_DATE = "join_date";
@SerializedName(SERIALIZED_NAME_JOIN_DATE)
private LocalDate joinDate;
public static final String SERIALIZED_NAME_LOGO_URL = "logo_url";
@SerializedName(SERIALIZED_NAME_LOGO_URL)
private String logoUrl;
public static final String SERIALIZED_NAME_APPLICATION_URL = "application_url";
@SerializedName(SERIALIZED_NAME_APPLICATION_URL)
private String applicationUrl;
public static final String SERIALIZED_NAME_REASON_FOR_ACCESS = "reason_for_access";
@SerializedName(SERIALIZED_NAME_REASON_FOR_ACCESS)
private String reasonForAccess;
public static final String SERIALIZED_NAME_USE_CASE = "use_case";
@SerializedName(SERIALIZED_NAME_USE_CASE)
private String useCase;
public static final String SERIALIZED_NAME_COMPANY_LEGAL_NAME = "company_legal_name";
@SerializedName(SERIALIZED_NAME_COMPANY_LEGAL_NAME)
private String companyLegalName;
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_CODE = "country_code";
@SerializedName(SERIALIZED_NAME_COUNTRY_CODE)
private String countryCode;
public Application applicationId(String applicationId) {
this.applicationId = applicationId;
return this;
}
/**
* This field will map to the application ID that is returned from /item/application/list, or provided to the institution in an oauth redirect.
* @return applicationId
**/
@ApiModelProperty(required = true, value = "This field will map to the application ID that is returned from /item/application/list, or provided to the institution in an oauth redirect.")
public String getApplicationId() {
return applicationId;
}
public void setApplicationId(String applicationId) {
this.applicationId = applicationId;
}
public Application name(String name) {
this.name = name;
return this;
}
/**
* The name of the application
* @return name
**/
@ApiModelProperty(required = true, value = "The name of the application")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Application displayName(String displayName) {
this.displayName = displayName;
return this;
}
/**
* A human-readable name of the application for display purposes
* @return displayName
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "A human-readable name of the application for display purposes")
public String getDisplayName() {
return displayName;
}
public void setDisplayName(String displayName) {
this.displayName = displayName;
}
public Application joinDate(LocalDate joinDate) {
this.joinDate = joinDate;
return this;
}
/**
* The date this application was granted production access at Plaid in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) (YYYY-MM-DD) format in UTC.
* @return joinDate
**/
@ApiModelProperty(required = true, value = "The date this application was granted production access at Plaid in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) (YYYY-MM-DD) format in UTC.")
public LocalDate getJoinDate() {
return joinDate;
}
public void setJoinDate(LocalDate joinDate) {
this.joinDate = joinDate;
}
public Application logoUrl(String logoUrl) {
this.logoUrl = logoUrl;
return this;
}
/**
* A URL that links to the application logo image.
* @return logoUrl
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "A URL that links to the application logo image.")
public String getLogoUrl() {
return logoUrl;
}
public void setLogoUrl(String logoUrl) {
this.logoUrl = logoUrl;
}
public Application applicationUrl(String applicationUrl) {
this.applicationUrl = applicationUrl;
return this;
}
/**
* The URL for the application's website
* @return applicationUrl
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The URL for the application's website")
public String getApplicationUrl() {
return applicationUrl;
}
public void setApplicationUrl(String applicationUrl) {
this.applicationUrl = applicationUrl;
}
public Application reasonForAccess(String reasonForAccess) {
this.reasonForAccess = reasonForAccess;
return this;
}
/**
* A string provided by the connected app stating why they use their respective enabled products.
* @return reasonForAccess
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "A string provided by the connected app stating why they use their respective enabled products.")
public String getReasonForAccess() {
return reasonForAccess;
}
public void setReasonForAccess(String reasonForAccess) {
this.reasonForAccess = reasonForAccess;
}
public Application useCase(String useCase) {
this.useCase = useCase;
return this;
}
/**
* A string representing client’s broad use case as assessed by Plaid.
* @return useCase
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "A string representing client’s broad use case as assessed by Plaid.")
public String getUseCase() {
return useCase;
}
public void setUseCase(String useCase) {
this.useCase = useCase;
}
public Application companyLegalName(String companyLegalName) {
this.companyLegalName = companyLegalName;
return this;
}
/**
* A string representing the name of client’s legal entity.
* @return companyLegalName
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "A string representing the name of client’s legal entity.")
public String getCompanyLegalName() {
return companyLegalName;
}
public void setCompanyLegalName(String companyLegalName) {
this.companyLegalName = companyLegalName;
}
public Application city(String city) {
this.city = city;
return this;
}
/**
* A string representing the city of the client’s headquarters.
* @return city
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "A string representing the city of the client’s headquarters.")
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public Application region(String region) {
this.region = region;
return this;
}
/**
* A string representing the region of the client’s headquarters.
* @return region
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "A string representing the region of the client’s headquarters.")
public String getRegion() {
return region;
}
public void setRegion(String region) {
this.region = region;
}
public Application postalCode(String postalCode) {
this.postalCode = postalCode;
return this;
}
/**
* A string representing the postal code of the client’s headquarters.
* @return postalCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "A string representing the postal code of the client’s headquarters.")
public String getPostalCode() {
return postalCode;
}
public void setPostalCode(String postalCode) {
this.postalCode = postalCode;
}
public Application countryCode(String countryCode) {
this.countryCode = countryCode;
return this;
}
/**
* A string representing the country code of the client’s headquarters.
* @return countryCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "A string representing the country code of the client’s headquarters.")
public String getCountryCode() {
return countryCode;
}
public void setCountryCode(String countryCode) {
this.countryCode = countryCode;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Application application = (Application) o;
return Objects.equals(this.applicationId, application.applicationId) &&
Objects.equals(this.name, application.name) &&
Objects.equals(this.displayName, application.displayName) &&
Objects.equals(this.joinDate, application.joinDate) &&
Objects.equals(this.logoUrl, application.logoUrl) &&
Objects.equals(this.applicationUrl, application.applicationUrl) &&
Objects.equals(this.reasonForAccess, application.reasonForAccess) &&
Objects.equals(this.useCase, application.useCase) &&
Objects.equals(this.companyLegalName, application.companyLegalName) &&
Objects.equals(this.city, application.city) &&
Objects.equals(this.region, application.region) &&
Objects.equals(this.postalCode, application.postalCode) &&
Objects.equals(this.countryCode, application.countryCode);
}
@Override
public int hashCode() {
return Objects.hash(applicationId, name, displayName, joinDate, logoUrl, applicationUrl, reasonForAccess, useCase, companyLegalName, city, region, postalCode, countryCode);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Application {\n");
sb.append(" applicationId: ").append(toIndentedString(applicationId)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n");
sb.append(" joinDate: ").append(toIndentedString(joinDate)).append("\n");
sb.append(" logoUrl: ").append(toIndentedString(logoUrl)).append("\n");
sb.append(" applicationUrl: ").append(toIndentedString(applicationUrl)).append("\n");
sb.append(" reasonForAccess: ").append(toIndentedString(reasonForAccess)).append("\n");
sb.append(" useCase: ").append(toIndentedString(useCase)).append("\n");
sb.append(" companyLegalName: ").append(toIndentedString(companyLegalName)).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(" countryCode: ").append(toIndentedString(countryCode)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/Source.java | src/main/java/com/plaid/client/model/Source.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 type indicating whether a dashboard user, an API-based user, or Plaid last touched this object.
*/
@JsonAdapter(Source.Adapter.class)
public enum Source {
DASHBOARD("dashboard"),
LINK("link"),
API("api"),
SYSTEM("system"),
// 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;
Source(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static Source fromValue(String value) {
for (Source b : Source.values()) {
if (b.value.equals(value)) {
return b;
}
}
return Source.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<Source> {
@Override
public void write(final JsonWriter jsonWriter, final Source enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public Source read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return Source.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/PaymentScheduleInterval.java | src/main/java/com/plaid/client/model/PaymentScheduleInterval.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 frequency interval of the payment.
*/
@JsonAdapter(PaymentScheduleInterval.Adapter.class)
public enum PaymentScheduleInterval {
WEEKLY("WEEKLY"),
MONTHLY("MONTHLY"),
// 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;
PaymentScheduleInterval(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static PaymentScheduleInterval fromValue(String value) {
for (PaymentScheduleInterval b : PaymentScheduleInterval.values()) {
if (b.value.equals(value)) {
return b;
}
}
return PaymentScheduleInterval.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<PaymentScheduleInterval> {
@Override
public void write(final JsonWriter jsonWriter, final PaymentScheduleInterval enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public PaymentScheduleInterval read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return PaymentScheduleInterval.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/LinkUserDeliveryStatusWebhook.java | src/main/java/com/plaid/client/model/LinkUserDeliveryStatusWebhook.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.LinkDeliveryMetadata;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Webhook indicating that the status of the delivery of the Hosted Link session to a user
*/
@ApiModel(description = "Webhook indicating that the status of the delivery of the Hosted Link session to a user")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkUserDeliveryStatusWebhook {
public static final String SERIALIZED_NAME_WEBHOOK_TYPE = "webhook_type";
@SerializedName(SERIALIZED_NAME_WEBHOOK_TYPE)
private String webhookType;
public static final String SERIALIZED_NAME_WEBHOOK_CODE = "webhook_code";
@SerializedName(SERIALIZED_NAME_WEBHOOK_CODE)
private String webhookCode;
public static final String SERIALIZED_NAME_LINK_DELIVERY_SESSION_ID = "link_delivery_session_id";
@SerializedName(SERIALIZED_NAME_LINK_DELIVERY_SESSION_ID)
private String linkDeliverySessionId;
public static final String SERIALIZED_NAME_TIMESTAMP = "timestamp";
@SerializedName(SERIALIZED_NAME_TIMESTAMP)
private String timestamp;
public static final String SERIALIZED_NAME_LINK_DELIVERY_METADATA = "link_delivery_metadata";
@SerializedName(SERIALIZED_NAME_LINK_DELIVERY_METADATA)
private LinkDeliveryMetadata linkDeliveryMetadata;
public LinkUserDeliveryStatusWebhook webhookType(String webhookType) {
this.webhookType = webhookType;
return this;
}
/**
* `LINK_DELIVERY`
* @return webhookType
**/
@ApiModelProperty(required = true, value = "`LINK_DELIVERY`")
public String getWebhookType() {
return webhookType;
}
public void setWebhookType(String webhookType) {
this.webhookType = webhookType;
}
public LinkUserDeliveryStatusWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `DELIVERY_STATUS`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`DELIVERY_STATUS`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public LinkUserDeliveryStatusWebhook linkDeliverySessionId(String linkDeliverySessionId) {
this.linkDeliverySessionId = linkDeliverySessionId;
return this;
}
/**
* The ID of the Hosted Link session.
* @return linkDeliverySessionId
**/
@ApiModelProperty(required = true, value = "The ID of the Hosted Link session.")
public String getLinkDeliverySessionId() {
return linkDeliverySessionId;
}
public void setLinkDeliverySessionId(String linkDeliverySessionId) {
this.linkDeliverySessionId = linkDeliverySessionId;
}
public LinkUserDeliveryStatusWebhook timestamp(String timestamp) {
this.timestamp = timestamp;
return this;
}
/**
* Timestamp in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
* @return timestamp
**/
@ApiModelProperty(required = true, value = "Timestamp in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.")
public String getTimestamp() {
return timestamp;
}
public void setTimestamp(String timestamp) {
this.timestamp = timestamp;
}
public LinkUserDeliveryStatusWebhook linkDeliveryMetadata(LinkDeliveryMetadata linkDeliveryMetadata) {
this.linkDeliveryMetadata = linkDeliveryMetadata;
return this;
}
/**
* Get linkDeliveryMetadata
* @return linkDeliveryMetadata
**/
@ApiModelProperty(required = true, value = "")
public LinkDeliveryMetadata getLinkDeliveryMetadata() {
return linkDeliveryMetadata;
}
public void setLinkDeliveryMetadata(LinkDeliveryMetadata linkDeliveryMetadata) {
this.linkDeliveryMetadata = linkDeliveryMetadata;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkUserDeliveryStatusWebhook linkUserDeliveryStatusWebhook = (LinkUserDeliveryStatusWebhook) o;
return Objects.equals(this.webhookType, linkUserDeliveryStatusWebhook.webhookType) &&
Objects.equals(this.webhookCode, linkUserDeliveryStatusWebhook.webhookCode) &&
Objects.equals(this.linkDeliverySessionId, linkUserDeliveryStatusWebhook.linkDeliverySessionId) &&
Objects.equals(this.timestamp, linkUserDeliveryStatusWebhook.timestamp) &&
Objects.equals(this.linkDeliveryMetadata, linkUserDeliveryStatusWebhook.linkDeliveryMetadata);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, linkDeliverySessionId, timestamp, linkDeliveryMetadata);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkUserDeliveryStatusWebhook {\n");
sb.append(" webhookType: ").append(toIndentedString(webhookType)).append("\n");
sb.append(" webhookCode: ").append(toIndentedString(webhookCode)).append("\n");
sb.append(" linkDeliverySessionId: ").append(toIndentedString(linkDeliverySessionId)).append("\n");
sb.append(" timestamp: ").append(toIndentedString(timestamp)).append("\n");
sb.append(" linkDeliveryMetadata: ").append(toIndentedString(linkDeliveryMetadata)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CashflowReportMonthlySummaryAverageDailyNetCashflowAmount.java | src/main/java/com/plaid/client/model/CashflowReportMonthlySummaryAverageDailyNetCashflowAmount.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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 net cash flow amount, calculated as total daily inflows less total daily outflows.
*/
@ApiModel(description = "The average daily net cash flow amount, calculated as total daily inflows less total daily outflows.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CashflowReportMonthlySummaryAverageDailyNetCashflowAmount {
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 CashflowReportMonthlySummaryAverageDailyNetCashflowAmount 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 CashflowReportMonthlySummaryAverageDailyNetCashflowAmount 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 CashflowReportMonthlySummaryAverageDailyNetCashflowAmount 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;
}
CashflowReportMonthlySummaryAverageDailyNetCashflowAmount cashflowReportMonthlySummaryAverageDailyNetCashflowAmount = (CashflowReportMonthlySummaryAverageDailyNetCashflowAmount) o;
return Objects.equals(this.amount, cashflowReportMonthlySummaryAverageDailyNetCashflowAmount.amount) &&
Objects.equals(this.isoCurrencyCode, cashflowReportMonthlySummaryAverageDailyNetCashflowAmount.isoCurrencyCode) &&
Objects.equals(this.unofficialCurrencyCode, cashflowReportMonthlySummaryAverageDailyNetCashflowAmount.unofficialCurrencyCode);
}
@Override
public int hashCode() {
return Objects.hash(amount, isoCurrencyCode, unofficialCurrencyCode);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CashflowReportMonthlySummaryAverageDailyNetCashflowAmount {\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/SandboxTransferLedgerDepositSimulateResponse.java | src/main/java/com/plaid/client/model/SandboxTransferLedgerDepositSimulateResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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/transfer/ledger/deposit/simulate`
*/
@ApiModel(description = "Defines the response schema for `/sandbox/transfer/ledger/deposit/simulate`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SandboxTransferLedgerDepositSimulateResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public SandboxTransferLedgerDepositSimulateResponse 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;
}
SandboxTransferLedgerDepositSimulateResponse sandboxTransferLedgerDepositSimulateResponse = (SandboxTransferLedgerDepositSimulateResponse) o;
return Objects.equals(this.requestId, sandboxTransferLedgerDepositSimulateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SandboxTransferLedgerDepositSimulateResponse {\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/PaystubOverrideEmployer.java | src/main/java/com/plaid/client/model/PaystubOverrideEmployer.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.PaystubOverrideEmployerAddress;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The employer on the paystub.
*/
@ApiModel(description = "The employer on the paystub.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PaystubOverrideEmployer {
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public static final String SERIALIZED_NAME_ADDRESS = "address";
@SerializedName(SERIALIZED_NAME_ADDRESS)
private PaystubOverrideEmployerAddress address;
public PaystubOverrideEmployer name(String name) {
this.name = name;
return this;
}
/**
* The name of the employer.
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The name of the employer.")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public PaystubOverrideEmployer address(PaystubOverrideEmployerAddress address) {
this.address = address;
return this;
}
/**
* Get address
* @return address
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PaystubOverrideEmployerAddress getAddress() {
return address;
}
public void setAddress(PaystubOverrideEmployerAddress address) {
this.address = address;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PaystubOverrideEmployer paystubOverrideEmployer = (PaystubOverrideEmployer) o;
return Objects.equals(this.name, paystubOverrideEmployer.name) &&
Objects.equals(this.address, paystubOverrideEmployer.address);
}
@Override
public int hashCode() {
return Objects.hash(name, address);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaystubOverrideEmployer {\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" address: ").append(toIndentedString(address)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BankTransferEvent.java | src/main/java/com/plaid/client/model/BankTransferEvent.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.BankTransferDirection;
import com.plaid.client.model.BankTransferEventType;
import com.plaid.client.model.BankTransferFailure;
import com.plaid.client.model.BankTransferType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
/**
* Represents an event in the Bank Transfers API.
*/
@ApiModel(description = "Represents an event in the Bank Transfers API.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BankTransferEvent {
public static final String SERIALIZED_NAME_EVENT_ID = "event_id";
@SerializedName(SERIALIZED_NAME_EVENT_ID)
private Integer eventId;
public static final String SERIALIZED_NAME_TIMESTAMP = "timestamp";
@SerializedName(SERIALIZED_NAME_TIMESTAMP)
private OffsetDateTime timestamp;
public static final String SERIALIZED_NAME_EVENT_TYPE = "event_type";
@SerializedName(SERIALIZED_NAME_EVENT_TYPE)
private BankTransferEventType eventType;
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
private String accountId;
public static final String SERIALIZED_NAME_BANK_TRANSFER_ID = "bank_transfer_id";
@SerializedName(SERIALIZED_NAME_BANK_TRANSFER_ID)
private String bankTransferId;
public static final String SERIALIZED_NAME_ORIGINATION_ACCOUNT_ID = "origination_account_id";
@SerializedName(SERIALIZED_NAME_ORIGINATION_ACCOUNT_ID)
private String originationAccountId;
public static final String SERIALIZED_NAME_BANK_TRANSFER_TYPE = "bank_transfer_type";
@SerializedName(SERIALIZED_NAME_BANK_TRANSFER_TYPE)
private BankTransferType bankTransferType;
public static final String SERIALIZED_NAME_BANK_TRANSFER_AMOUNT = "bank_transfer_amount";
@SerializedName(SERIALIZED_NAME_BANK_TRANSFER_AMOUNT)
private String bankTransferAmount;
public static final String SERIALIZED_NAME_BANK_TRANSFER_ISO_CURRENCY_CODE = "bank_transfer_iso_currency_code";
@SerializedName(SERIALIZED_NAME_BANK_TRANSFER_ISO_CURRENCY_CODE)
private String bankTransferIsoCurrencyCode;
public static final String SERIALIZED_NAME_FAILURE_REASON = "failure_reason";
@SerializedName(SERIALIZED_NAME_FAILURE_REASON)
private BankTransferFailure failureReason;
public static final String SERIALIZED_NAME_DIRECTION = "direction";
@SerializedName(SERIALIZED_NAME_DIRECTION)
private BankTransferDirection direction;
public BankTransferEvent eventId(Integer eventId) {
this.eventId = eventId;
return this;
}
/**
* Plaid’s unique identifier for this event. IDs are sequential unsigned 64-bit integers.
* minimum: 0
* @return eventId
**/
@ApiModelProperty(required = true, value = "Plaid’s unique identifier for this event. IDs are sequential unsigned 64-bit integers.")
public Integer getEventId() {
return eventId;
}
public void setEventId(Integer eventId) {
this.eventId = eventId;
}
public BankTransferEvent timestamp(OffsetDateTime timestamp) {
this.timestamp = timestamp;
return this;
}
/**
* The datetime when this event occurred. This will be of the form `2006-01-02T15:04:05Z`.
* @return timestamp
**/
@ApiModelProperty(required = true, value = "The datetime when this event occurred. This will be of the form `2006-01-02T15:04:05Z`.")
public OffsetDateTime getTimestamp() {
return timestamp;
}
public void setTimestamp(OffsetDateTime timestamp) {
this.timestamp = timestamp;
}
public BankTransferEvent eventType(BankTransferEventType eventType) {
this.eventType = eventType;
return this;
}
/**
* Get eventType
* @return eventType
**/
@ApiModelProperty(required = true, value = "")
public BankTransferEventType getEventType() {
return eventType;
}
public void setEventType(BankTransferEventType eventType) {
this.eventType = eventType;
}
public BankTransferEvent accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* The account ID associated with the bank transfer.
* @return accountId
**/
@ApiModelProperty(required = true, value = "The account ID associated with the bank transfer.")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public BankTransferEvent bankTransferId(String bankTransferId) {
this.bankTransferId = bankTransferId;
return this;
}
/**
* Plaid’s unique identifier for a bank transfer.
* @return bankTransferId
**/
@ApiModelProperty(required = true, value = "Plaid’s unique identifier for a bank transfer.")
public String getBankTransferId() {
return bankTransferId;
}
public void setBankTransferId(String bankTransferId) {
this.bankTransferId = bankTransferId;
}
public BankTransferEvent originationAccountId(String originationAccountId) {
this.originationAccountId = originationAccountId;
return this;
}
/**
* The ID of the origination account that this balance belongs to.
* @return originationAccountId
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The ID of the origination account that this balance belongs to.")
public String getOriginationAccountId() {
return originationAccountId;
}
public void setOriginationAccountId(String originationAccountId) {
this.originationAccountId = originationAccountId;
}
public BankTransferEvent bankTransferType(BankTransferType bankTransferType) {
this.bankTransferType = bankTransferType;
return this;
}
/**
* Get bankTransferType
* @return bankTransferType
**/
@ApiModelProperty(required = true, value = "")
public BankTransferType getBankTransferType() {
return bankTransferType;
}
public void setBankTransferType(BankTransferType bankTransferType) {
this.bankTransferType = bankTransferType;
}
public BankTransferEvent bankTransferAmount(String bankTransferAmount) {
this.bankTransferAmount = bankTransferAmount;
return this;
}
/**
* The bank transfer amount.
* @return bankTransferAmount
**/
@ApiModelProperty(required = true, value = "The bank transfer amount.")
public String getBankTransferAmount() {
return bankTransferAmount;
}
public void setBankTransferAmount(String bankTransferAmount) {
this.bankTransferAmount = bankTransferAmount;
}
public BankTransferEvent bankTransferIsoCurrencyCode(String bankTransferIsoCurrencyCode) {
this.bankTransferIsoCurrencyCode = bankTransferIsoCurrencyCode;
return this;
}
/**
* The currency of the bank transfer amount.
* @return bankTransferIsoCurrencyCode
**/
@ApiModelProperty(required = true, value = "The currency of the bank transfer amount.")
public String getBankTransferIsoCurrencyCode() {
return bankTransferIsoCurrencyCode;
}
public void setBankTransferIsoCurrencyCode(String bankTransferIsoCurrencyCode) {
this.bankTransferIsoCurrencyCode = bankTransferIsoCurrencyCode;
}
public BankTransferEvent failureReason(BankTransferFailure failureReason) {
this.failureReason = failureReason;
return this;
}
/**
* Get failureReason
* @return failureReason
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public BankTransferFailure getFailureReason() {
return failureReason;
}
public void setFailureReason(BankTransferFailure failureReason) {
this.failureReason = failureReason;
}
public BankTransferEvent direction(BankTransferDirection direction) {
this.direction = direction;
return this;
}
/**
* Get direction
* @return direction
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public BankTransferDirection getDirection() {
return direction;
}
public void setDirection(BankTransferDirection direction) {
this.direction = direction;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BankTransferEvent bankTransferEvent = (BankTransferEvent) o;
return Objects.equals(this.eventId, bankTransferEvent.eventId) &&
Objects.equals(this.timestamp, bankTransferEvent.timestamp) &&
Objects.equals(this.eventType, bankTransferEvent.eventType) &&
Objects.equals(this.accountId, bankTransferEvent.accountId) &&
Objects.equals(this.bankTransferId, bankTransferEvent.bankTransferId) &&
Objects.equals(this.originationAccountId, bankTransferEvent.originationAccountId) &&
Objects.equals(this.bankTransferType, bankTransferEvent.bankTransferType) &&
Objects.equals(this.bankTransferAmount, bankTransferEvent.bankTransferAmount) &&
Objects.equals(this.bankTransferIsoCurrencyCode, bankTransferEvent.bankTransferIsoCurrencyCode) &&
Objects.equals(this.failureReason, bankTransferEvent.failureReason) &&
Objects.equals(this.direction, bankTransferEvent.direction);
}
@Override
public int hashCode() {
return Objects.hash(eventId, timestamp, eventType, accountId, bankTransferId, originationAccountId, bankTransferType, bankTransferAmount, bankTransferIsoCurrencyCode, failureReason, direction);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BankTransferEvent {\n");
sb.append(" eventId: ").append(toIndentedString(eventId)).append("\n");
sb.append(" timestamp: ").append(toIndentedString(timestamp)).append("\n");
sb.append(" eventType: ").append(toIndentedString(eventType)).append("\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" bankTransferId: ").append(toIndentedString(bankTransferId)).append("\n");
sb.append(" originationAccountId: ").append(toIndentedString(originationAccountId)).append("\n");
sb.append(" bankTransferType: ").append(toIndentedString(bankTransferType)).append("\n");
sb.append(" bankTransferAmount: ").append(toIndentedString(bankTransferAmount)).append("\n");
sb.append(" bankTransferIsoCurrencyCode: ").append(toIndentedString(bankTransferIsoCurrencyCode)).append("\n");
sb.append(" failureReason: ").append(toIndentedString(failureReason)).append("\n");
sb.append(" direction: ").append(toIndentedString(direction)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/OwnerOverride.java | src/main/java/com/plaid/client/model/OwnerOverride.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.Address;
import com.plaid.client.model.Email;
import com.plaid.client.model.PhoneNumber;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Data about the owner or owners of an account. Any fields not specified will be filled in with default Sandbox information.
*/
@ApiModel(description = "Data about the owner or owners of an account. Any fields not specified will be filled in with default Sandbox information.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class OwnerOverride {
public static final String SERIALIZED_NAME_NAMES = "names";
@SerializedName(SERIALIZED_NAME_NAMES)
private List<String> names = new ArrayList<>();
public static final String SERIALIZED_NAME_PHONE_NUMBERS = "phone_numbers";
@SerializedName(SERIALIZED_NAME_PHONE_NUMBERS)
private List<PhoneNumber> phoneNumbers = new ArrayList<>();
public static final String SERIALIZED_NAME_EMAILS = "emails";
@SerializedName(SERIALIZED_NAME_EMAILS)
private List<Email> emails = new ArrayList<>();
public static final String SERIALIZED_NAME_ADDRESSES = "addresses";
@SerializedName(SERIALIZED_NAME_ADDRESSES)
private List<Address> addresses = new ArrayList<>();
public OwnerOverride names(List<String> names) {
this.names = names;
return this;
}
public OwnerOverride addNamesItem(String namesItem) {
this.names.add(namesItem);
return this;
}
/**
* A list of names associated with the account by the financial institution. These should always be the names of individuals, even for business accounts. Note that the same name data will be used for all accounts associated with an Item.
* @return names
**/
@ApiModelProperty(required = true, value = "A list of names associated with the account by the financial institution. These should always be the names of individuals, even for business accounts. Note that the same name data will be used for all accounts associated with an Item.")
public List<String> getNames() {
return names;
}
public void setNames(List<String> names) {
this.names = names;
}
public OwnerOverride phoneNumbers(List<PhoneNumber> phoneNumbers) {
this.phoneNumbers = phoneNumbers;
return this;
}
public OwnerOverride addPhoneNumbersItem(PhoneNumber phoneNumbersItem) {
this.phoneNumbers.add(phoneNumbersItem);
return this;
}
/**
* A list of phone numbers associated with the account.
* @return phoneNumbers
**/
@ApiModelProperty(required = true, value = "A list of phone numbers associated with the account.")
public List<PhoneNumber> getPhoneNumbers() {
return phoneNumbers;
}
public void setPhoneNumbers(List<PhoneNumber> phoneNumbers) {
this.phoneNumbers = phoneNumbers;
}
public OwnerOverride emails(List<Email> emails) {
this.emails = emails;
return this;
}
public OwnerOverride addEmailsItem(Email emailsItem) {
this.emails.add(emailsItem);
return this;
}
/**
* A list of email addresses associated with the account.
* @return emails
**/
@ApiModelProperty(required = true, value = "A list of email addresses associated with the account.")
public List<Email> getEmails() {
return emails;
}
public void setEmails(List<Email> emails) {
this.emails = emails;
}
public OwnerOverride addresses(List<Address> addresses) {
this.addresses = addresses;
return this;
}
public OwnerOverride addAddressesItem(Address addressesItem) {
this.addresses.add(addressesItem);
return this;
}
/**
* Data about the various addresses associated with the account.
* @return addresses
**/
@ApiModelProperty(required = true, value = "Data about the various addresses associated with the account.")
public List<Address> getAddresses() {
return addresses;
}
public void setAddresses(List<Address> addresses) {
this.addresses = addresses;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
OwnerOverride ownerOverride = (OwnerOverride) o;
return Objects.equals(this.names, ownerOverride.names) &&
Objects.equals(this.phoneNumbers, ownerOverride.phoneNumbers) &&
Objects.equals(this.emails, ownerOverride.emails) &&
Objects.equals(this.addresses, ownerOverride.addresses);
}
@Override
public int hashCode() {
return Objects.hash(names, phoneNumbers, emails, addresses);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class OwnerOverride {\n");
sb.append(" names: ").append(toIndentedString(names)).append("\n");
sb.append(" phoneNumbers: ").append(toIndentedString(phoneNumbers)).append("\n");
sb.append(" emails: ").append(toIndentedString(emails)).append("\n");
sb.append(" addresses: ").append(toIndentedString(addresses)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/NetPay.java | src/main/java/com/plaid/client/model/NetPay.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.Total;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* An object representing information about the net pay amount on the paystub.
*/
@ApiModel(description = "An object representing information about the net pay amount on the paystub.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class NetPay {
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_ISO_CURRENCY_CODE = "iso_currency_code";
@SerializedName(SERIALIZED_NAME_ISO_CURRENCY_CODE)
private String isoCurrencyCode;
public static final String SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE = "unofficial_currency_code";
@SerializedName(SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE)
private String unofficialCurrencyCode;
public static final String SERIALIZED_NAME_YTD_AMOUNT = "ytd_amount";
@SerializedName(SERIALIZED_NAME_YTD_AMOUNT)
private Double ytdAmount;
public static final String SERIALIZED_NAME_TOTAL = "total";
@SerializedName(SERIALIZED_NAME_TOTAL)
private Total total;
public NetPay currentAmount(Double currentAmount) {
this.currentAmount = currentAmount;
return this;
}
/**
* Raw amount of the net pay for the pay period
* @return currentAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Raw amount of the net pay for the pay period")
public Double getCurrentAmount() {
return currentAmount;
}
public void setCurrentAmount(Double currentAmount) {
this.currentAmount = currentAmount;
}
public NetPay description(String description) {
this.description = description;
return this;
}
/**
* Description of the net pay
* @return description
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Description of the net pay")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public NetPay isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The ISO-4217 currency code of the net pay. Always `null` if `unofficial_currency_code` is non-null.
* @return isoCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The ISO-4217 currency code of the net pay. Always `null` if `unofficial_currency_code` is non-null.")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public NetPay unofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
return this;
}
/**
* The unofficial currency code associated with the net pay. Always `null` if `iso_currency_code` is non-`null`. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `iso_currency_code`s.
* @return unofficialCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The unofficial currency code associated with the net pay. Always `null` if `iso_currency_code` is non-`null`. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `iso_currency_code`s.")
public String getUnofficialCurrencyCode() {
return unofficialCurrencyCode;
}
public void setUnofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
}
public NetPay ytdAmount(Double ytdAmount) {
this.ytdAmount = ytdAmount;
return this;
}
/**
* The year-to-date amount of the net pay
* @return ytdAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The year-to-date amount of the net pay")
public Double getYtdAmount() {
return ytdAmount;
}
public void setYtdAmount(Double ytdAmount) {
this.ytdAmount = ytdAmount;
}
public NetPay total(Total total) {
this.total = total;
return this;
}
/**
* Get total
* @return total
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Total getTotal() {
return total;
}
public void setTotal(Total total) {
this.total = total;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
NetPay netPay = (NetPay) o;
return Objects.equals(this.currentAmount, netPay.currentAmount) &&
Objects.equals(this.description, netPay.description) &&
Objects.equals(this.isoCurrencyCode, netPay.isoCurrencyCode) &&
Objects.equals(this.unofficialCurrencyCode, netPay.unofficialCurrencyCode) &&
Objects.equals(this.ytdAmount, netPay.ytdAmount) &&
Objects.equals(this.total, netPay.total);
}
@Override
public int hashCode() {
return Objects.hash(currentAmount, description, isoCurrencyCode, unofficialCurrencyCode, ytdAmount, total);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class NetPay {\n");
sb.append(" currentAmount: ").append(toIndentedString(currentAmount)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" unofficialCurrencyCode: ").append(toIndentedString(unofficialCurrencyCode)).append("\n");
sb.append(" ytdAmount: ").append(toIndentedString(ytdAmount)).append("\n");
sb.append(" total: ").append(toIndentedString(total)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BankTransferListRequest.java | src/main/java/com/plaid/client/model/BankTransferListRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.BankTransferDirection;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
/**
* Defines the request schema for `/bank_transfer/list`
*/
@ApiModel(description = "Defines the request schema for `/bank_transfer/list`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BankTransferListRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_START_DATE = "start_date";
@SerializedName(SERIALIZED_NAME_START_DATE)
private OffsetDateTime startDate;
public static final String SERIALIZED_NAME_END_DATE = "end_date";
@SerializedName(SERIALIZED_NAME_END_DATE)
private OffsetDateTime endDate;
public static final String SERIALIZED_NAME_COUNT = "count";
@SerializedName(SERIALIZED_NAME_COUNT)
private Integer count = 25;
public static final String SERIALIZED_NAME_OFFSET = "offset";
@SerializedName(SERIALIZED_NAME_OFFSET)
private Integer offset = 0;
public static final String SERIALIZED_NAME_ORIGINATION_ACCOUNT_ID = "origination_account_id";
@SerializedName(SERIALIZED_NAME_ORIGINATION_ACCOUNT_ID)
private String originationAccountId;
public static final String SERIALIZED_NAME_DIRECTION = "direction";
@SerializedName(SERIALIZED_NAME_DIRECTION)
private BankTransferDirection direction;
public BankTransferListRequest 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 BankTransferListRequest 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 BankTransferListRequest startDate(OffsetDateTime startDate) {
this.startDate = startDate;
return this;
}
/**
* The start datetime of bank transfers to list. This should be in RFC 3339 format (i.e. `2019-12-06T22:35:49Z`)
* @return startDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The start datetime of bank transfers to list. This should be in RFC 3339 format (i.e. `2019-12-06T22:35:49Z`)")
public OffsetDateTime getStartDate() {
return startDate;
}
public void setStartDate(OffsetDateTime startDate) {
this.startDate = startDate;
}
public BankTransferListRequest endDate(OffsetDateTime endDate) {
this.endDate = endDate;
return this;
}
/**
* The end datetime of bank transfers to list. This should be in RFC 3339 format (i.e. `2019-12-06T22:35:49Z`)
* @return endDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The end datetime of bank transfers to list. This should be in RFC 3339 format (i.e. `2019-12-06T22:35:49Z`)")
public OffsetDateTime getEndDate() {
return endDate;
}
public void setEndDate(OffsetDateTime endDate) {
this.endDate = endDate;
}
public BankTransferListRequest count(Integer count) {
this.count = count;
return this;
}
/**
* The maximum number of bank transfers to return.
* minimum: 1
* maximum: 25
* @return count
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The maximum number of bank transfers to return.")
public Integer getCount() {
return count;
}
public void setCount(Integer count) {
this.count = count;
}
public BankTransferListRequest offset(Integer offset) {
this.offset = offset;
return this;
}
/**
* The number of bank transfers to skip before returning results.
* minimum: 0
* @return offset
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of bank transfers to skip before returning results.")
public Integer getOffset() {
return offset;
}
public void setOffset(Integer offset) {
this.offset = offset;
}
public BankTransferListRequest originationAccountId(String originationAccountId) {
this.originationAccountId = originationAccountId;
return this;
}
/**
* Filter bank transfers to only those originated through the specified origination account.
* @return originationAccountId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Filter bank transfers to only those originated through the specified origination account.")
public String getOriginationAccountId() {
return originationAccountId;
}
public void setOriginationAccountId(String originationAccountId) {
this.originationAccountId = originationAccountId;
}
public BankTransferListRequest direction(BankTransferDirection direction) {
this.direction = direction;
return this;
}
/**
* Get direction
* @return direction
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public BankTransferDirection getDirection() {
return direction;
}
public void setDirection(BankTransferDirection direction) {
this.direction = direction;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BankTransferListRequest bankTransferListRequest = (BankTransferListRequest) o;
return Objects.equals(this.clientId, bankTransferListRequest.clientId) &&
Objects.equals(this.secret, bankTransferListRequest.secret) &&
Objects.equals(this.startDate, bankTransferListRequest.startDate) &&
Objects.equals(this.endDate, bankTransferListRequest.endDate) &&
Objects.equals(this.count, bankTransferListRequest.count) &&
Objects.equals(this.offset, bankTransferListRequest.offset) &&
Objects.equals(this.originationAccountId, bankTransferListRequest.originationAccountId) &&
Objects.equals(this.direction, bankTransferListRequest.direction);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, startDate, endDate, count, offset, originationAccountId, direction);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BankTransferListRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n");
sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n");
sb.append(" count: ").append(toIndentedString(count)).append("\n");
sb.append(" offset: ").append(toIndentedString(offset)).append("\n");
sb.append(" originationAccountId: ").append(toIndentedString(originationAccountId)).append("\n");
sb.append(" direction: ").append(toIndentedString(direction)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CraMonitoringInsightsUnsubscribeRequest.java | src/main/java/com/plaid/client/model/CraMonitoringInsightsUnsubscribeRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* CraMonitoringInsightsUnsubscribeRequest defines the request schema for `/cra/monitoring_insights/unsubscribe`
*/
@ApiModel(description = "CraMonitoringInsightsUnsubscribeRequest defines the request schema for `/cra/monitoring_insights/unsubscribe`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraMonitoringInsightsUnsubscribeRequest {
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_SUBSCRIPTION_ID = "subscription_id";
@SerializedName(SERIALIZED_NAME_SUBSCRIPTION_ID)
private String subscriptionId;
public CraMonitoringInsightsUnsubscribeRequest 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 CraMonitoringInsightsUnsubscribeRequest 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 CraMonitoringInsightsUnsubscribeRequest subscriptionId(String subscriptionId) {
this.subscriptionId = subscriptionId;
return this;
}
/**
* A unique identifier for the subscription.
* @return subscriptionId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the subscription.")
public String getSubscriptionId() {
return subscriptionId;
}
public void setSubscriptionId(String subscriptionId) {
this.subscriptionId = subscriptionId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CraMonitoringInsightsUnsubscribeRequest craMonitoringInsightsUnsubscribeRequest = (CraMonitoringInsightsUnsubscribeRequest) o;
return Objects.equals(this.clientId, craMonitoringInsightsUnsubscribeRequest.clientId) &&
Objects.equals(this.secret, craMonitoringInsightsUnsubscribeRequest.secret) &&
Objects.equals(this.subscriptionId, craMonitoringInsightsUnsubscribeRequest.subscriptionId);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, subscriptionId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraMonitoringInsightsUnsubscribeRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" subscriptionId: ").append(toIndentedString(subscriptionId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BaseReportInvestmentHolding.java | src/main/java/com/plaid/client/model/BaseReportInvestmentHolding.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
/**
* A securities holding at an institution.
*/
@ApiModel(description = "A securities holding at an institution.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BaseReportInvestmentHolding {
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
private String accountId;
public static final String SERIALIZED_NAME_SECURITY_ID = "security_id";
@SerializedName(SERIALIZED_NAME_SECURITY_ID)
private String securityId;
public static final String SERIALIZED_NAME_INSTITUTION_PRICE = "institution_price";
@SerializedName(SERIALIZED_NAME_INSTITUTION_PRICE)
private Double institutionPrice;
public static final String SERIALIZED_NAME_INSTITUTION_PRICE_AS_OF = "institution_price_as_of";
@SerializedName(SERIALIZED_NAME_INSTITUTION_PRICE_AS_OF)
private LocalDate institutionPriceAsOf;
public static final String SERIALIZED_NAME_INSTITUTION_VALUE = "institution_value";
@SerializedName(SERIALIZED_NAME_INSTITUTION_VALUE)
private Double institutionValue;
public static final String SERIALIZED_NAME_COST_BASIS = "cost_basis";
@SerializedName(SERIALIZED_NAME_COST_BASIS)
private Double costBasis;
public static final String SERIALIZED_NAME_QUANTITY = "quantity";
@SerializedName(SERIALIZED_NAME_QUANTITY)
private Double quantity;
public static final String SERIALIZED_NAME_ISO_CURRENCY_CODE = "iso_currency_code";
@SerializedName(SERIALIZED_NAME_ISO_CURRENCY_CODE)
private String isoCurrencyCode;
public static final String SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE = "unofficial_currency_code";
@SerializedName(SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE)
private String unofficialCurrencyCode;
public BaseReportInvestmentHolding accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* The Plaid `account_id` associated with the holding.
* @return accountId
**/
@ApiModelProperty(required = true, value = "The Plaid `account_id` associated with the holding.")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public BaseReportInvestmentHolding securityId(String securityId) {
this.securityId = securityId;
return this;
}
/**
* The Plaid `security_id` associated with the holding. Security data is not specific to a user's account; any user who held the same security at the same financial institution at the same time would have identical security data. The `security_id` for the same security will typically be the same across different institutions, but this is not guaranteed. The `security_id` does not typically change, but may change if inherent details of the security change due to a corporate action, for example, in the event of a ticker symbol change or CUSIP change.
* @return securityId
**/
@ApiModelProperty(required = true, value = "The Plaid `security_id` associated with the holding. Security data is not specific to a user's account; any user who held the same security at the same financial institution at the same time would have identical security data. The `security_id` for the same security will typically be the same across different institutions, but this is not guaranteed. The `security_id` does not typically change, but may change if inherent details of the security change due to a corporate action, for example, in the event of a ticker symbol change or CUSIP change.")
public String getSecurityId() {
return securityId;
}
public void setSecurityId(String securityId) {
this.securityId = securityId;
}
public BaseReportInvestmentHolding institutionPrice(Double institutionPrice) {
this.institutionPrice = institutionPrice;
return this;
}
/**
* The last price given by the institution for this security.
* @return institutionPrice
**/
@ApiModelProperty(required = true, value = "The last price given by the institution for this security.")
public Double getInstitutionPrice() {
return institutionPrice;
}
public void setInstitutionPrice(Double institutionPrice) {
this.institutionPrice = institutionPrice;
}
public BaseReportInvestmentHolding institutionPriceAsOf(LocalDate institutionPriceAsOf) {
this.institutionPriceAsOf = institutionPriceAsOf;
return this;
}
/**
* The date at which `institution_price` was current.
* @return institutionPriceAsOf
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The date at which `institution_price` was current.")
public LocalDate getInstitutionPriceAsOf() {
return institutionPriceAsOf;
}
public void setInstitutionPriceAsOf(LocalDate institutionPriceAsOf) {
this.institutionPriceAsOf = institutionPriceAsOf;
}
public BaseReportInvestmentHolding institutionValue(Double institutionValue) {
this.institutionValue = institutionValue;
return this;
}
/**
* The value of the holding, as reported by the institution.
* @return institutionValue
**/
@ApiModelProperty(required = true, value = "The value of the holding, as reported by the institution.")
public Double getInstitutionValue() {
return institutionValue;
}
public void setInstitutionValue(Double institutionValue) {
this.institutionValue = institutionValue;
}
public BaseReportInvestmentHolding costBasis(Double costBasis) {
this.costBasis = costBasis;
return this;
}
/**
* The original total value of the holding. This field is calculated by Plaid as the sum of the purchase price of all of the shares in the holding.
* @return costBasis
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The original total value of the holding. This field is calculated by Plaid as the sum of the purchase price of all of the shares in the holding.")
public Double getCostBasis() {
return costBasis;
}
public void setCostBasis(Double costBasis) {
this.costBasis = costBasis;
}
public BaseReportInvestmentHolding quantity(Double quantity) {
this.quantity = quantity;
return this;
}
/**
* The total quantity of the asset held, as reported by the financial institution. If the security is an option, `quantity` will reflect the total number of options (typically the number of contracts multiplied by 100), not the number of contracts.
* @return quantity
**/
@ApiModelProperty(required = true, value = "The total quantity of the asset held, as reported by the financial institution. If the security is an option, `quantity` will reflect the total number of options (typically the number of contracts multiplied by 100), not the number of contracts.")
public Double getQuantity() {
return quantity;
}
public void setQuantity(Double quantity) {
this.quantity = quantity;
}
public BaseReportInvestmentHolding isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The ISO-4217 currency code of the holding. Always `null` if `unofficial_currency_code` is non-`null`.
* @return isoCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The ISO-4217 currency code of the holding. Always `null` if `unofficial_currency_code` is non-`null`.")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public BaseReportInvestmentHolding unofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
return this;
}
/**
* The unofficial currency code associated with the holding. Always `null` if `iso_currency_code` is non-`null`. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `iso_currency_code`s.
* @return unofficialCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The unofficial currency code associated with the holding. Always `null` if `iso_currency_code` is non-`null`. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `iso_currency_code`s. ")
public String getUnofficialCurrencyCode() {
return unofficialCurrencyCode;
}
public void setUnofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BaseReportInvestmentHolding baseReportInvestmentHolding = (BaseReportInvestmentHolding) o;
return Objects.equals(this.accountId, baseReportInvestmentHolding.accountId) &&
Objects.equals(this.securityId, baseReportInvestmentHolding.securityId) &&
Objects.equals(this.institutionPrice, baseReportInvestmentHolding.institutionPrice) &&
Objects.equals(this.institutionPriceAsOf, baseReportInvestmentHolding.institutionPriceAsOf) &&
Objects.equals(this.institutionValue, baseReportInvestmentHolding.institutionValue) &&
Objects.equals(this.costBasis, baseReportInvestmentHolding.costBasis) &&
Objects.equals(this.quantity, baseReportInvestmentHolding.quantity) &&
Objects.equals(this.isoCurrencyCode, baseReportInvestmentHolding.isoCurrencyCode) &&
Objects.equals(this.unofficialCurrencyCode, baseReportInvestmentHolding.unofficialCurrencyCode);
}
@Override
public int hashCode() {
return Objects.hash(accountId, securityId, institutionPrice, institutionPriceAsOf, institutionValue, costBasis, quantity, isoCurrencyCode, unofficialCurrencyCode);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BaseReportInvestmentHolding {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" securityId: ").append(toIndentedString(securityId)).append("\n");
sb.append(" institutionPrice: ").append(toIndentedString(institutionPrice)).append("\n");
sb.append(" institutionPriceAsOf: ").append(toIndentedString(institutionPriceAsOf)).append("\n");
sb.append(" institutionValue: ").append(toIndentedString(institutionValue)).append("\n");
sb.append(" costBasis: ").append(toIndentedString(costBasis)).append("\n");
sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" unofficialCurrencyCode: ").append(toIndentedString(unofficialCurrencyCode)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CraLendScoreReport.java | src/main/java/com/plaid/client/model/CraLendScoreReport.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.LendScore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
/**
* Contains data for the CRA LendScore Report.
*/
@ApiModel(description = "Contains data for the CRA LendScore Report.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraLendScoreReport {
public static final String SERIALIZED_NAME_REPORT_ID = "report_id";
@SerializedName(SERIALIZED_NAME_REPORT_ID)
private String reportId;
public static final String SERIALIZED_NAME_GENERATED_TIME = "generated_time";
@SerializedName(SERIALIZED_NAME_GENERATED_TIME)
private OffsetDateTime generatedTime;
public static final String SERIALIZED_NAME_LEND_SCORE = "lend_score";
@SerializedName(SERIALIZED_NAME_LEND_SCORE)
private LendScore lendScore;
public CraLendScoreReport reportId(String reportId) {
this.reportId = reportId;
return this;
}
/**
* The unique identifier associated with the report object.
* @return reportId
**/
@ApiModelProperty(required = true, value = "The unique identifier associated with the report object.")
public String getReportId() {
return reportId;
}
public void setReportId(String reportId) {
this.reportId = reportId;
}
public CraLendScoreReport generatedTime(OffsetDateTime generatedTime) {
this.generatedTime = generatedTime;
return this;
}
/**
* The time when the report was generated.
* @return generatedTime
**/
@ApiModelProperty(required = true, value = "The time when the report was generated.")
public OffsetDateTime getGeneratedTime() {
return generatedTime;
}
public void setGeneratedTime(OffsetDateTime generatedTime) {
this.generatedTime = generatedTime;
}
public CraLendScoreReport lendScore(LendScore lendScore) {
this.lendScore = lendScore;
return this;
}
/**
* Get lendScore
* @return lendScore
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public LendScore getLendScore() {
return lendScore;
}
public void setLendScore(LendScore lendScore) {
this.lendScore = lendScore;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CraLendScoreReport craLendScoreReport = (CraLendScoreReport) o;
return Objects.equals(this.reportId, craLendScoreReport.reportId) &&
Objects.equals(this.generatedTime, craLendScoreReport.generatedTime) &&
Objects.equals(this.lendScore, craLendScoreReport.lendScore);
}
@Override
public int hashCode() {
return Objects.hash(reportId, generatedTime, lendScore);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraLendScoreReport {\n");
sb.append(" reportId: ").append(toIndentedString(reportId)).append("\n");
sb.append(" generatedTime: ").append(toIndentedString(generatedTime)).append("\n");
sb.append(" lendScore: ").append(toIndentedString(lendScore)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransferAuthorizationProposedTransfer.java | src/main/java/com/plaid/client/model/TransferAuthorizationProposedTransfer.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.ACHClass;
import com.plaid.client.model.TransferCreditFundsSource;
import com.plaid.client.model.TransferType;
import com.plaid.client.model.TransferUserInResponse;
import com.plaid.client.model.TransferWireDetails;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Details regarding the proposed transfer.
*/
@ApiModel(description = "Details regarding the proposed transfer.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferAuthorizationProposedTransfer {
public static final String SERIALIZED_NAME_ACH_CLASS = "ach_class";
@SerializedName(SERIALIZED_NAME_ACH_CLASS)
private ACHClass achClass;
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
private String accountId;
public static final String SERIALIZED_NAME_FUNDING_ACCOUNT_ID = "funding_account_id";
@SerializedName(SERIALIZED_NAME_FUNDING_ACCOUNT_ID)
private String fundingAccountId;
public static final String SERIALIZED_NAME_LEDGER_ID = "ledger_id";
@SerializedName(SERIALIZED_NAME_LEDGER_ID)
private String ledgerId;
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private TransferType type;
public static final String SERIALIZED_NAME_USER = "user";
@SerializedName(SERIALIZED_NAME_USER)
private TransferUserInResponse user;
public static final String SERIALIZED_NAME_AMOUNT = "amount";
@SerializedName(SERIALIZED_NAME_AMOUNT)
private String amount;
public static final String SERIALIZED_NAME_NETWORK = "network";
@SerializedName(SERIALIZED_NAME_NETWORK)
private String network;
public static final String SERIALIZED_NAME_WIRE_DETAILS = "wire_details";
@SerializedName(SERIALIZED_NAME_WIRE_DETAILS)
private TransferWireDetails wireDetails;
public static final String SERIALIZED_NAME_ORIGINATION_ACCOUNT_ID = "origination_account_id";
@SerializedName(SERIALIZED_NAME_ORIGINATION_ACCOUNT_ID)
private String originationAccountId;
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_ORIGINATOR_CLIENT_ID = "originator_client_id";
@SerializedName(SERIALIZED_NAME_ORIGINATOR_CLIENT_ID)
private String originatorClientId;
public static final String SERIALIZED_NAME_CREDIT_FUNDS_SOURCE = "credit_funds_source";
@SerializedName(SERIALIZED_NAME_CREDIT_FUNDS_SOURCE)
private TransferCreditFundsSource creditFundsSource;
public TransferAuthorizationProposedTransfer achClass(ACHClass achClass) {
this.achClass = achClass;
return this;
}
/**
* Get achClass
* @return achClass
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ACHClass getAchClass() {
return achClass;
}
public void setAchClass(ACHClass achClass) {
this.achClass = achClass;
}
public TransferAuthorizationProposedTransfer accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* The Plaid `account_id` for the account that will be debited or credited.
* @return accountId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The Plaid `account_id` for the account that will be debited or credited.")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public TransferAuthorizationProposedTransfer fundingAccountId(String fundingAccountId) {
this.fundingAccountId = fundingAccountId;
return this;
}
/**
* The id of the associated funding account, available in the Plaid Dashboard. If present, this indicates which of your business checking accounts will be credited or debited.
* @return fundingAccountId
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The id of the associated funding account, available in the Plaid Dashboard. If present, this indicates which of your business checking accounts will be credited or debited.")
public String getFundingAccountId() {
return fundingAccountId;
}
public void setFundingAccountId(String fundingAccountId) {
this.fundingAccountId = fundingAccountId;
}
public TransferAuthorizationProposedTransfer ledgerId(String ledgerId) {
this.ledgerId = ledgerId;
return this;
}
/**
* Plaid’s unique identifier for a Plaid Ledger Balance.
* @return ledgerId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Plaid’s unique identifier for a Plaid Ledger Balance.")
public String getLedgerId() {
return ledgerId;
}
public void setLedgerId(String ledgerId) {
this.ledgerId = ledgerId;
}
public TransferAuthorizationProposedTransfer type(TransferType type) {
this.type = type;
return this;
}
/**
* Get type
* @return type
**/
@ApiModelProperty(required = true, value = "")
public TransferType getType() {
return type;
}
public void setType(TransferType type) {
this.type = type;
}
public TransferAuthorizationProposedTransfer user(TransferUserInResponse user) {
this.user = user;
return this;
}
/**
* Get user
* @return user
**/
@ApiModelProperty(required = true, value = "")
public TransferUserInResponse getUser() {
return user;
}
public void setUser(TransferUserInResponse user) {
this.user = user;
}
public TransferAuthorizationProposedTransfer amount(String amount) {
this.amount = amount;
return this;
}
/**
* The amount of the transfer (decimal string with two digits of precision e.g. \"10.00\"). When calling `/transfer/authorization/create`, specify the maximum amount to authorize. When calling `/transfer/create`, specify the exact amount of the transfer, up to a maximum of the amount authorized. If this field is left blank when calling `/transfer/create`, the maximum amount authorized in the `authorization_id` will be sent.
* @return amount
**/
@ApiModelProperty(required = true, value = "The amount of the transfer (decimal string with two digits of precision e.g. \"10.00\"). When calling `/transfer/authorization/create`, specify the maximum amount to authorize. When calling `/transfer/create`, specify the exact amount of the transfer, up to a maximum of the amount authorized. If this field is left blank when calling `/transfer/create`, the maximum amount authorized in the `authorization_id` will be sent.")
public String getAmount() {
return amount;
}
public void setAmount(String amount) {
this.amount = amount;
}
public TransferAuthorizationProposedTransfer network(String network) {
this.network = network;
return this;
}
/**
* The network or rails used for the transfer.
* @return network
**/
@ApiModelProperty(required = true, value = "The network or rails used for the transfer.")
public String getNetwork() {
return network;
}
public void setNetwork(String network) {
this.network = network;
}
public TransferAuthorizationProposedTransfer wireDetails(TransferWireDetails wireDetails) {
this.wireDetails = wireDetails;
return this;
}
/**
* Get wireDetails
* @return wireDetails
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public TransferWireDetails getWireDetails() {
return wireDetails;
}
public void setWireDetails(TransferWireDetails wireDetails) {
this.wireDetails = wireDetails;
}
public TransferAuthorizationProposedTransfer originationAccountId(String originationAccountId) {
this.originationAccountId = originationAccountId;
return this;
}
/**
* Plaid's unique identifier for the origination account that was used for this transfer.
* @return originationAccountId
**/
@ApiModelProperty(required = true, value = "Plaid's unique identifier for the origination account that was used for this transfer.")
public String getOriginationAccountId() {
return originationAccountId;
}
public void setOriginationAccountId(String originationAccountId) {
this.originationAccountId = originationAccountId;
}
public TransferAuthorizationProposedTransfer isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The currency of the transfer amount. The default value is \"USD\".
* @return isoCurrencyCode
**/
@ApiModelProperty(required = true, value = "The currency of the transfer amount. The default value is \"USD\".")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public TransferAuthorizationProposedTransfer originatorClientId(String originatorClientId) {
this.originatorClientId = originatorClientId;
return this;
}
/**
* The Plaid client ID that is the originator of this transfer. Only present if created on behalf of another client as a [Platform customer](https://plaid.com/docs/transfer/application/#originators-vs-platforms).
* @return originatorClientId
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The Plaid client ID that is the originator of this transfer. Only present if created on behalf of another client as a [Platform customer](https://plaid.com/docs/transfer/application/#originators-vs-platforms).")
public String getOriginatorClientId() {
return originatorClientId;
}
public void setOriginatorClientId(String originatorClientId) {
this.originatorClientId = originatorClientId;
}
public TransferAuthorizationProposedTransfer creditFundsSource(TransferCreditFundsSource creditFundsSource) {
this.creditFundsSource = creditFundsSource;
return this;
}
/**
* Get creditFundsSource
* @return creditFundsSource
**/
@ApiModelProperty(required = true, value = "")
public TransferCreditFundsSource getCreditFundsSource() {
return creditFundsSource;
}
public void setCreditFundsSource(TransferCreditFundsSource creditFundsSource) {
this.creditFundsSource = creditFundsSource;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferAuthorizationProposedTransfer transferAuthorizationProposedTransfer = (TransferAuthorizationProposedTransfer) o;
return Objects.equals(this.achClass, transferAuthorizationProposedTransfer.achClass) &&
Objects.equals(this.accountId, transferAuthorizationProposedTransfer.accountId) &&
Objects.equals(this.fundingAccountId, transferAuthorizationProposedTransfer.fundingAccountId) &&
Objects.equals(this.ledgerId, transferAuthorizationProposedTransfer.ledgerId) &&
Objects.equals(this.type, transferAuthorizationProposedTransfer.type) &&
Objects.equals(this.user, transferAuthorizationProposedTransfer.user) &&
Objects.equals(this.amount, transferAuthorizationProposedTransfer.amount) &&
Objects.equals(this.network, transferAuthorizationProposedTransfer.network) &&
Objects.equals(this.wireDetails, transferAuthorizationProposedTransfer.wireDetails) &&
Objects.equals(this.originationAccountId, transferAuthorizationProposedTransfer.originationAccountId) &&
Objects.equals(this.isoCurrencyCode, transferAuthorizationProposedTransfer.isoCurrencyCode) &&
Objects.equals(this.originatorClientId, transferAuthorizationProposedTransfer.originatorClientId) &&
Objects.equals(this.creditFundsSource, transferAuthorizationProposedTransfer.creditFundsSource);
}
@Override
public int hashCode() {
return Objects.hash(achClass, accountId, fundingAccountId, ledgerId, type, user, amount, network, wireDetails, originationAccountId, isoCurrencyCode, originatorClientId, creditFundsSource);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferAuthorizationProposedTransfer {\n");
sb.append(" achClass: ").append(toIndentedString(achClass)).append("\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" fundingAccountId: ").append(toIndentedString(fundingAccountId)).append("\n");
sb.append(" ledgerId: ").append(toIndentedString(ledgerId)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" user: ").append(toIndentedString(user)).append("\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" network: ").append(toIndentedString(network)).append("\n");
sb.append(" wireDetails: ").append(toIndentedString(wireDetails)).append("\n");
sb.append(" originationAccountId: ").append(toIndentedString(originationAccountId)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" originatorClientId: ").append(toIndentedString(originatorClientId)).append("\n");
sb.append(" creditFundsSource: ").append(toIndentedString(creditFundsSource)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransferOriginatorFundingAccountCreateRequest.java | src/main/java/com/plaid/client/model/TransferOriginatorFundingAccountCreateRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.TransferFundingAccountWithDisplayName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines the request schema for `/transfer/originator/funding_account/create`
*/
@ApiModel(description = "Defines the request schema for `/transfer/originator/funding_account/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferOriginatorFundingAccountCreateRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_ORIGINATOR_CLIENT_ID = "originator_client_id";
@SerializedName(SERIALIZED_NAME_ORIGINATOR_CLIENT_ID)
private String originatorClientId;
public static final String SERIALIZED_NAME_FUNDING_ACCOUNT = "funding_account";
@SerializedName(SERIALIZED_NAME_FUNDING_ACCOUNT)
private TransferFundingAccountWithDisplayName fundingAccount;
public TransferOriginatorFundingAccountCreateRequest 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 TransferOriginatorFundingAccountCreateRequest 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 TransferOriginatorFundingAccountCreateRequest originatorClientId(String originatorClientId) {
this.originatorClientId = originatorClientId;
return this;
}
/**
* The Plaid client ID of the transfer originator.
* @return originatorClientId
**/
@ApiModelProperty(required = true, value = "The Plaid client ID of the transfer originator.")
public String getOriginatorClientId() {
return originatorClientId;
}
public void setOriginatorClientId(String originatorClientId) {
this.originatorClientId = originatorClientId;
}
public TransferOriginatorFundingAccountCreateRequest fundingAccount(TransferFundingAccountWithDisplayName fundingAccount) {
this.fundingAccount = fundingAccount;
return this;
}
/**
* Get fundingAccount
* @return fundingAccount
**/
@ApiModelProperty(required = true, value = "")
public TransferFundingAccountWithDisplayName getFundingAccount() {
return fundingAccount;
}
public void setFundingAccount(TransferFundingAccountWithDisplayName fundingAccount) {
this.fundingAccount = fundingAccount;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferOriginatorFundingAccountCreateRequest transferOriginatorFundingAccountCreateRequest = (TransferOriginatorFundingAccountCreateRequest) o;
return Objects.equals(this.clientId, transferOriginatorFundingAccountCreateRequest.clientId) &&
Objects.equals(this.secret, transferOriginatorFundingAccountCreateRequest.secret) &&
Objects.equals(this.originatorClientId, transferOriginatorFundingAccountCreateRequest.originatorClientId) &&
Objects.equals(this.fundingAccount, transferOriginatorFundingAccountCreateRequest.fundingAccount);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, originatorClientId, fundingAccount);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferOriginatorFundingAccountCreateRequest {\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(" fundingAccount: ").append(toIndentedString(fundingAccount)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ProcessorInvestmentsTransactionsGetRequest.java | src/main/java/com/plaid/client/model/ProcessorInvestmentsTransactionsGetRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.InvestmentsTransactionsGetRequestOptions;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
/**
* ProcessorInvestmentsTransactionsGetRequest defines the request schema for `/processor/investments/transactions/get`
*/
@ApiModel(description = "ProcessorInvestmentsTransactionsGetRequest defines the request schema for `/processor/investments/transactions/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ProcessorInvestmentsTransactionsGetRequest {
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 InvestmentsTransactionsGetRequestOptions options;
public static final String SERIALIZED_NAME_PROCESSOR_TOKEN = "processor_token";
@SerializedName(SERIALIZED_NAME_PROCESSOR_TOKEN)
private String processorToken;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_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 ProcessorInvestmentsTransactionsGetRequest 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 ProcessorInvestmentsTransactionsGetRequest options(InvestmentsTransactionsGetRequestOptions options) {
this.options = options;
return this;
}
/**
* Get options
* @return options
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public InvestmentsTransactionsGetRequestOptions getOptions() {
return options;
}
public void setOptions(InvestmentsTransactionsGetRequestOptions options) {
this.options = options;
}
public ProcessorInvestmentsTransactionsGetRequest processorToken(String processorToken) {
this.processorToken = processorToken;
return this;
}
/**
* The processor token obtained from the Plaid integration partner. Processor tokens are in the format: `processor-<environment>-<identifier>`
* @return processorToken
**/
@ApiModelProperty(required = true, value = "The processor token obtained from the Plaid integration partner. Processor tokens are in the format: `processor-<environment>-<identifier>`")
public String getProcessorToken() {
return processorToken;
}
public void setProcessorToken(String processorToken) {
this.processorToken = processorToken;
}
public ProcessorInvestmentsTransactionsGetRequest 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 ProcessorInvestmentsTransactionsGetRequest startDate(LocalDate startDate) {
this.startDate = startDate;
return this;
}
/**
* The earliest date for which data should be returned. Dates should be formatted as YYYY-MM-DD.
* @return startDate
**/
@ApiModelProperty(required = true, value = "The earliest date for which data should be returned. Dates should be formatted as YYYY-MM-DD.")
public LocalDate getStartDate() {
return startDate;
}
public void setStartDate(LocalDate startDate) {
this.startDate = startDate;
}
public ProcessorInvestmentsTransactionsGetRequest endDate(LocalDate endDate) {
this.endDate = endDate;
return this;
}
/**
* The latest date for which data should be returned. Dates should be formatted as YYYY-MM-DD.
* @return endDate
**/
@ApiModelProperty(required = true, value = "The latest date for which data should be returned. Dates should be formatted as YYYY-MM-DD.")
public LocalDate getEndDate() {
return endDate;
}
public void setEndDate(LocalDate endDate) {
this.endDate = endDate;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ProcessorInvestmentsTransactionsGetRequest processorInvestmentsTransactionsGetRequest = (ProcessorInvestmentsTransactionsGetRequest) o;
return Objects.equals(this.clientId, processorInvestmentsTransactionsGetRequest.clientId) &&
Objects.equals(this.options, processorInvestmentsTransactionsGetRequest.options) &&
Objects.equals(this.processorToken, processorInvestmentsTransactionsGetRequest.processorToken) &&
Objects.equals(this.secret, processorInvestmentsTransactionsGetRequest.secret) &&
Objects.equals(this.startDate, processorInvestmentsTransactionsGetRequest.startDate) &&
Objects.equals(this.endDate, processorInvestmentsTransactionsGetRequest.endDate);
}
@Override
public int hashCode() {
return Objects.hash(clientId, options, processorToken, secret, startDate, endDate);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProcessorInvestmentsTransactionsGetRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" options: ").append(toIndentedString(options)).append("\n");
sb.append(" processorToken: ").append(toIndentedString(processorToken)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n");
sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransferRepaymentReturnListRequest.java | src/main/java/com/plaid/client/model/TransferRepaymentReturnListRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines the request schema for `/transfer/repayment/return/list`
*/
@ApiModel(description = "Defines the request schema for `/transfer/repayment/return/list`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferRepaymentReturnListRequest {
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_REPAYMENT_ID = "repayment_id";
@SerializedName(SERIALIZED_NAME_REPAYMENT_ID)
private String repaymentId;
public static final String SERIALIZED_NAME_COUNT = "count";
@SerializedName(SERIALIZED_NAME_COUNT)
private Integer count = 25;
public static final String SERIALIZED_NAME_OFFSET = "offset";
@SerializedName(SERIALIZED_NAME_OFFSET)
private Integer offset = 0;
public TransferRepaymentReturnListRequest 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 TransferRepaymentReturnListRequest 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 TransferRepaymentReturnListRequest repaymentId(String repaymentId) {
this.repaymentId = repaymentId;
return this;
}
/**
* Identifier of the repayment to query.
* @return repaymentId
**/
@ApiModelProperty(required = true, value = "Identifier of the repayment to query.")
public String getRepaymentId() {
return repaymentId;
}
public void setRepaymentId(String repaymentId) {
this.repaymentId = repaymentId;
}
public TransferRepaymentReturnListRequest count(Integer count) {
this.count = count;
return this;
}
/**
* The maximum number of repayments to return.
* minimum: 1
* maximum: 25
* @return count
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The maximum number of repayments to return.")
public Integer getCount() {
return count;
}
public void setCount(Integer count) {
this.count = count;
}
public TransferRepaymentReturnListRequest offset(Integer offset) {
this.offset = offset;
return this;
}
/**
* The number of repayments to skip before returning results.
* minimum: 0
* @return offset
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of repayments to skip before returning results.")
public Integer getOffset() {
return offset;
}
public void setOffset(Integer offset) {
this.offset = offset;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferRepaymentReturnListRequest transferRepaymentReturnListRequest = (TransferRepaymentReturnListRequest) o;
return Objects.equals(this.clientId, transferRepaymentReturnListRequest.clientId) &&
Objects.equals(this.secret, transferRepaymentReturnListRequest.secret) &&
Objects.equals(this.repaymentId, transferRepaymentReturnListRequest.repaymentId) &&
Objects.equals(this.count, transferRepaymentReturnListRequest.count) &&
Objects.equals(this.offset, transferRepaymentReturnListRequest.offset);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, repaymentId, count, offset);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferRepaymentReturnListRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" repaymentId: ").append(toIndentedString(repaymentId)).append("\n");
sb.append(" count: ").append(toIndentedString(count)).append("\n");
sb.append(" offset: ").append(toIndentedString(offset)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BankTransfersEventsUpdateWebhook.java | src/main/java/com/plaid/client/model/BankTransfersEventsUpdateWebhook.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.WebhookEnvironmentValues;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Fired when new bank transfer events are available. Receiving this webhook indicates you should fetch the new events from `/bank_transfer/event/sync`.
*/
@ApiModel(description = "Fired when new bank transfer events are available. Receiving this webhook indicates you should fetch the new events from `/bank_transfer/event/sync`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BankTransfersEventsUpdateWebhook {
public static final String SERIALIZED_NAME_WEBHOOK_TYPE = "webhook_type";
@SerializedName(SERIALIZED_NAME_WEBHOOK_TYPE)
private String webhookType;
public static final String SERIALIZED_NAME_WEBHOOK_CODE = "webhook_code";
@SerializedName(SERIALIZED_NAME_WEBHOOK_CODE)
private String webhookCode;
public static final String SERIALIZED_NAME_ENVIRONMENT = "environment";
@SerializedName(SERIALIZED_NAME_ENVIRONMENT)
private WebhookEnvironmentValues environment;
public BankTransfersEventsUpdateWebhook webhookType(String webhookType) {
this.webhookType = webhookType;
return this;
}
/**
* `BANK_TRANSFERS`
* @return webhookType
**/
@ApiModelProperty(required = true, value = "`BANK_TRANSFERS`")
public String getWebhookType() {
return webhookType;
}
public void setWebhookType(String webhookType) {
this.webhookType = webhookType;
}
public BankTransfersEventsUpdateWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `BANK_TRANSFERS_EVENTS_UPDATE`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`BANK_TRANSFERS_EVENTS_UPDATE`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public BankTransfersEventsUpdateWebhook 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;
}
BankTransfersEventsUpdateWebhook bankTransfersEventsUpdateWebhook = (BankTransfersEventsUpdateWebhook) o;
return Objects.equals(this.webhookType, bankTransfersEventsUpdateWebhook.webhookType) &&
Objects.equals(this.webhookCode, bankTransfersEventsUpdateWebhook.webhookCode) &&
Objects.equals(this.environment, bankTransfersEventsUpdateWebhook.environment);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, environment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BankTransfersEventsUpdateWebhook {\n");
sb.append(" webhookType: ").append(toIndentedString(webhookType)).append("\n");
sb.append(" webhookCode: ").append(toIndentedString(webhookCode)).append("\n");
sb.append(" environment: ").append(toIndentedString(environment)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/request/PlaidApi.java | src/main/java/com/plaid/client/request/PlaidApi.java | package com.plaid.client.request;
import com.plaid.client.CollectionFormats.*;
import retrofit2.Call;
import retrofit2.http.*;
import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import okhttp3.MultipartBody;
import com.plaid.client.model.AccountsBalanceGetRequest;
import com.plaid.client.model.AccountsGetRequest;
import com.plaid.client.model.AccountsGetResponse;
import com.plaid.client.model.ApplicationGetRequest;
import com.plaid.client.model.ApplicationGetResponse;
import com.plaid.client.model.AssetReportAuditCopyCreateRequest;
import com.plaid.client.model.AssetReportAuditCopyCreateResponse;
import com.plaid.client.model.AssetReportAuditCopyGetRequest;
import com.plaid.client.model.AssetReportAuditCopyPdfGetRequest;
import com.plaid.client.model.AssetReportAuditCopyRemoveRequest;
import com.plaid.client.model.AssetReportAuditCopyRemoveResponse;
import com.plaid.client.model.AssetReportCreateRequest;
import com.plaid.client.model.AssetReportCreateResponse;
import com.plaid.client.model.AssetReportFilterRequest;
import com.plaid.client.model.AssetReportFilterResponse;
import com.plaid.client.model.AssetReportFreddieGetRequest;
import com.plaid.client.model.AssetReportFreddieGetResponse;
import com.plaid.client.model.AssetReportGetRequest;
import com.plaid.client.model.AssetReportGetResponse;
import com.plaid.client.model.AssetReportPDFGetRequest;
import com.plaid.client.model.AssetReportRefreshRequest;
import com.plaid.client.model.AssetReportRefreshResponse;
import com.plaid.client.model.AssetReportRemoveRequest;
import com.plaid.client.model.AssetReportRemoveResponse;
import com.plaid.client.model.AuthGetRequest;
import com.plaid.client.model.AuthGetResponse;
import com.plaid.client.model.AuthVerifyRequest;
import com.plaid.client.model.AuthVerifyResponse;
import com.plaid.client.model.BankTransferBalanceGetRequest;
import com.plaid.client.model.BankTransferBalanceGetResponse;
import com.plaid.client.model.BankTransferCancelRequest;
import com.plaid.client.model.BankTransferCancelResponse;
import com.plaid.client.model.BankTransferCreateRequest;
import com.plaid.client.model.BankTransferCreateResponse;
import com.plaid.client.model.BankTransferEventListRequest;
import com.plaid.client.model.BankTransferEventListResponse;
import com.plaid.client.model.BankTransferEventSyncRequest;
import com.plaid.client.model.BankTransferEventSyncResponse;
import com.plaid.client.model.BankTransferGetRequest;
import com.plaid.client.model.BankTransferGetResponse;
import com.plaid.client.model.BankTransferListRequest;
import com.plaid.client.model.BankTransferListResponse;
import com.plaid.client.model.BankTransferMigrateAccountRequest;
import com.plaid.client.model.BankTransferMigrateAccountResponse;
import com.plaid.client.model.BankTransferSweepGetRequest;
import com.plaid.client.model.BankTransferSweepGetResponse;
import com.plaid.client.model.BankTransferSweepListRequest;
import com.plaid.client.model.BankTransferSweepListResponse;
import com.plaid.client.model.BeaconAccountRiskEvaluateRequest;
import com.plaid.client.model.BeaconAccountRiskEvaluateResponse;
import com.plaid.client.model.BeaconDuplicateGetRequest;
import com.plaid.client.model.BeaconDuplicateGetResponse;
import com.plaid.client.model.BeaconReportCreateRequest;
import com.plaid.client.model.BeaconReportCreateResponse;
import com.plaid.client.model.BeaconReportGetRequest;
import com.plaid.client.model.BeaconReportGetResponse;
import com.plaid.client.model.BeaconReportListRequest;
import com.plaid.client.model.BeaconReportListResponse;
import com.plaid.client.model.BeaconReportSyndicationGetRequest;
import com.plaid.client.model.BeaconReportSyndicationGetResponse;
import com.plaid.client.model.BeaconReportSyndicationListRequest;
import com.plaid.client.model.BeaconReportSyndicationListResponse;
import com.plaid.client.model.BeaconUserAccountInsightsGetRequest;
import com.plaid.client.model.BeaconUserAccountInsightsGetResponse;
import com.plaid.client.model.BeaconUserCreateRequest;
import com.plaid.client.model.BeaconUserCreateResponse;
import com.plaid.client.model.BeaconUserGetRequest;
import com.plaid.client.model.BeaconUserGetResponse;
import com.plaid.client.model.BeaconUserHistoryListRequest;
import com.plaid.client.model.BeaconUserHistoryListResponse;
import com.plaid.client.model.BeaconUserReviewRequest;
import com.plaid.client.model.BeaconUserUpdateRequest;
import com.plaid.client.model.BeaconUserUpdateResponse;
import com.plaid.client.model.BetaEwaReportV1GetRequest;
import com.plaid.client.model.BetaEwaReportV1GetResponse;
import com.plaid.client.model.BetaPartnerCustomerV1CreateRequest;
import com.plaid.client.model.BetaPartnerCustomerV1CreateResponse;
import com.plaid.client.model.BetaPartnerCustomerV1EnableRequest;
import com.plaid.client.model.BetaPartnerCustomerV1EnableResponse;
import com.plaid.client.model.BetaPartnerCustomerV1GetRequest;
import com.plaid.client.model.BetaPartnerCustomerV1GetResponse;
import com.plaid.client.model.BetaPartnerCustomerV1UpdateRequest;
import com.plaid.client.model.BetaPartnerCustomerV1UpdateResponse;
import com.plaid.client.model.BusinessVerificationCreateRequest;
import com.plaid.client.model.BusinessVerificationCreateResponse;
import com.plaid.client.model.BusinessVerificationGetRequest;
import com.plaid.client.model.BusinessVerificationGetResponse;
import com.plaid.client.model.CRALoansRegisterRequest;
import com.plaid.client.model.CashflowReportGetRequest;
import com.plaid.client.model.CashflowReportGetResponse;
import com.plaid.client.model.CashflowReportInsightsGetRequest;
import com.plaid.client.model.CashflowReportInsightsGetResponse;
import com.plaid.client.model.CashflowReportRefreshRequest;
import com.plaid.client.model.CashflowReportRefreshResponse;
import com.plaid.client.model.CashflowReportTransactionsGetRequest;
import com.plaid.client.model.CashflowReportTransactionsGetResponse;
import com.plaid.client.model.CategoriesGetResponse;
import com.plaid.client.model.ConsentEventsGetRequest;
import com.plaid.client.model.ConsentEventsGetResponse;
import com.plaid.client.model.ConsumerReportPDFGetRequest;
import com.plaid.client.model.CraCheckReportBaseReportGetRequest;
import com.plaid.client.model.CraCheckReportBaseReportGetResponse;
import com.plaid.client.model.CraCheckReportCashflowInsightsGetRequest;
import com.plaid.client.model.CraCheckReportCashflowInsightsGetResponse;
import com.plaid.client.model.CraCheckReportCreateRequest;
import com.plaid.client.model.CraCheckReportCreateResponse;
import com.plaid.client.model.CraCheckReportIncomeInsightsGetRequest;
import com.plaid.client.model.CraCheckReportIncomeInsightsGetResponse;
import com.plaid.client.model.CraCheckReportLendScoreGetRequest;
import com.plaid.client.model.CraCheckReportLendScoreGetResponse;
import com.plaid.client.model.CraCheckReportNetworkInsightsGetRequest;
import com.plaid.client.model.CraCheckReportNetworkInsightsGetResponse;
import com.plaid.client.model.CraCheckReportPDFGetRequest;
import com.plaid.client.model.CraCheckReportPartnerInsightsGetRequest;
import com.plaid.client.model.CraCheckReportPartnerInsightsGetResponse;
import com.plaid.client.model.CraCheckReportVerificationGetRequest;
import com.plaid.client.model.CraCheckReportVerificationGetResponse;
import com.plaid.client.model.CraCheckReportVerificationPdfGetRequest;
import com.plaid.client.model.CraLoanUnregisterResponse;
import com.plaid.client.model.CraLoansApplicationsRegisterRequest;
import com.plaid.client.model.CraLoansApplicationsRegisterResponse;
import com.plaid.client.model.CraLoansRegisterResponse;
import com.plaid.client.model.CraLoansUnregisterRequest;
import com.plaid.client.model.CraLoansUpdateRequest;
import com.plaid.client.model.CraLoansUpdateResponse;
import com.plaid.client.model.CraMonitoringInsightsGetRequest;
import com.plaid.client.model.CraMonitoringInsightsGetResponse;
import com.plaid.client.model.CraMonitoringInsightsSubscribeRequest;
import com.plaid.client.model.CraMonitoringInsightsSubscribeResponse;
import com.plaid.client.model.CraMonitoringInsightsUnsubscribeRequest;
import com.plaid.client.model.CraMonitoringInsightsUnsubscribeResponse;
import com.plaid.client.model.CraPartnerInsightsGetRequest;
import com.plaid.client.model.CraPartnerInsightsGetResponse;
import com.plaid.client.model.CreditAuditCopyTokenCreateRequest;
import com.plaid.client.model.CreditAuditCopyTokenCreateResponse;
import com.plaid.client.model.CreditAuditCopyTokenRemoveRequest;
import com.plaid.client.model.CreditAuditCopyTokenRemoveResponse;
import com.plaid.client.model.CreditAuditCopyTokenUpdateRequest;
import com.plaid.client.model.CreditAuditCopyTokenUpdateResponse;
import com.plaid.client.model.CreditBankEmploymentGetRequest;
import com.plaid.client.model.CreditBankEmploymentGetResponse;
import com.plaid.client.model.CreditBankIncomeGetRequest;
import com.plaid.client.model.CreditBankIncomeGetResponse;
import com.plaid.client.model.CreditBankIncomePDFGetRequest;
import com.plaid.client.model.CreditBankIncomeRefreshRequest;
import com.plaid.client.model.CreditBankIncomeRefreshResponse;
import com.plaid.client.model.CreditBankIncomeWebhookUpdateRequest;
import com.plaid.client.model.CreditBankIncomeWebhookUpdateResponse;
import com.plaid.client.model.CreditBankStatementsUploadsGetRequest;
import com.plaid.client.model.CreditBankStatementsUploadsGetResponse;
import com.plaid.client.model.CreditEmploymentGetRequest;
import com.plaid.client.model.CreditEmploymentGetResponse;
import com.plaid.client.model.CreditFreddieMacReportsGetRequest;
import com.plaid.client.model.CreditFreddieMacReportsGetResponse;
import com.plaid.client.model.CreditPayrollIncomeGetRequest;
import com.plaid.client.model.CreditPayrollIncomeGetResponse;
import com.plaid.client.model.CreditPayrollIncomeParsingConfigUpdateRequest;
import com.plaid.client.model.CreditPayrollIncomeParsingConfigUpdateResponse;
import com.plaid.client.model.CreditPayrollIncomePrecheckRequest;
import com.plaid.client.model.CreditPayrollIncomePrecheckResponse;
import com.plaid.client.model.CreditPayrollIncomeRefreshRequest;
import com.plaid.client.model.CreditPayrollIncomeRefreshResponse;
import com.plaid.client.model.CreditPayrollIncomeRiskSignalsGetRequest;
import com.plaid.client.model.CreditPayrollIncomeRiskSignalsGetResponse;
import com.plaid.client.model.CreditRelayCreateRequest;
import com.plaid.client.model.CreditRelayCreateResponse;
import com.plaid.client.model.CreditRelayGetRequest;
import com.plaid.client.model.CreditRelayPDFGetRequest;
import com.plaid.client.model.CreditRelayRefreshRequest;
import com.plaid.client.model.CreditRelayRefreshResponse;
import com.plaid.client.model.CreditRelayRemoveRequest;
import com.plaid.client.model.CreditRelayRemoveResponse;
import com.plaid.client.model.CreditSessionsGetRequest;
import com.plaid.client.model.CreditSessionsGetResponse;
import com.plaid.client.model.DashboardUserGetRequest;
import com.plaid.client.model.DashboardUserGetResponse;
import com.plaid.client.model.DashboardUserListRequest;
import com.plaid.client.model.DashboardUserListResponse;
import com.plaid.client.model.EmployersSearchRequest;
import com.plaid.client.model.EmployersSearchResponse;
import com.plaid.client.model.EmploymentVerificationGetRequest;
import com.plaid.client.model.EmploymentVerificationGetResponse;
import com.plaid.client.model.FDXNotification;
import java.io.File;
import com.plaid.client.model.GetRecipientResponse;
import com.plaid.client.model.GetRecipientsResponse;
import com.plaid.client.model.IdentityDocumentsUploadsGetRequest;
import com.plaid.client.model.IdentityDocumentsUploadsGetResponse;
import com.plaid.client.model.IdentityGetRequest;
import com.plaid.client.model.IdentityGetResponse;
import com.plaid.client.model.IdentityMatchRequest;
import com.plaid.client.model.IdentityMatchResponse;
import com.plaid.client.model.IdentityRefreshRequest;
import com.plaid.client.model.IdentityRefreshResponse;
import com.plaid.client.model.IdentityVerificationAutofillCreateRequest;
import com.plaid.client.model.IdentityVerificationAutofillCreateResponse;
import com.plaid.client.model.IdentityVerificationCreateRequest;
import com.plaid.client.model.IdentityVerificationCreateResponse;
import com.plaid.client.model.IdentityVerificationGetRequest;
import com.plaid.client.model.IdentityVerificationGetResponse;
import com.plaid.client.model.IdentityVerificationListRequest;
import com.plaid.client.model.IdentityVerificationListResponse;
import com.plaid.client.model.IdentityVerificationRetryRequest;
import com.plaid.client.model.IdentityVerificationRetryResponse;
import com.plaid.client.model.IncomeVerificationCreateRequest;
import com.plaid.client.model.IncomeVerificationCreateResponse;
import com.plaid.client.model.IncomeVerificationDocumentsDownloadRequest;
import com.plaid.client.model.IncomeVerificationPaystubsGetRequest;
import com.plaid.client.model.IncomeVerificationPaystubsGetResponse;
import com.plaid.client.model.IncomeVerificationPrecheckRequest;
import com.plaid.client.model.IncomeVerificationPrecheckResponse;
import com.plaid.client.model.IncomeVerificationTaxformsGetRequest;
import com.plaid.client.model.IncomeVerificationTaxformsGetResponse;
import com.plaid.client.model.InstitutionsGetByIdRequest;
import com.plaid.client.model.InstitutionsGetByIdResponse;
import com.plaid.client.model.InstitutionsGetRequest;
import com.plaid.client.model.InstitutionsGetResponse;
import com.plaid.client.model.InstitutionsSearchRequest;
import com.plaid.client.model.InstitutionsSearchResponse;
import com.plaid.client.model.InvestmentsAuthGetRequest;
import com.plaid.client.model.InvestmentsAuthGetResponse;
import com.plaid.client.model.InvestmentsHoldingsGetRequest;
import com.plaid.client.model.InvestmentsHoldingsGetResponse;
import com.plaid.client.model.InvestmentsRefreshRequest;
import com.plaid.client.model.InvestmentsRefreshResponse;
import com.plaid.client.model.InvestmentsTransactionsGetRequest;
import com.plaid.client.model.InvestmentsTransactionsGetResponse;
import com.plaid.client.model.IssuesGetRequest;
import com.plaid.client.model.IssuesGetResponse;
import com.plaid.client.model.IssuesSearchRequest;
import com.plaid.client.model.IssuesSearchResponse;
import com.plaid.client.model.IssuesSubscribeRequest;
import com.plaid.client.model.IssuesSubscribeResponse;
import com.plaid.client.model.ItemAccessTokenInvalidateRequest;
import com.plaid.client.model.ItemAccessTokenInvalidateResponse;
import com.plaid.client.model.ItemActivityListRequest;
import com.plaid.client.model.ItemActivityListResponse;
import com.plaid.client.model.ItemApplicationListRequest;
import com.plaid.client.model.ItemApplicationListResponse;
import com.plaid.client.model.ItemApplicationScopesUpdateRequest;
import com.plaid.client.model.ItemApplicationScopesUpdateResponse;
import com.plaid.client.model.ItemApplicationUnlinkRequest;
import com.plaid.client.model.ItemApplicationUnlinkResponse;
import com.plaid.client.model.ItemGetRequest;
import com.plaid.client.model.ItemGetResponse;
import com.plaid.client.model.ItemImportRequest;
import com.plaid.client.model.ItemImportResponse;
import com.plaid.client.model.ItemPublicTokenCreateRequest;
import com.plaid.client.model.ItemPublicTokenCreateResponse;
import com.plaid.client.model.ItemPublicTokenExchangeRequest;
import com.plaid.client.model.ItemPublicTokenExchangeResponse;
import com.plaid.client.model.ItemRemoveRequest;
import com.plaid.client.model.ItemRemoveResponse;
import com.plaid.client.model.ItemWebhookUpdateRequest;
import com.plaid.client.model.ItemWebhookUpdateResponse;
import com.plaid.client.model.LiabilitiesGetRequest;
import com.plaid.client.model.LiabilitiesGetResponse;
import com.plaid.client.model.LinkDeliveryCreateRequest;
import com.plaid.client.model.LinkDeliveryCreateResponse;
import com.plaid.client.model.LinkDeliveryGetRequest;
import com.plaid.client.model.LinkDeliveryGetResponse;
import com.plaid.client.model.LinkOAuthCorrelationIdExchangeRequest;
import com.plaid.client.model.LinkOAuthCorrelationIdExchangeResponse;
import com.plaid.client.model.LinkTokenCreateRequest;
import com.plaid.client.model.LinkTokenCreateResponse;
import com.plaid.client.model.LinkTokenGetRequest;
import com.plaid.client.model.LinkTokenGetResponse;
import com.plaid.client.model.NetworkInsightsReportGetRequest;
import com.plaid.client.model.NetworkInsightsReportGetResponse;
import com.plaid.client.model.NetworkStatusGetRequest;
import com.plaid.client.model.NetworkStatusGetResponse;
import com.plaid.client.model.OAuthErrorResponse;
import com.plaid.client.model.OAuthIntrospectRequest;
import com.plaid.client.model.OAuthIntrospectResponse;
import com.plaid.client.model.OAuthRevokeRequest;
import com.plaid.client.model.OAuthRevokeResponse;
import com.plaid.client.model.OAuthTokenRequest;
import com.plaid.client.model.OAuthTokenResponse;
import com.plaid.client.model.PartnerCustomerCreateRequest;
import com.plaid.client.model.PartnerCustomerCreateResponse;
import com.plaid.client.model.PartnerCustomerEnableRequest;
import com.plaid.client.model.PartnerCustomerEnableResponse;
import com.plaid.client.model.PartnerCustomerGetRequest;
import com.plaid.client.model.PartnerCustomerGetResponse;
import com.plaid.client.model.PartnerCustomerOAuthInstitutionsGetRequest;
import com.plaid.client.model.PartnerCustomerOAuthInstitutionsGetResponse;
import com.plaid.client.model.PartnerCustomerRemoveRequest;
import com.plaid.client.model.PartnerCustomerRemoveResponse;
import com.plaid.client.model.PaymentInitiationConsentCreateRequest;
import com.plaid.client.model.PaymentInitiationConsentCreateResponse;
import com.plaid.client.model.PaymentInitiationConsentGetRequest;
import com.plaid.client.model.PaymentInitiationConsentGetResponse;
import com.plaid.client.model.PaymentInitiationConsentPaymentExecuteRequest;
import com.plaid.client.model.PaymentInitiationConsentPaymentExecuteResponse;
import com.plaid.client.model.PaymentInitiationConsentRevokeRequest;
import com.plaid.client.model.PaymentInitiationConsentRevokeResponse;
import com.plaid.client.model.PaymentInitiationPaymentCreateRequest;
import com.plaid.client.model.PaymentInitiationPaymentCreateResponse;
import com.plaid.client.model.PaymentInitiationPaymentGetRequest;
import com.plaid.client.model.PaymentInitiationPaymentGetResponse;
import com.plaid.client.model.PaymentInitiationPaymentListRequest;
import com.plaid.client.model.PaymentInitiationPaymentListResponse;
import com.plaid.client.model.PaymentInitiationPaymentReverseRequest;
import com.plaid.client.model.PaymentInitiationPaymentReverseResponse;
import com.plaid.client.model.PaymentInitiationPaymentTokenCreateRequest;
import com.plaid.client.model.PaymentInitiationPaymentTokenCreateResponse;
import com.plaid.client.model.PaymentInitiationRecipientCreateRequest;
import com.plaid.client.model.PaymentInitiationRecipientCreateResponse;
import com.plaid.client.model.PaymentInitiationRecipientGetRequest;
import com.plaid.client.model.PaymentInitiationRecipientGetResponse;
import com.plaid.client.model.PaymentInitiationRecipientListRequest;
import com.plaid.client.model.PaymentInitiationRecipientListResponse;
import com.plaid.client.model.PaymentProfileCreateRequest;
import com.plaid.client.model.PaymentProfileCreateResponse;
import com.plaid.client.model.PaymentProfileGetRequest;
import com.plaid.client.model.PaymentProfileGetResponse;
import com.plaid.client.model.PaymentProfileRemoveRequest;
import com.plaid.client.model.PaymentProfileRemoveResponse;
import com.plaid.client.model.PlaidError;
import com.plaid.client.model.ProcessorAccountGetRequest;
import com.plaid.client.model.ProcessorAccountGetResponse;
import com.plaid.client.model.ProcessorApexProcessorTokenCreateRequest;
import com.plaid.client.model.ProcessorAuthGetRequest;
import com.plaid.client.model.ProcessorAuthGetResponse;
import com.plaid.client.model.ProcessorBalanceGetRequest;
import com.plaid.client.model.ProcessorBalanceGetResponse;
import com.plaid.client.model.ProcessorBankTransferCreateRequest;
import com.plaid.client.model.ProcessorBankTransferCreateResponse;
import com.plaid.client.model.ProcessorIdentityGetRequest;
import com.plaid.client.model.ProcessorIdentityGetResponse;
import com.plaid.client.model.ProcessorIdentityMatchRequest;
import com.plaid.client.model.ProcessorIdentityMatchResponse;
import com.plaid.client.model.ProcessorInvestmentsHoldingsGetRequest;
import com.plaid.client.model.ProcessorInvestmentsHoldingsGetResponse;
import com.plaid.client.model.ProcessorInvestmentsTransactionsGetRequest;
import com.plaid.client.model.ProcessorInvestmentsTransactionsGetResponse;
import com.plaid.client.model.ProcessorLiabilitiesGetRequest;
import com.plaid.client.model.ProcessorLiabilitiesGetResponse;
import com.plaid.client.model.ProcessorSignalDecisionReportRequest;
import com.plaid.client.model.ProcessorSignalDecisionReportResponse;
import com.plaid.client.model.ProcessorSignalEvaluateRequest;
import com.plaid.client.model.ProcessorSignalEvaluateResponse;
import com.plaid.client.model.ProcessorSignalPrepareRequest;
import com.plaid.client.model.ProcessorSignalPrepareResponse;
import com.plaid.client.model.ProcessorSignalReturnReportRequest;
import com.plaid.client.model.ProcessorSignalReturnReportResponse;
import com.plaid.client.model.ProcessorStripeBankAccountTokenCreateRequest;
import com.plaid.client.model.ProcessorStripeBankAccountTokenCreateResponse;
import com.plaid.client.model.ProcessorTokenCreateRequest;
import com.plaid.client.model.ProcessorTokenCreateResponse;
import com.plaid.client.model.ProcessorTokenPermissionsGetRequest;
import com.plaid.client.model.ProcessorTokenPermissionsGetResponse;
import com.plaid.client.model.ProcessorTokenPermissionsSetRequest;
import com.plaid.client.model.ProcessorTokenPermissionsSetResponse;
import com.plaid.client.model.ProcessorTokenWebhookUpdateRequest;
import com.plaid.client.model.ProcessorTokenWebhookUpdateResponse;
import com.plaid.client.model.ProcessorTransactionsGetRequest;
import com.plaid.client.model.ProcessorTransactionsGetResponse;
import com.plaid.client.model.ProcessorTransactionsRecurringGetRequest;
import com.plaid.client.model.ProcessorTransactionsRecurringGetResponse;
import com.plaid.client.model.ProcessorTransactionsRefreshRequest;
import com.plaid.client.model.ProcessorTransactionsRefreshResponse;
import com.plaid.client.model.ProcessorTransactionsSyncRequest;
import com.plaid.client.model.ProcessorTransactionsSyncResponse;
import com.plaid.client.model.ProfileNetworkStatusGetRequest;
import com.plaid.client.model.ProfileNetworkStatusGetResponse;
import com.plaid.client.model.ProtectEventGetRequest;
import com.plaid.client.model.ProtectEventGetResponse;
import com.plaid.client.model.ProtectEventSendRequest;
import com.plaid.client.model.ProtectEventSendResponse;
import com.plaid.client.model.ProtectReportCreateRequest;
import com.plaid.client.model.ProtectReportCreateResponse;
import com.plaid.client.model.ProtectUserInsightsGetRequest;
import com.plaid.client.model.ProtectUserInsightsGetResponse;
import com.plaid.client.model.SandboxBankIncomeFireWebhookRequest;
import com.plaid.client.model.SandboxBankIncomeFireWebhookResponse;
import com.plaid.client.model.SandboxBankTransferFireWebhookRequest;
import com.plaid.client.model.SandboxBankTransferFireWebhookResponse;
import com.plaid.client.model.SandboxBankTransferSimulateRequest;
import com.plaid.client.model.SandboxBankTransferSimulateResponse;
import com.plaid.client.model.SandboxCraCashflowUpdatesUpdateRequest;
import com.plaid.client.model.SandboxCraCashflowUpdatesUpdateResponse;
import com.plaid.client.model.SandboxIncomeFireWebhookRequest;
import com.plaid.client.model.SandboxIncomeFireWebhookResponse;
import com.plaid.client.model.SandboxItemFireWebhookRequest;
import com.plaid.client.model.SandboxItemFireWebhookResponse;
import com.plaid.client.model.SandboxItemResetLoginRequest;
import com.plaid.client.model.SandboxItemResetLoginResponse;
import com.plaid.client.model.SandboxItemSetVerificationStatusRequest;
import com.plaid.client.model.SandboxItemSetVerificationStatusResponse;
import com.plaid.client.model.SandboxOauthSelectAccountsRequest;
import com.plaid.client.model.SandboxPaymentProfileResetLoginRequest;
import com.plaid.client.model.SandboxPaymentProfileResetLoginResponse;
import com.plaid.client.model.SandboxPaymentSimulateRequest;
import com.plaid.client.model.SandboxPaymentSimulateResponse;
import com.plaid.client.model.SandboxProcessorTokenCreateRequest;
import com.plaid.client.model.SandboxProcessorTokenCreateResponse;
import com.plaid.client.model.SandboxPublicTokenCreateRequest;
import com.plaid.client.model.SandboxPublicTokenCreateResponse;
import com.plaid.client.model.SandboxTransactionsCreateRequest;
import com.plaid.client.model.SandboxTransactionsCreateResponse;
import com.plaid.client.model.SandboxTransferFireWebhookRequest;
import com.plaid.client.model.SandboxTransferFireWebhookResponse;
import com.plaid.client.model.SandboxTransferLedgerDepositSimulateRequest;
import com.plaid.client.model.SandboxTransferLedgerDepositSimulateResponse;
import com.plaid.client.model.SandboxTransferLedgerSimulateAvailableRequest;
import com.plaid.client.model.SandboxTransferLedgerSimulateAvailableResponse;
import com.plaid.client.model.SandboxTransferLedgerWithdrawSimulateRequest;
import com.plaid.client.model.SandboxTransferLedgerWithdrawSimulateResponse;
import com.plaid.client.model.SandboxTransferRefundSimulateRequest;
import com.plaid.client.model.SandboxTransferRefundSimulateResponse;
import com.plaid.client.model.SandboxTransferRepaymentSimulateRequest;
import com.plaid.client.model.SandboxTransferRepaymentSimulateResponse;
import com.plaid.client.model.SandboxTransferSimulateRequest;
import com.plaid.client.model.SandboxTransferSimulateResponse;
import com.plaid.client.model.SandboxTransferSweepSimulateRequest;
import com.plaid.client.model.SandboxTransferSweepSimulateResponse;
import com.plaid.client.model.SandboxTransferTestClockAdvanceRequest;
import com.plaid.client.model.SandboxTransferTestClockAdvanceResponse;
import com.plaid.client.model.SandboxTransferTestClockCreateRequest;
import com.plaid.client.model.SandboxTransferTestClockCreateResponse;
import com.plaid.client.model.SandboxTransferTestClockGetRequest;
import com.plaid.client.model.SandboxTransferTestClockGetResponse;
import com.plaid.client.model.SandboxTransferTestClockListRequest;
import com.plaid.client.model.SandboxTransferTestClockListResponse;
import com.plaid.client.model.SandboxUserResetLoginRequest;
import com.plaid.client.model.SandboxUserResetLoginResponse;
import com.plaid.client.model.SessionTokenCreateRequest;
import com.plaid.client.model.SessionTokenCreateResponse;
import com.plaid.client.model.SignalDecisionReportRequest;
import com.plaid.client.model.SignalDecisionReportResponse;
import com.plaid.client.model.SignalEvaluateRequest;
import com.plaid.client.model.SignalEvaluateResponse;
import com.plaid.client.model.SignalPrepareRequest;
import com.plaid.client.model.SignalPrepareResponse;
import com.plaid.client.model.SignalReturnReportRequest;
import com.plaid.client.model.SignalReturnReportResponse;
import com.plaid.client.model.SignalScheduleRequest;
import com.plaid.client.model.SignalScheduleResponse;
import com.plaid.client.model.StatementsDownloadRequest;
import com.plaid.client.model.StatementsListRequest;
import com.plaid.client.model.StatementsListResponse;
import com.plaid.client.model.StatementsRefreshRequest;
import com.plaid.client.model.StatementsRefreshResponse;
import com.plaid.client.model.TransactionsEnhanceGetRequest;
import com.plaid.client.model.TransactionsEnhanceGetResponse;
import com.plaid.client.model.TransactionsEnrichRequest;
import com.plaid.client.model.TransactionsEnrichResponse;
import com.plaid.client.model.TransactionsGetRequest;
import com.plaid.client.model.TransactionsGetResponse;
import com.plaid.client.model.TransactionsRecurringGetRequest;
import com.plaid.client.model.TransactionsRecurringGetResponse;
import com.plaid.client.model.TransactionsRefreshRequest;
import com.plaid.client.model.TransactionsRefreshResponse;
import com.plaid.client.model.TransactionsRulesCreateRequest;
import com.plaid.client.model.TransactionsRulesCreateResponse;
import com.plaid.client.model.TransactionsRulesListRequest;
import com.plaid.client.model.TransactionsRulesListResponse;
import com.plaid.client.model.TransactionsRulesRemoveRequest;
import com.plaid.client.model.TransactionsRulesRemoveResponse;
import com.plaid.client.model.TransactionsSyncRequest;
import com.plaid.client.model.TransactionsSyncResponse;
import com.plaid.client.model.TransactionsUserInsightsGetRequest;
import com.plaid.client.model.TransactionsUserInsightsGetResponse;
import com.plaid.client.model.TransferAuthorizationCancelRequest;
import com.plaid.client.model.TransferAuthorizationCancelResponse;
import com.plaid.client.model.TransferAuthorizationCreateRequest;
import com.plaid.client.model.TransferAuthorizationCreateResponse;
import com.plaid.client.model.TransferBalanceGetRequest;
import com.plaid.client.model.TransferBalanceGetResponse;
import com.plaid.client.model.TransferCancelRequest;
import com.plaid.client.model.TransferCancelResponse;
import com.plaid.client.model.TransferCapabilitiesGetRequest;
import com.plaid.client.model.TransferCapabilitiesGetResponse;
import com.plaid.client.model.TransferConfigurationGetRequest;
import com.plaid.client.model.TransferConfigurationGetResponse;
import com.plaid.client.model.TransferCreateRequest;
import com.plaid.client.model.TransferCreateResponse;
import com.plaid.client.model.TransferDiligenceDocumentUploadRequest;
import com.plaid.client.model.TransferDiligenceDocumentUploadResponse;
import com.plaid.client.model.TransferDiligenceSubmitRequest;
import com.plaid.client.model.TransferDiligenceSubmitResponse;
import com.plaid.client.model.TransferEventListRequest;
import com.plaid.client.model.TransferEventListResponse;
import com.plaid.client.model.TransferEventSyncRequest;
import com.plaid.client.model.TransferEventSyncResponse;
import com.plaid.client.model.TransferGetRequest;
import com.plaid.client.model.TransferGetResponse;
import com.plaid.client.model.TransferIntentCreateRequest;
import com.plaid.client.model.TransferIntentCreateResponse;
import com.plaid.client.model.TransferIntentGetRequest;
import com.plaid.client.model.TransferIntentGetResponse;
import com.plaid.client.model.TransferLedgerDepositRequest;
import com.plaid.client.model.TransferLedgerDepositResponse;
import com.plaid.client.model.TransferLedgerDistributeRequest;
import com.plaid.client.model.TransferLedgerDistributeResponse;
import com.plaid.client.model.TransferLedgerEventListRequest;
import com.plaid.client.model.TransferLedgerEventListResponse;
import com.plaid.client.model.TransferLedgerGetRequest;
import com.plaid.client.model.TransferLedgerGetResponse;
import com.plaid.client.model.TransferLedgerWithdrawRequest;
import com.plaid.client.model.TransferLedgerWithdrawResponse;
import com.plaid.client.model.TransferListRequest;
import com.plaid.client.model.TransferListResponse;
import com.plaid.client.model.TransferMetricsGetRequest;
import com.plaid.client.model.TransferMetricsGetResponse;
import com.plaid.client.model.TransferMigrateAccountRequest;
import com.plaid.client.model.TransferMigrateAccountResponse;
import com.plaid.client.model.TransferOriginatorCreateRequest;
import com.plaid.client.model.TransferOriginatorCreateResponse;
import com.plaid.client.model.TransferOriginatorFundingAccountCreateRequest;
import com.plaid.client.model.TransferOriginatorFundingAccountCreateResponse;
import com.plaid.client.model.TransferOriginatorFundingAccountUpdateRequest;
import com.plaid.client.model.TransferOriginatorFundingAccountUpdateResponse;
import com.plaid.client.model.TransferOriginatorGetRequest;
import com.plaid.client.model.TransferOriginatorGetResponse;
import com.plaid.client.model.TransferOriginatorListRequest;
import com.plaid.client.model.TransferOriginatorListResponse;
import com.plaid.client.model.TransferPlatformOriginatorCreateRequest;
import com.plaid.client.model.TransferPlatformOriginatorCreateResponse;
import com.plaid.client.model.TransferPlatformPersonCreateRequest;
import com.plaid.client.model.TransferPlatformPersonCreateResponse;
import com.plaid.client.model.TransferPlatformRequirementSubmitRequest;
import com.plaid.client.model.TransferPlatformRequirementSubmitResponse;
import com.plaid.client.model.TransferQuestionnaireCreateRequest;
import com.plaid.client.model.TransferQuestionnaireCreateResponse;
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | true |
wanghao15536870732/DiseaseIdentification | https://github.com/wanghao15536870732/DiseaseIdentification/blob/71e13a3ed687679872a91d602ce56ae82db124ef/app/src/test/java/com/example/ywang/diseaseidentification/ExampleUnitTest.java | app/src/test/java/com/example/ywang/diseaseidentification/ExampleUnitTest.java | package com.example.ywang.diseaseidentification;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() {
assertEquals(4, 2 + 2);
}
} | java | Apache-2.0 | 71e13a3ed687679872a91d602ce56ae82db124ef | 2026-01-05T02:42:23.603099Z | false |
wanghao15536870732/DiseaseIdentification | https://github.com/wanghao15536870732/DiseaseIdentification/blob/71e13a3ed687679872a91d602ce56ae82db124ef/app/src/main/java/com/example/ywang/diseaseidentification/application/MyApplication.java | app/src/main/java/com/example/ywang/diseaseidentification/application/MyApplication.java | package com.example.ywang.diseaseidentification.application;
import android.app.Application;
import android.content.Context;
import android.util.Log;
import android.widget.Toast;
import com.baidu.lbsapi.BMapManager;
import com.baidu.lbsapi.MKGeneralListener;
import com.baidu.mapapi.CoordType;
import com.baidu.mapapi.SDKInitializer;
import com.example.ywang.diseaseidentification.utils.iflytek.RecognitionManager;
import com.example.ywang.diseaseidentification.utils.iflytek.SynthesisManager;
import com.iflytek.cloud.SpeechConstant;
import com.iflytek.cloud.SpeechUtility;
import com.nostra13.universalimageloader.core.ImageLoader;
import com.nostra13.universalimageloader.core.ImageLoaderConfiguration;
import com.nostra13.universalimageloader.core.assist.QueueProcessingType;
public class MyApplication extends Application {
public static String TAG = "Init";
public BMapManager mBMapManager;
private static MyApplication mInstance = null;
//设置APPID/AK/SK
public static final String APP_ID = "17747286";
public static final String API_KEY = "cjWrIRKGpcwLM4AUfW8LTopn";
public static final String SECRET_KEY = "VPeZ3SNXgM2p9NdIgOuFdSUEPQUtzQ9q";
@Override
public void onCreate() {
super.onCreate();
SpeechUtility.createUtility(this,SpeechConstant.APPID + "=5d7360d3");
RecognitionManager.getSingleton().init(this,"5d7360d3");
SynthesisManager.getSingleton().init(this,"5d7360d3");
//在使用SDK各组件之前初始化context信息,传入ApplicationContext
SDKInitializer.initialize(this);
//包括BD09LL和GCJ02两种坐标,默认是BD09LL坐标。
SDKInitializer.setCoordType(CoordType.BD09LL);
mInstance = this;
initEngineManager(this);
initImageLoader(this);
}
public void initEngineManager(Context context) {
if (mBMapManager == null) {
mBMapManager = new BMapManager(context);
}
if (!mBMapManager.init(new MyGeneralListener())) {
Toast.makeText(MyApplication.getInstance().getApplicationContext(), "BMapManager初始化错误!",
Toast.LENGTH_LONG).show();
}
Log.d(TAG, "initEngineManager");
}
public static MyApplication getInstance() {
return mInstance;
}
// 常用事件监听,用来处理通常的网络错误,授权验证错误等
public static class MyGeneralListener implements MKGeneralListener {
@Override
public void onGetPermissionState(int iError) {
//非零值表示key验证未通过
if (iError != 0) { // 授权Key错误:
Log.d(TAG, "请在AndroidManifest.xml中输入正确的授权Key,并检查您的网络连接是否正常!error: " + iError);
} else {
Log.d(TAG, "key认证成功");
}
}
}
/**
* 初始化ImageLoader
*/
public static void initImageLoader(Context context) {
ImageLoaderConfiguration config = new ImageLoaderConfiguration.Builder(
context)
.threadPoolSize(3).threadPriority(Thread.NORM_PRIORITY - 2)
//.memoryCache(new WeakMemoryCache())
.denyCacheImageMultipleSizesInMemory()
.tasksProcessingOrder( QueueProcessingType.LIFO)
.build();
ImageLoader.getInstance().init(config);
}
}
| java | Apache-2.0 | 71e13a3ed687679872a91d602ce56ae82db124ef | 2026-01-05T02:42:23.603099Z | false |
wanghao15536870732/DiseaseIdentification | https://github.com/wanghao15536870732/DiseaseIdentification/blob/71e13a3ed687679872a91d602ce56ae82db124ef/app/src/main/java/com/example/ywang/diseaseidentification/utils/ScrollAwareFABBehavior.java | app/src/main/java/com/example/ywang/diseaseidentification/utils/ScrollAwareFABBehavior.java | package com.example.ywang.diseaseidentification.utils;
import android.content.Context;
import android.support.design.widget.CoordinatorLayout;
import android.support.design.widget.FloatingActionButton;
import android.support.v4.view.ViewCompat;
import android.util.AttributeSet;
import android.view.View;
public class ScrollAwareFABBehavior extends FloatingActionButton.Behavior {
public ScrollAwareFABBehavior(Context context, AttributeSet attrs) {
super();
}
@Override
public boolean onStartNestedScroll(final CoordinatorLayout coordinatorLayout, final FloatingActionButton child,
final View directTargetChild, final View target, final int nestedScrollAxes) {
// Ensure we react to vertical scrolling
return nestedScrollAxes == ViewCompat.SCROLL_AXIS_VERTICAL
|| super.onStartNestedScroll(coordinatorLayout, child, directTargetChild, target, nestedScrollAxes);
}
@Override
public void onNestedScroll(CoordinatorLayout coordinatorLayout, FloatingActionButton child,
View target, int dxConsumed, int dyConsumed, int dxUnconsumed,
int dyUnconsumed) {
super.onNestedScroll(coordinatorLayout, child, target, dxConsumed, dyConsumed, dxUnconsumed, dyUnconsumed);
if(dyConsumed > 0 && child.getVisibility() == View.VISIBLE){
child.hide(new FloatingActionButton.OnVisibilityChangedListener() {
@Override
public void onHidden(FloatingActionButton fab) {
super.onHidden(fab);
fab.setVisibility(View.INVISIBLE);
}
});
} else if(dyConsumed < 0 && child.getVisibility() == View.INVISIBLE){
child.show();
}
}
} | java | Apache-2.0 | 71e13a3ed687679872a91d602ce56ae82db124ef | 2026-01-05T02:42:23.603099Z | false |
wanghao15536870732/DiseaseIdentification | https://github.com/wanghao15536870732/DiseaseIdentification/blob/71e13a3ed687679872a91d602ce56ae82db124ef/app/src/main/java/com/example/ywang/diseaseidentification/utils/SnackBarUtil.java | app/src/main/java/com/example/ywang/diseaseidentification/utils/SnackBarUtil.java | package com.example.ywang.diseaseidentification.utils;
import android.content.Context;
import android.support.design.widget.Snackbar;
import android.view.View;
import com.example.ywang.diseaseidentification.R;
public class SnackBarUtil {
public static void showSnackBar(CharSequence text, View view, Context context) {
Snackbar.make(view, text, Snackbar.LENGTH_SHORT)
.setAction("确定", new View.OnClickListener() {
@Override
public void onClick(View v) {
}
})
.setActionTextColor(context.getResources().getColor( R.color.white))
.show();
}
public static void showSnackBar(int resId, View view, Context context) {
showSnackBar(context.getResources().getText(resId), view, context);
}
} | java | Apache-2.0 | 71e13a3ed687679872a91d602ce56ae82db124ef | 2026-01-05T02:42:23.603099Z | false |
wanghao15536870732/DiseaseIdentification | https://github.com/wanghao15536870732/DiseaseIdentification/blob/71e13a3ed687679872a91d602ce56ae82db124ef/app/src/main/java/com/example/ywang/diseaseidentification/utils/Classifier.java | app/src/main/java/com/example/ywang/diseaseidentification/utils/Classifier.java | package com.example.ywang.diseaseidentification.utils;
import android.graphics.Bitmap;
import android.util.Log;
import org.pytorch.IValue;
import org.pytorch.Module;
import org.pytorch.Tensor;
import org.pytorch.torchvision.TensorImageUtils;
import java.util.Arrays;
public class Classifier {
Module model;
float[] mean = {0.485f, 0.456f, 0.406f};
float[] std = {0.229f, 0.224f, 0.225f};
public Classifier(String modelPath) {
model = Module.load(modelPath);
}
public void setMeanAndStd(float[] mean, float[] std) {
this.mean = mean;
this.std = std;
}
public Tensor preprocess(Bitmap bitmap, int size) {
bitmap = Bitmap.createScaledBitmap(bitmap, size, size, false);
return TensorImageUtils.bitmapToFloat32Tensor(bitmap, this.mean, this.std);
}
public int argMax(float[] inputs) {
int maxIndex = -1;
float maxvalue = 0.0f;
for (int i = 0; i < inputs.length; i++) {
if (inputs[i] > maxvalue) {
maxIndex = i;
maxvalue = inputs[i];
}
}
return maxIndex;
}
public String predict(Bitmap bitmap) {
Tensor tensor = preprocess(bitmap, 325);
IValue inputs = IValue.from(tensor);
Tensor outputs = model.forward(inputs).toTensor();
float[] scores = outputs.getDataAsFloatArray();
Log.e("score", Arrays.toString(scores));
StringBuilder predict_result = new StringBuilder();
while (argMax(scores) != -1){
int classIndex = argMax(scores);
predict_result.append(Constants.DISEASE_CLASSES[classIndex]).append(";").append(scores[classIndex]).append(";");
scores[classIndex] = 0.0f;
}
return predict_result.toString();
}
} | java | Apache-2.0 | 71e13a3ed687679872a91d602ce56ae82db124ef | 2026-01-05T02:42:23.603099Z | false |
wanghao15536870732/DiseaseIdentification | https://github.com/wanghao15536870732/DiseaseIdentification/blob/71e13a3ed687679872a91d602ce56ae82db124ef/app/src/main/java/com/example/ywang/diseaseidentification/utils/Utils.java | app/src/main/java/com/example/ywang/diseaseidentification/utils/Utils.java | package com.example.ywang.diseaseidentification.utils;
import android.content.Context;
import android.util.Log;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
public class Utils {
public static String assetFilePath(Context context, String assetName) {
File file = new File(context.getFilesDir(), assetName);
try (InputStream is = context.getAssets().open(assetName)) {
try (OutputStream os = new FileOutputStream(file)) {
byte[] buffer = new byte[4 * 1024];
int read;
while ((read = is.read(buffer)) != -1) {
os.write(buffer, 0, read);
}
os.flush();
}
return file.getAbsolutePath();
} catch (IOException e) {
Log.e("pyTorch_android", "Error process asset " + assetName + " to file path");
}
return null;
}
}
| java | Apache-2.0 | 71e13a3ed687679872a91d602ce56ae82db124ef | 2026-01-05T02:42:23.603099Z | false |
wanghao15536870732/DiseaseIdentification | https://github.com/wanghao15536870732/DiseaseIdentification/blob/71e13a3ed687679872a91d602ce56ae82db124ef/app/src/main/java/com/example/ywang/diseaseidentification/utils/ShadowTransformer.java | app/src/main/java/com/example/ywang/diseaseidentification/utils/ShadowTransformer.java | package com.example.ywang.diseaseidentification.utils;
import android.support.v4.view.ViewPager;
import android.support.v7.widget.CardView;
import android.view.View;
import com.example.ywang.diseaseidentification.adapter.CardAdapter;
public class ShadowTransformer implements ViewPager.OnPageChangeListener, ViewPager.PageTransformer {
private ViewPager mViewPager;
private CardAdapter mAdapter;
private float mLastOffset;
private boolean mScalingEnabled;
public ShadowTransformer(ViewPager viewPager, CardAdapter adapter) {
mViewPager = viewPager;
viewPager.addOnPageChangeListener(this);
mAdapter = adapter;
}
public void enableScaling(boolean enable) {
if (mScalingEnabled && !enable) {
// shrink main card
CardView currentCard = mAdapter.getCardViewAt(mViewPager.getCurrentItem());
if (currentCard != null) {
currentCard.animate().scaleY(1);
currentCard.animate().scaleX(1);
}
}else if(!mScalingEnabled && enable){
// grow main card
CardView currentCard = mAdapter.getCardViewAt(mViewPager.getCurrentItem());
if (currentCard != null) {
currentCard.animate().scaleY(1.1f);
currentCard.animate().scaleX(1.1f);
}
}
mScalingEnabled = enable;
}
@Override
public void transformPage(View page, float position) {
}
@Override
public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
int realCurrentPosition;
int nextPosition;
float baseElevation = mAdapter.getBaseElevation();
float realOffset;
boolean goingLeft = mLastOffset > positionOffset;
// If we're going backwards, onPageScrolled receives the last position
// instead of the current one
if (goingLeft) {
realCurrentPosition = position + 1;
nextPosition = position;
realOffset = 1 - positionOffset;
} else {
nextPosition = position + 1;
realCurrentPosition = position;
realOffset = positionOffset;
}
// Avoid crash on overscroll
if (nextPosition > mAdapter.getCount() - 1
|| realCurrentPosition > mAdapter.getCount() - 1) {
return;
}
CardView currentCard = mAdapter.getCardViewAt(realCurrentPosition);
// This might be null if a fragment is being used
// and the views weren't created yet
if (currentCard != null) {
if (mScalingEnabled) {
currentCard.setScaleX((float) (1 + 0.1 * (1 - realOffset)));
currentCard.setScaleY((float) (1 + 0.1 * (1 - realOffset)));
}
currentCard.setCardElevation((baseElevation + baseElevation
* (CardAdapter.MAX_ELEVATION_FACTOR - 1) * (1 - realOffset)));
}
CardView nextCard = mAdapter.getCardViewAt(nextPosition);
// We might be scrolling fast enough so that the next (or previous) card
// was already destroyed or a fragment might not have been created yet
if (nextCard != null) {
if (mScalingEnabled) {
nextCard.setScaleX((float) (1 + 0.1 * (realOffset)));
nextCard.setScaleY((float) (1 + 0.1 * (realOffset)));
}
nextCard.setCardElevation((baseElevation + baseElevation
* (CardAdapter.MAX_ELEVATION_FACTOR - 1) * (realOffset)));
}
mLastOffset = positionOffset;
}
@Override
public void onPageSelected(int position) {
}
@Override
public void onPageScrollStateChanged(int state) {
}
}
| java | Apache-2.0 | 71e13a3ed687679872a91d602ce56ae82db124ef | 2026-01-05T02:42:23.603099Z | false |
wanghao15536870732/DiseaseIdentification | https://github.com/wanghao15536870732/DiseaseIdentification/blob/71e13a3ed687679872a91d602ce56ae82db124ef/app/src/main/java/com/example/ywang/diseaseidentification/utils/Constants.java | app/src/main/java/com/example/ywang/diseaseidentification/utils/Constants.java | package com.example.ywang.diseaseidentification.utils;
public class Constants {
public static String[] DISEASE_CLASSES = new String[]{
"苹果健康", "苹果黑星病一般", "苹果黑星病严重", "苹果灰斑病", "苹果雪松锈病一般",
"苹果雪松锈病严重", "樱桃健康", "樱桃白粉病一般", "樱桃白粉病严重", "玉米健康",
"玉米灰斑病一般", "玉米灰斑病严重", "玉米锈病一般", "玉米锈病严重", "玉米叶斑病一般",
"玉米叶斑病严重", "玉米花叶病毒病", "葡萄健康", "葡萄黑腐病一般", "葡萄黑腐病严重",
"葡萄轮斑病一般", "葡萄轮斑病严重", "葡萄褐斑病一般", "葡萄褐斑病严重", "柑桔健康",
"柑桔黄龙病一般", "柑桔黄龙病严重", "桃健康", "桃疮痂病一般", "桃疮痂病严重",
"辣椒健康", "辣椒疮痂病一般", "辣椒疮痂病严重", "马铃薯健康", "马铃薯早疫病一般",
"马铃薯早疫病严重", "马铃薯晚疫病一般", "马铃薯晚疫病严重", "草莓健康", "草莓叶枯病一般",
"草莓叶枯病严重", "番茄健康", "番茄白粉病一般", "番茄白粉病严重", "番茄疮痂病一般",
"番茄疮痂病严重", "番茄早疫病一般", "番茄早疫病严重", "番茄晚疫病菌一般", "番茄晚疫病菌严重",
"番茄叶霉病一般", "番茄叶霉病严重", "番茄斑点病一般", "番茄斑点病严重", "番茄斑枯病一般",
"番茄斑枯病严重", "番茄红蜘蛛损伤一般", "番茄红蜘蛛损伤严重", "番茄黄化曲叶病毒病一般", "番茄黄化曲叶病毒病严重",
"番茄花叶病毒病"
};
}
| java | Apache-2.0 | 71e13a3ed687679872a91d602ce56ae82db124ef | 2026-01-05T02:42:23.603099Z | false |
wanghao15536870732/DiseaseIdentification | https://github.com/wanghao15536870732/DiseaseIdentification/blob/71e13a3ed687679872a91d602ce56ae82db124ef/app/src/main/java/com/example/ywang/diseaseidentification/utils/baidumap/OverlayManager.java | app/src/main/java/com/example/ywang/diseaseidentification/utils/baidumap/OverlayManager.java | package com.example.ywang.diseaseidentification.utils.baidumap;
import com.baidu.mapapi.map.BaiduMap;
import com.baidu.mapapi.map.BaiduMap.OnPolylineClickListener;
import com.baidu.mapapi.map.MapStatusUpdateFactory;
import com.baidu.mapapi.map.Marker;
import com.baidu.mapapi.map.Overlay;
import com.baidu.mapapi.map.OverlayOptions;
import com.baidu.mapapi.model.LatLngBounds;
import java.util.ArrayList;
import java.util.List;
import static com.baidu.mapapi.map.BaiduMap.OnMarkerClickListener;
/**
* 该类提供一个能够显示和管理多个Overlay的基类
*/
public abstract class OverlayManager implements OnMarkerClickListener, OnPolylineClickListener {
BaiduMap mBaiduMap = null;
private List<OverlayOptions> mOverlayOptionList = null;
List<Overlay> mOverlayList = null;
/**
* 通过一个BaiduMap 对象构造
*/
public OverlayManager(BaiduMap baiduMap) {
mBaiduMap = baiduMap;
// mBaiduMap.setOnMarkerClickListener(this);
if (mOverlayOptionList == null) {
mOverlayOptionList = new ArrayList<OverlayOptions>();
}
if (mOverlayList == null) {
mOverlayList = new ArrayList<Overlay>();
}
}
/**
* 覆写此方法设置要管理的Overlay列表
*/
public abstract List<OverlayOptions> getOverlayOptions();
/**
* 将所有Overlay 添加到地图上
*/
public final void addToMap() {
if (mBaiduMap == null) {
return;
}
removeFromMap();
List<OverlayOptions> overlayOptions = getOverlayOptions();
if (overlayOptions != null) {
mOverlayOptionList.addAll(getOverlayOptions());
}
for (OverlayOptions option : mOverlayOptionList) {
mOverlayList.add(mBaiduMap.addOverlay(option));
}
}
/**
* 将所有Overlay 从 地图上消除
*/
public final void removeFromMap() {
if (mBaiduMap == null) {
return;
}
for (Overlay marker : mOverlayList) {
marker.remove();
}
mOverlayOptionList.clear();
mOverlayList.clear();
}
/**
* 缩放地图,使所有Overlay都在合适的视野内
*/
public void zoomToSpan() {
if (mBaiduMap == null) {
return;
}
if (mOverlayList.size() > 0) {
LatLngBounds.Builder builder = new LatLngBounds.Builder();
for (Overlay overlay : mOverlayList) {
// polyline 中的点可能太多,只按marker 缩放
if (overlay instanceof Marker) {
builder.include(((Marker) overlay).getPosition());
}
}
mBaiduMap.setMapStatus(MapStatusUpdateFactory
.newLatLngBounds(builder.build()));
}
}
}
| java | Apache-2.0 | 71e13a3ed687679872a91d602ce56ae82db124ef | 2026-01-05T02:42:23.603099Z | false |
wanghao15536870732/DiseaseIdentification | https://github.com/wanghao15536870732/DiseaseIdentification/blob/71e13a3ed687679872a91d602ce56ae82db124ef/app/src/main/java/com/example/ywang/diseaseidentification/utils/baidumap/MyOrientationListener.java | app/src/main/java/com/example/ywang/diseaseidentification/utils/baidumap/MyOrientationListener.java | package com.example.ywang.diseaseidentification.utils.baidumap;
import android.content.Context;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;
/**
* 自定义方向常感器工具类
*/
public class MyOrientationListener implements SensorEventListener {
private SensorManager mSensorManager;
private Context mContext;
private Sensor mSensor;
private OnOrientationListener mOnOrientationListener;
private float mLastX;
public MyOrientationListener(Context context) {
mContext = context;
}
public void start(){
mSensorManager = (SensorManager) mContext.getSystemService(Context.SENSOR_SERVICE);
if (mSensorManager != null){
/*获得方向传感器*/
mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ORIENTATION);
}
if (mSensor != null) {
mSensorManager.registerListener(this,mSensor,mSensorManager.SENSOR_DELAY_UI);
}
}
public void stop(){
mSensorManager.unregisterListener(this);
}
@Override
public void onSensorChanged(SensorEvent sensorEvent) {
if(sensorEvent.sensor.getType() == Sensor.TYPE_ORIENTATION){
float x = sensorEvent.values[SensorManager.DATA_X];
if (Math.abs(x - mLastX) > 1.0){
if (mOnOrientationListener != null){
mOnOrientationListener.onOrientationChanged(x);
}
}
mLastX = x;
}
}
@Override
public void onAccuracyChanged(Sensor sensor, int i) {
}
public void setOnOrientationListener(OnOrientationListener onOrientationListener) {
mOnOrientationListener = onOrientationListener;
}
public interface OnOrientationListener{
void onOrientationChanged(float x);
}
}
| java | Apache-2.0 | 71e13a3ed687679872a91d602ce56ae82db124ef | 2026-01-05T02:42:23.603099Z | false |
wanghao15536870732/DiseaseIdentification | https://github.com/wanghao15536870732/DiseaseIdentification/blob/71e13a3ed687679872a91d602ce56ae82db124ef/app/src/main/java/com/example/ywang/diseaseidentification/utils/baidumap/WalkingRouteOverlay.java | app/src/main/java/com/example/ywang/diseaseidentification/utils/baidumap/WalkingRouteOverlay.java | package com.example.ywang.diseaseidentification.utils.baidumap;
import android.graphics.Color;
import android.os.Bundle;
import android.util.Log;
import com.baidu.mapapi.map.BaiduMap;
import com.baidu.mapapi.map.BitmapDescriptor;
import com.baidu.mapapi.map.BitmapDescriptorFactory;
import com.baidu.mapapi.map.Marker;
import com.baidu.mapapi.map.MarkerOptions;
import com.baidu.mapapi.map.Overlay;
import com.baidu.mapapi.map.OverlayOptions;
import com.baidu.mapapi.map.Polyline;
import com.baidu.mapapi.map.PolylineOptions;
import com.baidu.mapapi.model.LatLng;
import com.baidu.mapapi.search.route.WalkingRouteLine;
import java.util.ArrayList;
import java.util.List;
/**
* 用于显示步行路线的overlay,自3.4.0版本起可实例化多个添加在地图中显示
*/
public class WalkingRouteOverlay extends OverlayManager {
private WalkingRouteLine mRouteLine = null;
public WalkingRouteOverlay(BaiduMap baiduMap) {
super(baiduMap);
}
/**
* 设置路线数据。
*/
public void setData(WalkingRouteLine line) {
mRouteLine = line;
}
@Override
public final List<OverlayOptions> getOverlayOptions() {
if (mRouteLine == null) {
return null;
}
List<OverlayOptions> overlayList = new ArrayList<OverlayOptions>();
if (mRouteLine.getAllStep() != null
&& mRouteLine.getAllStep().size() > 0) {
for (WalkingRouteLine.WalkingStep step : mRouteLine.getAllStep()) {
Bundle b = new Bundle();
b.putInt("index", mRouteLine.getAllStep().indexOf(step));
if (step.getEntrance() != null) {
overlayList.add((new MarkerOptions())
.position(step.getEntrance().getLocation())
.rotate((360 - step.getDirection()))
.zIndex(10)
.anchor(0.5f, 0.5f)
.extraInfo(b)
.icon(BitmapDescriptorFactory
.fromAssetWithDpi("Icon_line_node.png")));
}
// 最后路段绘制出口点
if (mRouteLine.getAllStep().indexOf(step) == (mRouteLine
.getAllStep().size() - 1) && step.getExit() != null) {
overlayList.add((new MarkerOptions())
.position(step.getExit().getLocation())
.anchor(0.5f, 0.5f)
.zIndex(10)
.icon(BitmapDescriptorFactory
.fromAssetWithDpi("Icon_line_node.png")));
}
}
}
// starting
if (mRouteLine.getStarting() != null) {
overlayList.add((new MarkerOptions())
.position(mRouteLine.getStarting().getLocation())
.icon(getStartMarker() != null ? getStartMarker() :
BitmapDescriptorFactory
.fromAssetWithDpi("Icon_start.png")).zIndex(10));
}
// terminal
if (mRouteLine.getTerminal() != null) {
overlayList
.add((new MarkerOptions())
.position(mRouteLine.getTerminal().getLocation())
.icon(getTerminalMarker() != null ? getTerminalMarker() :
BitmapDescriptorFactory
.fromAssetWithDpi("Icon_end.png"))
.zIndex(10));
}
// poly line list
if (mRouteLine.getAllStep() != null
&& mRouteLine.getAllStep().size() > 0) {
LatLng lastStepLastPoint = null;
for (WalkingRouteLine.WalkingStep step : mRouteLine.getAllStep()) {
List<LatLng> watPoints = step.getWayPoints();
if (watPoints != null) {
List<LatLng> points = new ArrayList<LatLng>();
if (lastStepLastPoint != null) {
points.add(lastStepLastPoint);
}
points.addAll(watPoints);
overlayList.add(new PolylineOptions().points(points).width(10)
.color(getLineColor() != 0 ? getLineColor() : Color.argb(178, 0, 78, 255)).zIndex(0));
lastStepLastPoint = watPoints.get(watPoints.size() - 1);
}
}
}
return overlayList;
}
/**
* 覆写此方法以改变默认起点图标
*/
public BitmapDescriptor getStartMarker() {
return null;
}
public int getLineColor() {
return 0;
}
/**
* 覆写此方法以改变默认终点图标
*/
public BitmapDescriptor getTerminalMarker() {
return null;
}
/**
* 处理点击事件
* @param i
* @return 是否处理了该点击事件
*/
public boolean onRouteNodeClick(int i) {
if (mRouteLine.getAllStep() != null
&& mRouteLine.getAllStep().get(i) != null) {
Log.i("BaiDuMapSDK", "WalkingRouteOverlay onRouteNodeClick");
}
return false;
}
@Override
public final boolean onMarkerClick(Marker marker) {
for (Overlay mMarker : mOverlayList) {
if (mMarker instanceof Marker && mMarker.equals(marker)) {
if (marker.getExtraInfo() != null) {
onRouteNodeClick(marker.getExtraInfo().getInt("index"));
}
}
}
return true;
}
@Override
public boolean onPolylineClick(Polyline polyline) {
// TODO Auto-generated method stub
return false;
}
}
| java | Apache-2.0 | 71e13a3ed687679872a91d602ce56ae82db124ef | 2026-01-05T02:42:23.603099Z | false |
wanghao15536870732/DiseaseIdentification | https://github.com/wanghao15536870732/DiseaseIdentification/blob/71e13a3ed687679872a91d602ce56ae82db124ef/app/src/main/java/com/example/ywang/diseaseidentification/utils/file/CSVFile.java | app/src/main/java/com/example/ywang/diseaseidentification/utils/file/CSVFile.java | package com.example.ywang.diseaseidentification.utils.file;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
public class CSVFile {
InputStream inputStream;
public CSVFile(InputStream inputStream){
this.inputStream = inputStream;
}
public List read(){
List<String[]> resultList = new ArrayList<>();
BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream));
try {
String csvLine;
while ((csvLine = reader.readLine()) != null) {
String[] row = csvLine.split(",");
resultList.add(row);
}
}
catch (IOException ex) {
throw new RuntimeException("Error in reading CSV file: "+ex);
} finally {
try {
inputStream.close();
}
catch (IOException e) {
throw new RuntimeException("Error while closing input stream: "+e);
}
}
return resultList;
}
}
| java | Apache-2.0 | 71e13a3ed687679872a91d602ce56ae82db124ef | 2026-01-05T02:42:23.603099Z | false |
wanghao15536870732/DiseaseIdentification | https://github.com/wanghao15536870732/DiseaseIdentification/blob/71e13a3ed687679872a91d602ce56ae82db124ef/app/src/main/java/com/example/ywang/diseaseidentification/utils/file/ConstantUtils.java | app/src/main/java/com/example/ywang/diseaseidentification/utils/file/ConstantUtils.java | package com.example.ywang.diseaseidentification.utils.file;
import android.content.Context;
import com.example.ywang.diseaseidentification.bean.baseData.DiseaseData;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
public class ConstantUtils {
public static List scoreList = new ArrayList<>();
public static void getCSV(Context mContext,int source){
InputStream inputStream = mContext.getResources().openRawResource(source);
CSVFile csvFile = new CSVFile(inputStream);
scoreList = csvFile.read();
}
public static List getCSVFile(Context mContext, int source){
InputStream inputStream = mContext.getResources().openRawResource(source);
CSVFile csvFile = new CSVFile(inputStream);
return csvFile.read();
}
/*所有农作物*/
public static DiseaseData[] CropList1 = {
new DiseaseData("白菜","http://img4.agronet.com.cn/Users/100/161/960/20111014203409664.jpg","baicai"),
new DiseaseData("菠菜","https://cn.bing.com/th?id=OIP.WJdzeRI-0mzdZfLiUQ7x5AHaGM&pid=Api&rs=1","bocai"),
new DiseaseData("葱","http://www.danbaoli-blog.cn/wp-content/uploads/2014/05/%E8%91%B1.jpg","cong"),
new DiseaseData("冬瓜","http://www.nren8.com/uploads/allimg/c160517/14634433QD0-3Y07.jpg","donggua"),
new DiseaseData("番茄","https://cn.bing.com/th?id=OIP.rQHM7AeukvOzlJb881poAAHaFV&pid=Api&rs=1","fanqie"),
new DiseaseData("胡萝卜","http://pic.nipic.com/2007-12-26/20071226115243355_2.jpg","huluobo"),
new DiseaseData("花椰菜","https://pic.pimg.tw/djwang714/1522465865-1481450252.jpg","huayecai"),
new DiseaseData("黄瓜","https://i3.meishichina.com/attachment/201405/6/13993619805178.jpg","huanggua"),
new DiseaseData("芥菜","https://cn.bing.com/th?id=OIP.EsyYdiSUyNIcz3NoNNtkqQHaHa&pid=Api&rs=1","qicai"),
new DiseaseData("韭菜","https://image.tcmwiki.com/image/%E9%9F%AD%E8%8F%9C/%E9%9F%AD%E8%8F%9C.jpg","jiucai"),
new DiseaseData("苦瓜","https://cn.bing.com/th?id=OIP.Vra2ca7lhgQVK_8va2dKOgHaE7&pid=Api&rs=1","kugua"),
new DiseaseData("辣椒","https://a4.att.hudong.com/80/60/01300000996113130148608272547.jpg","lajiao"),
new DiseaseData("扁豆","http://www.114nz.com/all_images/tuku/fl/200909281658185273.jpg","biandou"),
new DiseaseData("萝卜","http://s1.cdn.xiangha.com/shicai/201508/071034157627.jpg/MTAwMHgw","luobo"),
new DiseaseData("南瓜","http://www.114nz.com/all_images/tuku/fl/200909281658327975.jpg","nangua"),
new DiseaseData("茄子","https://cn.bing.com/th?id=OIP.W7wtukTpIHdOzkWPQHML-QHaEz&pid=Api&rs=1","qiezi"),
new DiseaseData("芹菜","https://tse4-mm.cn.bing.net/th/id/OIP._QnHjyMwFS3-fNxHjQO54wHaFn?pid=Api&rs=1","qincai"),
new DiseaseData("丝瓜","https://cn.bing.com/th?id=OIP.peqdszbb-5l8HoEoE4TPWgHaE7&pid=Api&rs=1","sigua"),
new DiseaseData("蒜","http://pichk.daydaycook.com/production/images/20171204/146d0211-ebd6-444e-b315-77ac69bdc607","suan"),
new DiseaseData("甜椒","http://www.114nz.com/all_images/tuku/fl/200909281703553699.jpg","tianjiao"),
new DiseaseData("豌豆","http://img.juimg.com/tuku/yulantu/130805/328505-130P5222T277.jpg","wandou"),
new DiseaseData("莴苣","https://cn.bing.com/th?id=OIP.4LqxEDsg_7PJ9L137qCHFQHaFE&pid=Api&rs=1","woju"),
new DiseaseData("西葫芦","https://www.zhifure.com/upload/images/2018/1/12155342782.jpg","xihulu"),
new DiseaseData("香菜","http://www.39ynt.com/doe/js/php/upload/20171129/15119542744622.jpeg","xiangcai"),
new DiseaseData("洋葱","http://sdbdfyy.com/uploads/allimg/120327/1-12032GRG2V1.jpg","yangcong"),
new DiseaseData("芥蓝","http://pic.baike.soso.com/p/20140319/20140319135542-1237064598.jpg","jielan"),
new DiseaseData("莲藕","https://cn.bing.com/th?id=OIP.GpB7f1uzpE8B0kQkc2whDAHaFj&pid=Api&rs=1","lianou"),
new DiseaseData("生菜","https://www.zhifure.com/upload/images/2018/1/22163742153.jpg","shengcai"),
new DiseaseData("茴香","https://www.zhifure.com/upload/images/2018/1/29163950835.jpg","hunxiang"),
new DiseaseData("甜菜","http://5b0988e595225.cdn.sohucs.com/images/20181217/8e72863e295d4fecb3a551164e7598eb.jpeg","tiancai"),
new DiseaseData("小白菜","https://cn.bing.com/th?id=OIP.SylOjxs67YhdgrQ5rW7RQwHaHa&pid=Api&rs=1","xiaobaicai"),
new DiseaseData("苋菜","https://cn.bing.com/th?id=OIP.5ng1FtMeK1P7YXg_w83igQHaFj&pid=Api&rs=1","jiecai")
};
public static DiseaseData[] CropList2 = {
new DiseaseData("芝麻","https://cn.bing.com/th?id=OIP.zoHsUXJWvHAPxSugbIHgBgHaHf&pid=Api&rs=1","zhima"),
new DiseaseData("花生","http://img02.tooopen.com/images/20150819/tooopen_sy_138895664793.jpg","huasheng"),
new DiseaseData("茶叶","https://www.1616n.com/upload/resources/image/2017/07/27/656649.jpg","chaye"),
new DiseaseData("蓖麻","http://pic.baike.soso.com/p/20130408/20130408154305-69638433.jpg","bima"),
new DiseaseData("烟草","https://cn.bing.com/th?id=OIP.e-GBr6tb7QxIYCs17zi7GAHaFj&pid=Api&rs=1","yancao"),
new DiseaseData("甘薯","http://a4.att.hudong.com/54/12/01300000180919121697121473963.jpg","ganshu"),
new DiseaseData("向日葵","http://a4.att.hudong.com/66/91/01000000000000119089130220666.jpg","xiangrikui"),
new DiseaseData("木薯","https://image.tcmwiki.com/image/%E6%9C%A8%E8%96%AF/%E6%9C%A8%E8%96%AF.jpg","mushu"),
new DiseaseData("桑树","http://www.114nz.com/all_images/tuku/fl/200909290904597902.jpg","sangshu"),
new DiseaseData("花类药材","http://www.114nz.com/all_images/tuku/fl/200912301644032610.jpg","hualeiyaocai"),
new DiseaseData("根茎类药材","http://www.114nz.com/all_images/tuku/fl/200912301646281135.jpg","genjigenjingleiyaocai"),
new DiseaseData("叶用药材","http://www.114nz.com/all_images/tuku/fl/200912301651595845.jpg","caoleiyaocaijiyeyongyaocai"),
new DiseaseData("皮类药材","http://www.114nz.com/all_images/tuku/fl/200912301655472810.jpg","pileiyaocaibinghai"),
};
public static DiseaseData[] CropList3 = {
new DiseaseData("苹果","http://game.hg0355.com/game/xpg/logo.jpg","pingguo"),
new DiseaseData("葡萄","http://file06.16sucai.com/2016/0919/61d2ad640028401f16d7d1fd94d16d2b.jpg","putao"),
new DiseaseData("梨","https://www.olive-hitomawashi.com/column/80cce6747bed9ee9440d89af18b47ba6931a3448.jpg","li"),
new DiseaseData("桃","https://cn.bing.com/th?id=OIP.V4cSc4-0EWyjTLFQMsJRegHaE8&pid=Api&rs=1","tao"),
new DiseaseData("草莓","https://cn.bing.com/th?id=OIP.Qbnce6uj0xNxfER2hr_yMAHaEo&pid=Api&rs=1","caomei"),
new DiseaseData("西瓜","http://d6.yihaodianimg.com/N00/M02/5E/A4/CgQCtlGZ2NWAbSV6AAJPZJxjNOk06200.jpg","xigua"),
new DiseaseData("甘蔗","http://pic7.photophoto.cn/20080612/0020033078507471_b.jpg","ganzhe"),
new DiseaseData("甜瓜","http://pic.qqtn.com/up/2017-5/201705091441151745527.png","tiangua"),
new DiseaseData("香蕉","http://www.114nz.com/all_images/tuku/fl/200909281554147130.jpg","xiangjiao"),
new DiseaseData("枸杞","http://www.114nz.com/all_images/tuku/fl/200909281555065163.jpg","gouqi"),
new DiseaseData("杏","http://www.114nz.com/all_images/tuku/fl/200909281556594769.jpg","xing"),
new DiseaseData("枣","http://www.114nz.com/all_images/tuku/fl/200909281557141963.jpg","zao"),
new DiseaseData("荔枝","http://www.114nz.com/all_images/tuku/fl/200909281557478894.jpg","lizhi"),
new DiseaseData("樱桃","http://www.114nz.com/all_images/tuku/fl/200909281555139318.jpg","yingtao"),
new DiseaseData("芒果","http://www.114nz.com/all_images/tuku/fl/200909281600085021.jpg","mangguo"),
new DiseaseData("柑橘","http://www.114nz.com/all_images/tuku/fl/200909281601598480.jpg","ganju"),
new DiseaseData("橙","http://www.114nz.com/all_images/tuku/fl/200909281602256447.jpg","cheng"),
new DiseaseData("柠檬","http://www.114nz.com/all_images/tuku/fl/200909281602131190.jpg","ningmeng"),
new DiseaseData("柚","http://www.114nz.com/all_images/tuku/fl/200909281602472379.jpg","you"),
new DiseaseData("菠萝","http://www.114nz.com/all_images/tuku/fl/200909281603521220.jpg","boluo"),
new DiseaseData("椰子","http://www.114nz.com/all_images/tuku/fl/200909281604068316.jpg","yezi"),
};
public static DiseaseData[] CropList4 = {
new DiseaseData("玉米","https://cn.bing.com/th?id=OIP.BTA-AyZROm9sj9JFrKpE6gHaF7&pid=Api&rs=1","yumi"),
new DiseaseData("水稻","https://cn.bing.com/th?id=OIP.DuAkfbnHhXVjgpbMKMkyswHaFM&pid=Api&rs=1","shuidao"),
new DiseaseData("大麦","https://cn.bing.com/th?id=OIP.pxuy8n3hgCrTgPod0KQQ_wHaDt&pid=Api&rs=1","damai"),
new DiseaseData("小麦","https://tse2-mm.cn.bing.net/th/id/OIP.8lf0N-6ucKpoCuUlxq3ZugHaFj?pid=Api&rs=1","xiaomai"),
new DiseaseData("棉花","http://img.qnong.com.cn/uploadfile/2016/0309/20160309080932770.jpg","mianhua"),
new DiseaseData("土豆","https://cn.bing.com/th?id=OIP.fBmV-BZLMMTMi_qm3MnFxQHaGR&pid=Api&rs=1","tudou"),
new DiseaseData("油菜","https://tse1-mm.cn.bing.net/th/id/OIP.H6JoKOeqsNqhr0_Ku9-XpgHaFj?pid=Api&rs=1","youcai"),
new DiseaseData("大豆","https://cn.bing.com/th?id=OIP.Eww7Cgag6EG3M6pnpqLM2QHaE8&pid=Api&rs=1","dadou"),
new DiseaseData("高粱","https://cn.bing.com/th?id=OIP._H_lgGLAmCzRXkjTIfs1AgHaFj&pid=Api&rs=1","gaoliang"),
new DiseaseData("绿豆","https://cn.bing.com/th?id=OIP.TGNgu0X_WDX0ZOOHRttNQQHaGU&pid=Api&rs=1","lvdou"),
new DiseaseData("蚕豆","https://cn.bing.com/th?id=OIP._6280Hq3xW9viFKxTKzemAHaFQ&pid=Api&rs=1","candou"),
new DiseaseData("荞麦","https://static.baicaolu.com/uploads/201507/1436285026i8NwYdcR.jpg","qiaomai"),
new DiseaseData("麻类","http://n.sinaimg.cn/translate/88/w500h388/20181201/Vlp1-hpevhcm5855739.jpg","malei"),
};
}
| java | Apache-2.0 | 71e13a3ed687679872a91d602ce56ae82db124ef | 2026-01-05T02:42:23.603099Z | false |
wanghao15536870732/DiseaseIdentification | https://github.com/wanghao15536870732/DiseaseIdentification/blob/71e13a3ed687679872a91d602ce56ae82db124ef/app/src/main/java/com/example/ywang/diseaseidentification/utils/iflytek/RecognitionManager.java | app/src/main/java/com/example/ywang/diseaseidentification/utils/iflytek/RecognitionManager.java | package com.example.ywang.diseaseidentification.utils.iflytek;
import android.content.Context;
import android.os.Bundle;
import android.util.Log;
import com.example.ywang.diseaseidentification.bean.baseEnum.AccenteEnum;
import com.example.ywang.diseaseidentification.bean.baseEnum.DictationResult;
import com.example.ywang.diseaseidentification.bean.baseEnum.DomainEnum;
import com.example.ywang.diseaseidentification.bean.baseEnum.LanguageEnum;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import com.iflytek.cloud.ErrorCode;
import com.iflytek.cloud.InitListener;
import com.iflytek.cloud.RecognizerListener;
import com.iflytek.cloud.RecognizerResult;
import com.iflytek.cloud.SpeechConstant;
import com.iflytek.cloud.SpeechError;
import com.iflytek.cloud.SpeechRecognizer;
import com.iflytek.cloud.SpeechUtility;
import com.iflytek.cloud.ui.RecognizerDialog;
import com.iflytek.cloud.ui.RecognizerDialogListener;
import java.util.List;
/**
* 语音听写工具类
*/
public class RecognitionManager {
private Context mContext;
private final String TAG = "RecognitionManager";
private SpeechRecognizer mIat;
public RecognitionManager setDomain(DomainEnum domain) {
mIat.setParameter( SpeechConstant.DOMAIN, domain.toString());
return this;
}
public RecognitionManager setLanguage(LanguageEnum language) {
mIat.setParameter( SpeechConstant.LANGUAGE, language.toString());
return this;
}
public RecognitionManager setAccent(AccenteEnum accent) {
mIat.setParameter( SpeechConstant.ACCENT, accent.toString());
return this;
}
public RecognitionManager setAudioPath(String audioPath) {
//保存音频文件到本地(有需要的话) 仅支持pcm和wav,且需要自行添加读写SD卡权限
mIat.setParameter( SpeechConstant.ASR_AUDIO_PATH, audioPath);
return this;
}
private RecognitionManager() {
}
//通过静态内部类获取实例
public static RecognitionManager getSingleton() {
return SingletonHolder.singleton;
}
//静态内部类里实例化StaticClassSingleton对象
public static class SingletonHolder {
private static final RecognitionManager singleton = new RecognitionManager();
}
public RecognitionManager init(Context mContext, String appID) {
SpeechUtility.createUtility(mContext, SpeechConstant.APPID + "=" + appID);
this.mContext = mContext;
if (mIat == null) {
//1.创建SpeechRecognizer对象,第二个参数:本地识别时传InitListener
mIat = SpeechRecognizer.createRecognizer(mContext, null);
}
return this;
}
/**
* 语音识别回调监听
*/
public interface onRecognitionListen {
void result(String msg);
void error(String errorMsg);
void onBeginOfSpeech();
void onVolumeChanged(int volume, byte[] data);
void onEndOfSpeech();
}
//有动画效果
private RecognizerDialog iatDialog;
public void startRecognitionWithDialog(Context mContext, final onRecognitionListen listen) {
if (this.listen == null) {
this.listen = listen;
}
// ②初始化有交互动画的语音识别器
iatDialog = new RecognizerDialog(mContext, mInitListener);
//③设置监听,实现听写结果的回调
iatDialog.setListener( mRecognizersDialog);
//开始听写,需将sdk中的assets文件下的文件夹拷入项目的assets文件夹下(没有的话自己新建)
iatDialog.show();
}
private RecognizerDialogListener mRecognizersDialog = new RecognizerDialogListener() {
@Override
public void onResult(RecognizerResult recognizerResult, boolean b) {
analyzeJson(recognizerResult,b);
/* etText.setText(result);
//获取焦点
etText.requestFocus();
//将光标定位到文字最后,以便修改
etText.setSelection(result.length());*/
}
@Override
public void onError(SpeechError speechError) {
listen.error(speechError.getMessage());
speechError.getPlainDescription(true);
}
};
/**
* 关闭语音识别对话框;
*/
public void closeRecognitionDialog() {
if (iatDialog != null) {
iatDialog.dismiss();
Log.d(TAG, "closeRecognitionDialog");
} else {
Log.d(TAG, "closeRecognitionDialog,iatDialog=null");
}
}
private InitListener mInitListener = new InitListener() {
@Override
public void onInit(int code) {
Log.d(TAG, "SpeechRecognizer init() code = " + code);
if (code != ErrorCode.SUCCESS) {
Log.d(TAG, "初始化失败,错误码:" + code);
}
}
};
private onRecognitionListen listen;
public void startRecognition(onRecognitionListen listen) {
if (this.listen == null) {
this.listen = listen;
}
/* //2.设置听写参数,详见SDK中《MSC Reference Manual》文件夹下的SpeechConstant类
mIat.setParameter(SpeechConstant.DOMAIN,"iat");
mIat.setParameter(SpeechConstant.LANGUAGE,"zh_cn");
mIat.setParameter(SpeechConstant.ACCENT,"mandarin ");
//保存音频文件到本地(有需要的话) 仅支持pcm和wav,且需要自行添加读写SD卡权限
mIat.setParameter(SpeechConstant.ASR_AUDIO_PATH, Environment.getExternalStorageDirectory() + "/msc/mIat.wav");*/
// 3.开始听写
mIat.startListening(mRecognizerListener);
}
//听写监听器
private RecognizerListener mRecognizerListener = new RecognizerListener() {
//听写结果回调接口(返回Json格式结果,用户可参见附录13.1);
// 一般情况下会通过onResults接口多次返回结果,完整的识别内容是多次结果的累加;
// 关于解析Json的代码可参见Demo中JsonParser类;
// isLast等于true时会话结束。
public void onResult(RecognizerResult results, boolean isLast) {
Log.d(TAG, "result:" + results.getResultString());
analyzeJson(results,isLast);
}
//会话发生错误回调接口
public void onError(SpeechError error) {
//打印错误码描述
Log.d(TAG, "error:" + error.getPlainDescription(true));
listen.result(error.getMessage());
}
//开始录音
public void onBeginOfSpeech() {
Log.d(TAG, "开始录音");
listen.onBeginOfSpeech();
}
// volume音量值0~30,data音频数据
public void onVolumeChanged(int volume, byte[] data) {
Log.d(TAG, "音量为:" + volume);
listen.onVolumeChanged(volume,data);
}
//结束录音
public void onEndOfSpeech() {
Log.d(TAG, "结束录音");
listen.onEndOfSpeech();
}
//扩展用接口
public void onEvent(int eventType, int arg1, int arg2, Bundle obj) {
}
};
private String resultJson = "[";//放置在外边做类的变量则报错,会造成json格式不对(?)
private String result = "";
private void analyzeJson(RecognizerResult recognizerResult, boolean isLast) {
if (!isLast) {
resultJson += recognizerResult.getResultString() + ",";
} else {
resultJson += recognizerResult.getResultString() + "]";
}
if (isLast) {
//解析语音识别后返回的json格式的结果
Gson gson = new Gson();
List<DictationResult> resultList = gson.fromJson(resultJson,
new TypeToken<List<DictationResult>>() {
}.getType());
for (int i = 0; i < resultList.size() - 1; i++) {
result += resultList.get(i).toString();
}
listen.result(result);
}
}
}
| java | Apache-2.0 | 71e13a3ed687679872a91d602ce56ae82db124ef | 2026-01-05T02:42:23.603099Z | false |
wanghao15536870732/DiseaseIdentification | https://github.com/wanghao15536870732/DiseaseIdentification/blob/71e13a3ed687679872a91d602ce56ae82db124ef/app/src/main/java/com/example/ywang/diseaseidentification/utils/iflytek/SynthesisManager.java | app/src/main/java/com/example/ywang/diseaseidentification/utils/iflytek/SynthesisManager.java | package com.example.ywang.diseaseidentification.utils.iflytek;
import android.content.Context;
import android.os.Bundle;
import android.util.Log;
import com.example.ywang.diseaseidentification.bean.baseEnum.AccenteEnum;
import com.example.ywang.diseaseidentification.bean.baseEnum.LanguageEnum;
import com.example.ywang.diseaseidentification.bean.baseEnum.SpeechPeopleEnum;
import com.iflytek.cloud.SpeechConstant;
import com.iflytek.cloud.SpeechError;
import com.iflytek.cloud.SpeechSynthesizer;
import com.iflytek.cloud.SpeechUtility;
import com.iflytek.cloud.SynthesizerListener;
/**
* 语音合成工具类
*/
public class SynthesisManager {
private final String TAG = "SynthesisManager";
private Context mContext;
private SpeechSynthesizer mTts;
//设置语言
public SynthesisManager setLanguage(LanguageEnum arg) {
mTts.setParameter( SpeechConstant.LANGUAGE,arg.toString());
return this;
}
//设置方言
public SynthesisManager setAccent(AccenteEnum accent) {
mTts.setParameter( SpeechConstant.ACCENT,accent.toString());
return this;
}
//设置发音人
public SynthesisManager setSpeechPeople(SpeechPeopleEnum speechPeople) {
mTts.setParameter( SpeechConstant.VOICE_NAME,speechPeople.toString());
return this;
}
//设置语速 0-sunny 默认50
public SynthesisManager setSpeed(String speed) {
mTts.setParameter( SpeechConstant.SPEED,speed);
return this;
}
//设置音量 0-sunny 默认50
public SynthesisManager setVolume(String volume) {
mTts.setParameter( SpeechConstant.VOLUME,volume);
return this;
}
//设置合成音调 0-sunny 默认50
public SynthesisManager setPitch(String pitch) {
mTts.setParameter( SpeechConstant.PITCH,pitch);
return this;
}
//音频采样率 8000-16000 默认16000
public SynthesisManager setSampleRate(String sampleRate) {
mTts.setParameter( SpeechConstant.SAMPLE_RATE,sampleRate);
return this;
}
private SynthesisManager(){}
//通过静态内部类获取实例
public static SynthesisManager getSingleton(){
return SingletonHolder.singleton;
}
//静态内部类里实例化StaticClassSingleton对象
public static class SingletonHolder{
private static final SynthesisManager singleton = new SynthesisManager();
}
/**开始语音
* @param msg 合成的内容
*/
public SynthesisManager startSpeaking(String msg){
mTts.startSpeaking(msg, new SynthesizerListener() {
//会话结束回调接口,没有错误时,error为null
public void onCompleted(SpeechError error) {
Log.d(TAG,"话结束回调");
listen.onCompleted(error);
onSepakingStateListen.onCompleted(error);
}
//缓冲进度回调
//percent为缓冲进度0~sunny,beginPos为缓冲音频在文本中开始位置,endPos表示缓冲音频在文本中结束位置,info为附加信息。
public void onBufferProgress(int percent, int beginPos, int endPos, String info) {
Log.d(TAG,"缓冲进度" + percent);
listen.onBufferProgress(percent,beginPos,endPos, info);
}
//开始播放
public void onSpeakBegin() {
Log.d(TAG,"开始播放" );
listen.onSpeakBegin();
onSepakingStateListen.onSpeakBegin();
}
//暂停播放
public void onSpeakPaused() {
Log.d(TAG,"暂停播放" );
listen.onSpeakPaused();
onSepakingStateListen.onSpeakPaused();
}
//播放进度回调
//percent为播放进度0~sunny,beginPos为播放音频在文本中开始位置,endPos表示播放音频在文本中结束位置.
public void onSpeakProgress(int percent, int beginPos, int endPos) {
Log.d(TAG,"播放进度" + percent);
listen.onSpeakProgress( percent, beginPos, endPos);
}
//恢复播放回调接口
public void onSpeakResumed() {
Log.d(TAG,"恢复播放回调接口");
listen.onSpeakResumed();
}
//会话事件回调接口
public void onEvent(int arg0, int arg1, int arg2, Bundle arg3) {
Log.d(TAG,"onEvent");
// listen.onEvent( arg0, arg1, arg2, arg3);
}
});
return this;
}
/**
* 停止语音
*/
public void stopSpeaking(){
mTts.stopSpeaking();
}
/**初始化
* @param
*/
public SynthesisManager init(Context mContext, String appID){
this.mContext = mContext;
//配置讯飞AppId
SpeechUtility.createUtility(mContext, SpeechConstant.APPID +"="+appID);
//配置参数
//实例化语音合成对象
if(mTts == null){
mTts = SpeechSynthesizer.createSynthesizer(mContext, null);
}
return this;
}
//语音合成监听回调
public interface speakingListen{
//会话结束回调接口,没有错误时,error为null
void onCompleted(SpeechError error);
//缓冲进度回调
//percent为缓冲进度0~sunny,beginPos为缓冲音频在文本中开始位置,endPos表示缓冲音频在文本中结束位置,info为附加信息。
void onBufferProgress(int percent, int beginPos, int endPos, String info);
//开始播放
void onSpeakBegin();
//暂停播放
void onSpeakPaused();
//播放进度回调
//percent为播放进度0~sunny,beginPos为播放音频在文本中开始位置,endPos表示播放音频在文本中结束位置.
void onSpeakProgress(int percent, int beginPos, int endPos);
//恢复播放回调接口
void onSpeakResumed();
//会话事件回调接口
void onEvent(int arg0, int arg1, int arg2, Bundle arg3);
}
private speakingListen listen;
//设置语音合成监听回调
public void setSpeakingListen(speakingListen listen){
this.listen = listen;
}
//语音合成状态回调
public interface onSpeakingStateListen{
//开始播放
void onSpeakBegin();
//暂停播放
void onSpeakPaused();
//会话结束回调接口,没有错误时,error为null
void onCompleted(SpeechError error);
}
private onSpeakingStateListen onSepakingStateListen;
//设置语音合成状态监听回调
public void setSepakingStateListen(onSpeakingStateListen onSepakingStateListen){
this.onSepakingStateListen = onSepakingStateListen;
}
//设置解析方向 本地 云端
public void setEngineType(String type){
mTts.setParameter( SpeechConstant.ENGINE_TYPE, type); //设置云端
}
}
| java | Apache-2.0 | 71e13a3ed687679872a91d602ce56ae82db124ef | 2026-01-05T02:42:23.603099Z | false |
wanghao15536870732/DiseaseIdentification | https://github.com/wanghao15536870732/DiseaseIdentification/blob/71e13a3ed687679872a91d602ce56ae82db124ef/app/src/main/java/com/example/ywang/diseaseidentification/utils/network/UploadUtils.java | app/src/main/java/com/example/ywang/diseaseidentification/utils/network/UploadUtils.java | package com.example.ywang.diseaseidentification.utils.network;
import android.util.Log;
import com.example.ywang.diseaseidentification.bean.baseData.DynamicBean;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.UUID;
/**
* 实现文件上传的工具类
*/
public class UploadUtils {
private static final String TAG = "uploadFile";
private static final int TIME_OUT = 10 * 10000000; //超时时间
private static final String CHARSET = "utf-8"; //设置编码
public static final String SUCCESS = "1";
public static final String FAILURE = "0";
public static String r = "";
/**
* android上传文件到服务器
*
* @param file 需要上传的文件
* @param RequestURL 请求的rul
* @return 返回响应的内容
*/
public static String uploadFile(File file, String RequestURL, DynamicBean bean) {
String BOUNDARY = UUID.randomUUID().toString(); //边界标识 随机生成
String PREFIX = "--", LINE_END = "\r\n";
String CONTENT_TYPE = "multipart/form-data"; //内容类型
try {
URL url = new URL(RequestURL);
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
conn.setReadTimeout(TIME_OUT);
conn.setConnectTimeout(TIME_OUT);
conn.setDoInput(true); //允许输入流
conn.setDoOutput(true); //允许输出流
conn.setUseCaches(false); //不允许使用缓存
conn.setRequestMethod("POST"); //请求方式
conn.setRequestProperty("Charset", CHARSET); //设置编码
conn.setRequestProperty("connection", "keep-alive");
conn.setRequestProperty("Content-Type", CONTENT_TYPE + ";boundary=" + BOUNDARY);
if (file != null) {
/*
* 当文件不为空,把文件包装并且上传
*/
OutputStream outputSteam = conn.getOutputStream();
DataOutputStream dos = new DataOutputStream(outputSteam);
StringBuffer sb = new StringBuffer();
sb.append(PREFIX);
sb.append(BOUNDARY);
sb.append(LINE_END);
/*
* 这里重点注意:
* name里面的值为服务器端需要key 只有这个key 才可以得到对应的文件
* filename是文件的名字,包含后缀名的 比如:abc.png
*/
sb.append("Content-Disposition: form-data; name=\"img\"; filename=\"" + file.getName() + "\"" + LINE_END);
sb.append("Content-Type: application/octet-stream; charset=" + CHARSET + LINE_END);
sb.append(LINE_END);
dos.write(sb.toString().getBytes());
InputStream is = new FileInputStream(file);
byte[] bytes = new byte[1024];
int len = 0;
while ((len = is.read(bytes)) != -1) {
dos.write(bytes, 0, len);
}
is.close();
dos.write(LINE_END.getBytes());
byte[] end_data = (PREFIX + BOUNDARY + PREFIX + LINE_END).getBytes();
dos.write(end_data);
dos.flush();
/**
* 获取响应码 200=成功
* 当响应成功,获取响应的流
*/
int res = conn.getResponseCode();
if (res == 200) {
InputStream in = conn.getInputStream();
BufferedReader reader = null;
reader = new BufferedReader(new InputStreamReader(in));
StringBuilder response = new StringBuilder();
String line;
while ((line = reader.readLine()) != null) {
response.append(line);
}
//将 StringBuilder转为String
r = response.toString();
DynamicBean.mUrl.add(r);
Log.e("list_size", String.valueOf(DynamicBean.mUrl.size()));
if (DynamicBean.mUrl.size() >= bean.getImg_num()) {
bean.setUrl(DynamicBean.mUrl);
UpToServlet uts = new UpToServlet(bean);
uts.sendRequestWithHttpURLConnection();
bean.setUrl(null);
DynamicBean.mUrl = new ArrayList<>();
}
return SUCCESS;
}
}
} catch (MalformedURLException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
return FAILURE;
}
} | java | Apache-2.0 | 71e13a3ed687679872a91d602ce56ae82db124ef | 2026-01-05T02:42:23.603099Z | false |
wanghao15536870732/DiseaseIdentification | https://github.com/wanghao15536870732/DiseaseIdentification/blob/71e13a3ed687679872a91d602ce56ae82db124ef/app/src/main/java/com/example/ywang/diseaseidentification/utils/network/HttpUtil.java | app/src/main/java/com/example/ywang/diseaseidentification/utils/network/HttpUtil.java | package com.example.ywang.diseaseidentification.utils.network;
import android.annotation.SuppressLint;
import android.util.Log;
import com.example.ywang.diseaseidentification.bean.weatherData.DailyWeather;
import com.example.ywang.diseaseidentification.bean.weatherData.Weather;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import okhttp3.OkHttpClient;
import okhttp3.Request;
public class HttpUtil {
public static void sendOkHttpRequest(String address, okhttp3.Callback callback) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder().url(address).build();
client.newCall(request).enqueue(callback);
}
public static List<Weather> handleResponse(String response, String param) {
List<Weather> weatherList = new ArrayList<>();
try {
JSONObject jsonObject = new JSONObject(response);
JSONObject hourlyData = jsonObject.getJSONObject("result").getJSONObject("hourly");
if(param.equals("skycon")){
JSONArray hourlyArray = hourlyData.getJSONArray("skycon");
for (int i = 0; i < hourlyArray.length(); i++) {
JSONObject jsoni = hourlyArray.getJSONObject(i);
Date datetime = parseString(jsoni.getString("datetime"));
Weather weather = new Weather(jsoni.getString("value"),datetime);
weatherList.add(weather);
}
}else if (param.equals("temperature")){
JSONArray hourlyArray = hourlyData.getJSONArray("temperature");
for (int i = 0; i < hourlyArray.length(); i++) {
JSONObject jsoni = hourlyArray.getJSONObject(i);
Date datetime = parseString(jsoni.getString("datetime"));
float temp = Float.parseFloat(jsoni.getString("value"));
Weather weather = new Weather(temp,datetime);
weatherList.add(weather);
}
}
return weatherList;
} catch (Exception e) {
e.printStackTrace();
}
return weatherList;
}
public static List<DailyWeather> handleDailyResponse(String response){
List<DailyWeather> dailyWeathers = new ArrayList<>();
try {
JSONObject jsonObject = new JSONObject(response);
JSONObject weatherData = jsonObject.getJSONArray("HeWeather6").getJSONObject(0);
JSONArray dailyList = weatherData.getJSONArray("daily_forecast");
for (int i = 0; i < dailyList.length(); i++) {
JSONObject dailyData = dailyList.getJSONObject(i);
String cond_code_d = dailyData.getString("cond_code_d");
String cond_code_n = dailyData.getString("cond_code_n");
String cond_txt_d = dailyData.getString("cond_txt_d");
String cond_txt_n = dailyData.getString("cond_txt_n");
String dateStr = dailyData.getString("date");
DateFormat formator = new SimpleDateFormat("yyyy-MM-dd");
Date date = null;
try {
date = formator.parse(dateStr);
} catch (ParseException e) {
e.printStackTrace();
}
Log.e("date",dateStr);
String tmp_max = dailyData.getString("tmp_max");
String tmp_min = dailyData.getString("tmp_min");
DailyWeather dailyWeather = new DailyWeather(cond_code_d,
cond_code_n,cond_txt_d,cond_txt_n,date,tmp_max,tmp_min);
dailyWeathers.add(dailyWeather);
}
return dailyWeathers;
} catch (JSONException e) {
e.printStackTrace();
}
return dailyWeathers;
}
private static Date parseString(String publishDate){
@SuppressLint("SimpleDateFormat")
DateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm");
try {
return format.parse(publishDate);
} catch (ParseException e) {
e.printStackTrace();
}
return new Date();
}
}
| java | Apache-2.0 | 71e13a3ed687679872a91d602ce56ae82db124ef | 2026-01-05T02:42:23.603099Z | false |
wanghao15536870732/DiseaseIdentification | https://github.com/wanghao15536870732/DiseaseIdentification/blob/71e13a3ed687679872a91d602ce56ae82db124ef/app/src/main/java/com/example/ywang/diseaseidentification/utils/network/ImageLoaderUtil.java | app/src/main/java/com/example/ywang/diseaseidentification/utils/network/ImageLoaderUtil.java | package com.example.ywang.diseaseidentification.utils.network;
import android.content.Context;
import android.graphics.Bitmap;
import android.widget.ImageView;
import com.example.ywang.diseaseidentification.R;
import com.nostra13.universalimageloader.core.DisplayImageOptions;
import com.nostra13.universalimageloader.core.ImageLoader;
import com.nostra13.universalimageloader.core.listener.ImageLoadingListener;
public class ImageLoaderUtil {
public static ImageLoader getImageLoader(Context context) {
return ImageLoader.getInstance();
}
public static DisplayImageOptions getPhotoImageOption() {
Integer extra = 1;
DisplayImageOptions options = new DisplayImageOptions.Builder().cacheInMemory(true).cacheOnDisk(true)
.showImageForEmptyUri(R.drawable.banner_default).showImageOnFail(R.drawable.banner_default)
.showImageOnLoading(R.drawable.banner_default)
.extraForDownloader(extra)
.bitmapConfig(Bitmap.Config.RGB_565).build();
return options;
}
public static void displayImage(Context context, ImageView imageView, String url, DisplayImageOptions options) {
getImageLoader(context).displayImage(url, imageView, options);
}
public static void displayImage(Context context, ImageView imageView, String url, DisplayImageOptions options,
ImageLoadingListener listener) {
getImageLoader(context).displayImage(url, imageView, options, listener);
}
}
| java | Apache-2.0 | 71e13a3ed687679872a91d602ce56ae82db124ef | 2026-01-05T02:42:23.603099Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.