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/IssuesGetResponse.java | src/main/java/com/plaid/client/model/IssuesGetResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.Issue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* IssuesGetResponse defines the response schema for `/issues/get`.
*/
@ApiModel(description = "IssuesGetResponse defines the response schema for `/issues/get`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class IssuesGetResponse {
public static final String SERIALIZED_NAME_ISSUE = "issue";
@SerializedName(SERIALIZED_NAME_ISSUE)
private Issue issue;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public IssuesGetResponse issue(Issue issue) {
this.issue = issue;
return this;
}
/**
* Get issue
* @return issue
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Issue getIssue() {
return issue;
}
public void setIssue(Issue issue) {
this.issue = issue;
}
public IssuesGetResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
IssuesGetResponse issuesGetResponse = (IssuesGetResponse) o;
return Objects.equals(this.issue, issuesGetResponse.issue) &&
Objects.equals(this.requestId, issuesGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(issue, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IssuesGetResponse {\n");
sb.append(" issue: ").append(toIndentedString(issue)).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/NetworkStatusGetUser.java | src/main/java/com/plaid/client/model/NetworkStatusGetUser.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* An object specifying information about the end user for the network status check.
*/
@ApiModel(description = "An object specifying information about the end user for the network status check.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class NetworkStatusGetUser {
public static final String SERIALIZED_NAME_PHONE_NUMBER = "phone_number";
@SerializedName(SERIALIZED_NAME_PHONE_NUMBER)
private String phoneNumber;
public NetworkStatusGetUser phoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
return this;
}
/**
* The user's phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format.
* @return phoneNumber
**/
@ApiModelProperty(required = true, value = "The user's phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format.")
public String getPhoneNumber() {
return phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
NetworkStatusGetUser networkStatusGetUser = (NetworkStatusGetUser) o;
return Objects.equals(this.phoneNumber, networkStatusGetUser.phoneNumber);
}
@Override
public int hashCode() {
return Objects.hash(phoneNumber);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class NetworkStatusGetUser {\n");
sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/UserCreateRequest.java | src/main/java/com/plaid/client/model/UserCreateRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.ClientUserIdentity;
import com.plaid.client.model.ConsumerReportUserIdentity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* UserCreateRequest defines the request schema for `/user/create`
*/
@ApiModel(description = "UserCreateRequest defines the request schema for `/user/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class UserCreateRequest {
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_CLIENT_USER_ID = "client_user_id";
@SerializedName(SERIALIZED_NAME_CLIENT_USER_ID)
private String clientUserId;
public static final String SERIALIZED_NAME_IDENTITY = "identity";
@SerializedName(SERIALIZED_NAME_IDENTITY)
private ClientUserIdentity identity;
public static final String SERIALIZED_NAME_END_CUSTOMER = "end_customer";
@SerializedName(SERIALIZED_NAME_END_CUSTOMER)
private String endCustomer;
public static final String SERIALIZED_NAME_CONSUMER_REPORT_USER_IDENTITY = "consumer_report_user_identity";
@SerializedName(SERIALIZED_NAME_CONSUMER_REPORT_USER_IDENTITY)
private ConsumerReportUserIdentity consumerReportUserIdentity;
public static final String SERIALIZED_NAME_WITH_UPGRADED_USER = "with_upgraded_user";
@SerializedName(SERIALIZED_NAME_WITH_UPGRADED_USER)
private Boolean withUpgradedUser;
public UserCreateRequest 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 UserCreateRequest 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 UserCreateRequest clientUserId(String clientUserId) {
this.clientUserId = clientUserId;
return this;
}
/**
* A unique ID representing the end user. Maximum of 128 characters. Typically this will be a user ID number from your application. Personally identifiable information, such as an email address or phone number, should not be used in the `client_user_id`.
* @return clientUserId
**/
@ApiModelProperty(required = true, value = "A unique ID representing the end user. Maximum of 128 characters. Typically this will be a user ID number from your application. Personally identifiable information, such as an email address or phone number, should not be used in the `client_user_id`.")
public String getClientUserId() {
return clientUserId;
}
public void setClientUserId(String clientUserId) {
this.clientUserId = clientUserId;
}
public UserCreateRequest identity(ClientUserIdentity identity) {
this.identity = identity;
return this;
}
/**
* Get identity
* @return identity
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ClientUserIdentity getIdentity() {
return identity;
}
public void setIdentity(ClientUserIdentity identity) {
this.identity = identity;
}
public UserCreateRequest endCustomer(String endCustomer) {
this.endCustomer = endCustomer;
return this;
}
/**
* A unique ID representing a CRA reseller's end customer. Maximum of 128 characters.
* @return endCustomer
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A unique ID representing a CRA reseller's end customer. Maximum of 128 characters.")
public String getEndCustomer() {
return endCustomer;
}
public void setEndCustomer(String endCustomer) {
this.endCustomer = endCustomer;
}
public UserCreateRequest consumerReportUserIdentity(ConsumerReportUserIdentity consumerReportUserIdentity) {
this.consumerReportUserIdentity = consumerReportUserIdentity;
return this;
}
/**
* Get consumerReportUserIdentity
* @return consumerReportUserIdentity
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ConsumerReportUserIdentity getConsumerReportUserIdentity() {
return consumerReportUserIdentity;
}
public void setConsumerReportUserIdentity(ConsumerReportUserIdentity consumerReportUserIdentity) {
this.consumerReportUserIdentity = consumerReportUserIdentity;
}
public UserCreateRequest withUpgradedUser(Boolean withUpgradedUser) {
this.withUpgradedUser = withUpgradedUser;
return this;
}
/**
* When `true`, a new user will be created and a `user_id` will be returned. Otherwise, a legacy user will be created and a `user_token` will be returned.
* @return withUpgradedUser
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "When `true`, a new user will be created and a `user_id` will be returned. Otherwise, a legacy user will be created and a `user_token` will be returned.")
public Boolean getWithUpgradedUser() {
return withUpgradedUser;
}
public void setWithUpgradedUser(Boolean withUpgradedUser) {
this.withUpgradedUser = withUpgradedUser;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
UserCreateRequest userCreateRequest = (UserCreateRequest) o;
return Objects.equals(this.clientId, userCreateRequest.clientId) &&
Objects.equals(this.secret, userCreateRequest.secret) &&
Objects.equals(this.clientUserId, userCreateRequest.clientUserId) &&
Objects.equals(this.identity, userCreateRequest.identity) &&
Objects.equals(this.endCustomer, userCreateRequest.endCustomer) &&
Objects.equals(this.consumerReportUserIdentity, userCreateRequest.consumerReportUserIdentity) &&
Objects.equals(this.withUpgradedUser, userCreateRequest.withUpgradedUser);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, clientUserId, identity, endCustomer, consumerReportUserIdentity, withUpgradedUser);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UserCreateRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" clientUserId: ").append(toIndentedString(clientUserId)).append("\n");
sb.append(" identity: ").append(toIndentedString(identity)).append("\n");
sb.append(" endCustomer: ").append(toIndentedString(endCustomer)).append("\n");
sb.append(" consumerReportUserIdentity: ").append(toIndentedString(consumerReportUserIdentity)).append("\n");
sb.append(" withUpgradedUser: ").append(toIndentedString(withUpgradedUser)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ProcessorTokenPermissionsSetRequest.java | src/main/java/com/plaid/client/model/ProcessorTokenPermissionsSetRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.Products;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* ProcessorTokenPermissionsSetRequest defines the request schema for `/processor/token/permissions/set`
*/
@ApiModel(description = "ProcessorTokenPermissionsSetRequest defines the request schema for `/processor/token/permissions/set`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ProcessorTokenPermissionsSetRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_PROCESSOR_TOKEN = "processor_token";
@SerializedName(SERIALIZED_NAME_PROCESSOR_TOKEN)
private String processorToken;
public static final String SERIALIZED_NAME_PRODUCTS = "products";
@SerializedName(SERIALIZED_NAME_PRODUCTS)
private List<Products> products = new ArrayList<>();
public ProcessorTokenPermissionsSetRequest 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 ProcessorTokenPermissionsSetRequest 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 ProcessorTokenPermissionsSetRequest 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 ProcessorTokenPermissionsSetRequest products(List<Products> products) {
this.products = products;
return this;
}
public ProcessorTokenPermissionsSetRequest addProductsItem(Products productsItem) {
this.products.add(productsItem);
return this;
}
/**
* A list of products the processor token should have access to. An empty list will grant access to all products.
* @return products
**/
@ApiModelProperty(required = true, value = "A list of products the processor token should have access to. An empty list will grant access to all products.")
public List<Products> getProducts() {
return products;
}
public void setProducts(List<Products> products) {
this.products = products;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ProcessorTokenPermissionsSetRequest processorTokenPermissionsSetRequest = (ProcessorTokenPermissionsSetRequest) o;
return Objects.equals(this.clientId, processorTokenPermissionsSetRequest.clientId) &&
Objects.equals(this.secret, processorTokenPermissionsSetRequest.secret) &&
Objects.equals(this.processorToken, processorTokenPermissionsSetRequest.processorToken) &&
Objects.equals(this.products, processorTokenPermissionsSetRequest.products);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, processorToken, products);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProcessorTokenPermissionsSetRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" processorToken: ").append(toIndentedString(processorToken)).append("\n");
sb.append(" 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/PayrollIncomeAccountData.java | src/main/java/com/plaid/client/model/PayrollIncomeAccountData.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.PayrollIncomeRateOfPay;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* An object containing account level data.
*/
@ApiModel(description = "An object containing account level data.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PayrollIncomeAccountData {
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
private String accountId;
public static final String SERIALIZED_NAME_RATE_OF_PAY = "rate_of_pay";
@SerializedName(SERIALIZED_NAME_RATE_OF_PAY)
private PayrollIncomeRateOfPay rateOfPay;
public static final String SERIALIZED_NAME_PAY_FREQUENCY = "pay_frequency";
@SerializedName(SERIALIZED_NAME_PAY_FREQUENCY)
private String payFrequency;
public PayrollIncomeAccountData accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* ID of the payroll provider account.
* @return accountId
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "ID of the payroll provider account.")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public PayrollIncomeAccountData rateOfPay(PayrollIncomeRateOfPay rateOfPay) {
this.rateOfPay = rateOfPay;
return this;
}
/**
* Get rateOfPay
* @return rateOfPay
**/
@ApiModelProperty(required = true, value = "")
public PayrollIncomeRateOfPay getRateOfPay() {
return rateOfPay;
}
public void setRateOfPay(PayrollIncomeRateOfPay rateOfPay) {
this.rateOfPay = rateOfPay;
}
public PayrollIncomeAccountData payFrequency(String payFrequency) {
this.payFrequency = payFrequency;
return this;
}
/**
* The frequency at which an individual is paid.
* @return payFrequency
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The frequency at which an individual is paid.")
public String getPayFrequency() {
return payFrequency;
}
public void setPayFrequency(String payFrequency) {
this.payFrequency = payFrequency;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PayrollIncomeAccountData payrollIncomeAccountData = (PayrollIncomeAccountData) o;
return Objects.equals(this.accountId, payrollIncomeAccountData.accountId) &&
Objects.equals(this.rateOfPay, payrollIncomeAccountData.rateOfPay) &&
Objects.equals(this.payFrequency, payrollIncomeAccountData.payFrequency);
}
@Override
public int hashCode() {
return Objects.hash(accountId, rateOfPay, payFrequency);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PayrollIncomeAccountData {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" rateOfPay: ").append(toIndentedString(rateOfPay)).append("\n");
sb.append(" payFrequency: ").append(toIndentedString(payFrequency)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/AccountVerificationInsights.java | src/main/java/com/plaid/client/model/AccountVerificationInsights.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.AccountVerificationInsightsAccountNumberFormat;
import com.plaid.client.model.AccountVerificationInsightsNetworkStatus;
import com.plaid.client.model.AccountVerificationInsightsPreviousReturns;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Insights from performing database verification for the account. Only returned for Auth Items using Database Auth.
*/
@ApiModel(description = "Insights from performing database verification for the account. Only returned for Auth Items using Database Auth.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class AccountVerificationInsights {
public static final String SERIALIZED_NAME_NAME_MATCH_SCORE = "name_match_score";
@SerializedName(SERIALIZED_NAME_NAME_MATCH_SCORE)
private Integer nameMatchScore;
public static final String SERIALIZED_NAME_NETWORK_STATUS = "network_status";
@SerializedName(SERIALIZED_NAME_NETWORK_STATUS)
private AccountVerificationInsightsNetworkStatus networkStatus;
public static final String SERIALIZED_NAME_PREVIOUS_RETURNS = "previous_returns";
@SerializedName(SERIALIZED_NAME_PREVIOUS_RETURNS)
private AccountVerificationInsightsPreviousReturns previousReturns;
public static final String SERIALIZED_NAME_ACCOUNT_NUMBER_FORMAT = "account_number_format";
@SerializedName(SERIALIZED_NAME_ACCOUNT_NUMBER_FORMAT)
private AccountVerificationInsightsAccountNumberFormat accountNumberFormat;
public AccountVerificationInsights nameMatchScore(Integer nameMatchScore) {
this.nameMatchScore = nameMatchScore;
return this;
}
/**
* Indicates the score of the name match between the given name provided during database verification (available in the [`verification_name`](https://plaid.com/docs/api/products/auth/#auth-get-response-accounts-verification-name) field) and matched Plaid network accounts. If defined, will be a value between 0 and 100. Will be undefined if name matching was not enabled for the database verification session or if there were no eligible Plaid network matches to compare the given name with.
* @return nameMatchScore
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Indicates the score of the name match between the given name provided during database verification (available in the [`verification_name`](https://plaid.com/docs/api/products/auth/#auth-get-response-accounts-verification-name) field) and matched Plaid network accounts. If defined, will be a value between 0 and 100. Will be undefined if name matching was not enabled for the database verification session or if there were no eligible Plaid network matches to compare the given name with.")
public Integer getNameMatchScore() {
return nameMatchScore;
}
public void setNameMatchScore(Integer nameMatchScore) {
this.nameMatchScore = nameMatchScore;
}
public AccountVerificationInsights networkStatus(AccountVerificationInsightsNetworkStatus networkStatus) {
this.networkStatus = networkStatus;
return this;
}
/**
* Get networkStatus
* @return networkStatus
**/
@ApiModelProperty(required = true, value = "")
public AccountVerificationInsightsNetworkStatus getNetworkStatus() {
return networkStatus;
}
public void setNetworkStatus(AccountVerificationInsightsNetworkStatus networkStatus) {
this.networkStatus = networkStatus;
}
public AccountVerificationInsights previousReturns(AccountVerificationInsightsPreviousReturns previousReturns) {
this.previousReturns = previousReturns;
return this;
}
/**
* Get previousReturns
* @return previousReturns
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public AccountVerificationInsightsPreviousReturns getPreviousReturns() {
return previousReturns;
}
public void setPreviousReturns(AccountVerificationInsightsPreviousReturns previousReturns) {
this.previousReturns = previousReturns;
}
public AccountVerificationInsights accountNumberFormat(AccountVerificationInsightsAccountNumberFormat accountNumberFormat) {
this.accountNumberFormat = accountNumberFormat;
return this;
}
/**
* Get accountNumberFormat
* @return accountNumberFormat
**/
@ApiModelProperty(required = true, value = "")
public AccountVerificationInsightsAccountNumberFormat getAccountNumberFormat() {
return accountNumberFormat;
}
public void setAccountNumberFormat(AccountVerificationInsightsAccountNumberFormat accountNumberFormat) {
this.accountNumberFormat = accountNumberFormat;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AccountVerificationInsights accountVerificationInsights = (AccountVerificationInsights) o;
return Objects.equals(this.nameMatchScore, accountVerificationInsights.nameMatchScore) &&
Objects.equals(this.networkStatus, accountVerificationInsights.networkStatus) &&
Objects.equals(this.previousReturns, accountVerificationInsights.previousReturns) &&
Objects.equals(this.accountNumberFormat, accountVerificationInsights.accountNumberFormat);
}
@Override
public int hashCode() {
return Objects.hash(nameMatchScore, networkStatus, previousReturns, accountNumberFormat);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AccountVerificationInsights {\n");
sb.append(" nameMatchScore: ").append(toIndentedString(nameMatchScore)).append("\n");
sb.append(" networkStatus: ").append(toIndentedString(networkStatus)).append("\n");
sb.append(" previousReturns: ").append(toIndentedString(previousReturns)).append("\n");
sb.append(" accountNumberFormat: ").append(toIndentedString(accountNumberFormat)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TaxpayerIdentifierType.java | src/main/java/com/plaid/client/model/TaxpayerIdentifierType.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 value from a MISMO prescribed list that classifies identification numbers used by the Internal Revenue Service (IRS) in the administration of tax laws. A Social Security number (SSN) is issued by the SSA; all other taxpayer identification numbers are issued by the IRS.
*/
@JsonAdapter(TaxpayerIdentifierType.Adapter.class)
public enum TaxpayerIdentifierType {
INDIVIDUALTAXPAYERIDENTIFICATIONNUMBER("IndividualTaxpayerIdentificationNumber"),
SOCIALSECURITYNUMBER("SocialSecurityNumber"),
// 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;
TaxpayerIdentifierType(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static TaxpayerIdentifierType fromValue(String value) {
for (TaxpayerIdentifierType b : TaxpayerIdentifierType.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null; }
public static class Adapter extends TypeAdapter<TaxpayerIdentifierType> {
@Override
public void write(final JsonWriter jsonWriter, final TaxpayerIdentifierType enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public TaxpayerIdentifierType read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return TaxpayerIdentifierType.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/BankTransferMigrateAccountResponse.java | src/main/java/com/plaid/client/model/BankTransferMigrateAccountResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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 `/bank_transfer/migrate_account`
*/
@ApiModel(description = "Defines the response schema for `/bank_transfer/migrate_account`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BankTransferMigrateAccountResponse {
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_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public BankTransferMigrateAccountResponse accessToken(String accessToken) {
this.accessToken = accessToken;
return this;
}
/**
* The Plaid `access_token` for the newly created Item.
* @return accessToken
**/
@ApiModelProperty(required = true, value = "The Plaid `access_token` for the newly created Item.")
public String getAccessToken() {
return accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
}
public BankTransferMigrateAccountResponse accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* The Plaid `account_id` for the newly created Item.
* @return accountId
**/
@ApiModelProperty(required = true, value = "The Plaid `account_id` for the newly created Item.")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public BankTransferMigrateAccountResponse 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;
}
BankTransferMigrateAccountResponse bankTransferMigrateAccountResponse = (BankTransferMigrateAccountResponse) o;
return Objects.equals(this.accessToken, bankTransferMigrateAccountResponse.accessToken) &&
Objects.equals(this.accountId, bankTransferMigrateAccountResponse.accountId) &&
Objects.equals(this.requestId, bankTransferMigrateAccountResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(accessToken, accountId, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BankTransferMigrateAccountResponse {\n");
sb.append(" accessToken: ").append(toIndentedString(accessToken)).append("\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).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/CreditBankIncomeWarningCode.java | src/main/java/com/plaid/client/model/CreditBankIncomeWarningCode.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 warning code identifies a specific kind of warning. `IDENTITY_UNAVAILABLE`: Unable to extract identity for the Item `TRANSACTIONS_UNAVAILABLE`: Unable to extract transactions for the Item `ITEM_UNAPPROVED`: User exited flow before giving permission to share data for the Item `REPORT_DELETED`: Report deleted due to customer or consumer request `DATA_UNAVAILABLE`: No relevant data was found for the Item
*/
@JsonAdapter(CreditBankIncomeWarningCode.Adapter.class)
public enum CreditBankIncomeWarningCode {
IDENTITY_UNAVAILABLE("IDENTITY_UNAVAILABLE"),
TRANSACTIONS_UNAVAILABLE("TRANSACTIONS_UNAVAILABLE"),
ITEM_UNAPPROVED("ITEM_UNAPPROVED"),
REPORT_DELETED("REPORT_DELETED"),
DATA_UNAVAILABLE("DATA_UNAVAILABLE"),
// 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;
CreditBankIncomeWarningCode(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static CreditBankIncomeWarningCode fromValue(String value) {
for (CreditBankIncomeWarningCode b : CreditBankIncomeWarningCode.values()) {
if (b.value.equals(value)) {
return b;
}
}
return CreditBankIncomeWarningCode.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<CreditBankIncomeWarningCode> {
@Override
public void write(final JsonWriter jsonWriter, final CreditBankIncomeWarningCode enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public CreditBankIncomeWarningCode read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return CreditBankIncomeWarningCode.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/ConsumerReportUserIdentity.java | src/main/java/com/plaid/client/model/ConsumerReportUserIdentity.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.AddressData;
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;
/**
* This field is only used by integrations created before December 10, 2025. All other integrations must use the `identity` object instead. For more details, see [new user APIs](https://plaid.com/docs/api/users/user-apis). To create a Plaid Check Consumer Report for a user when using a `user_token`, this field must be present. If this field is not provided during user token creation, you can add it to the user later by calling `/user/update`. Once the field has been added to the user, you will be able to call `/link/token/create` with a non-empty `consumer_report_permissible_purpose` (which will automatically create a Plaid Check Consumer Report), or call `/cra/check_report/create` for that user.
*/
@ApiModel(description = "This field is only used by integrations created before December 10, 2025. All other integrations must use the `identity` object instead. For more details, see [new user APIs](https://plaid.com/docs/api/users/user-apis). To create a Plaid Check Consumer Report for a user when using a `user_token`, this field must be present. If this field is not provided during user token creation, you can add it to the user later by calling `/user/update`. Once the field has been added to the user, you will be able to call `/link/token/create` with a non-empty `consumer_report_permissible_purpose` (which will automatically create a Plaid Check Consumer Report), or call `/cra/check_report/create` for that user.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ConsumerReportUserIdentity {
public static final String SERIALIZED_NAME_FIRST_NAME = "first_name";
@SerializedName(SERIALIZED_NAME_FIRST_NAME)
private String firstName;
public static final String SERIALIZED_NAME_LAST_NAME = "last_name";
@SerializedName(SERIALIZED_NAME_LAST_NAME)
private String lastName;
public static final String SERIALIZED_NAME_PHONE_NUMBERS = "phone_numbers";
@SerializedName(SERIALIZED_NAME_PHONE_NUMBERS)
private List<String> phoneNumbers = new ArrayList<>();
public static final String SERIALIZED_NAME_EMAILS = "emails";
@SerializedName(SERIALIZED_NAME_EMAILS)
private List<String> emails = new ArrayList<>();
public static final String SERIALIZED_NAME_SSN_FULL = "ssn_full";
@SerializedName(SERIALIZED_NAME_SSN_FULL)
private String ssnFull;
public static final String SERIALIZED_NAME_SSN_LAST4 = "ssn_last_4";
@SerializedName(SERIALIZED_NAME_SSN_LAST4)
private String ssnLast4;
public static final String SERIALIZED_NAME_DATE_OF_BIRTH = "date_of_birth";
@SerializedName(SERIALIZED_NAME_DATE_OF_BIRTH)
private LocalDate dateOfBirth;
public static final String SERIALIZED_NAME_PRIMARY_ADDRESS = "primary_address";
@SerializedName(SERIALIZED_NAME_PRIMARY_ADDRESS)
private AddressData primaryAddress;
public ConsumerReportUserIdentity firstName(String firstName) {
this.firstName = firstName;
return this;
}
/**
* The user's first name
* @return firstName
**/
@ApiModelProperty(required = true, value = "The user's first name")
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public ConsumerReportUserIdentity lastName(String lastName) {
this.lastName = lastName;
return this;
}
/**
* The user's last name
* @return lastName
**/
@ApiModelProperty(required = true, value = "The user's last name")
public String getLastName() {
return lastName;
}
public void setLastName(String lastName) {
this.lastName = lastName;
}
public ConsumerReportUserIdentity phoneNumbers(List<String> phoneNumbers) {
this.phoneNumbers = phoneNumbers;
return this;
}
public ConsumerReportUserIdentity addPhoneNumbersItem(String phoneNumbersItem) {
this.phoneNumbers.add(phoneNumbersItem);
return this;
}
/**
* The user's phone number, in E.164 format: +{countrycode}{number}. For example: \"+14157452130\". Phone numbers provided in other formats will be parsed on a best-effort basis. Phone number input is validated against valid number ranges; number strings that do not match a real-world phone numbering scheme may cause the request to fail, even in the Sandbox test environment.
* @return phoneNumbers
**/
@ApiModelProperty(required = true, value = "The user's phone number, in E.164 format: +{countrycode}{number}. For example: \"+14157452130\". Phone numbers provided in other formats will be parsed on a best-effort basis. Phone number input is validated against valid number ranges; number strings that do not match a real-world phone numbering scheme may cause the request to fail, even in the Sandbox test environment.")
public List<String> getPhoneNumbers() {
return phoneNumbers;
}
public void setPhoneNumbers(List<String> phoneNumbers) {
this.phoneNumbers = phoneNumbers;
}
public ConsumerReportUserIdentity emails(List<String> emails) {
this.emails = emails;
return this;
}
public ConsumerReportUserIdentity addEmailsItem(String emailsItem) {
this.emails.add(emailsItem);
return this;
}
/**
* The user's emails
* @return emails
**/
@ApiModelProperty(required = true, value = "The user's emails")
public List<String> getEmails() {
return emails;
}
public void setEmails(List<String> emails) {
this.emails = emails;
}
public ConsumerReportUserIdentity ssnFull(String ssnFull) {
this.ssnFull = ssnFull;
return this;
}
/**
* The user's full social security number. This field should only be provided by lenders intending to share the resulting consumer report with a Government-Sponsored Enterprise (GSE), such as Fannie Mae or Freddie Mac. Format: \"ddd-dd-dddd\"
* @return ssnFull
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The user's full social security number. This field should only be provided by lenders intending to share the resulting consumer report with a Government-Sponsored Enterprise (GSE), such as Fannie Mae or Freddie Mac. Format: \"ddd-dd-dddd\"")
public String getSsnFull() {
return ssnFull;
}
public void setSsnFull(String ssnFull) {
this.ssnFull = ssnFull;
}
public ConsumerReportUserIdentity ssnLast4(String ssnLast4) {
this.ssnLast4 = ssnLast4;
return this;
}
/**
* The last 4 digits of the user's social security number.
* @return ssnLast4
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The last 4 digits of the user's social security number.")
public String getSsnLast4() {
return ssnLast4;
}
public void setSsnLast4(String ssnLast4) {
this.ssnLast4 = ssnLast4;
}
public ConsumerReportUserIdentity dateOfBirth(LocalDate dateOfBirth) {
this.dateOfBirth = dateOfBirth;
return this;
}
/**
* To be provided in the format \"yyyy-mm-dd\". This field is required for all Plaid Check customers.
* @return dateOfBirth
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "To be provided in the format \"yyyy-mm-dd\". This field is required for all Plaid Check customers.")
public LocalDate getDateOfBirth() {
return dateOfBirth;
}
public void setDateOfBirth(LocalDate dateOfBirth) {
this.dateOfBirth = dateOfBirth;
}
public ConsumerReportUserIdentity primaryAddress(AddressData primaryAddress) {
this.primaryAddress = primaryAddress;
return this;
}
/**
* Get primaryAddress
* @return primaryAddress
**/
@ApiModelProperty(required = true, value = "")
public AddressData getPrimaryAddress() {
return primaryAddress;
}
public void setPrimaryAddress(AddressData primaryAddress) {
this.primaryAddress = primaryAddress;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ConsumerReportUserIdentity consumerReportUserIdentity = (ConsumerReportUserIdentity) o;
return Objects.equals(this.firstName, consumerReportUserIdentity.firstName) &&
Objects.equals(this.lastName, consumerReportUserIdentity.lastName) &&
Objects.equals(this.phoneNumbers, consumerReportUserIdentity.phoneNumbers) &&
Objects.equals(this.emails, consumerReportUserIdentity.emails) &&
Objects.equals(this.ssnFull, consumerReportUserIdentity.ssnFull) &&
Objects.equals(this.ssnLast4, consumerReportUserIdentity.ssnLast4) &&
Objects.equals(this.dateOfBirth, consumerReportUserIdentity.dateOfBirth) &&
Objects.equals(this.primaryAddress, consumerReportUserIdentity.primaryAddress);
}
@Override
public int hashCode() {
return Objects.hash(firstName, lastName, phoneNumbers, emails, ssnFull, ssnLast4, dateOfBirth, primaryAddress);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ConsumerReportUserIdentity {\n");
sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n");
sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n");
sb.append(" phoneNumbers: ").append(toIndentedString(phoneNumbers)).append("\n");
sb.append(" emails: ").append(toIndentedString(emails)).append("\n");
sb.append(" ssnFull: ").append(toIndentedString(ssnFull)).append("\n");
sb.append(" ssnLast4: ").append(toIndentedString(ssnLast4)).append("\n");
sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n");
sb.append(" primaryAddress: ").append(toIndentedString(primaryAddress)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/LinkTokenCreateRequest.java | src/main/java/com/plaid/client/model/LinkTokenCreateRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.ConsumerReportPermissiblePurpose;
import com.plaid.client.model.CountryCode;
import com.plaid.client.model.LinkTokenAccountFilters;
import com.plaid.client.model.LinkTokenCashflowReport;
import com.plaid.client.model.LinkTokenCreateCardSwitch;
import com.plaid.client.model.LinkTokenCreateHostedLink;
import com.plaid.client.model.LinkTokenCreateIdentity;
import com.plaid.client.model.LinkTokenCreateInstitutionData;
import com.plaid.client.model.LinkTokenCreateRequestAppearanceMode;
import com.plaid.client.model.LinkTokenCreateRequestAuth;
import com.plaid.client.model.LinkTokenCreateRequestBaseReport;
import com.plaid.client.model.LinkTokenCreateRequestCraOptions;
import com.plaid.client.model.LinkTokenCreateRequestCreditPartnerInsights;
import com.plaid.client.model.LinkTokenCreateRequestEmployment;
import com.plaid.client.model.LinkTokenCreateRequestIdentityVerification;
import com.plaid.client.model.LinkTokenCreateRequestIncomeVerification;
import com.plaid.client.model.LinkTokenCreateRequestPaymentConfiguration;
import com.plaid.client.model.LinkTokenCreateRequestPaymentInitiation;
import com.plaid.client.model.LinkTokenCreateRequestStatements;
import com.plaid.client.model.LinkTokenCreateRequestTransfer;
import com.plaid.client.model.LinkTokenCreateRequestUpdate;
import com.plaid.client.model.LinkTokenCreateRequestUser;
import com.plaid.client.model.LinkTokenEUConfig;
import com.plaid.client.model.LinkTokenInvestments;
import com.plaid.client.model.LinkTokenInvestmentsAuth;
import com.plaid.client.model.LinkTokenTransactions;
import com.plaid.client.model.Products;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* LinkTokenCreateRequest defines the request schema for `/link/token/create`
*/
@ApiModel(description = "LinkTokenCreateRequest defines the request schema for `/link/token/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkTokenCreateRequest {
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_CLIENT_NAME = "client_name";
@SerializedName(SERIALIZED_NAME_CLIENT_NAME)
private String clientName;
public static final String SERIALIZED_NAME_LANGUAGE = "language";
@SerializedName(SERIALIZED_NAME_LANGUAGE)
private String language;
public static final String SERIALIZED_NAME_COUNTRY_CODES = "country_codes";
@SerializedName(SERIALIZED_NAME_COUNTRY_CODES)
private List<CountryCode> countryCodes = new ArrayList<>();
public static final String SERIALIZED_NAME_USER = "user";
@SerializedName(SERIALIZED_NAME_USER)
private LinkTokenCreateRequestUser user;
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<Products> products = null;
public static final String SERIALIZED_NAME_REQUIRED_IF_SUPPORTED_PRODUCTS = "required_if_supported_products";
@SerializedName(SERIALIZED_NAME_REQUIRED_IF_SUPPORTED_PRODUCTS)
private List<Products> requiredIfSupportedProducts = null;
public static final String SERIALIZED_NAME_OPTIONAL_PRODUCTS = "optional_products";
@SerializedName(SERIALIZED_NAME_OPTIONAL_PRODUCTS)
private List<Products> optionalProducts = null;
public static final String SERIALIZED_NAME_ADDITIONAL_CONSENTED_PRODUCTS = "additional_consented_products";
@SerializedName(SERIALIZED_NAME_ADDITIONAL_CONSENTED_PRODUCTS)
private List<Products> additionalConsentedProducts = null;
public static final String SERIALIZED_NAME_WEBHOOK = "webhook";
@SerializedName(SERIALIZED_NAME_WEBHOOK)
private String webhook;
public static final String SERIALIZED_NAME_ACCESS_TOKEN = "access_token";
@SerializedName(SERIALIZED_NAME_ACCESS_TOKEN)
private String accessToken;
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_LINK_CUSTOMIZATION_NAME = "link_customization_name";
@SerializedName(SERIALIZED_NAME_LINK_CUSTOMIZATION_NAME)
private String linkCustomizationName;
public static final String SERIALIZED_NAME_APPEARANCE_MODE = "appearance_mode";
@SerializedName(SERIALIZED_NAME_APPEARANCE_MODE)
private LinkTokenCreateRequestAppearanceMode appearanceMode;
public static final String SERIALIZED_NAME_REDIRECT_URI = "redirect_uri";
@SerializedName(SERIALIZED_NAME_REDIRECT_URI)
private String redirectUri;
public static final String SERIALIZED_NAME_ANDROID_PACKAGE_NAME = "android_package_name";
@SerializedName(SERIALIZED_NAME_ANDROID_PACKAGE_NAME)
private String androidPackageName;
public static final String SERIALIZED_NAME_INSTITUTION_DATA = "institution_data";
@SerializedName(SERIALIZED_NAME_INSTITUTION_DATA)
private LinkTokenCreateInstitutionData institutionData;
public static final String SERIALIZED_NAME_CARD_SWITCH = "card_switch";
@SerializedName(SERIALIZED_NAME_CARD_SWITCH)
private LinkTokenCreateCardSwitch cardSwitch;
public static final String SERIALIZED_NAME_ACCOUNT_FILTERS = "account_filters";
@SerializedName(SERIALIZED_NAME_ACCOUNT_FILTERS)
private LinkTokenAccountFilters accountFilters;
public static final String SERIALIZED_NAME_EU_CONFIG = "eu_config";
@SerializedName(SERIALIZED_NAME_EU_CONFIG)
private LinkTokenEUConfig euConfig;
public static final String SERIALIZED_NAME_INSTITUTION_ID = "institution_id";
@SerializedName(SERIALIZED_NAME_INSTITUTION_ID)
private String institutionId;
public static final String SERIALIZED_NAME_PAYMENT_CONFIGURATION = "payment_configuration";
@SerializedName(SERIALIZED_NAME_PAYMENT_CONFIGURATION)
private LinkTokenCreateRequestPaymentConfiguration paymentConfiguration;
public static final String SERIALIZED_NAME_PAYMENT_INITIATION = "payment_initiation";
@SerializedName(SERIALIZED_NAME_PAYMENT_INITIATION)
private LinkTokenCreateRequestPaymentInitiation paymentInitiation;
public static final String SERIALIZED_NAME_EMPLOYMENT = "employment";
@SerializedName(SERIALIZED_NAME_EMPLOYMENT)
private LinkTokenCreateRequestEmployment employment;
public static final String SERIALIZED_NAME_INCOME_VERIFICATION = "income_verification";
@SerializedName(SERIALIZED_NAME_INCOME_VERIFICATION)
private LinkTokenCreateRequestIncomeVerification incomeVerification;
public static final String SERIALIZED_NAME_BASE_REPORT = "base_report";
@SerializedName(SERIALIZED_NAME_BASE_REPORT)
private LinkTokenCreateRequestBaseReport baseReport;
public static final String SERIALIZED_NAME_CREDIT_PARTNER_INSIGHTS = "credit_partner_insights";
@SerializedName(SERIALIZED_NAME_CREDIT_PARTNER_INSIGHTS)
private LinkTokenCreateRequestCreditPartnerInsights creditPartnerInsights;
public static final String SERIALIZED_NAME_CRA_OPTIONS = "cra_options";
@SerializedName(SERIALIZED_NAME_CRA_OPTIONS)
private LinkTokenCreateRequestCraOptions craOptions;
public static final String SERIALIZED_NAME_CONSUMER_REPORT_PERMISSIBLE_PURPOSE = "consumer_report_permissible_purpose";
@SerializedName(SERIALIZED_NAME_CONSUMER_REPORT_PERMISSIBLE_PURPOSE)
private ConsumerReportPermissiblePurpose consumerReportPermissiblePurpose;
public static final String SERIALIZED_NAME_AUTH = "auth";
@SerializedName(SERIALIZED_NAME_AUTH)
private LinkTokenCreateRequestAuth auth;
public static final String SERIALIZED_NAME_TRANSFER = "transfer";
@SerializedName(SERIALIZED_NAME_TRANSFER)
private LinkTokenCreateRequestTransfer transfer;
public static final String SERIALIZED_NAME_UPDATE = "update";
@SerializedName(SERIALIZED_NAME_UPDATE)
private LinkTokenCreateRequestUpdate update;
public static final String SERIALIZED_NAME_IDENTITY_VERIFICATION = "identity_verification";
@SerializedName(SERIALIZED_NAME_IDENTITY_VERIFICATION)
private LinkTokenCreateRequestIdentityVerification identityVerification;
public static final String SERIALIZED_NAME_STATEMENTS = "statements";
@SerializedName(SERIALIZED_NAME_STATEMENTS)
private LinkTokenCreateRequestStatements statements;
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_INVESTMENTS = "investments";
@SerializedName(SERIALIZED_NAME_INVESTMENTS)
private LinkTokenInvestments investments;
public static final String SERIALIZED_NAME_INVESTMENTS_AUTH = "investments_auth";
@SerializedName(SERIALIZED_NAME_INVESTMENTS_AUTH)
private LinkTokenInvestmentsAuth investmentsAuth;
public static final String SERIALIZED_NAME_HOSTED_LINK = "hosted_link";
@SerializedName(SERIALIZED_NAME_HOSTED_LINK)
private LinkTokenCreateHostedLink hostedLink;
public static final String SERIALIZED_NAME_TRANSACTIONS = "transactions";
@SerializedName(SERIALIZED_NAME_TRANSACTIONS)
private LinkTokenTransactions transactions;
public static final String SERIALIZED_NAME_CASHFLOW_REPORT = "cashflow_report";
@SerializedName(SERIALIZED_NAME_CASHFLOW_REPORT)
private LinkTokenCashflowReport cashflowReport;
public static final String SERIALIZED_NAME_CRA_ENABLED = "cra_enabled";
@SerializedName(SERIALIZED_NAME_CRA_ENABLED)
private Boolean craEnabled;
public static final String SERIALIZED_NAME_IDENTITY = "identity";
@SerializedName(SERIALIZED_NAME_IDENTITY)
private LinkTokenCreateIdentity identity;
public static final String SERIALIZED_NAME_FINANCEKIT_SUPPORTED = "financekit_supported";
@SerializedName(SERIALIZED_NAME_FINANCEKIT_SUPPORTED)
private Boolean financekitSupported;
public static final String SERIALIZED_NAME_ENABLE_MULTI_ITEM_LINK = "enable_multi_item_link";
@SerializedName(SERIALIZED_NAME_ENABLE_MULTI_ITEM_LINK)
private Boolean enableMultiItemLink;
public static final String SERIALIZED_NAME_USER_TOKEN = "user_token";
@SerializedName(SERIALIZED_NAME_USER_TOKEN)
private String userToken;
public LinkTokenCreateRequest 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 LinkTokenCreateRequest 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 LinkTokenCreateRequest clientName(String clientName) {
this.clientName = clientName;
return this;
}
/**
* The name of your application, as it should be displayed in Link. Maximum length of 30 characters. If a value longer than 30 characters is provided, Link will display \"This Application\" instead.
* @return clientName
**/
@ApiModelProperty(required = true, value = "The name of your application, as it should be displayed in Link. Maximum length of 30 characters. If a value longer than 30 characters is provided, Link will display \"This Application\" instead.")
public String getClientName() {
return clientName;
}
public void setClientName(String clientName) {
this.clientName = clientName;
}
public LinkTokenCreateRequest language(String language) {
this.language = language;
return this;
}
/**
* The language that Link should be displayed in. When initializing with Identity Verification, this field is not used; for more details, see [Identity Verification supported languages](https://plaid.com/docs/identity-verification/#supported-languages). Supported languages are: - Danish (`'da'`) - Dutch (`'nl'`) - English (`'en'`) - Estonian (`'et'`) - French (`'fr'`) - German (`'de'`) - Hindi (`'hi'`) - Italian (`'it'`) - Latvian (`'lv'`) - Lithuanian (`'lt'`) - Norwegian (`'no'`) - Polish (`'pl'`) - Portuguese (`'pt'`) - Romanian (`'ro'`) - Spanish (`'es'`) - Swedish (`'sv'`) - Vietnamese (`'vi'`) When using a Link customization, the language configured here must match the setting in the customization, or the customization will not be applied.
* @return language
**/
@ApiModelProperty(required = true, value = "The language that Link should be displayed in. When initializing with Identity Verification, this field is not used; for more details, see [Identity Verification supported languages](https://plaid.com/docs/identity-verification/#supported-languages). Supported languages are: - Danish (`'da'`) - Dutch (`'nl'`) - English (`'en'`) - Estonian (`'et'`) - French (`'fr'`) - German (`'de'`) - Hindi (`'hi'`) - Italian (`'it'`) - Latvian (`'lv'`) - Lithuanian (`'lt'`) - Norwegian (`'no'`) - Polish (`'pl'`) - Portuguese (`'pt'`) - Romanian (`'ro'`) - Spanish (`'es'`) - Swedish (`'sv'`) - Vietnamese (`'vi'`) When using a Link customization, the language configured here must match the setting in the customization, or the customization will not be applied.")
public String getLanguage() {
return language;
}
public void setLanguage(String language) {
this.language = language;
}
public LinkTokenCreateRequest countryCodes(List<CountryCode> countryCodes) {
this.countryCodes = countryCodes;
return this;
}
public LinkTokenCreateRequest addCountryCodesItem(CountryCode countryCodesItem) {
this.countryCodes.add(countryCodesItem);
return this;
}
/**
* Specify an array of Plaid-supported country codes using the ISO-3166-1 alpha-2 country code standard. Institutions from all listed countries will be shown. For a complete mapping of supported products by country, see https://plaid.com/global/. By default, access is granted to US and CA. For Production or Limited Production access to other countries, [contact Sales](https://plaid.com/contact/) or your account manager. If using Identity Verification, `country_codes` should be set to the country where your company is based, not the country where your user is located. For all other products, `country_codes` represents the location of your user's financial institution. If Link is launched with multiple country codes, only products that you are enabled for in all countries will be used by Link. While all countries are enabled by default in Sandbox, in Production only the countries you have requested access for are shown. To request access to additional countries, [file a product access Support ticket](https://dashboard.plaid.com/support/new/product-and-development/product-troubleshooting/request-product-access) via the Plaid dashboard. If using a Link customization, make sure the country codes in the customization match those specified in `country_codes`, or the customization may not be applied. If using the Auth features Instant Match, Instant Micro-deposits, Same-day Micro-deposits, Automated Micro-deposits, or Database Auth, `country_codes` must be set to `['US']`.
* @return countryCodes
**/
@ApiModelProperty(required = true, value = "Specify an array of Plaid-supported country codes using the ISO-3166-1 alpha-2 country code standard. Institutions from all listed countries will be shown. For a complete mapping of supported products by country, see https://plaid.com/global/. By default, access is granted to US and CA. For Production or Limited Production access to other countries, [contact Sales](https://plaid.com/contact/) or your account manager. If using Identity Verification, `country_codes` should be set to the country where your company is based, not the country where your user is located. For all other products, `country_codes` represents the location of your user's financial institution. If Link is launched with multiple country codes, only products that you are enabled for in all countries will be used by Link. While all countries are enabled by default in Sandbox, in Production only the countries you have requested access for are shown. To request access to additional countries, [file a product access Support ticket](https://dashboard.plaid.com/support/new/product-and-development/product-troubleshooting/request-product-access) via the Plaid dashboard. If using a Link customization, make sure the country codes in the customization match those specified in `country_codes`, or the customization may not be applied. If using the Auth features Instant Match, Instant Micro-deposits, Same-day Micro-deposits, Automated Micro-deposits, or Database Auth, `country_codes` must be set to `['US']`.")
public List<CountryCode> getCountryCodes() {
return countryCodes;
}
public void setCountryCodes(List<CountryCode> countryCodes) {
this.countryCodes = countryCodes;
}
public LinkTokenCreateRequest user(LinkTokenCreateRequestUser user) {
this.user = user;
return this;
}
/**
* Get user
* @return user
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public LinkTokenCreateRequestUser getUser() {
return user;
}
public void setUser(LinkTokenCreateRequestUser user) {
this.user = user;
}
public LinkTokenCreateRequest userId(String userId) {
this.userId = userId;
return this;
}
/**
* A `user_id` generated using `/user/create`. Required for integrations that began using Plaid Protect, Multi-Item Link, or Plaid Check Consumer Report after December 10, 2025. For more details, see [new User APIs](https://plaid.com/docs/api/users/user-apis). One of either the `user_id` or the `user` field is required.
* @return userId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A `user_id` generated using `/user/create`. Required for integrations that began using Plaid Protect, Multi-Item Link, or Plaid Check Consumer Report after December 10, 2025. For more details, see [new User APIs](https://plaid.com/docs/api/users/user-apis). One of either the `user_id` or the `user` field is required.")
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public LinkTokenCreateRequest products(List<Products> products) {
this.products = products;
return this;
}
public LinkTokenCreateRequest addProductsItem(Products productsItem) {
if (this.products == null) {
this.products = new ArrayList<>();
}
this.products.add(productsItem);
return this;
}
/**
* List of Plaid product(s) that the linked Item must support. If launching Link in update mode, should be omitted (unless you are using update mode to add a credit product, such as Assets, Statements, Income, or Plaid Check Consumer Report, to an existing Item); at least one `product` is required otherwise. To maximize the number of institutions and accounts available, initialize Link with the minimal product set required for your use case, as the products specified will limit which institutions and account types will be available to your users in Link. Only institutions that support *all* requested products can be selected; if a user attempts to select an institution that does not support a listed product, a \"Connectivity not supported\" error message will appear in Link. For each specified product, the Item connected by the user must contain at least one compatible account. For details on compatible product / account type combinations, see [the account type/product support matrix](https://plaid.com/docs/api/accounts/#account-type--product-support-matrix). To add products without limiting the institution list or account types, use the [`optional_products`](https://plaid.com/docs/api/link/#link-token-create-request-optional-products) or [`required_if_supported_products`](https://plaid.com/docs/api/link/#link-token-create-request-required-if-supported-products) fields. Products can also be added to an Item by calling the product endpoint after obtaining an access token; this may require the product to be listed in the [`additional_consented_products`](https://plaid.com/docs/api/link/#link-token-create-request-additional-consented-products) array. For details, see [Choosing when to initialize products](https://plaid.com/docs/link/initializing-products/). `balance` is *not* a valid value, the Balance product does not require explicit initialization and will automatically be initialized when any other product is initialized. If launching Link with CRA products, `cra_base_reports` is required and must be included in the `products` array. Note that, unless you have opted to disable Instant Match support, institutions that support Instant Match will also be shown in Link if `auth` is specified as a product, even though these institutions do not contain `auth` in their product array. In Production, you will be billed for each product that you specify when initializing Link. Note that a product cannot be removed from an Item once the Item has been initialized with that product. To stop billing on an Item for subscription-based products, such as Liabilities, Investments, and Transactions, remove the Item via `/item/remove`.
* @return products
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "List of Plaid product(s) that the linked Item must support. If launching Link in update mode, should be omitted (unless you are using update mode to add a credit product, such as Assets, Statements, Income, or Plaid Check Consumer Report, to an existing Item); at least one `product` is required otherwise. To maximize the number of institutions and accounts available, initialize Link with the minimal product set required for your use case, as the products specified will limit which institutions and account types will be available to your users in Link. Only institutions that support *all* requested products can be selected; if a user attempts to select an institution that does not support a listed product, a \"Connectivity not supported\" error message will appear in Link. For each specified product, the Item connected by the user must contain at least one compatible account. For details on compatible product / account type combinations, see [the account type/product support matrix](https://plaid.com/docs/api/accounts/#account-type--product-support-matrix). To add products without limiting the institution list or account types, use the [`optional_products`](https://plaid.com/docs/api/link/#link-token-create-request-optional-products) or [`required_if_supported_products`](https://plaid.com/docs/api/link/#link-token-create-request-required-if-supported-products) fields. Products can also be added to an Item by calling the product endpoint after obtaining an access token; this may require the product to be listed in the [`additional_consented_products`](https://plaid.com/docs/api/link/#link-token-create-request-additional-consented-products) array. For details, see [Choosing when to initialize products](https://plaid.com/docs/link/initializing-products/). `balance` is *not* a valid value, the Balance product does not require explicit initialization and will automatically be initialized when any other product is initialized. If launching Link with CRA products, `cra_base_reports` is required and must be included in the `products` array. Note that, unless you have opted to disable Instant Match support, institutions that support Instant Match will also be shown in Link if `auth` is specified as a product, even though these institutions do not contain `auth` in their product array. In Production, you will be billed for each product that you specify when initializing Link. Note that a product cannot be removed from an Item once the Item has been initialized with that product. To stop billing on an Item for subscription-based products, such as Liabilities, Investments, and Transactions, remove the Item via `/item/remove`.")
public List<Products> getProducts() {
return products;
}
public void setProducts(List<Products> products) {
this.products = products;
}
public LinkTokenCreateRequest requiredIfSupportedProducts(List<Products> requiredIfSupportedProducts) {
this.requiredIfSupportedProducts = requiredIfSupportedProducts;
return this;
}
public LinkTokenCreateRequest addRequiredIfSupportedProductsItem(Products requiredIfSupportedProductsItem) {
if (this.requiredIfSupportedProducts == null) {
this.requiredIfSupportedProducts = new ArrayList<>();
}
this.requiredIfSupportedProducts.add(requiredIfSupportedProductsItem);
return this;
}
/**
* List of Plaid product(s) you wish to use only if the institution and account(s) selected by the user support the product. Institutions that do not support these products will still be shown in Link. The products will only be extracted and billed if the user selects an institution and account type that supports them. There should be no overlap between this array and the `products`, `optional_products`, or `additional_consented_products` arrays. The `products` array must have at least one product. For more details on using this feature, see [Required if Supported Products](https://plaid.com/docs/link/initializing-products/#required-if-supported-products).
* @return requiredIfSupportedProducts
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "List of Plaid product(s) you wish to use only if the institution and account(s) selected by the user support the product. Institutions that do not support these products will still be shown in Link. The products will only be extracted and billed if the user selects an institution and account type that supports them. There should be no overlap between this array and the `products`, `optional_products`, or `additional_consented_products` arrays. The `products` array must have at least one product. For more details on using this feature, see [Required if Supported Products](https://plaid.com/docs/link/initializing-products/#required-if-supported-products).")
public List<Products> getRequiredIfSupportedProducts() {
return requiredIfSupportedProducts;
}
public void setRequiredIfSupportedProducts(List<Products> requiredIfSupportedProducts) {
this.requiredIfSupportedProducts = requiredIfSupportedProducts;
}
public LinkTokenCreateRequest optionalProducts(List<Products> optionalProducts) {
this.optionalProducts = optionalProducts;
return this;
}
public LinkTokenCreateRequest addOptionalProductsItem(Products optionalProductsItem) {
if (this.optionalProducts == null) {
this.optionalProducts = new ArrayList<>();
}
this.optionalProducts.add(optionalProductsItem);
return this;
}
/**
* List of Plaid product(s) that will enhance the consumer's use case, but that your app can function without. Plaid will attempt to fetch data for these products on a best-effort basis, and failure to support these products will not affect Item creation. There should be no overlap between this array and the `products`, `required_if_supported_products`, or `additional_consented_products` arrays. The `products` array must have at least one product. For more details on using this feature, see [Optional Products](https://plaid.com/docs/link/initializing-products/#optional-products).
* @return optionalProducts
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "List of Plaid product(s) that will enhance the consumer's use case, but that your app can function without. Plaid will attempt to fetch data for these products on a best-effort basis, and failure to support these products will not affect Item creation. There should be no overlap between this array and the `products`, `required_if_supported_products`, or `additional_consented_products` arrays. The `products` array must have at least one product. For more details on using this feature, see [Optional Products](https://plaid.com/docs/link/initializing-products/#optional-products).")
public List<Products> getOptionalProducts() {
return optionalProducts;
}
public void setOptionalProducts(List<Products> optionalProducts) {
this.optionalProducts = optionalProducts;
}
public LinkTokenCreateRequest additionalConsentedProducts(List<Products> additionalConsentedProducts) {
this.additionalConsentedProducts = additionalConsentedProducts;
return this;
}
public LinkTokenCreateRequest addAdditionalConsentedProductsItem(Products additionalConsentedProductsItem) {
if (this.additionalConsentedProducts == null) {
this.additionalConsentedProducts = new ArrayList<>();
}
this.additionalConsentedProducts.add(additionalConsentedProductsItem);
return this;
}
/**
* List of additional Plaid product(s) you wish to collect consent for to support your use case. These products will not be billed until you start using them by calling the relevant endpoints. `balance` is *not* a valid value, the Balance product does not require explicit initialization and will automatically have consent collected. Institutions that do not support these products will still be shown in Link. There should be no overlap between this array and the `products` or `required_if_supported_products` arrays. If you include `signal` in `additional_consented_products`, you will need to call [`/signal/prepare`](https://plaid.com/docs/api/products/signal/#signalprepare) before calling `/signal/evaluate` for the first time on an Item in order to get the most accurate results. For more details, see [`/signal/prepare`](https://plaid.com/docs/api/products/signal/#signalprepare).
* @return additionalConsentedProducts
**/
@javax.annotation.Nullable
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | true |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/WatchlistScreeningEntityProgramGetRequest.java | src/main/java/com/plaid/client/model/WatchlistScreeningEntityProgramGetRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Request input for fetching an entity watchlist program
*/
@ApiModel(description = "Request input for fetching an entity watchlist program")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class WatchlistScreeningEntityProgramGetRequest {
public static final String SERIALIZED_NAME_ENTITY_WATCHLIST_PROGRAM_ID = "entity_watchlist_program_id";
@SerializedName(SERIALIZED_NAME_ENTITY_WATCHLIST_PROGRAM_ID)
private String entityWatchlistProgramId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public WatchlistScreeningEntityProgramGetRequest entityWatchlistProgramId(String entityWatchlistProgramId) {
this.entityWatchlistProgramId = entityWatchlistProgramId;
return this;
}
/**
* ID of the associated entity program.
* @return entityWatchlistProgramId
**/
@ApiModelProperty(example = "entprg_2eRPsDnL66rZ7H", required = true, value = "ID of the associated entity program.")
public String getEntityWatchlistProgramId() {
return entityWatchlistProgramId;
}
public void setEntityWatchlistProgramId(String entityWatchlistProgramId) {
this.entityWatchlistProgramId = entityWatchlistProgramId;
}
public WatchlistScreeningEntityProgramGetRequest 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 WatchlistScreeningEntityProgramGetRequest clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.
* @return clientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.")
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
WatchlistScreeningEntityProgramGetRequest watchlistScreeningEntityProgramGetRequest = (WatchlistScreeningEntityProgramGetRequest) o;
return Objects.equals(this.entityWatchlistProgramId, watchlistScreeningEntityProgramGetRequest.entityWatchlistProgramId) &&
Objects.equals(this.secret, watchlistScreeningEntityProgramGetRequest.secret) &&
Objects.equals(this.clientId, watchlistScreeningEntityProgramGetRequest.clientId);
}
@Override
public int hashCode() {
return Objects.hash(entityWatchlistProgramId, secret, clientId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class WatchlistScreeningEntityProgramGetRequest {\n");
sb.append(" entityWatchlistProgramId: ").append(toIndentedString(entityWatchlistProgramId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransferEventType.java | src/main/java/com/plaid/client/model/TransferEventType.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 transfer represents. Event types with prefix `sweep` represents events for Plaid Ledger sweeps. `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. `settled`: The transfer has been successfully completed by the payment network. `funds_available`: Funds from the transfer have been released from hold and applied to the ledger's available balance. (Only applicable to ACH debits.) `returned`: A posted transfer was returned. `swept`: The transfer was swept to / from the sweep account. `swept_settled`: Credits are available to be withdrawn or debits have been deducted from the customer’s business checking account. `return_swept`: Due to the transfer being returned, funds were pulled from or pushed back to the sweep account. `sweep.pending`: A new ledger sweep was created; it is in the pending state. `sweep.posted`: The ledger sweep has been successfully submitted to the payment network. `sweep.settled`: The transaction has settled in the funding account. This means that funds withdrawn from Plaid Ledger balance have reached the funding account, or funds to be deposited into the Plaid Ledger Balance have been pulled, and the hold period has begun. `sweep.returned`: A posted ledger sweep was returned. `sweep.failed`: The ledger sweep failed, no funds were moved. `sweep.funds_available`: Funds from the ledger sweep have been released from hold and applied to the ledger's available balance. This is only applicable to debits. `refund.pending`: A new refund was created; it is in the pending state. `refund.cancelled`: The refund was cancelled. `refund.failed`: The refund failed, no funds were moved. `refund.posted`: The refund has been successfully submitted to the payment network. `refund.settled`: The refund transaction has settled in the Plaid linked account. `refund.returned`: A posted refund was returned. `refund.swept`: The refund was swept from the sweep account. `refund.return_swept`: Due to the refund being returned, funds were pushed back to the sweep account.
*/
@JsonAdapter(TransferEventType.Adapter.class)
public enum TransferEventType {
PENDING("pending"),
CANCELLED("cancelled"),
FAILED("failed"),
POSTED("posted"),
SETTLED("settled"),
FUNDS_AVAILABLE("funds_available"),
RETURNED("returned"),
SWEPT("swept"),
SWEPT_SETTLED("swept_settled"),
RETURN_SWEPT("return_swept"),
SWEEP_PENDING("sweep.pending"),
SWEEP_POSTED("sweep.posted"),
SWEEP_SETTLED("sweep.settled"),
SWEEP_RETURNED("sweep.returned"),
SWEEP_FAILED("sweep.failed"),
SWEEP_FUNDS_AVAILABLE("sweep.funds_available"),
REFUND_PENDING("refund.pending"),
REFUND_CANCELLED("refund.cancelled"),
REFUND_FAILED("refund.failed"),
REFUND_POSTED("refund.posted"),
REFUND_SETTLED("refund.settled"),
REFUND_RETURNED("refund.returned"),
REFUND_SWEPT("refund.swept"),
REFUND_RETURN_SWEPT("refund.return_swept"),
// 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;
TransferEventType(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static TransferEventType fromValue(String value) {
for (TransferEventType b : TransferEventType.values()) {
if (b.value.equals(value)) {
return b;
}
}
return TransferEventType.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<TransferEventType> {
@Override
public void write(final JsonWriter jsonWriter, final TransferEventType enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public TransferEventType read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return TransferEventType.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/TransferRefund.java | src/main/java/com/plaid/client/model/TransferRefund.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.TransferRefundFailure;
import com.plaid.client.model.TransferRefundStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
/**
* Represents a refund within the Transfers API.
*/
@ApiModel(description = "Represents a refund within the Transfers API.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferRefund {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
public static final String SERIALIZED_NAME_TRANSFER_ID = "transfer_id";
@SerializedName(SERIALIZED_NAME_TRANSFER_ID)
private String transferId;
public static final String SERIALIZED_NAME_AMOUNT = "amount";
@SerializedName(SERIALIZED_NAME_AMOUNT)
private String amount;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private TransferRefundStatus status;
public static final String SERIALIZED_NAME_FAILURE_REASON = "failure_reason";
@SerializedName(SERIALIZED_NAME_FAILURE_REASON)
private TransferRefundFailure failureReason;
public static final String SERIALIZED_NAME_LEDGER_ID = "ledger_id";
@SerializedName(SERIALIZED_NAME_LEDGER_ID)
private String ledgerId;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
private OffsetDateTime created;
public static final String SERIALIZED_NAME_NETWORK_TRACE_ID = "network_trace_id";
@SerializedName(SERIALIZED_NAME_NETWORK_TRACE_ID)
private String networkTraceId;
public TransferRefund id(String id) {
this.id = id;
return this;
}
/**
* Plaid’s unique identifier for a refund.
* @return id
**/
@ApiModelProperty(required = true, value = "Plaid’s unique identifier for a refund.")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public TransferRefund transferId(String transferId) {
this.transferId = transferId;
return this;
}
/**
* The ID of the transfer to refund.
* @return transferId
**/
@ApiModelProperty(required = true, value = "The ID of the transfer to refund.")
public String getTransferId() {
return transferId;
}
public void setTransferId(String transferId) {
this.transferId = transferId;
}
public TransferRefund amount(String amount) {
this.amount = amount;
return this;
}
/**
* The amount of the refund (decimal string with two digits of precision e.g. \"10.00\").
* @return amount
**/
@ApiModelProperty(required = true, value = "The amount of the refund (decimal string with two digits of precision e.g. \"10.00\").")
public String getAmount() {
return amount;
}
public void setAmount(String amount) {
this.amount = amount;
}
public TransferRefund status(TransferRefundStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@ApiModelProperty(required = true, value = "")
public TransferRefundStatus getStatus() {
return status;
}
public void setStatus(TransferRefundStatus status) {
this.status = status;
}
public TransferRefund failureReason(TransferRefundFailure failureReason) {
this.failureReason = failureReason;
return this;
}
/**
* Get failureReason
* @return failureReason
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public TransferRefundFailure getFailureReason() {
return failureReason;
}
public void setFailureReason(TransferRefundFailure failureReason) {
this.failureReason = failureReason;
}
public TransferRefund 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 TransferRefund created(OffsetDateTime created) {
this.created = created;
return this;
}
/**
* The datetime when this refund was created. This will be of the form `2006-01-02T15:04:05Z`
* @return created
**/
@ApiModelProperty(required = true, value = "The datetime when this refund was created. This will be of the form `2006-01-02T15:04:05Z`")
public OffsetDateTime getCreated() {
return created;
}
public void setCreated(OffsetDateTime created) {
this.created = created;
}
public TransferRefund networkTraceId(String networkTraceId) {
this.networkTraceId = networkTraceId;
return this;
}
/**
* The trace identifier for the transfer based on its network. This will only be set after the transfer has posted. For `ach` or `same-day-ach` transfers, this is the ACH trace number. For `rtp` transfers, this is the Transaction Identification number. For `wire` transfers, this is the IMAD (Input Message Accountability Data) number.
* @return networkTraceId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The trace identifier for the transfer based on its network. This will only be set after the transfer has posted. For `ach` or `same-day-ach` transfers, this is the ACH trace number. For `rtp` transfers, this is the Transaction Identification number. For `wire` transfers, this is the IMAD (Input Message Accountability Data) number.")
public String getNetworkTraceId() {
return networkTraceId;
}
public void setNetworkTraceId(String networkTraceId) {
this.networkTraceId = networkTraceId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferRefund transferRefund = (TransferRefund) o;
return Objects.equals(this.id, transferRefund.id) &&
Objects.equals(this.transferId, transferRefund.transferId) &&
Objects.equals(this.amount, transferRefund.amount) &&
Objects.equals(this.status, transferRefund.status) &&
Objects.equals(this.failureReason, transferRefund.failureReason) &&
Objects.equals(this.ledgerId, transferRefund.ledgerId) &&
Objects.equals(this.created, transferRefund.created) &&
Objects.equals(this.networkTraceId, transferRefund.networkTraceId);
}
@Override
public int hashCode() {
return Objects.hash(id, transferId, amount, status, failureReason, ledgerId, created, networkTraceId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferRefund {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" transferId: ").append(toIndentedString(transferId)).append("\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" failureReason: ").append(toIndentedString(failureReason)).append("\n");
sb.append(" ledgerId: ").append(toIndentedString(ledgerId)).append("\n");
sb.append(" created: ").append(toIndentedString(created)).append("\n");
sb.append(" networkTraceId: ").append(toIndentedString(networkTraceId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BetaPartnerCustomerV1UpdateRequest.java | src/main/java/com/plaid/client/model/BetaPartnerCustomerV1UpdateRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.PartnerEndCustomerBankAddendumAcceptance;
import com.plaid.client.model.PartnerEndCustomerQuestionnaires;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Request schema for `/beta/partner/customer/v1/update`.
*/
@ApiModel(description = "Request schema for `/beta/partner/customer/v1/update`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BetaPartnerCustomerV1UpdateRequest {
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 static final String SERIALIZED_NAME_LEGAL_ENTITY_NAME = "legal_entity_name";
@SerializedName(SERIALIZED_NAME_LEGAL_ENTITY_NAME)
private String legalEntityName;
public static final String SERIALIZED_NAME_REDIRECT_URIS = "redirect_uris";
@SerializedName(SERIALIZED_NAME_REDIRECT_URIS)
private List<String> redirectUris = null;
public static final String SERIALIZED_NAME_BANK_ADDENDUM_ACCEPTANCE = "bank_addendum_acceptance";
@SerializedName(SERIALIZED_NAME_BANK_ADDENDUM_ACCEPTANCE)
private PartnerEndCustomerBankAddendumAcceptance bankAddendumAcceptance;
public static final String SERIALIZED_NAME_QUESTIONNAIRES = "questionnaires";
@SerializedName(SERIALIZED_NAME_QUESTIONNAIRES)
private PartnerEndCustomerQuestionnaires questionnaires;
public BetaPartnerCustomerV1UpdateRequest 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 BetaPartnerCustomerV1UpdateRequest 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 BetaPartnerCustomerV1UpdateRequest 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;
}
public BetaPartnerCustomerV1UpdateRequest legalEntityName(String legalEntityName) {
this.legalEntityName = legalEntityName;
return this;
}
/**
* Get legalEntityName
* @return legalEntityName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getLegalEntityName() {
return legalEntityName;
}
public void setLegalEntityName(String legalEntityName) {
this.legalEntityName = legalEntityName;
}
public BetaPartnerCustomerV1UpdateRequest redirectUris(List<String> redirectUris) {
this.redirectUris = redirectUris;
return this;
}
public BetaPartnerCustomerV1UpdateRequest addRedirectUrisItem(String redirectUrisItem) {
if (this.redirectUris == null) {
this.redirectUris = new ArrayList<>();
}
this.redirectUris.add(redirectUrisItem);
return this;
}
/**
* Get redirectUris
* @return redirectUris
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<String> getRedirectUris() {
return redirectUris;
}
public void setRedirectUris(List<String> redirectUris) {
this.redirectUris = redirectUris;
}
public BetaPartnerCustomerV1UpdateRequest bankAddendumAcceptance(PartnerEndCustomerBankAddendumAcceptance bankAddendumAcceptance) {
this.bankAddendumAcceptance = bankAddendumAcceptance;
return this;
}
/**
* Get bankAddendumAcceptance
* @return bankAddendumAcceptance
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PartnerEndCustomerBankAddendumAcceptance getBankAddendumAcceptance() {
return bankAddendumAcceptance;
}
public void setBankAddendumAcceptance(PartnerEndCustomerBankAddendumAcceptance bankAddendumAcceptance) {
this.bankAddendumAcceptance = bankAddendumAcceptance;
}
public BetaPartnerCustomerV1UpdateRequest questionnaires(PartnerEndCustomerQuestionnaires questionnaires) {
this.questionnaires = questionnaires;
return this;
}
/**
* Get questionnaires
* @return questionnaires
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PartnerEndCustomerQuestionnaires getQuestionnaires() {
return questionnaires;
}
public void setQuestionnaires(PartnerEndCustomerQuestionnaires questionnaires) {
this.questionnaires = questionnaires;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BetaPartnerCustomerV1UpdateRequest betaPartnerCustomerV1UpdateRequest = (BetaPartnerCustomerV1UpdateRequest) o;
return Objects.equals(this.clientId, betaPartnerCustomerV1UpdateRequest.clientId) &&
Objects.equals(this.secret, betaPartnerCustomerV1UpdateRequest.secret) &&
Objects.equals(this.endCustomerClientId, betaPartnerCustomerV1UpdateRequest.endCustomerClientId) &&
Objects.equals(this.legalEntityName, betaPartnerCustomerV1UpdateRequest.legalEntityName) &&
Objects.equals(this.redirectUris, betaPartnerCustomerV1UpdateRequest.redirectUris) &&
Objects.equals(this.bankAddendumAcceptance, betaPartnerCustomerV1UpdateRequest.bankAddendumAcceptance) &&
Objects.equals(this.questionnaires, betaPartnerCustomerV1UpdateRequest.questionnaires);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, endCustomerClientId, legalEntityName, redirectUris, bankAddendumAcceptance, questionnaires);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BetaPartnerCustomerV1UpdateRequest {\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(" legalEntityName: ").append(toIndentedString(legalEntityName)).append("\n");
sb.append(" redirectUris: ").append(toIndentedString(redirectUris)).append("\n");
sb.append(" bankAddendumAcceptance: ").append(toIndentedString(bankAddendumAcceptance)).append("\n");
sb.append(" questionnaires: ").append(toIndentedString(questionnaires)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/LinkTokenCreateHostedLink.java | src/main/java/com/plaid/client/model/LinkTokenCreateHostedLink.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.HostedLinkDeliveryMethod;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Configuration parameters for Hosted Link. To enable the session for Hosted Link, send this object in the request. It can be empty.
*/
@ApiModel(description = "Configuration parameters for Hosted Link. To enable the session for Hosted Link, send this object in the request. It can be empty.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkTokenCreateHostedLink {
public static final String SERIALIZED_NAME_DELIVERY_METHOD = "delivery_method";
@SerializedName(SERIALIZED_NAME_DELIVERY_METHOD)
private HostedLinkDeliveryMethod deliveryMethod;
public static final String SERIALIZED_NAME_COMPLETION_REDIRECT_URI = "completion_redirect_uri";
@SerializedName(SERIALIZED_NAME_COMPLETION_REDIRECT_URI)
private String completionRedirectUri;
public static final String SERIALIZED_NAME_URL_LIFETIME_SECONDS = "url_lifetime_seconds";
@SerializedName(SERIALIZED_NAME_URL_LIFETIME_SECONDS)
private Integer urlLifetimeSeconds;
public static final String SERIALIZED_NAME_IS_MOBILE_APP = "is_mobile_app";
@SerializedName(SERIALIZED_NAME_IS_MOBILE_APP)
private Boolean isMobileApp = false;
public LinkTokenCreateHostedLink deliveryMethod(HostedLinkDeliveryMethod deliveryMethod) {
this.deliveryMethod = deliveryMethod;
return this;
}
/**
* Get deliveryMethod
* @return deliveryMethod
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public HostedLinkDeliveryMethod getDeliveryMethod() {
return deliveryMethod;
}
public void setDeliveryMethod(HostedLinkDeliveryMethod deliveryMethod) {
this.deliveryMethod = deliveryMethod;
}
public LinkTokenCreateHostedLink completionRedirectUri(String completionRedirectUri) {
this.completionRedirectUri = completionRedirectUri;
return this;
}
/**
* URI that Hosted Link will redirect to upon completion of the Link flow. This will only occur in Hosted Link sessions, not in other implementation methods.
* @return completionRedirectUri
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "URI that Hosted Link will redirect to upon completion of the Link flow. This will only occur in Hosted Link sessions, not in other implementation methods. ")
public String getCompletionRedirectUri() {
return completionRedirectUri;
}
public void setCompletionRedirectUri(String completionRedirectUri) {
this.completionRedirectUri = completionRedirectUri;
}
public LinkTokenCreateHostedLink urlLifetimeSeconds(Integer urlLifetimeSeconds) {
this.urlLifetimeSeconds = urlLifetimeSeconds;
return this;
}
/**
* How many seconds the link will be valid for. Must be positive. Cannot be longer than 21 days. The default lifetime is 7 days for links delivered by email, 1 day for links delivered via SMS, and 30 minutes for links not sent via Plaid Link delivery. This parameter will override the value of all three link types.
* @return urlLifetimeSeconds
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "How many seconds the link will be valid for. Must be positive. Cannot be longer than 21 days. The default lifetime is 7 days for links delivered by email, 1 day for links delivered via SMS, and 30 minutes for links not sent via Plaid Link delivery. This parameter will override the value of all three link types. ")
public Integer getUrlLifetimeSeconds() {
return urlLifetimeSeconds;
}
public void setUrlLifetimeSeconds(Integer urlLifetimeSeconds) {
this.urlLifetimeSeconds = urlLifetimeSeconds;
}
public LinkTokenCreateHostedLink isMobileApp(Boolean isMobileApp) {
this.isMobileApp = isMobileApp;
return this;
}
/**
* This indicates whether the client is opening hosted Link in a mobile app in an `AsWebAuthenticationSession` or Chrome custom tab.
* @return isMobileApp
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "This indicates whether the client is opening hosted Link in a mobile app in an `AsWebAuthenticationSession` or Chrome custom tab. ")
public Boolean getIsMobileApp() {
return isMobileApp;
}
public void setIsMobileApp(Boolean isMobileApp) {
this.isMobileApp = isMobileApp;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkTokenCreateHostedLink linkTokenCreateHostedLink = (LinkTokenCreateHostedLink) o;
return Objects.equals(this.deliveryMethod, linkTokenCreateHostedLink.deliveryMethod) &&
Objects.equals(this.completionRedirectUri, linkTokenCreateHostedLink.completionRedirectUri) &&
Objects.equals(this.urlLifetimeSeconds, linkTokenCreateHostedLink.urlLifetimeSeconds) &&
Objects.equals(this.isMobileApp, linkTokenCreateHostedLink.isMobileApp);
}
@Override
public int hashCode() {
return Objects.hash(deliveryMethod, completionRedirectUri, urlLifetimeSeconds, isMobileApp);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkTokenCreateHostedLink {\n");
sb.append(" deliveryMethod: ").append(toIndentedString(deliveryMethod)).append("\n");
sb.append(" completionRedirectUri: ").append(toIndentedString(completionRedirectUri)).append("\n");
sb.append(" urlLifetimeSeconds: ").append(toIndentedString(urlLifetimeSeconds)).append("\n");
sb.append(" isMobileApp: ").append(toIndentedString(isMobileApp)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/EarningsTotal.java | src/main/java/com/plaid/client/model/EarningsTotal.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.Pay;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.math.BigDecimal;
/**
* An object representing both the current pay period and year to date amount for an earning category.
*/
@ApiModel(description = "An object representing both the current pay period and year to date amount for an earning category.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class EarningsTotal {
public static final String SERIALIZED_NAME_CURRENT_AMOUNT = "current_amount";
@SerializedName(SERIALIZED_NAME_CURRENT_AMOUNT)
private Double currentAmount;
public static final String SERIALIZED_NAME_CURRENT_PAY = "current_pay";
@SerializedName(SERIALIZED_NAME_CURRENT_PAY)
private Pay currentPay;
public static final String SERIALIZED_NAME_YTD_PAY = "ytd_pay";
@SerializedName(SERIALIZED_NAME_YTD_PAY)
private Pay ytdPay;
public static final String SERIALIZED_NAME_HOURS = "hours";
@SerializedName(SERIALIZED_NAME_HOURS)
private Double hours;
public static final String SERIALIZED_NAME_ISO_CURRENCY_CODE = "iso_currency_code";
@SerializedName(SERIALIZED_NAME_ISO_CURRENCY_CODE)
private String isoCurrencyCode;
public static final String SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE = "unofficial_currency_code";
@SerializedName(SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE)
private String unofficialCurrencyCode;
public static final String SERIALIZED_NAME_YTD_AMOUNT = "ytd_amount";
@SerializedName(SERIALIZED_NAME_YTD_AMOUNT)
private Double ytdAmount;
public EarningsTotal currentAmount(Double currentAmount) {
this.currentAmount = currentAmount;
return this;
}
/**
* Total amount of the earnings for this pay period
* @return currentAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Total amount of the earnings for this pay period")
public Double getCurrentAmount() {
return currentAmount;
}
public void setCurrentAmount(Double currentAmount) {
this.currentAmount = currentAmount;
}
public EarningsTotal currentPay(Pay currentPay) {
this.currentPay = currentPay;
return this;
}
/**
* Get currentPay
* @return currentPay
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Pay getCurrentPay() {
return currentPay;
}
public void setCurrentPay(Pay currentPay) {
this.currentPay = currentPay;
}
public EarningsTotal ytdPay(Pay ytdPay) {
this.ytdPay = ytdPay;
return this;
}
/**
* Get ytdPay
* @return ytdPay
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Pay getYtdPay() {
return ytdPay;
}
public void setYtdPay(Pay ytdPay) {
this.ytdPay = ytdPay;
}
public EarningsTotal hours(Double hours) {
this.hours = hours;
return this;
}
/**
* Total number of hours worked for this pay period
* @return hours
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Total number of hours worked for this pay period")
public Double getHours() {
return hours;
}
public void setHours(Double hours) {
this.hours = hours;
}
public EarningsTotal isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The ISO-4217 currency code of the line item. Always `null` if `unofficial_currency_code` is non-null.
* @return isoCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The ISO-4217 currency code of the line item. Always `null` if `unofficial_currency_code` is non-null.")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public EarningsTotal unofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
return this;
}
/**
* The unofficial currency code associated with the security. Always `null` if `iso_currency_code` is non-`null`. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `iso_currency_code`s.
* @return unofficialCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The unofficial currency code associated with the security. Always `null` if `iso_currency_code` is non-`null`. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `iso_currency_code`s.")
public String getUnofficialCurrencyCode() {
return unofficialCurrencyCode;
}
public void setUnofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
}
public EarningsTotal ytdAmount(Double ytdAmount) {
this.ytdAmount = ytdAmount;
return this;
}
/**
* The total year-to-date amount of the earnings
* @return ytdAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The total year-to-date amount of the earnings")
public Double getYtdAmount() {
return ytdAmount;
}
public void setYtdAmount(Double ytdAmount) {
this.ytdAmount = ytdAmount;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
EarningsTotal earningsTotal = (EarningsTotal) o;
return Objects.equals(this.currentAmount, earningsTotal.currentAmount) &&
Objects.equals(this.currentPay, earningsTotal.currentPay) &&
Objects.equals(this.ytdPay, earningsTotal.ytdPay) &&
Objects.equals(this.hours, earningsTotal.hours) &&
Objects.equals(this.isoCurrencyCode, earningsTotal.isoCurrencyCode) &&
Objects.equals(this.unofficialCurrencyCode, earningsTotal.unofficialCurrencyCode) &&
Objects.equals(this.ytdAmount, earningsTotal.ytdAmount);
}
@Override
public int hashCode() {
return Objects.hash(currentAmount, currentPay, ytdPay, hours, isoCurrencyCode, unofficialCurrencyCode, ytdAmount);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class EarningsTotal {\n");
sb.append(" currentAmount: ").append(toIndentedString(currentAmount)).append("\n");
sb.append(" currentPay: ").append(toIndentedString(currentPay)).append("\n");
sb.append(" ytdPay: ").append(toIndentedString(ytdPay)).append("\n");
sb.append(" hours: ").append(toIndentedString(hours)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" unofficialCurrencyCode: ").append(toIndentedString(unofficialCurrencyCode)).append("\n");
sb.append(" ytdAmount: ").append(toIndentedString(ytdAmount)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/LinkTokenCreateRequestPaymentInitiation.java | src/main/java/com/plaid/client/model/LinkTokenCreateRequestPaymentInitiation.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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 Payment Initiation (Europe) product. This field is required if `payment_initiation` is included in the `products` array. Either `payment_id` or `consent_id` must be provided.
*/
@ApiModel(description = "Specifies options for initializing Link for use with the Payment Initiation (Europe) product. This field is required if `payment_initiation` is included in the `products` array. Either `payment_id` or `consent_id` must be provided.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkTokenCreateRequestPaymentInitiation {
public static final String SERIALIZED_NAME_PAYMENT_ID = "payment_id";
@SerializedName(SERIALIZED_NAME_PAYMENT_ID)
private String paymentId;
public static final String SERIALIZED_NAME_CONSENT_ID = "consent_id";
@SerializedName(SERIALIZED_NAME_CONSENT_ID)
private String consentId;
public LinkTokenCreateRequestPaymentInitiation paymentId(String paymentId) {
this.paymentId = paymentId;
return this;
}
/**
* The `payment_id` provided by the `/payment_initiation/payment/create` endpoint.
* @return paymentId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The `payment_id` provided by the `/payment_initiation/payment/create` endpoint.")
public String getPaymentId() {
return paymentId;
}
public void setPaymentId(String paymentId) {
this.paymentId = paymentId;
}
public LinkTokenCreateRequestPaymentInitiation consentId(String consentId) {
this.consentId = consentId;
return this;
}
/**
* The `consent_id` provided by the `/payment_initiation/consent/create` endpoint.
* @return consentId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The `consent_id` provided by the `/payment_initiation/consent/create` endpoint.")
public String getConsentId() {
return consentId;
}
public void setConsentId(String consentId) {
this.consentId = consentId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkTokenCreateRequestPaymentInitiation linkTokenCreateRequestPaymentInitiation = (LinkTokenCreateRequestPaymentInitiation) o;
return Objects.equals(this.paymentId, linkTokenCreateRequestPaymentInitiation.paymentId) &&
Objects.equals(this.consentId, linkTokenCreateRequestPaymentInitiation.consentId);
}
@Override
public int hashCode() {
return Objects.hash(paymentId, consentId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkTokenCreateRequestPaymentInitiation {\n");
sb.append(" paymentId: ").append(toIndentedString(paymentId)).append("\n");
sb.append(" consentId: ").append(toIndentedString(consentId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/AccountHolderCategory.java | src/main/java/com/plaid/client/model/AccountHolderCategory.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 the account's categorization as either a personal or a business account. This field is currently in beta; to request access, contact your account manager.
*/
@JsonAdapter(AccountHolderCategory.Adapter.class)
public enum AccountHolderCategory {
BUSINESS("business"),
PERSONAL("personal"),
UNRECOGNIZED("unrecognized"),
// 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;
AccountHolderCategory(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static AccountHolderCategory fromValue(String value) {
for (AccountHolderCategory b : AccountHolderCategory.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null; }
public static class Adapter extends TypeAdapter<AccountHolderCategory> {
@Override
public void write(final JsonWriter jsonWriter, final AccountHolderCategory enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public AccountHolderCategory read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return AccountHolderCategory.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/TransferSweep.java | src/main/java/com/plaid/client/model/TransferSweep.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.SweepFailure;
import com.plaid.client.model.SweepStatus;
import com.plaid.client.model.SweepTrigger;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
import java.time.OffsetDateTime;
/**
* Describes a sweep of funds to / from the sweep account. A sweep is associated with many sweep events (events of type `swept` or `return_swept`) which can be retrieved by invoking the `/transfer/event/list` endpoint with the corresponding `sweep_id`. `swept` events occur when the transfer amount is credited or debited from your sweep account, depending on the `type` of the transfer. `return_swept` events occur when a transfer is returned and Plaid undoes the credit or debit. The total sum of the `swept` and `return_swept` events is equal to the `amount` of the sweep Plaid creates and matches the amount of the entry on your sweep account ledger.
*/
@ApiModel(description = "Describes a sweep of funds to / from the sweep account. A sweep is associated with many sweep events (events of type `swept` or `return_swept`) which can be retrieved by invoking the `/transfer/event/list` endpoint with the corresponding `sweep_id`. `swept` events occur when the transfer amount is credited or debited from your sweep account, depending on the `type` of the transfer. `return_swept` events occur when a transfer is returned and Plaid undoes the credit or debit. The total sum of the `swept` and `return_swept` events is equal to the `amount` of the sweep Plaid creates and matches the amount of the entry on your sweep account ledger.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferSweep {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
public static final String SERIALIZED_NAME_FUNDING_ACCOUNT_ID = "funding_account_id";
@SerializedName(SERIALIZED_NAME_FUNDING_ACCOUNT_ID)
private String fundingAccountId;
public static final String SERIALIZED_NAME_LEDGER_ID = "ledger_id";
@SerializedName(SERIALIZED_NAME_LEDGER_ID)
private String ledgerId;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
private OffsetDateTime created;
public static final String SERIALIZED_NAME_AMOUNT = "amount";
@SerializedName(SERIALIZED_NAME_AMOUNT)
private String amount;
public static final String SERIALIZED_NAME_ISO_CURRENCY_CODE = "iso_currency_code";
@SerializedName(SERIALIZED_NAME_ISO_CURRENCY_CODE)
private String isoCurrencyCode;
public static final String SERIALIZED_NAME_SETTLED = "settled";
@SerializedName(SERIALIZED_NAME_SETTLED)
private LocalDate settled;
public static final String SERIALIZED_NAME_EXPECTED_FUNDS_AVAILABLE_DATE = "expected_funds_available_date";
@SerializedName(SERIALIZED_NAME_EXPECTED_FUNDS_AVAILABLE_DATE)
private LocalDate expectedFundsAvailableDate;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private SweepStatus status;
public static final String SERIALIZED_NAME_TRIGGER = "trigger";
@SerializedName(SERIALIZED_NAME_TRIGGER)
private SweepTrigger trigger;
public static final String SERIALIZED_NAME_DESCRIPTION = "description";
@SerializedName(SERIALIZED_NAME_DESCRIPTION)
private String description;
public static final String SERIALIZED_NAME_NETWORK_TRACE_ID = "network_trace_id";
@SerializedName(SERIALIZED_NAME_NETWORK_TRACE_ID)
private String networkTraceId;
public static final String SERIALIZED_NAME_FAILURE_REASON = "failure_reason";
@SerializedName(SERIALIZED_NAME_FAILURE_REASON)
private SweepFailure failureReason;
public TransferSweep id(String id) {
this.id = id;
return this;
}
/**
* Identifier of the sweep.
* @return id
**/
@ApiModelProperty(required = true, value = "Identifier of the sweep.")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public TransferSweep fundingAccountId(String fundingAccountId) {
this.fundingAccountId = fundingAccountId;
return this;
}
/**
* The id of the funding account to use, available in the Plaid Dashboard. This determines which of your business checking accounts will be credited or debited.
* @return fundingAccountId
**/
@ApiModelProperty(required = true, value = "The id of the funding account to use, available in the Plaid Dashboard. This determines which of your business checking accounts will be credited or debited.")
public String getFundingAccountId() {
return fundingAccountId;
}
public void setFundingAccountId(String fundingAccountId) {
this.fundingAccountId = fundingAccountId;
}
public TransferSweep 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 TransferSweep created(OffsetDateTime created) {
this.created = created;
return this;
}
/**
* The datetime when the sweep occurred, in RFC 3339 format.
* @return created
**/
@ApiModelProperty(required = true, value = "The datetime when the sweep occurred, in RFC 3339 format.")
public OffsetDateTime getCreated() {
return created;
}
public void setCreated(OffsetDateTime created) {
this.created = created;
}
public TransferSweep amount(String amount) {
this.amount = amount;
return this;
}
/**
* Signed decimal amount of the sweep as it appears on your sweep account ledger (e.g. \"-10.00\") If amount is not present, the sweep was net-settled to zero and outstanding debits and credits between the sweep account and Plaid are balanced.
* @return amount
**/
@ApiModelProperty(required = true, value = "Signed decimal amount of the sweep as it appears on your sweep account ledger (e.g. \"-10.00\") If amount is not present, the sweep was net-settled to zero and outstanding debits and credits between the sweep account and Plaid are balanced.")
public String getAmount() {
return amount;
}
public void setAmount(String amount) {
this.amount = amount;
}
public TransferSweep isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The currency of the sweep, e.g. \"USD\".
* @return isoCurrencyCode
**/
@ApiModelProperty(required = true, value = "The currency of the sweep, e.g. \"USD\".")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public TransferSweep settled(LocalDate settled) {
this.settled = settled;
return this;
}
/**
* The date when the sweep settled, in the YYYY-MM-DD format.
* @return settled
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The date when the sweep settled, in the YYYY-MM-DD format.")
public LocalDate getSettled() {
return settled;
}
public void setSettled(LocalDate settled) {
this.settled = settled;
}
public TransferSweep expectedFundsAvailableDate(LocalDate expectedFundsAvailableDate) {
this.expectedFundsAvailableDate = expectedFundsAvailableDate;
return this;
}
/**
* The expected date when funds from a ledger deposit will be made available and can be withdrawn from the associated ledger balance. Only applies to deposits. This will be of the form YYYY-MM-DD.
* @return expectedFundsAvailableDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The expected date when funds from a ledger deposit will be made available and can be withdrawn from the associated ledger balance. Only applies to deposits. This will be of the form YYYY-MM-DD.")
public LocalDate getExpectedFundsAvailableDate() {
return expectedFundsAvailableDate;
}
public void setExpectedFundsAvailableDate(LocalDate expectedFundsAvailableDate) {
this.expectedFundsAvailableDate = expectedFundsAvailableDate;
}
public TransferSweep status(SweepStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public SweepStatus getStatus() {
return status;
}
public void setStatus(SweepStatus status) {
this.status = status;
}
public TransferSweep trigger(SweepTrigger trigger) {
this.trigger = trigger;
return this;
}
/**
* Get trigger
* @return trigger
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public SweepTrigger getTrigger() {
return trigger;
}
public void setTrigger(SweepTrigger trigger) {
this.trigger = trigger;
}
public TransferSweep description(String description) {
this.description = description;
return this;
}
/**
* The description of the deposit that will be passed to the receiving bank (up to 10 characters). Note that banks utilize this field differently, and may or may not show it on the bank statement.
* @return description
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The description of the deposit that will be passed to the receiving bank (up to 10 characters). Note that banks utilize this field differently, and may or may not show it on the bank statement.")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public TransferSweep networkTraceId(String networkTraceId) {
this.networkTraceId = networkTraceId;
return this;
}
/**
* The trace identifier for the transfer based on its network. This will only be set after the transfer has posted. For `ach` or `same-day-ach` transfers, this is the ACH trace number. For `rtp` transfers, this is the Transaction Identification number. For `wire` transfers, this is the IMAD (Input Message Accountability Data) number.
* @return networkTraceId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The trace identifier for the transfer based on its network. This will only be set after the transfer has posted. For `ach` or `same-day-ach` transfers, this is the ACH trace number. For `rtp` transfers, this is the Transaction Identification number. For `wire` transfers, this is the IMAD (Input Message Accountability Data) number.")
public String getNetworkTraceId() {
return networkTraceId;
}
public void setNetworkTraceId(String networkTraceId) {
this.networkTraceId = networkTraceId;
}
public TransferSweep failureReason(SweepFailure failureReason) {
this.failureReason = failureReason;
return this;
}
/**
* Get failureReason
* @return failureReason
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public SweepFailure getFailureReason() {
return failureReason;
}
public void setFailureReason(SweepFailure failureReason) {
this.failureReason = failureReason;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferSweep transferSweep = (TransferSweep) o;
return Objects.equals(this.id, transferSweep.id) &&
Objects.equals(this.fundingAccountId, transferSweep.fundingAccountId) &&
Objects.equals(this.ledgerId, transferSweep.ledgerId) &&
Objects.equals(this.created, transferSweep.created) &&
Objects.equals(this.amount, transferSweep.amount) &&
Objects.equals(this.isoCurrencyCode, transferSweep.isoCurrencyCode) &&
Objects.equals(this.settled, transferSweep.settled) &&
Objects.equals(this.expectedFundsAvailableDate, transferSweep.expectedFundsAvailableDate) &&
Objects.equals(this.status, transferSweep.status) &&
Objects.equals(this.trigger, transferSweep.trigger) &&
Objects.equals(this.description, transferSweep.description) &&
Objects.equals(this.networkTraceId, transferSweep.networkTraceId) &&
Objects.equals(this.failureReason, transferSweep.failureReason);
}
@Override
public int hashCode() {
return Objects.hash(id, fundingAccountId, ledgerId, created, amount, isoCurrencyCode, settled, expectedFundsAvailableDate, status, trigger, description, networkTraceId, failureReason);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferSweep {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" fundingAccountId: ").append(toIndentedString(fundingAccountId)).append("\n");
sb.append(" ledgerId: ").append(toIndentedString(ledgerId)).append("\n");
sb.append(" created: ").append(toIndentedString(created)).append("\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" settled: ").append(toIndentedString(settled)).append("\n");
sb.append(" expectedFundsAvailableDate: ").append(toIndentedString(expectedFundsAvailableDate)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" trigger: ").append(toIndentedString(trigger)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" networkTraceId: ").append(toIndentedString(networkTraceId)).append("\n");
sb.append(" failureReason: ").append(toIndentedString(failureReason)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ScreeningHitAnalysis.java | src/main/java/com/plaid/client/model/ScreeningHitAnalysis.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* Analysis information describing why a screening hit matched the provided user information
*/
@ApiModel(description = "Analysis information describing why a screening hit matched the provided user information")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ScreeningHitAnalysis {
public static final String SERIALIZED_NAME_DATES_OF_BIRTH = "dates_of_birth";
@SerializedName(SERIALIZED_NAME_DATES_OF_BIRTH)
private MatchSummaryCode datesOfBirth;
public static final String SERIALIZED_NAME_DOCUMENTS = "documents";
@SerializedName(SERIALIZED_NAME_DOCUMENTS)
private MatchSummaryCode documents;
public static final String SERIALIZED_NAME_LOCATIONS = "locations";
@SerializedName(SERIALIZED_NAME_LOCATIONS)
private MatchSummaryCode locations;
public static final String SERIALIZED_NAME_NAMES = "names";
@SerializedName(SERIALIZED_NAME_NAMES)
private MatchSummaryCode names;
public static final String SERIALIZED_NAME_SEARCH_TERMS_VERSION = "search_terms_version";
@SerializedName(SERIALIZED_NAME_SEARCH_TERMS_VERSION)
private Integer searchTermsVersion;
public ScreeningHitAnalysis datesOfBirth(MatchSummaryCode datesOfBirth) {
this.datesOfBirth = datesOfBirth;
return this;
}
/**
* Get datesOfBirth
* @return datesOfBirth
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public MatchSummaryCode getDatesOfBirth() {
return datesOfBirth;
}
public void setDatesOfBirth(MatchSummaryCode datesOfBirth) {
this.datesOfBirth = datesOfBirth;
}
public ScreeningHitAnalysis documents(MatchSummaryCode documents) {
this.documents = documents;
return this;
}
/**
* Get documents
* @return documents
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public MatchSummaryCode getDocuments() {
return documents;
}
public void setDocuments(MatchSummaryCode documents) {
this.documents = documents;
}
public ScreeningHitAnalysis locations(MatchSummaryCode locations) {
this.locations = locations;
return this;
}
/**
* Get locations
* @return locations
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public MatchSummaryCode getLocations() {
return locations;
}
public void setLocations(MatchSummaryCode locations) {
this.locations = locations;
}
public ScreeningHitAnalysis names(MatchSummaryCode names) {
this.names = names;
return this;
}
/**
* Get names
* @return names
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public MatchSummaryCode getNames() {
return names;
}
public void setNames(MatchSummaryCode names) {
this.names = names;
}
public ScreeningHitAnalysis searchTermsVersion(Integer searchTermsVersion) {
this.searchTermsVersion = searchTermsVersion;
return this;
}
/**
* The version of the screening's `search_terms` that were compared when the screening hit was added. screening hits are immutable once they have been reviewed. If changes are detected due to updates to the screening's `search_terms`, the associated program, or the list's source data prior to review, the screening hit will be updated to reflect those changes.
* @return searchTermsVersion
**/
@ApiModelProperty(example = "1", required = true, value = "The version of the screening's `search_terms` that were compared when the screening hit was added. screening hits are immutable once they have been reviewed. If changes are detected due to updates to the screening's `search_terms`, the associated program, or the list's source data prior to review, the screening hit will be updated to reflect those changes.")
public Integer getSearchTermsVersion() {
return searchTermsVersion;
}
public void setSearchTermsVersion(Integer searchTermsVersion) {
this.searchTermsVersion = searchTermsVersion;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ScreeningHitAnalysis screeningHitAnalysis = (ScreeningHitAnalysis) o;
return Objects.equals(this.datesOfBirth, screeningHitAnalysis.datesOfBirth) &&
Objects.equals(this.documents, screeningHitAnalysis.documents) &&
Objects.equals(this.locations, screeningHitAnalysis.locations) &&
Objects.equals(this.names, screeningHitAnalysis.names) &&
Objects.equals(this.searchTermsVersion, screeningHitAnalysis.searchTermsVersion);
}
@Override
public int hashCode() {
return Objects.hash(datesOfBirth, documents, locations, names, searchTermsVersion);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ScreeningHitAnalysis {\n");
sb.append(" datesOfBirth: ").append(toIndentedString(datesOfBirth)).append("\n");
sb.append(" documents: ").append(toIndentedString(documents)).append("\n");
sb.append(" locations: ").append(toIndentedString(locations)).append("\n");
sb.append(" names: ").append(toIndentedString(names)).append("\n");
sb.append(" searchTermsVersion: ").append(toIndentedString(searchTermsVersion)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CreditPayrollIncomeGetRequestOptions.java | src/main/java/com/plaid/client/model/CreditPayrollIncomeGetRequestOptions.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* An optional object for `/credit/payroll_income/get` request options.
*/
@ApiModel(description = "An optional object for `/credit/payroll_income/get` request options.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditPayrollIncomeGetRequestOptions {
public static final String SERIALIZED_NAME_ITEM_IDS = "item_ids";
@SerializedName(SERIALIZED_NAME_ITEM_IDS)
private List<String> itemIds = null;
public CreditPayrollIncomeGetRequestOptions itemIds(List<String> itemIds) {
this.itemIds = itemIds;
return this;
}
public CreditPayrollIncomeGetRequestOptions addItemIdsItem(String itemIdsItem) {
if (this.itemIds == null) {
this.itemIds = new ArrayList<>();
}
this.itemIds.add(itemIdsItem);
return this;
}
/**
* An array of `item_id`s whose payroll information is returned. Each `item_id` should uniquely identify a payroll income item. If this field is not provided, all `item_id`s associated with the `user_token` will returned in the response.
* @return itemIds
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "An array of `item_id`s whose payroll information is returned. Each `item_id` should uniquely identify a payroll income item. If this field is not provided, all `item_id`s associated with the `user_token` will returned in the response.")
public List<String> getItemIds() {
return itemIds;
}
public void setItemIds(List<String> itemIds) {
this.itemIds = itemIds;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreditPayrollIncomeGetRequestOptions creditPayrollIncomeGetRequestOptions = (CreditPayrollIncomeGetRequestOptions) o;
return Objects.equals(this.itemIds, creditPayrollIncomeGetRequestOptions.itemIds);
}
@Override
public int hashCode() {
return Objects.hash(itemIds);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditPayrollIncomeGetRequestOptions {\n");
sb.append(" itemIds: ").append(toIndentedString(itemIds)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/IncomeSummary.java | src/main/java/com/plaid/client/model/IncomeSummary.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.EmployeeIncomeSummaryFieldString;
import com.plaid.client.model.EmployerIncomeSummaryFieldString;
import com.plaid.client.model.PayFrequency;
import com.plaid.client.model.ProjectedIncomeSummaryFieldNumber;
import com.plaid.client.model.TransactionData;
import com.plaid.client.model.YTDGrossIncomeSummaryFieldNumber;
import com.plaid.client.model.YTDNetIncomeSummaryFieldNumber;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The verified fields from a paystub verification. All fields are provided as reported on the paystub.
*/
@ApiModel(description = "The verified fields from a paystub verification. All fields are provided 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 IncomeSummary {
public static final String SERIALIZED_NAME_EMPLOYER_NAME = "employer_name";
@SerializedName(SERIALIZED_NAME_EMPLOYER_NAME)
private EmployerIncomeSummaryFieldString employerName;
public static final String SERIALIZED_NAME_EMPLOYEE_NAME = "employee_name";
@SerializedName(SERIALIZED_NAME_EMPLOYEE_NAME)
private EmployeeIncomeSummaryFieldString employeeName;
public static final String SERIALIZED_NAME_YTD_GROSS_INCOME = "ytd_gross_income";
@SerializedName(SERIALIZED_NAME_YTD_GROSS_INCOME)
private YTDGrossIncomeSummaryFieldNumber ytdGrossIncome;
public static final String SERIALIZED_NAME_YTD_NET_INCOME = "ytd_net_income";
@SerializedName(SERIALIZED_NAME_YTD_NET_INCOME)
private YTDNetIncomeSummaryFieldNumber ytdNetIncome;
public static final String SERIALIZED_NAME_PAY_FREQUENCY = "pay_frequency";
@SerializedName(SERIALIZED_NAME_PAY_FREQUENCY)
private PayFrequency payFrequency;
public static final String SERIALIZED_NAME_PROJECTED_WAGE = "projected_wage";
@SerializedName(SERIALIZED_NAME_PROJECTED_WAGE)
private ProjectedIncomeSummaryFieldNumber projectedWage;
public static final String SERIALIZED_NAME_VERIFIED_TRANSACTION = "verified_transaction";
@SerializedName(SERIALIZED_NAME_VERIFIED_TRANSACTION)
private TransactionData verifiedTransaction;
public IncomeSummary employerName(EmployerIncomeSummaryFieldString employerName) {
this.employerName = employerName;
return this;
}
/**
* Get employerName
* @return employerName
**/
@ApiModelProperty(required = true, value = "")
public EmployerIncomeSummaryFieldString getEmployerName() {
return employerName;
}
public void setEmployerName(EmployerIncomeSummaryFieldString employerName) {
this.employerName = employerName;
}
public IncomeSummary employeeName(EmployeeIncomeSummaryFieldString employeeName) {
this.employeeName = employeeName;
return this;
}
/**
* Get employeeName
* @return employeeName
**/
@ApiModelProperty(required = true, value = "")
public EmployeeIncomeSummaryFieldString getEmployeeName() {
return employeeName;
}
public void setEmployeeName(EmployeeIncomeSummaryFieldString employeeName) {
this.employeeName = employeeName;
}
public IncomeSummary ytdGrossIncome(YTDGrossIncomeSummaryFieldNumber ytdGrossIncome) {
this.ytdGrossIncome = ytdGrossIncome;
return this;
}
/**
* Get ytdGrossIncome
* @return ytdGrossIncome
**/
@ApiModelProperty(required = true, value = "")
public YTDGrossIncomeSummaryFieldNumber getYtdGrossIncome() {
return ytdGrossIncome;
}
public void setYtdGrossIncome(YTDGrossIncomeSummaryFieldNumber ytdGrossIncome) {
this.ytdGrossIncome = ytdGrossIncome;
}
public IncomeSummary ytdNetIncome(YTDNetIncomeSummaryFieldNumber ytdNetIncome) {
this.ytdNetIncome = ytdNetIncome;
return this;
}
/**
* Get ytdNetIncome
* @return ytdNetIncome
**/
@ApiModelProperty(required = true, value = "")
public YTDNetIncomeSummaryFieldNumber getYtdNetIncome() {
return ytdNetIncome;
}
public void setYtdNetIncome(YTDNetIncomeSummaryFieldNumber ytdNetIncome) {
this.ytdNetIncome = ytdNetIncome;
}
public IncomeSummary payFrequency(PayFrequency payFrequency) {
this.payFrequency = payFrequency;
return this;
}
/**
* Get payFrequency
* @return payFrequency
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public PayFrequency getPayFrequency() {
return payFrequency;
}
public void setPayFrequency(PayFrequency payFrequency) {
this.payFrequency = payFrequency;
}
public IncomeSummary projectedWage(ProjectedIncomeSummaryFieldNumber projectedWage) {
this.projectedWage = projectedWage;
return this;
}
/**
* Get projectedWage
* @return projectedWage
**/
@ApiModelProperty(required = true, value = "")
public ProjectedIncomeSummaryFieldNumber getProjectedWage() {
return projectedWage;
}
public void setProjectedWage(ProjectedIncomeSummaryFieldNumber projectedWage) {
this.projectedWage = projectedWage;
}
public IncomeSummary verifiedTransaction(TransactionData verifiedTransaction) {
this.verifiedTransaction = verifiedTransaction;
return this;
}
/**
* Get verifiedTransaction
* @return verifiedTransaction
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public TransactionData getVerifiedTransaction() {
return verifiedTransaction;
}
public void setVerifiedTransaction(TransactionData verifiedTransaction) {
this.verifiedTransaction = verifiedTransaction;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
IncomeSummary incomeSummary = (IncomeSummary) o;
return Objects.equals(this.employerName, incomeSummary.employerName) &&
Objects.equals(this.employeeName, incomeSummary.employeeName) &&
Objects.equals(this.ytdGrossIncome, incomeSummary.ytdGrossIncome) &&
Objects.equals(this.ytdNetIncome, incomeSummary.ytdNetIncome) &&
Objects.equals(this.payFrequency, incomeSummary.payFrequency) &&
Objects.equals(this.projectedWage, incomeSummary.projectedWage) &&
Objects.equals(this.verifiedTransaction, incomeSummary.verifiedTransaction);
}
@Override
public int hashCode() {
return Objects.hash(employerName, employeeName, ytdGrossIncome, ytdNetIncome, payFrequency, projectedWage, verifiedTransaction);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IncomeSummary {\n");
sb.append(" employerName: ").append(toIndentedString(employerName)).append("\n");
sb.append(" employeeName: ").append(toIndentedString(employeeName)).append("\n");
sb.append(" ytdGrossIncome: ").append(toIndentedString(ytdGrossIncome)).append("\n");
sb.append(" ytdNetIncome: ").append(toIndentedString(ytdNetIncome)).append("\n");
sb.append(" payFrequency: ").append(toIndentedString(payFrequency)).append("\n");
sb.append(" projectedWage: ").append(toIndentedString(projectedWage)).append("\n");
sb.append(" verifiedTransaction: ").append(toIndentedString(verifiedTransaction)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransferOriginatorCreateResponse.java | src/main/java/com/plaid/client/model/TransferOriginatorCreateResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines the response schema for `/transfer/originator/create`
*/
@ApiModel(description = "Defines the response schema for `/transfer/originator/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferOriginatorCreateResponse {
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_COMPANY_NAME = "company_name";
@SerializedName(SERIALIZED_NAME_COMPANY_NAME)
private String companyName;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public TransferOriginatorCreateResponse originatorClientId(String originatorClientId) {
this.originatorClientId = originatorClientId;
return this;
}
/**
* Client ID of the originator. This identifier will be used when creating transfers and should be stored associated with end user information.
* @return originatorClientId
**/
@ApiModelProperty(required = true, value = "Client ID of the originator. This identifier will be used when creating transfers and should be stored associated with end user information.")
public String getOriginatorClientId() {
return originatorClientId;
}
public void setOriginatorClientId(String originatorClientId) {
this.originatorClientId = originatorClientId;
}
public TransferOriginatorCreateResponse companyName(String companyName) {
this.companyName = companyName;
return this;
}
/**
* The company name of the end customer.
* @return companyName
**/
@ApiModelProperty(required = true, value = "The company name of the end customer.")
public String getCompanyName() {
return companyName;
}
public void setCompanyName(String companyName) {
this.companyName = companyName;
}
public TransferOriginatorCreateResponse 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;
}
TransferOriginatorCreateResponse transferOriginatorCreateResponse = (TransferOriginatorCreateResponse) o;
return Objects.equals(this.originatorClientId, transferOriginatorCreateResponse.originatorClientId) &&
Objects.equals(this.companyName, transferOriginatorCreateResponse.companyName) &&
Objects.equals(this.requestId, transferOriginatorCreateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(originatorClientId, companyName, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferOriginatorCreateResponse {\n");
sb.append(" originatorClientId: ").append(toIndentedString(originatorClientId)).append("\n");
sb.append(" companyName: ").append(toIndentedString(companyName)).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/CraVoaReportAccountBalances.java | src/main/java/com/plaid/client/model/CraVoaReportAccountBalances.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.CraVoaReportAccountHistoricalBalance;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
/**
* VOA Report information about an account's balances.
*/
@ApiModel(description = "VOA Report information about an account's balances.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraVoaReportAccountBalances {
public static final String SERIALIZED_NAME_AVAILABLE = "available";
@SerializedName(SERIALIZED_NAME_AVAILABLE)
private Double available;
public static final String SERIALIZED_NAME_CURRENT = "current";
@SerializedName(SERIALIZED_NAME_CURRENT)
private Double current;
public static final String SERIALIZED_NAME_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_HISTORICAL_BALANCES = "historical_balances";
@SerializedName(SERIALIZED_NAME_HISTORICAL_BALANCES)
private List<CraVoaReportAccountHistoricalBalance> historicalBalances = new ArrayList<>();
public static final String SERIALIZED_NAME_AVERAGE_BALANCE30_DAYS = "average_balance_30_days";
@SerializedName(SERIALIZED_NAME_AVERAGE_BALANCE30_DAYS)
private Double averageBalance30Days;
public static final String SERIALIZED_NAME_AVERAGE_BALANCE60_DAYS = "average_balance_60_days";
@SerializedName(SERIALIZED_NAME_AVERAGE_BALANCE60_DAYS)
private Double averageBalance60Days;
public static final String SERIALIZED_NAME_NSF_OVERDRAFT_TRANSACTIONS_COUNT = "nsf_overdraft_transactions_count";
@SerializedName(SERIALIZED_NAME_NSF_OVERDRAFT_TRANSACTIONS_COUNT)
private Double nsfOverdraftTransactionsCount;
public CraVoaReportAccountBalances available(Double available) {
this.available = available;
return this;
}
/**
* The amount of funds available to be withdrawn from the account, as determined by the financial institution. For `credit`-type accounts, the `available` balance typically equals the `limit` less the `current` balance, less any pending outflows plus any pending inflows. For `depository`-type accounts, the `available` balance typically equals the `current` balance less any pending outflows plus any pending inflows. For `depository`-type accounts, the `available` balance does not include the overdraft limit. For `investment`-type accounts (or `brokerage`-type accounts for API versions 2018-05-22 and earlier), the `available` balance is the total cash available to withdraw as presented by the institution. Note that not all institutions calculate the `available` balance. In the event that `available` balance is unavailable, Plaid will return an `available` balance value of `null`. Available balance may be cached and is not guaranteed to be up-to-date in realtime unless the value was returned by `/accounts/balance/get`. If `current` is `null` this field is guaranteed not to be `null`.
* @return available
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The amount of funds available to be withdrawn from the account, as determined by the financial institution. For `credit`-type accounts, the `available` balance typically equals the `limit` less the `current` balance, less any pending outflows plus any pending inflows. For `depository`-type accounts, the `available` balance typically equals the `current` balance less any pending outflows plus any pending inflows. For `depository`-type accounts, the `available` balance does not include the overdraft limit. For `investment`-type accounts (or `brokerage`-type accounts for API versions 2018-05-22 and earlier), the `available` balance is the total cash available to withdraw as presented by the institution. Note that not all institutions calculate the `available` balance. In the event that `available` balance is unavailable, Plaid will return an `available` balance value of `null`. Available balance may be cached and is not guaranteed to be up-to-date in realtime unless the value was returned by `/accounts/balance/get`. If `current` is `null` this field is guaranteed not to be `null`.")
public Double getAvailable() {
return available;
}
public void setAvailable(Double available) {
this.available = available;
}
public CraVoaReportAccountBalances current(Double current) {
this.current = current;
return this;
}
/**
* The total amount of funds in or owed by the account. For `credit`-type accounts, a positive balance indicates the amount owed; a negative amount indicates the lender owing the account holder. For `loan`-type accounts, the current balance is the principal remaining on the loan, except in the case of student loan accounts at Sallie Mae (`ins_116944`). For Sallie Mae student loans, the account's balance includes both principal and any outstanding interest. For `investment`-type accounts (or `brokerage`-type accounts for API versions 2018-05-22 and earlier), the current balance is the total value of assets as presented by the institution. Note that balance information may be cached unless the value was returned by `/accounts/balance/get`; if the Item is enabled for Transactions, the balance will be at least as recent as the most recent Transaction update. If you require realtime balance information, use the `available` balance as provided by `/accounts/balance/get`. When returned by `/accounts/balance/get`, this field may be `null`. When this happens, `available` is guaranteed not to be `null`.
* @return current
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The total amount of funds in or owed by the account. For `credit`-type accounts, a positive balance indicates the amount owed; a negative amount indicates the lender owing the account holder. For `loan`-type accounts, the current balance is the principal remaining on the loan, except in the case of student loan accounts at Sallie Mae (`ins_116944`). For Sallie Mae student loans, the account's balance includes both principal and any outstanding interest. For `investment`-type accounts (or `brokerage`-type accounts for API versions 2018-05-22 and earlier), the current balance is the total value of assets as presented by the institution. Note that balance information may be cached unless the value was returned by `/accounts/balance/get`; if the Item is enabled for Transactions, the balance will be at least as recent as the most recent Transaction update. If you require realtime balance information, use the `available` balance as provided by `/accounts/balance/get`. When returned by `/accounts/balance/get`, this field may be `null`. When this happens, `available` is guaranteed not to be `null`.")
public Double getCurrent() {
return current;
}
public void setCurrent(Double current) {
this.current = current;
}
public CraVoaReportAccountBalances isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The ISO-4217 currency code of the balance. Always null if `unofficial_currency_code` is non-null.
* @return isoCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The ISO-4217 currency code of the balance. Always null if `unofficial_currency_code` is non-null.")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public CraVoaReportAccountBalances unofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
return this;
}
/**
* The unofficial currency code associated with the balance. Always null if `iso_currency_code` is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `unofficial_currency_code`s.
* @return unofficialCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The unofficial currency code associated with the balance. Always null if `iso_currency_code` is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `unofficial_currency_code`s.")
public String getUnofficialCurrencyCode() {
return unofficialCurrencyCode;
}
public void setUnofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
}
public CraVoaReportAccountBalances historicalBalances(List<CraVoaReportAccountHistoricalBalance> historicalBalances) {
this.historicalBalances = historicalBalances;
return this;
}
public CraVoaReportAccountBalances addHistoricalBalancesItem(CraVoaReportAccountHistoricalBalance historicalBalancesItem) {
this.historicalBalances.add(historicalBalancesItem);
return this;
}
/**
* Calculated data about the historical balances on the account. Available for `credit` and `depository` type accounts.
* @return historicalBalances
**/
@ApiModelProperty(required = true, value = "Calculated data about the historical balances on the account. Available for `credit` and `depository` type accounts.")
public List<CraVoaReportAccountHistoricalBalance> getHistoricalBalances() {
return historicalBalances;
}
public void setHistoricalBalances(List<CraVoaReportAccountHistoricalBalance> historicalBalances) {
this.historicalBalances = historicalBalances;
}
public CraVoaReportAccountBalances averageBalance30Days(Double averageBalance30Days) {
this.averageBalance30Days = averageBalance30Days;
return this;
}
/**
* The average balance in the account over the last 30 days. Calculated using the derived historical balances.
* @return averageBalance30Days
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The average balance in the account over the last 30 days. Calculated using the derived historical balances.")
public Double getAverageBalance30Days() {
return averageBalance30Days;
}
public void setAverageBalance30Days(Double averageBalance30Days) {
this.averageBalance30Days = averageBalance30Days;
}
public CraVoaReportAccountBalances averageBalance60Days(Double averageBalance60Days) {
this.averageBalance60Days = averageBalance60Days;
return this;
}
/**
* The average balance in the account over the last 60 days. Calculated using the derived historical balances.
* @return averageBalance60Days
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The average balance in the account over the last 60 days. Calculated using the derived historical balances.")
public Double getAverageBalance60Days() {
return averageBalance60Days;
}
public void setAverageBalance60Days(Double averageBalance60Days) {
this.averageBalance60Days = averageBalance60Days;
}
public CraVoaReportAccountBalances nsfOverdraftTransactionsCount(Double nsfOverdraftTransactionsCount) {
this.nsfOverdraftTransactionsCount = nsfOverdraftTransactionsCount;
return this;
}
/**
* The number of net NSF fee transactions in the time range for the report in the given account (not counting any fees that were reversed within the time range).
* @return nsfOverdraftTransactionsCount
**/
@ApiModelProperty(required = true, value = "The number of net NSF fee transactions in the time range for the report in the given account (not counting any fees that were reversed within the time range).")
public Double getNsfOverdraftTransactionsCount() {
return nsfOverdraftTransactionsCount;
}
public void setNsfOverdraftTransactionsCount(Double nsfOverdraftTransactionsCount) {
this.nsfOverdraftTransactionsCount = nsfOverdraftTransactionsCount;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CraVoaReportAccountBalances craVoaReportAccountBalances = (CraVoaReportAccountBalances) o;
return Objects.equals(this.available, craVoaReportAccountBalances.available) &&
Objects.equals(this.current, craVoaReportAccountBalances.current) &&
Objects.equals(this.isoCurrencyCode, craVoaReportAccountBalances.isoCurrencyCode) &&
Objects.equals(this.unofficialCurrencyCode, craVoaReportAccountBalances.unofficialCurrencyCode) &&
Objects.equals(this.historicalBalances, craVoaReportAccountBalances.historicalBalances) &&
Objects.equals(this.averageBalance30Days, craVoaReportAccountBalances.averageBalance30Days) &&
Objects.equals(this.averageBalance60Days, craVoaReportAccountBalances.averageBalance60Days) &&
Objects.equals(this.nsfOverdraftTransactionsCount, craVoaReportAccountBalances.nsfOverdraftTransactionsCount);
}
@Override
public int hashCode() {
return Objects.hash(available, current, isoCurrencyCode, unofficialCurrencyCode, historicalBalances, averageBalance30Days, averageBalance60Days, nsfOverdraftTransactionsCount);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraVoaReportAccountBalances {\n");
sb.append(" available: ").append(toIndentedString(available)).append("\n");
sb.append(" current: ").append(toIndentedString(current)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" unofficialCurrencyCode: ").append(toIndentedString(unofficialCurrencyCode)).append("\n");
sb.append(" historicalBalances: ").append(toIndentedString(historicalBalances)).append("\n");
sb.append(" averageBalance30Days: ").append(toIndentedString(averageBalance30Days)).append("\n");
sb.append(" averageBalance60Days: ").append(toIndentedString(averageBalance60Days)).append("\n");
sb.append(" nsfOverdraftTransactionsCount: ").append(toIndentedString(nsfOverdraftTransactionsCount)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/EmployersSearchRequest.java | src/main/java/com/plaid/client/model/EmployersSearchRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* EmployersSearchRequest defines the request schema for `/employers/search`.
*/
@ApiModel(description = "EmployersSearchRequest defines the request schema for `/employers/search`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class EmployersSearchRequest {
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_QUERY = "query";
@SerializedName(SERIALIZED_NAME_QUERY)
private String query;
public static final String SERIALIZED_NAME_PRODUCTS = "products";
@SerializedName(SERIALIZED_NAME_PRODUCTS)
private List<String> products = new ArrayList<>();
public EmployersSearchRequest 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 EmployersSearchRequest 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 EmployersSearchRequest query(String query) {
this.query = query;
return this;
}
/**
* The employer name to be searched for.
* @return query
**/
@ApiModelProperty(required = true, value = "The employer name to be searched for.")
public String getQuery() {
return query;
}
public void setQuery(String query) {
this.query = query;
}
public EmployersSearchRequest products(List<String> products) {
this.products = products;
return this;
}
public EmployersSearchRequest addProductsItem(String productsItem) {
this.products.add(productsItem);
return this;
}
/**
* The Plaid products the returned employers should support. Currently, this field must be set to `\"deposit_switch\"`.
* @return products
**/
@ApiModelProperty(required = true, value = "The Plaid products the returned employers should support. Currently, this field must be set to `\"deposit_switch\"`.")
public List<String> getProducts() {
return products;
}
public void setProducts(List<String> products) {
this.products = products;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
EmployersSearchRequest employersSearchRequest = (EmployersSearchRequest) o;
return Objects.equals(this.clientId, employersSearchRequest.clientId) &&
Objects.equals(this.secret, employersSearchRequest.secret) &&
Objects.equals(this.query, employersSearchRequest.query) &&
Objects.equals(this.products, employersSearchRequest.products);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, query, products);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class EmployersSearchRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" query: ").append(toIndentedString(query)).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/WatchlistScreeningEntityHistoryListRequest.java | src/main/java/com/plaid/client/model/WatchlistScreeningEntityHistoryListRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Request input for listing changes to entity watchlist screenings
*/
@ApiModel(description = "Request input for listing changes to entity watchlist screenings")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class WatchlistScreeningEntityHistoryListRequest {
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_ENTITY_WATCHLIST_SCREENING_ID = "entity_watchlist_screening_id";
@SerializedName(SERIALIZED_NAME_ENTITY_WATCHLIST_SCREENING_ID)
private String entityWatchlistScreeningId;
public static final String SERIALIZED_NAME_CURSOR = "cursor";
@SerializedName(SERIALIZED_NAME_CURSOR)
private String cursor;
public WatchlistScreeningEntityHistoryListRequest 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 WatchlistScreeningEntityHistoryListRequest 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 WatchlistScreeningEntityHistoryListRequest entityWatchlistScreeningId(String entityWatchlistScreeningId) {
this.entityWatchlistScreeningId = entityWatchlistScreeningId;
return this;
}
/**
* ID of the associated entity screening.
* @return entityWatchlistScreeningId
**/
@ApiModelProperty(example = "entscr_52xR9LKo77r1Np", required = true, value = "ID of the associated entity screening.")
public String getEntityWatchlistScreeningId() {
return entityWatchlistScreeningId;
}
public void setEntityWatchlistScreeningId(String entityWatchlistScreeningId) {
this.entityWatchlistScreeningId = entityWatchlistScreeningId;
}
public WatchlistScreeningEntityHistoryListRequest cursor(String cursor) {
this.cursor = cursor;
return this;
}
/**
* An identifier that determines which page of results you receive.
* @return cursor
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "eyJkaXJlY3Rpb24iOiJuZXh0Iiwib2Zmc2V0IjoiMTU5NDM", value = "An identifier that determines which page of results you receive.")
public String getCursor() {
return cursor;
}
public void setCursor(String cursor) {
this.cursor = cursor;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
WatchlistScreeningEntityHistoryListRequest watchlistScreeningEntityHistoryListRequest = (WatchlistScreeningEntityHistoryListRequest) o;
return Objects.equals(this.secret, watchlistScreeningEntityHistoryListRequest.secret) &&
Objects.equals(this.clientId, watchlistScreeningEntityHistoryListRequest.clientId) &&
Objects.equals(this.entityWatchlistScreeningId, watchlistScreeningEntityHistoryListRequest.entityWatchlistScreeningId) &&
Objects.equals(this.cursor, watchlistScreeningEntityHistoryListRequest.cursor);
}
@Override
public int hashCode() {
return Objects.hash(secret, clientId, entityWatchlistScreeningId, cursor);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class WatchlistScreeningEntityHistoryListRequest {\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" entityWatchlistScreeningId: ").append(toIndentedString(entityWatchlistScreeningId)).append("\n");
sb.append(" cursor: ").append(toIndentedString(cursor)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/PaymentInitiationConsentPayerNumbers.java | src/main/java/com/plaid/client/model/PaymentInitiationConsentPayerNumbers.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.NumbersIBANNullable;
import com.plaid.client.model.PaymentInitiationOptionalRestrictionBacs;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The counterparty's bank account numbers. Exactly one of IBAN or BACS data is required.
*/
@ApiModel(description = "The counterparty's bank account numbers. Exactly one of IBAN or BACS data is required.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PaymentInitiationConsentPayerNumbers {
public static final String SERIALIZED_NAME_BACS = "bacs";
@SerializedName(SERIALIZED_NAME_BACS)
private PaymentInitiationOptionalRestrictionBacs bacs;
public static final String SERIALIZED_NAME_IBAN = "iban";
@SerializedName(SERIALIZED_NAME_IBAN)
private NumbersIBANNullable iban;
public PaymentInitiationConsentPayerNumbers bacs(PaymentInitiationOptionalRestrictionBacs bacs) {
this.bacs = bacs;
return this;
}
/**
* Get bacs
* @return bacs
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PaymentInitiationOptionalRestrictionBacs getBacs() {
return bacs;
}
public void setBacs(PaymentInitiationOptionalRestrictionBacs bacs) {
this.bacs = bacs;
}
public PaymentInitiationConsentPayerNumbers iban(NumbersIBANNullable iban) {
this.iban = iban;
return this;
}
/**
* Get iban
* @return iban
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public NumbersIBANNullable getIban() {
return iban;
}
public void setIban(NumbersIBANNullable iban) {
this.iban = iban;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PaymentInitiationConsentPayerNumbers paymentInitiationConsentPayerNumbers = (PaymentInitiationConsentPayerNumbers) o;
return Objects.equals(this.bacs, paymentInitiationConsentPayerNumbers.bacs) &&
Objects.equals(this.iban, paymentInitiationConsentPayerNumbers.iban);
}
@Override
public int hashCode() {
return Objects.hash(bacs, iban);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaymentInitiationConsentPayerNumbers {\n");
sb.append(" bacs: ").append(toIndentedString(bacs)).append("\n");
sb.append(" iban: ").append(toIndentedString(iban)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/FinancialInstitutionInsights.java | src/main/java/com/plaid/client/model/FinancialInstitutionInsights.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.DetectedAccount;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Insights surrounding external financial institution counterparties associated with a user.
*/
@ApiModel(description = "Insights surrounding external financial institution counterparties associated with a user.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class FinancialInstitutionInsights {
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public static final String SERIALIZED_NAME_ENTITY_ID = "entity_id";
@SerializedName(SERIALIZED_NAME_ENTITY_ID)
private String entityId;
public static final String SERIALIZED_NAME_WEBSITE = "website";
@SerializedName(SERIALIZED_NAME_WEBSITE)
private String website;
public static final String SERIALIZED_NAME_DETECTED_ACCOUNTS = "detected_accounts";
@SerializedName(SERIALIZED_NAME_DETECTED_ACCOUNTS)
private List<DetectedAccount> detectedAccounts = new ArrayList<>();
public FinancialInstitutionInsights name(String name) {
this.name = name;
return this;
}
/**
* Name of the financial institution counterparty.
* @return name
**/
@ApiModelProperty(required = true, value = "Name of the financial institution counterparty.")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public FinancialInstitutionInsights entityId(String entityId) {
this.entityId = entityId;
return this;
}
/**
* A unique, stable, Plaid-generated id that maps to the counterparty.
* @return entityId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A unique, stable, Plaid-generated id that maps to the counterparty.")
public String getEntityId() {
return entityId;
}
public void setEntityId(String entityId) {
this.entityId = entityId;
}
public FinancialInstitutionInsights website(String website) {
this.website = website;
return this;
}
/**
* The website associated with the counterparty.
* @return website
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The website associated with the counterparty.")
public String getWebsite() {
return website;
}
public void setWebsite(String website) {
this.website = website;
}
public FinancialInstitutionInsights detectedAccounts(List<DetectedAccount> detectedAccounts) {
this.detectedAccounts = detectedAccounts;
return this;
}
public FinancialInstitutionInsights addDetectedAccountsItem(DetectedAccount detectedAccountsItem) {
this.detectedAccounts.add(detectedAccountsItem);
return this;
}
/**
* Associated accounts, detected based on the nature of transfers to/from this institution.
* @return detectedAccounts
**/
@ApiModelProperty(required = true, value = "Associated accounts, detected based on the nature of transfers to/from this institution.")
public List<DetectedAccount> getDetectedAccounts() {
return detectedAccounts;
}
public void setDetectedAccounts(List<DetectedAccount> detectedAccounts) {
this.detectedAccounts = detectedAccounts;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
FinancialInstitutionInsights financialInstitutionInsights = (FinancialInstitutionInsights) o;
return Objects.equals(this.name, financialInstitutionInsights.name) &&
Objects.equals(this.entityId, financialInstitutionInsights.entityId) &&
Objects.equals(this.website, financialInstitutionInsights.website) &&
Objects.equals(this.detectedAccounts, financialInstitutionInsights.detectedAccounts);
}
@Override
public int hashCode() {
return Objects.hash(name, entityId, website, detectedAccounts);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FinancialInstitutionInsights {\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" entityId: ").append(toIndentedString(entityId)).append("\n");
sb.append(" website: ").append(toIndentedString(website)).append("\n");
sb.append(" detectedAccounts: ").append(toIndentedString(detectedAccounts)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/SessionTokenCreateRequestUser.java | src/main/java/com/plaid/client/model/SessionTokenCreateRequestUser.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Details about the end user. Required if a root-level `user_id` is not provided.
*/
@ApiModel(description = "Details about the end user. Required if a root-level `user_id` is not provided.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SessionTokenCreateRequestUser {
public static final String SERIALIZED_NAME_CLIENT_USER_ID = "client_user_id";
@SerializedName(SERIALIZED_NAME_CLIENT_USER_ID)
private String clientUserId;
public static final String SERIALIZED_NAME_USER_ID = "user_id";
@SerializedName(SERIALIZED_NAME_USER_ID)
private String userId;
public SessionTokenCreateRequestUser clientUserId(String clientUserId) {
this.clientUserId = clientUserId;
return this;
}
/**
* A unique ID representing the end user. Typically this will be a user ID number from your application. Personally identifiable information, such as an email address or phone number, should not be used in the `client_user_id`. It is currently used as a means of searching logs for the given user in the Plaid Dashboard.
* @return clientUserId
**/
@ApiModelProperty(required = true, value = "A unique ID representing the end user. Typically this will be a user ID number from your application. Personally identifiable information, such as an email address or phone number, should not be used in the `client_user_id`. It is currently used as a means of searching logs for the given user in the Plaid Dashboard.")
public String getClientUserId() {
return clientUserId;
}
public void setClientUserId(String clientUserId) {
this.clientUserId = clientUserId;
}
public SessionTokenCreateRequestUser userId(String userId) {
this.userId = userId;
return this;
}
/**
* Get userId
* @return userId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SessionTokenCreateRequestUser sessionTokenCreateRequestUser = (SessionTokenCreateRequestUser) o;
return Objects.equals(this.clientUserId, sessionTokenCreateRequestUser.clientUserId) &&
Objects.equals(this.userId, sessionTokenCreateRequestUser.userId);
}
@Override
public int hashCode() {
return Objects.hash(clientUserId, userId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SessionTokenCreateRequestUser {\n");
sb.append(" clientUserId: ").append(toIndentedString(clientUserId)).append("\n");
sb.append(" userId: ").append(toIndentedString(userId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BeaconReportGetResponse.java | src/main/java/com/plaid/client/model/BeaconReportGetResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.BeaconAuditTrail;
import com.plaid.client.model.BeaconReportType;
import com.plaid.client.model.FraudAmount;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
/**
* A Beacon Report describes the type of fraud committed by a user as well as the date the fraud was committed and the total amount of money lost due to the fraud incident. This information is used to block similar fraud attempts on your platform as well as alert other companies who screen a user with matching identity information. Other companies will not receive any new identity information, just what matched, plus information such as industry, type of fraud, and date of fraud. You can manage your fraud reports by adding, deleting, or editing reports as you get additional information on fraudulent users.
*/
@ApiModel(description = "A Beacon Report describes the type of fraud committed by a user as well as the date the fraud was committed and the total amount of money lost due to the fraud incident. This information is used to block similar fraud attempts on your platform as well as alert other companies who screen a user with matching identity information. Other companies will not receive any new identity information, just what matched, plus information such as industry, type of fraud, and date of fraud. You can manage your fraud reports by adding, deleting, or editing reports as you get additional information on fraudulent users.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BeaconReportGetResponse {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
public static final String SERIALIZED_NAME_BEACON_USER_ID = "beacon_user_id";
@SerializedName(SERIALIZED_NAME_BEACON_USER_ID)
private String beaconUserId;
public static final String SERIALIZED_NAME_CREATED_AT = "created_at";
@SerializedName(SERIALIZED_NAME_CREATED_AT)
private java.sql.Timestamp createdAt;
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private BeaconReportType type;
public static final String SERIALIZED_NAME_FRAUD_DATE = "fraud_date";
@SerializedName(SERIALIZED_NAME_FRAUD_DATE)
private LocalDate fraudDate;
public static final String SERIALIZED_NAME_EVENT_DATE = "event_date";
@SerializedName(SERIALIZED_NAME_EVENT_DATE)
private LocalDate eventDate;
public static final String SERIALIZED_NAME_FRAUD_AMOUNT = "fraud_amount";
@SerializedName(SERIALIZED_NAME_FRAUD_AMOUNT)
private FraudAmount fraudAmount;
public static final String SERIALIZED_NAME_AUDIT_TRAIL = "audit_trail";
@SerializedName(SERIALIZED_NAME_AUDIT_TRAIL)
private BeaconAuditTrail auditTrail;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public BeaconReportGetResponse id(String id) {
this.id = id;
return this;
}
/**
* ID of the associated Beacon Report.
* @return id
**/
@ApiModelProperty(example = "becrpt_11111111111111", required = true, value = "ID of the associated Beacon Report.")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public BeaconReportGetResponse 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 BeaconReportGetResponse 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 BeaconReportGetResponse type(BeaconReportType type) {
this.type = type;
return this;
}
/**
* Get type
* @return type
**/
@ApiModelProperty(required = true, value = "")
public BeaconReportType getType() {
return type;
}
public void setType(BeaconReportType type) {
this.type = type;
}
public BeaconReportGetResponse fraudDate(LocalDate fraudDate) {
this.fraudDate = fraudDate;
return this;
}
/**
* A date in the format YYYY-MM-DD (RFC 3339 Section 5.6).
* @return fraudDate
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "Tue May 29 00:00:00 UTC 1990", required = true, value = "A date in the format YYYY-MM-DD (RFC 3339 Section 5.6).")
public LocalDate getFraudDate() {
return fraudDate;
}
public void setFraudDate(LocalDate fraudDate) {
this.fraudDate = fraudDate;
}
public BeaconReportGetResponse eventDate(LocalDate eventDate) {
this.eventDate = eventDate;
return this;
}
/**
* A date in the format YYYY-MM-DD (RFC 3339 Section 5.6).
* @return eventDate
**/
@ApiModelProperty(example = "Tue May 29 00:00:00 UTC 1990", required = true, value = "A date in the format YYYY-MM-DD (RFC 3339 Section 5.6).")
public LocalDate getEventDate() {
return eventDate;
}
public void setEventDate(LocalDate eventDate) {
this.eventDate = eventDate;
}
public BeaconReportGetResponse fraudAmount(FraudAmount fraudAmount) {
this.fraudAmount = fraudAmount;
return this;
}
/**
* Get fraudAmount
* @return fraudAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public FraudAmount getFraudAmount() {
return fraudAmount;
}
public void setFraudAmount(FraudAmount fraudAmount) {
this.fraudAmount = fraudAmount;
}
public BeaconReportGetResponse auditTrail(BeaconAuditTrail auditTrail) {
this.auditTrail = auditTrail;
return this;
}
/**
* Get auditTrail
* @return auditTrail
**/
@ApiModelProperty(required = true, value = "")
public BeaconAuditTrail getAuditTrail() {
return auditTrail;
}
public void setAuditTrail(BeaconAuditTrail auditTrail) {
this.auditTrail = auditTrail;
}
public BeaconReportGetResponse 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;
}
BeaconReportGetResponse beaconReportGetResponse = (BeaconReportGetResponse) o;
return Objects.equals(this.id, beaconReportGetResponse.id) &&
Objects.equals(this.beaconUserId, beaconReportGetResponse.beaconUserId) &&
Objects.equals(this.createdAt, beaconReportGetResponse.createdAt) &&
Objects.equals(this.type, beaconReportGetResponse.type) &&
Objects.equals(this.fraudDate, beaconReportGetResponse.fraudDate) &&
Objects.equals(this.eventDate, beaconReportGetResponse.eventDate) &&
Objects.equals(this.fraudAmount, beaconReportGetResponse.fraudAmount) &&
Objects.equals(this.auditTrail, beaconReportGetResponse.auditTrail) &&
Objects.equals(this.requestId, beaconReportGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(id, beaconUserId, createdAt, type, fraudDate, eventDate, fraudAmount, auditTrail, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BeaconReportGetResponse {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" beaconUserId: ").append(toIndentedString(beaconUserId)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" fraudDate: ").append(toIndentedString(fraudDate)).append("\n");
sb.append(" eventDate: ").append(toIndentedString(eventDate)).append("\n");
sb.append(" fraudAmount: ").append(toIndentedString(fraudAmount)).append("\n");
sb.append(" auditTrail: ").append(toIndentedString(auditTrail)).append("\n");
sb.append(" 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/IncomeVerificationCreateRequestOptions.java | src/main/java/com/plaid/client/model/IncomeVerificationCreateRequestOptions.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* Optional arguments for `/income/verification/create`
*/
@ApiModel(description = "Optional arguments for `/income/verification/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class IncomeVerificationCreateRequestOptions {
public static final String SERIALIZED_NAME_ACCESS_TOKENS = "access_tokens";
@SerializedName(SERIALIZED_NAME_ACCESS_TOKENS)
private List<String> accessTokens = null;
public IncomeVerificationCreateRequestOptions accessTokens(List<String> accessTokens) {
this.accessTokens = accessTokens;
return this;
}
public IncomeVerificationCreateRequestOptions addAccessTokensItem(String accessTokensItem) {
if (this.accessTokens == null) {
this.accessTokens = new ArrayList<>();
}
this.accessTokens.add(accessTokensItem);
return this;
}
/**
* An array of access tokens corresponding to the Items that will be cross-referenced with the product data. Plaid will attempt to correlate transaction history from these Items with data from the user's paystub, such as date and amount. If the `transactions` product was not initialized for the Items during Link, it will be initialized after this Link session.
* @return accessTokens
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "An array of access tokens corresponding to the Items that will be cross-referenced with the product data. Plaid will attempt to correlate transaction history from these Items with data from the user's paystub, such as date and amount. If the `transactions` product was not initialized for the Items during Link, it will be initialized after this Link session.")
public List<String> getAccessTokens() {
return accessTokens;
}
public void setAccessTokens(List<String> accessTokens) {
this.accessTokens = accessTokens;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
IncomeVerificationCreateRequestOptions incomeVerificationCreateRequestOptions = (IncomeVerificationCreateRequestOptions) o;
return Objects.equals(this.accessTokens, incomeVerificationCreateRequestOptions.accessTokens);
}
@Override
public int hashCode() {
return Objects.hash(accessTokens);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IncomeVerificationCreateRequestOptions {\n");
sb.append(" accessTokens: ").append(toIndentedString(accessTokens)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TotalCanonicalDescription.java | src/main/java/com/plaid/client/model/TotalCanonicalDescription.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* Commonly used term to describe the line item.
*/
@JsonAdapter(TotalCanonicalDescription.Adapter.class)
public enum TotalCanonicalDescription {
BONUS("BONUS"),
COMMISSION("COMMISSION"),
OVERTIME("OVERTIME"),
PAID_TIME_OFF("PAID TIME OFF"),
REGULAR_PAY("REGULAR PAY"),
VACATION("VACATION"),
EMPLOYEE_MEDICARE("EMPLOYEE MEDICARE"),
FICA("FICA"),
SOCIAL_SECURITY_EMPLOYEE_TAX("SOCIAL SECURITY EMPLOYEE TAX"),
MEDICAL("MEDICAL"),
VISION("VISION"),
DENTAL("DENTAL"),
NET_PAY("NET PAY"),
TAXES("TAXES"),
NOT_FOUND("NOT_FOUND"),
OTHER("OTHER"),
NULL("null"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
TotalCanonicalDescription(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static TotalCanonicalDescription fromValue(String value) {
for (TotalCanonicalDescription b : TotalCanonicalDescription.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null; }
public static class Adapter extends TypeAdapter<TotalCanonicalDescription> {
@Override
public void write(final JsonWriter jsonWriter, final TotalCanonicalDescription enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public TotalCanonicalDescription read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return TotalCanonicalDescription.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/SandboxOauthSelectAccountsRequest.java | src/main/java/com/plaid/client/model/SandboxOauthSelectAccountsRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* Defines the request schema for `sandbox/oauth/select_accounts`
*/
@ApiModel(description = "Defines the request schema for `sandbox/oauth/select_accounts`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SandboxOauthSelectAccountsRequest {
public static final String SERIALIZED_NAME_OAUTH_STATE_ID = "oauth_state_id";
@SerializedName(SERIALIZED_NAME_OAUTH_STATE_ID)
private String oauthStateId;
public static final String SERIALIZED_NAME_ACCOUNTS = "accounts";
@SerializedName(SERIALIZED_NAME_ACCOUNTS)
private List<String> accounts = new ArrayList<>();
public SandboxOauthSelectAccountsRequest oauthStateId(String oauthStateId) {
this.oauthStateId = oauthStateId;
return this;
}
/**
* Get oauthStateId
* @return oauthStateId
**/
@ApiModelProperty(required = true, value = "")
public String getOauthStateId() {
return oauthStateId;
}
public void setOauthStateId(String oauthStateId) {
this.oauthStateId = oauthStateId;
}
public SandboxOauthSelectAccountsRequest accounts(List<String> accounts) {
this.accounts = accounts;
return this;
}
public SandboxOauthSelectAccountsRequest addAccountsItem(String accountsItem) {
this.accounts.add(accountsItem);
return this;
}
/**
* Get accounts
* @return accounts
**/
@ApiModelProperty(required = true, value = "")
public List<String> getAccounts() {
return accounts;
}
public void setAccounts(List<String> accounts) {
this.accounts = accounts;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SandboxOauthSelectAccountsRequest sandboxOauthSelectAccountsRequest = (SandboxOauthSelectAccountsRequest) o;
return Objects.equals(this.oauthStateId, sandboxOauthSelectAccountsRequest.oauthStateId) &&
Objects.equals(this.accounts, sandboxOauthSelectAccountsRequest.accounts);
}
@Override
public int hashCode() {
return Objects.hash(oauthStateId, accounts);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SandboxOauthSelectAccountsRequest {\n");
sb.append(" oauthStateId: ").append(toIndentedString(oauthStateId)).append("\n");
sb.append(" accounts: ").append(toIndentedString(accounts)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CraCheckReportCreatePartnerInsightsOptions.java | src/main/java/com/plaid/client/model/CraCheckReportCreatePartnerInsightsOptions.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* Defines configuration to generate Partner Insights.
*/
@ApiModel(description = "Defines configuration to generate Partner Insights.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraCheckReportCreatePartnerInsightsOptions {
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 CraCheckReportCreatePartnerInsightsOptions prismProducts(List<PrismProduct> prismProducts) {
this.prismProducts = prismProducts;
return this;
}
public CraCheckReportCreatePartnerInsightsOptions addPrismProductsItem(PrismProduct prismProductsItem) {
if (this.prismProducts == null) {
this.prismProducts = new ArrayList<>();
}
this.prismProducts.add(prismProductsItem);
return this;
}
/**
* The specific Prism Data products to return. If none are passed in, then all products will be returned.
* @return prismProducts
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The specific Prism Data products to return. If none are passed in, then all products will be returned.")
public List<PrismProduct> getPrismProducts() {
return prismProducts;
}
public void setPrismProducts(List<PrismProduct> prismProducts) {
this.prismProducts = prismProducts;
}
public CraCheckReportCreatePartnerInsightsOptions 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;
}
CraCheckReportCreatePartnerInsightsOptions craCheckReportCreatePartnerInsightsOptions = (CraCheckReportCreatePartnerInsightsOptions) o;
return Objects.equals(this.prismProducts, craCheckReportCreatePartnerInsightsOptions.prismProducts) &&
Objects.equals(this.prismVersions, craCheckReportCreatePartnerInsightsOptions.prismVersions);
}
@Override
public int hashCode() {
return Objects.hash(prismProducts, prismVersions);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraCheckReportCreatePartnerInsightsOptions {\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/RiskSignalFileType.java | src/main/java/com/plaid/client/model/RiskSignalFileType.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 file type for risk signal analysis
*/
@JsonAdapter(RiskSignalFileType.Adapter.class)
public enum RiskSignalFileType {
UNKNOWN("UNKNOWN"),
IMAGE_PDF("IMAGE_PDF"),
SCAN_OCR("SCAN_OCR"),
TRUE_PDF("TRUE_PDF"),
IMAGE("IMAGE"),
MIXED_PAGE_PDF("MIXED_PAGE_PDF"),
EMPTY_PDF("EMPTY_PDF"),
FLATTENED_PDF("FLATTENED_PDF"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
RiskSignalFileType(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static RiskSignalFileType fromValue(String value) {
for (RiskSignalFileType b : RiskSignalFileType.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null; }
public static class Adapter extends TypeAdapter<RiskSignalFileType> {
@Override
public void write(final JsonWriter jsonWriter, final RiskSignalFileType enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public RiskSignalFileType read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return RiskSignalFileType.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/TransactionsGetRequest.java | src/main/java/com/plaid/client/model/TransactionsGetRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.TransactionsGetRequestOptions;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
/**
* TransactionsGetRequest defines the request schema for `/transactions/get`
*/
@ApiModel(description = "TransactionsGetRequest defines the request schema for `/transactions/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransactionsGetRequest {
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 TransactionsGetRequestOptions options;
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_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 TransactionsGetRequest 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 TransactionsGetRequest options(TransactionsGetRequestOptions options) {
this.options = options;
return this;
}
/**
* Get options
* @return options
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public TransactionsGetRequestOptions getOptions() {
return options;
}
public void setOptions(TransactionsGetRequestOptions options) {
this.options = options;
}
public TransactionsGetRequest 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 TransactionsGetRequest 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 TransactionsGetRequest 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 TransactionsGetRequest 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;
}
TransactionsGetRequest transactionsGetRequest = (TransactionsGetRequest) o;
return Objects.equals(this.clientId, transactionsGetRequest.clientId) &&
Objects.equals(this.options, transactionsGetRequest.options) &&
Objects.equals(this.accessToken, transactionsGetRequest.accessToken) &&
Objects.equals(this.secret, transactionsGetRequest.secret) &&
Objects.equals(this.startDate, transactionsGetRequest.startDate) &&
Objects.equals(this.endDate, transactionsGetRequest.endDate);
}
@Override
public int hashCode() {
return Objects.hash(clientId, options, accessToken, secret, startDate, endDate);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransactionsGetRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" options: ").append(toIndentedString(options)).append("\n");
sb.append(" accessToken: ").append(toIndentedString(accessToken)).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/InvestmentHoldingsGetRequestOptions.java | src/main/java/com/plaid/client/model/InvestmentHoldingsGetRequestOptions.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* An optional object to filter `/investments/holdings/get` results. If provided, must not be `null`.
*/
@ApiModel(description = "An optional object to filter `/investments/holdings/get` results. If provided, must not be `null`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class InvestmentHoldingsGetRequestOptions {
public static final String SERIALIZED_NAME_ACCOUNT_IDS = "account_ids";
@SerializedName(SERIALIZED_NAME_ACCOUNT_IDS)
private List<String> accountIds = null;
public InvestmentHoldingsGetRequestOptions accountIds(List<String> accountIds) {
this.accountIds = accountIds;
return this;
}
public InvestmentHoldingsGetRequestOptions addAccountIdsItem(String accountIdsItem) {
if (this.accountIds == null) {
this.accountIds = new ArrayList<>();
}
this.accountIds.add(accountIdsItem);
return this;
}
/**
* An array of `account_id`s to retrieve for the Item. An error will be returned if a provided `account_id` is not associated with the Item.
* @return accountIds
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "An array of `account_id`s to retrieve for the Item. An error will be returned if a provided `account_id` is not associated with the Item.")
public List<String> getAccountIds() {
return accountIds;
}
public void setAccountIds(List<String> accountIds) {
this.accountIds = accountIds;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
InvestmentHoldingsGetRequestOptions investmentHoldingsGetRequestOptions = (InvestmentHoldingsGetRequestOptions) o;
return Objects.equals(this.accountIds, investmentHoldingsGetRequestOptions.accountIds);
}
@Override
public int hashCode() {
return Objects.hash(accountIds);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class InvestmentHoldingsGetRequestOptions {\n");
sb.append(" accountIds: ").append(toIndentedString(accountIds)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/SignalEvaluateResponse.java | src/main/java/com/plaid/client/model/SignalEvaluateResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.RiskProfile;
import com.plaid.client.model.Ruleset;
import com.plaid.client.model.SignalEvaluateCoreAttributes;
import com.plaid.client.model.SignalScores;
import com.plaid.client.model.SignalWarning;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* SignalEvaluateResponse defines the response schema for `/signal/evaluate`
*/
@ApiModel(description = "SignalEvaluateResponse defines the response schema for `/signal/evaluate`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SignalEvaluateResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public static final String SERIALIZED_NAME_SCORES = "scores";
@SerializedName(SERIALIZED_NAME_SCORES)
private SignalScores scores;
public static final String SERIALIZED_NAME_CORE_ATTRIBUTES = "core_attributes";
@SerializedName(SERIALIZED_NAME_CORE_ATTRIBUTES)
private SignalEvaluateCoreAttributes coreAttributes;
public static final String SERIALIZED_NAME_RISK_PROFILE = "risk_profile";
@SerializedName(SERIALIZED_NAME_RISK_PROFILE)
private RiskProfile riskProfile;
public static final String SERIALIZED_NAME_RULESET = "ruleset";
@SerializedName(SERIALIZED_NAME_RULESET)
private Ruleset ruleset;
public static final String SERIALIZED_NAME_WARNINGS = "warnings";
@SerializedName(SERIALIZED_NAME_WARNINGS)
private List<SignalWarning> warnings = new ArrayList<>();
public SignalEvaluateResponse 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 SignalEvaluateResponse scores(SignalScores scores) {
this.scores = scores;
return this;
}
/**
* Get scores
* @return scores
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public SignalScores getScores() {
return scores;
}
public void setScores(SignalScores scores) {
this.scores = scores;
}
public SignalEvaluateResponse coreAttributes(SignalEvaluateCoreAttributes coreAttributes) {
this.coreAttributes = coreAttributes;
return this;
}
/**
* Get coreAttributes
* @return coreAttributes
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public SignalEvaluateCoreAttributes getCoreAttributes() {
return coreAttributes;
}
public void setCoreAttributes(SignalEvaluateCoreAttributes coreAttributes) {
this.coreAttributes = coreAttributes;
}
public SignalEvaluateResponse riskProfile(RiskProfile riskProfile) {
this.riskProfile = riskProfile;
return this;
}
/**
* Get riskProfile
* @return riskProfile
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public RiskProfile getRiskProfile() {
return riskProfile;
}
public void setRiskProfile(RiskProfile riskProfile) {
this.riskProfile = riskProfile;
}
public SignalEvaluateResponse ruleset(Ruleset ruleset) {
this.ruleset = ruleset;
return this;
}
/**
* Get ruleset
* @return ruleset
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Ruleset getRuleset() {
return ruleset;
}
public void setRuleset(Ruleset ruleset) {
this.ruleset = ruleset;
}
public SignalEvaluateResponse warnings(List<SignalWarning> warnings) {
this.warnings = warnings;
return this;
}
public SignalEvaluateResponse addWarningsItem(SignalWarning warningsItem) {
this.warnings.add(warningsItem);
return this;
}
/**
* If bank information was not available to be used in the Signal Transaction Scores model, this array contains warnings describing why bank data is missing. If you want to receive an API error instead of results in the case of missing bank data, file a support ticket or contact your Plaid account manager.
* @return warnings
**/
@ApiModelProperty(required = true, value = "If bank information was not available to be used in the Signal Transaction Scores model, this array contains warnings describing why bank data is missing. If you want to receive an API error instead of results in the case of missing bank data, file a support ticket or contact your Plaid account manager.")
public List<SignalWarning> getWarnings() {
return warnings;
}
public void setWarnings(List<SignalWarning> warnings) {
this.warnings = warnings;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SignalEvaluateResponse signalEvaluateResponse = (SignalEvaluateResponse) o;
return Objects.equals(this.requestId, signalEvaluateResponse.requestId) &&
Objects.equals(this.scores, signalEvaluateResponse.scores) &&
Objects.equals(this.coreAttributes, signalEvaluateResponse.coreAttributes) &&
Objects.equals(this.riskProfile, signalEvaluateResponse.riskProfile) &&
Objects.equals(this.ruleset, signalEvaluateResponse.ruleset) &&
Objects.equals(this.warnings, signalEvaluateResponse.warnings);
}
@Override
public int hashCode() {
return Objects.hash(requestId, scores, coreAttributes, riskProfile, ruleset, warnings);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SignalEvaluateResponse {\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append(" scores: ").append(toIndentedString(scores)).append("\n");
sb.append(" coreAttributes: ").append(toIndentedString(coreAttributes)).append("\n");
sb.append(" riskProfile: ").append(toIndentedString(riskProfile)).append("\n");
sb.append(" ruleset: ").append(toIndentedString(ruleset)).append("\n");
sb.append(" warnings: ").append(toIndentedString(warnings)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/LinkDeliverySessionStatus.java | src/main/java/com/plaid/client/model/LinkDeliverySessionStatus.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* The status of the given Hosted Link session. `CREATED`: The session is created but not yet accessed by the user `OPENED`: The session is opened by the user but not yet completed `EXITED`: The session has been exited by the user `COMPLETED`: The session has been completed by the user `EXPIRED`: The session has expired
*/
@JsonAdapter(LinkDeliverySessionStatus.Adapter.class)
public enum LinkDeliverySessionStatus {
CREATED("CREATED"),
OPENED("OPENED"),
EXITED("EXITED"),
COMPLETED("COMPLETED"),
EXPIRED("EXPIRED"),
// 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;
LinkDeliverySessionStatus(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static LinkDeliverySessionStatus fromValue(String value) {
for (LinkDeliverySessionStatus b : LinkDeliverySessionStatus.values()) {
if (b.value.equals(value)) {
return b;
}
}
return LinkDeliverySessionStatus.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<LinkDeliverySessionStatus> {
@Override
public void write(final JsonWriter jsonWriter, final LinkDeliverySessionStatus enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public LinkDeliverySessionStatus read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return LinkDeliverySessionStatus.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/SelfieAnalysis.java | src/main/java/com/plaid/client/model/SelfieAnalysis.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.SelfieAnalysisDocumentComparison;
import com.plaid.client.model.SelfieAnalysisFacialAnalysis;
import com.plaid.client.model.SelfieAnalysisLivenessCheck;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* High level descriptions of how the associated selfie was processed. If a selfie fails verification, the details in the `analysis` object should help clarify why the selfie was rejected.
*/
@ApiModel(description = "High level descriptions of how the associated selfie was processed. If a selfie fails verification, the details in the `analysis` object should help clarify why the selfie was rejected.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SelfieAnalysis {
public static final String SERIALIZED_NAME_DOCUMENT_COMPARISON = "document_comparison";
@SerializedName(SERIALIZED_NAME_DOCUMENT_COMPARISON)
private SelfieAnalysisDocumentComparison documentComparison;
public static final String SERIALIZED_NAME_LIVENESS_CHECK = "liveness_check";
@SerializedName(SERIALIZED_NAME_LIVENESS_CHECK)
private SelfieAnalysisLivenessCheck livenessCheck;
public static final String SERIALIZED_NAME_FACIAL_ANALYSIS = "facial_analysis";
@SerializedName(SERIALIZED_NAME_FACIAL_ANALYSIS)
private SelfieAnalysisFacialAnalysis facialAnalysis;
public SelfieAnalysis documentComparison(SelfieAnalysisDocumentComparison documentComparison) {
this.documentComparison = documentComparison;
return this;
}
/**
* Get documentComparison
* @return documentComparison
**/
@ApiModelProperty(required = true, value = "")
public SelfieAnalysisDocumentComparison getDocumentComparison() {
return documentComparison;
}
public void setDocumentComparison(SelfieAnalysisDocumentComparison documentComparison) {
this.documentComparison = documentComparison;
}
public SelfieAnalysis livenessCheck(SelfieAnalysisLivenessCheck livenessCheck) {
this.livenessCheck = livenessCheck;
return this;
}
/**
* Get livenessCheck
* @return livenessCheck
**/
@ApiModelProperty(required = true, value = "")
public SelfieAnalysisLivenessCheck getLivenessCheck() {
return livenessCheck;
}
public void setLivenessCheck(SelfieAnalysisLivenessCheck livenessCheck) {
this.livenessCheck = livenessCheck;
}
public SelfieAnalysis facialAnalysis(SelfieAnalysisFacialAnalysis facialAnalysis) {
this.facialAnalysis = facialAnalysis;
return this;
}
/**
* Get facialAnalysis
* @return facialAnalysis
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public SelfieAnalysisFacialAnalysis getFacialAnalysis() {
return facialAnalysis;
}
public void setFacialAnalysis(SelfieAnalysisFacialAnalysis facialAnalysis) {
this.facialAnalysis = facialAnalysis;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SelfieAnalysis selfieAnalysis = (SelfieAnalysis) o;
return Objects.equals(this.documentComparison, selfieAnalysis.documentComparison) &&
Objects.equals(this.livenessCheck, selfieAnalysis.livenessCheck) &&
Objects.equals(this.facialAnalysis, selfieAnalysis.facialAnalysis);
}
@Override
public int hashCode() {
return Objects.hash(documentComparison, livenessCheck, facialAnalysis);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SelfieAnalysis {\n");
sb.append(" documentComparison: ").append(toIndentedString(documentComparison)).append("\n");
sb.append(" livenessCheck: ").append(toIndentedString(livenessCheck)).append("\n");
sb.append(" facialAnalysis: ").append(toIndentedString(facialAnalysis)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/MFA.java | src/main/java/com/plaid/client/model/MFA.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* Specifies the multi-factor authentication settings to use with this test account
*/
@ApiModel(description = "Specifies the multi-factor authentication settings to use with this test account")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class MFA {
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private String type;
public static final String SERIALIZED_NAME_QUESTION_ROUNDS = "question_rounds";
@SerializedName(SERIALIZED_NAME_QUESTION_ROUNDS)
private Double questionRounds;
public static final String SERIALIZED_NAME_QUESTIONS_PER_ROUND = "questions_per_round";
@SerializedName(SERIALIZED_NAME_QUESTIONS_PER_ROUND)
private Double questionsPerRound;
public static final String SERIALIZED_NAME_SELECTION_ROUNDS = "selection_rounds";
@SerializedName(SERIALIZED_NAME_SELECTION_ROUNDS)
private Double selectionRounds;
public static final String SERIALIZED_NAME_SELECTIONS_PER_QUESTION = "selections_per_question";
@SerializedName(SERIALIZED_NAME_SELECTIONS_PER_QUESTION)
private Double selectionsPerQuestion;
public MFA type(String type) {
this.type = type;
return this;
}
/**
* Possible values are `device`, `selections`, or `questions`. If value is `device`, the MFA answer is `1234`. If value is `selections`, the MFA answer is always the first option. If value is `questions`, the MFA answer is `answer_<i>_<j>` for the j-th question in the i-th round, starting from 0. For example, the answer to the first question in the second round is `answer_1_0`.
* @return type
**/
@ApiModelProperty(required = true, value = "Possible values are `device`, `selections`, or `questions`. If value is `device`, the MFA answer is `1234`. If value is `selections`, the MFA answer is always the first option. If value is `questions`, the MFA answer is `answer_<i>_<j>` for the j-th question in the i-th round, starting from 0. For example, the answer to the first question in the second round is `answer_1_0`.")
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public MFA questionRounds(Double questionRounds) {
this.questionRounds = questionRounds;
return this;
}
/**
* Number of rounds of questions. Required if value of `type` is `questions`.
* @return questionRounds
**/
@ApiModelProperty(required = true, value = "Number of rounds of questions. Required if value of `type` is `questions`. ")
public Double getQuestionRounds() {
return questionRounds;
}
public void setQuestionRounds(Double questionRounds) {
this.questionRounds = questionRounds;
}
public MFA questionsPerRound(Double questionsPerRound) {
this.questionsPerRound = questionsPerRound;
return this;
}
/**
* Number of questions per round. Required if value of `type` is `questions`. If value of type is `selections`, default value is 2.
* @return questionsPerRound
**/
@ApiModelProperty(required = true, value = "Number of questions per round. Required if value of `type` is `questions`. If value of type is `selections`, default value is 2.")
public Double getQuestionsPerRound() {
return questionsPerRound;
}
public void setQuestionsPerRound(Double questionsPerRound) {
this.questionsPerRound = questionsPerRound;
}
public MFA selectionRounds(Double selectionRounds) {
this.selectionRounds = selectionRounds;
return this;
}
/**
* Number of rounds of selections, used if `type` is `selections`. Defaults to 1.
* @return selectionRounds
**/
@ApiModelProperty(required = true, value = "Number of rounds of selections, used if `type` is `selections`. Defaults to 1.")
public Double getSelectionRounds() {
return selectionRounds;
}
public void setSelectionRounds(Double selectionRounds) {
this.selectionRounds = selectionRounds;
}
public MFA selectionsPerQuestion(Double selectionsPerQuestion) {
this.selectionsPerQuestion = selectionsPerQuestion;
return this;
}
/**
* Number of available answers per question, used if `type` is `selection`. Defaults to 2.
* @return selectionsPerQuestion
**/
@ApiModelProperty(required = true, value = "Number of available answers per question, used if `type` is `selection`. Defaults to 2. ")
public Double getSelectionsPerQuestion() {
return selectionsPerQuestion;
}
public void setSelectionsPerQuestion(Double selectionsPerQuestion) {
this.selectionsPerQuestion = selectionsPerQuestion;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
MFA MFA = (MFA) o;
return Objects.equals(this.type, MFA.type) &&
Objects.equals(this.questionRounds, MFA.questionRounds) &&
Objects.equals(this.questionsPerRound, MFA.questionsPerRound) &&
Objects.equals(this.selectionRounds, MFA.selectionRounds) &&
Objects.equals(this.selectionsPerQuestion, MFA.selectionsPerQuestion);
}
@Override
public int hashCode() {
return Objects.hash(type, questionRounds, questionsPerRound, selectionRounds, selectionsPerQuestion);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MFA {\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" questionRounds: ").append(toIndentedString(questionRounds)).append("\n");
sb.append(" questionsPerRound: ").append(toIndentedString(questionsPerRound)).append("\n");
sb.append(" selectionRounds: ").append(toIndentedString(selectionRounds)).append("\n");
sb.append(" selectionsPerQuestion: ").append(toIndentedString(selectionsPerQuestion)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransferEventSyncRequest.java | src/main/java/com/plaid/client/model/TransferEventSyncRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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/event/sync`
*/
@ApiModel(description = "Defines the request schema for `/transfer/event/sync`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferEventSyncRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_AFTER_ID = "after_id";
@SerializedName(SERIALIZED_NAME_AFTER_ID)
private Integer afterId;
public static final String SERIALIZED_NAME_COUNT = "count";
@SerializedName(SERIALIZED_NAME_COUNT)
private Integer count = 100;
public TransferEventSyncRequest 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 TransferEventSyncRequest 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 TransferEventSyncRequest afterId(Integer afterId) {
this.afterId = afterId;
return this;
}
/**
* The latest (largest) `event_id` fetched via the sync endpoint, or 0 initially.
* minimum: 0
* @return afterId
**/
@ApiModelProperty(required = true, value = "The latest (largest) `event_id` fetched via the sync endpoint, or 0 initially.")
public Integer getAfterId() {
return afterId;
}
public void setAfterId(Integer afterId) {
this.afterId = afterId;
}
public TransferEventSyncRequest count(Integer count) {
this.count = count;
return this;
}
/**
* The maximum number of transfer events to return.
* minimum: 1
* maximum: 500
* @return count
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The maximum number of transfer events to return.")
public Integer getCount() {
return count;
}
public void setCount(Integer count) {
this.count = count;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferEventSyncRequest transferEventSyncRequest = (TransferEventSyncRequest) o;
return Objects.equals(this.clientId, transferEventSyncRequest.clientId) &&
Objects.equals(this.secret, transferEventSyncRequest.secret) &&
Objects.equals(this.afterId, transferEventSyncRequest.afterId) &&
Objects.equals(this.count, transferEventSyncRequest.count);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, afterId, count);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferEventSyncRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" afterId: ").append(toIndentedString(afterId)).append("\n");
sb.append(" count: ").append(toIndentedString(count)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CraLoansApplicationsRegisterResponse.java | src/main/java/com/plaid/client/model/CraLoansApplicationsRegisterResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* CraLoansApplicationsRegisterResponse defines the response schema for `/cra/loans/applications/register`.
*/
@ApiModel(description = "CraLoansApplicationsRegisterResponse defines the response schema for `/cra/loans/applications/register`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraLoansApplicationsRegisterResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public CraLoansApplicationsRegisterResponse 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;
}
CraLoansApplicationsRegisterResponse craLoansApplicationsRegisterResponse = (CraLoansApplicationsRegisterResponse) o;
return Objects.equals(this.requestId, craLoansApplicationsRegisterResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraLoansApplicationsRegisterResponse {\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/PaystubPayFrequency.java | src/main/java/com/plaid/client/model/PaystubPayFrequency.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 at which the employee is paid. Possible values: `MONTHLY`, `BI-WEEKLY`, `WEEKLY`, `SEMI-MONTHLY`.
*/
@JsonAdapter(PaystubPayFrequency.Adapter.class)
public enum PaystubPayFrequency {
MONTHLY("MONTHLY"),
BI_WEEKLY("BI-WEEKLY"),
WEEKLY("WEEKLY"),
SEMI_MONTHLY("SEMI-MONTHLY"),
NULL("null"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
PaystubPayFrequency(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static PaystubPayFrequency fromValue(String value) {
for (PaystubPayFrequency b : PaystubPayFrequency.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null; }
public static class Adapter extends TypeAdapter<PaystubPayFrequency> {
@Override
public void write(final JsonWriter jsonWriter, final PaystubPayFrequency enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public PaystubPayFrequency read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return PaystubPayFrequency.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/TransactionsGetResponse.java | src/main/java/com/plaid/client/model/TransactionsGetResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.AccountBase;
import com.plaid.client.model.Item;
import com.plaid.client.model.Transaction;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* TransactionsGetResponse defines the response schema for `/transactions/get`
*/
@ApiModel(description = "TransactionsGetResponse defines the response schema for `/transactions/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransactionsGetResponse {
public static final String SERIALIZED_NAME_ACCOUNTS = "accounts";
@SerializedName(SERIALIZED_NAME_ACCOUNTS)
private List<AccountBase> accounts = new ArrayList<>();
public static final String SERIALIZED_NAME_TRANSACTIONS = "transactions";
@SerializedName(SERIALIZED_NAME_TRANSACTIONS)
private List<Transaction> transactions = new ArrayList<>();
public static final String SERIALIZED_NAME_TOTAL_TRANSACTIONS = "total_transactions";
@SerializedName(SERIALIZED_NAME_TOTAL_TRANSACTIONS)
private Integer totalTransactions;
public static final String SERIALIZED_NAME_ITEM = "item";
@SerializedName(SERIALIZED_NAME_ITEM)
private Item item;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public TransactionsGetResponse accounts(List<AccountBase> accounts) {
this.accounts = accounts;
return this;
}
public TransactionsGetResponse addAccountsItem(AccountBase accountsItem) {
this.accounts.add(accountsItem);
return this;
}
/**
* An array containing the `accounts` associated with the Item for which transactions are being returned. Each transaction can be mapped to its corresponding account via the `account_id` field.
* @return accounts
**/
@ApiModelProperty(required = true, value = "An array containing the `accounts` associated with the Item for which transactions are being returned. Each transaction can be mapped to its corresponding account via the `account_id` field.")
public List<AccountBase> getAccounts() {
return accounts;
}
public void setAccounts(List<AccountBase> accounts) {
this.accounts = accounts;
}
public TransactionsGetResponse transactions(List<Transaction> transactions) {
this.transactions = transactions;
return this;
}
public TransactionsGetResponse addTransactionsItem(Transaction transactionsItem) {
this.transactions.add(transactionsItem);
return this;
}
/**
* An array containing transactions from the account. Transactions are returned in reverse chronological order, with the most recent at the beginning of the array. The maximum number of transactions returned is determined by the `count` parameter.
* @return transactions
**/
@ApiModelProperty(required = true, value = "An array containing transactions from the account. Transactions are returned in reverse chronological order, with the most recent at the beginning of the array. The maximum number of transactions returned is determined by the `count` parameter.")
public List<Transaction> getTransactions() {
return transactions;
}
public void setTransactions(List<Transaction> transactions) {
this.transactions = transactions;
}
public TransactionsGetResponse totalTransactions(Integer totalTransactions) {
this.totalTransactions = totalTransactions;
return this;
}
/**
* The total number of transactions available within the date range specified. If `total_transactions` is larger than the size of the `transactions` array, more transactions are available and can be fetched via manipulating the `offset` parameter.
* @return totalTransactions
**/
@ApiModelProperty(required = true, value = "The total number of transactions available within the date range specified. If `total_transactions` is larger than the size of the `transactions` array, more transactions are available and can be fetched via manipulating the `offset` parameter.")
public Integer getTotalTransactions() {
return totalTransactions;
}
public void setTotalTransactions(Integer totalTransactions) {
this.totalTransactions = totalTransactions;
}
public TransactionsGetResponse item(Item item) {
this.item = item;
return this;
}
/**
* Get item
* @return item
**/
@ApiModelProperty(required = true, value = "")
public Item getItem() {
return item;
}
public void setItem(Item item) {
this.item = item;
}
public TransactionsGetResponse 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;
}
TransactionsGetResponse transactionsGetResponse = (TransactionsGetResponse) o;
return Objects.equals(this.accounts, transactionsGetResponse.accounts) &&
Objects.equals(this.transactions, transactionsGetResponse.transactions) &&
Objects.equals(this.totalTransactions, transactionsGetResponse.totalTransactions) &&
Objects.equals(this.item, transactionsGetResponse.item) &&
Objects.equals(this.requestId, transactionsGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(accounts, transactions, totalTransactions, item, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransactionsGetResponse {\n");
sb.append(" accounts: ").append(toIndentedString(accounts)).append("\n");
sb.append(" transactions: ").append(toIndentedString(transactions)).append("\n");
sb.append(" totalTransactions: ").append(toIndentedString(totalTransactions)).append("\n");
sb.append(" item: ").append(toIndentedString(item)).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/AddressPurposeLabel.java | src/main/java/com/plaid/client/model/AddressPurposeLabel.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* Field describing whether the associated address is being used for commercial or residential purposes. Note: This value will be `no_data` when Plaid does not have sufficient data to determine the address's use.
*/
@JsonAdapter(AddressPurposeLabel.Adapter.class)
public enum AddressPurposeLabel {
RESIDENTIAL("residential"),
COMMERCIAL("commercial"),
NO_DATA("no_data"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
AddressPurposeLabel(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static AddressPurposeLabel fromValue(String value) {
for (AddressPurposeLabel b : AddressPurposeLabel.values()) {
if (b.value.equals(value)) {
return b;
}
}
return AddressPurposeLabel.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<AddressPurposeLabel> {
@Override
public void write(final JsonWriter jsonWriter, final AddressPurposeLabel enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public AddressPurposeLabel read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return AddressPurposeLabel.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/AssetInvestmentTransactionType.java | src/main/java/com/plaid/client/model/AssetInvestmentTransactionType.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* Asset Investment Transaction Type Enumerated derived by Vendor.
*/
@JsonAdapter(AssetInvestmentTransactionType.Adapter.class)
public enum AssetInvestmentTransactionType {
BUY("Buy"),
SELL("Sell"),
DIVIDENDS("Dividends"),
INTEREST("Interest"),
TRANSFERS("Transfers"),
REINVESTMENTS("Reinvestments"),
FUNDSRECEIVED("FundsReceived"),
OTHER("Other"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
AssetInvestmentTransactionType(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static AssetInvestmentTransactionType fromValue(String value) {
for (AssetInvestmentTransactionType b : AssetInvestmentTransactionType.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null; }
public static class Adapter extends TypeAdapter<AssetInvestmentTransactionType> {
@Override
public void write(final JsonWriter jsonWriter, final AssetInvestmentTransactionType enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public AssetInvestmentTransactionType read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return AssetInvestmentTransactionType.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/TransferMetricsGetResponse.java | src/main/java/com/plaid/client/model/TransferMetricsGetResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.TransferMetricsGetAuthorizationUsage;
import com.plaid.client.model.TransferMetricsGetReturnRates;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines the response schema for `/transfer/metrics/get`
*/
@ApiModel(description = "Defines the response schema for `/transfer/metrics/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferMetricsGetResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public static final String SERIALIZED_NAME_DAILY_DEBIT_TRANSFER_VOLUME = "daily_debit_transfer_volume";
@SerializedName(SERIALIZED_NAME_DAILY_DEBIT_TRANSFER_VOLUME)
private String dailyDebitTransferVolume;
public static final String SERIALIZED_NAME_DAILY_CREDIT_TRANSFER_VOLUME = "daily_credit_transfer_volume";
@SerializedName(SERIALIZED_NAME_DAILY_CREDIT_TRANSFER_VOLUME)
private String dailyCreditTransferVolume;
public static final String SERIALIZED_NAME_MONTHLY_TRANSFER_VOLUME = "monthly_transfer_volume";
@SerializedName(SERIALIZED_NAME_MONTHLY_TRANSFER_VOLUME)
private String monthlyTransferVolume;
public static final String SERIALIZED_NAME_MONTHLY_DEBIT_TRANSFER_VOLUME = "monthly_debit_transfer_volume";
@SerializedName(SERIALIZED_NAME_MONTHLY_DEBIT_TRANSFER_VOLUME)
private String monthlyDebitTransferVolume;
public static final String SERIALIZED_NAME_MONTHLY_CREDIT_TRANSFER_VOLUME = "monthly_credit_transfer_volume";
@SerializedName(SERIALIZED_NAME_MONTHLY_CREDIT_TRANSFER_VOLUME)
private String monthlyCreditTransferVolume;
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_RETURN_RATES = "return_rates";
@SerializedName(SERIALIZED_NAME_RETURN_RATES)
private TransferMetricsGetReturnRates returnRates;
public static final String SERIALIZED_NAME_AUTHORIZATION_USAGE = "authorization_usage";
@SerializedName(SERIALIZED_NAME_AUTHORIZATION_USAGE)
private TransferMetricsGetAuthorizationUsage authorizationUsage;
public TransferMetricsGetResponse 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 TransferMetricsGetResponse dailyDebitTransferVolume(String dailyDebitTransferVolume) {
this.dailyDebitTransferVolume = dailyDebitTransferVolume;
return this;
}
/**
* Sum of dollar amount of debit transfers in last 24 hours (decimal string with two digits of precision e.g. \"10.00\").
* @return dailyDebitTransferVolume
**/
@ApiModelProperty(required = true, value = "Sum of dollar amount of debit transfers in last 24 hours (decimal string with two digits of precision e.g. \"10.00\").")
public String getDailyDebitTransferVolume() {
return dailyDebitTransferVolume;
}
public void setDailyDebitTransferVolume(String dailyDebitTransferVolume) {
this.dailyDebitTransferVolume = dailyDebitTransferVolume;
}
public TransferMetricsGetResponse dailyCreditTransferVolume(String dailyCreditTransferVolume) {
this.dailyCreditTransferVolume = dailyCreditTransferVolume;
return this;
}
/**
* Sum of dollar amount of credit transfers in last 24 hours (decimal string with two digits of precision e.g. \"10.00\").
* @return dailyCreditTransferVolume
**/
@ApiModelProperty(required = true, value = "Sum of dollar amount of credit transfers in last 24 hours (decimal string with two digits of precision e.g. \"10.00\").")
public String getDailyCreditTransferVolume() {
return dailyCreditTransferVolume;
}
public void setDailyCreditTransferVolume(String dailyCreditTransferVolume) {
this.dailyCreditTransferVolume = dailyCreditTransferVolume;
}
public TransferMetricsGetResponse monthlyTransferVolume(String monthlyTransferVolume) {
this.monthlyTransferVolume = monthlyTransferVolume;
return this;
}
/**
* Sum of dollar amount of credit and debit transfers in current calendar month (decimal string with two digits of precision e.g. \"10.00\").
* @return monthlyTransferVolume
**/
@ApiModelProperty(required = true, value = "Sum of dollar amount of credit and debit transfers in current calendar month (decimal string with two digits of precision e.g. \"10.00\").")
public String getMonthlyTransferVolume() {
return monthlyTransferVolume;
}
public void setMonthlyTransferVolume(String monthlyTransferVolume) {
this.monthlyTransferVolume = monthlyTransferVolume;
}
public TransferMetricsGetResponse monthlyDebitTransferVolume(String monthlyDebitTransferVolume) {
this.monthlyDebitTransferVolume = monthlyDebitTransferVolume;
return this;
}
/**
* Sum of dollar amount of debit transfers in current calendar month (decimal string with two digits of precision e.g. \"10.00\").
* @return monthlyDebitTransferVolume
**/
@ApiModelProperty(required = true, value = "Sum of dollar amount of debit transfers in current calendar month (decimal string with two digits of precision e.g. \"10.00\").")
public String getMonthlyDebitTransferVolume() {
return monthlyDebitTransferVolume;
}
public void setMonthlyDebitTransferVolume(String monthlyDebitTransferVolume) {
this.monthlyDebitTransferVolume = monthlyDebitTransferVolume;
}
public TransferMetricsGetResponse monthlyCreditTransferVolume(String monthlyCreditTransferVolume) {
this.monthlyCreditTransferVolume = monthlyCreditTransferVolume;
return this;
}
/**
* Sum of dollar amount of credit transfers in current calendar month (decimal string with two digits of precision e.g. \"10.00\").
* @return monthlyCreditTransferVolume
**/
@ApiModelProperty(required = true, value = "Sum of dollar amount of credit transfers in current calendar month (decimal string with two digits of precision e.g. \"10.00\").")
public String getMonthlyCreditTransferVolume() {
return monthlyCreditTransferVolume;
}
public void setMonthlyCreditTransferVolume(String monthlyCreditTransferVolume) {
this.monthlyCreditTransferVolume = monthlyCreditTransferVolume;
}
public TransferMetricsGetResponse isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The currency of the dollar amount, e.g. \"USD\".
* @return isoCurrencyCode
**/
@ApiModelProperty(required = true, value = "The currency of the dollar amount, e.g. \"USD\".")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public TransferMetricsGetResponse returnRates(TransferMetricsGetReturnRates returnRates) {
this.returnRates = returnRates;
return this;
}
/**
* Get returnRates
* @return returnRates
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public TransferMetricsGetReturnRates getReturnRates() {
return returnRates;
}
public void setReturnRates(TransferMetricsGetReturnRates returnRates) {
this.returnRates = returnRates;
}
public TransferMetricsGetResponse authorizationUsage(TransferMetricsGetAuthorizationUsage authorizationUsage) {
this.authorizationUsage = authorizationUsage;
return this;
}
/**
* Get authorizationUsage
* @return authorizationUsage
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public TransferMetricsGetAuthorizationUsage getAuthorizationUsage() {
return authorizationUsage;
}
public void setAuthorizationUsage(TransferMetricsGetAuthorizationUsage authorizationUsage) {
this.authorizationUsage = authorizationUsage;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferMetricsGetResponse transferMetricsGetResponse = (TransferMetricsGetResponse) o;
return Objects.equals(this.requestId, transferMetricsGetResponse.requestId) &&
Objects.equals(this.dailyDebitTransferVolume, transferMetricsGetResponse.dailyDebitTransferVolume) &&
Objects.equals(this.dailyCreditTransferVolume, transferMetricsGetResponse.dailyCreditTransferVolume) &&
Objects.equals(this.monthlyTransferVolume, transferMetricsGetResponse.monthlyTransferVolume) &&
Objects.equals(this.monthlyDebitTransferVolume, transferMetricsGetResponse.monthlyDebitTransferVolume) &&
Objects.equals(this.monthlyCreditTransferVolume, transferMetricsGetResponse.monthlyCreditTransferVolume) &&
Objects.equals(this.isoCurrencyCode, transferMetricsGetResponse.isoCurrencyCode) &&
Objects.equals(this.returnRates, transferMetricsGetResponse.returnRates) &&
Objects.equals(this.authorizationUsage, transferMetricsGetResponse.authorizationUsage);
}
@Override
public int hashCode() {
return Objects.hash(requestId, dailyDebitTransferVolume, dailyCreditTransferVolume, monthlyTransferVolume, monthlyDebitTransferVolume, monthlyCreditTransferVolume, isoCurrencyCode, returnRates, authorizationUsage);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferMetricsGetResponse {\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append(" dailyDebitTransferVolume: ").append(toIndentedString(dailyDebitTransferVolume)).append("\n");
sb.append(" dailyCreditTransferVolume: ").append(toIndentedString(dailyCreditTransferVolume)).append("\n");
sb.append(" monthlyTransferVolume: ").append(toIndentedString(monthlyTransferVolume)).append("\n");
sb.append(" monthlyDebitTransferVolume: ").append(toIndentedString(monthlyDebitTransferVolume)).append("\n");
sb.append(" monthlyCreditTransferVolume: ").append(toIndentedString(monthlyCreditTransferVolume)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" returnRates: ").append(toIndentedString(returnRates)).append("\n");
sb.append(" authorizationUsage: ").append(toIndentedString(authorizationUsage)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CraBankIncomeAccountMetadata.java | src/main/java/com/plaid/client/model/CraBankIncomeAccountMetadata.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
/**
* An object containing metadata about the extracted account.
*/
@ApiModel(description = "An object containing metadata about the extracted account.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraBankIncomeAccountMetadata {
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 CraBankIncomeAccountMetadata startDate(LocalDate startDate) {
this.startDate = startDate;
return this;
}
/**
* The date of the earliest extracted transaction, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (\"yyyy-mm-dd\").
* @return startDate
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The date of the earliest extracted transaction, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (\"yyyy-mm-dd\").")
public LocalDate getStartDate() {
return startDate;
}
public void setStartDate(LocalDate startDate) {
this.startDate = startDate;
}
public CraBankIncomeAccountMetadata endDate(LocalDate endDate) {
this.endDate = endDate;
return this;
}
/**
* The date of the most recent extracted transaction, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (\"yyyy-mm-dd\").
* @return endDate
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The date of the most recent extracted transaction, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (\"yyyy-mm-dd\").")
public LocalDate getEndDate() {
return endDate;
}
public void setEndDate(LocalDate endDate) {
this.endDate = endDate;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CraBankIncomeAccountMetadata craBankIncomeAccountMetadata = (CraBankIncomeAccountMetadata) o;
return Objects.equals(this.startDate, craBankIncomeAccountMetadata.startDate) &&
Objects.equals(this.endDate, craBankIncomeAccountMetadata.endDate);
}
@Override
public int hashCode() {
return Objects.hash(startDate, endDate);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraBankIncomeAccountMetadata {\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/BeaconDuplicateGetRequest.java | src/main/java/com/plaid/client/model/BeaconDuplicateGetRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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 getting a Beacon Duplicate
*/
@ApiModel(description = "Request input for getting a Beacon Duplicate")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BeaconDuplicateGetRequest {
public static final String SERIALIZED_NAME_BEACON_DUPLICATE_ID = "beacon_duplicate_id";
@SerializedName(SERIALIZED_NAME_BEACON_DUPLICATE_ID)
private String beaconDuplicateId;
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 BeaconDuplicateGetRequest beaconDuplicateId(String beaconDuplicateId) {
this.beaconDuplicateId = beaconDuplicateId;
return this;
}
/**
* ID of the associated Beacon Duplicate.
* @return beaconDuplicateId
**/
@ApiModelProperty(example = "becdup_11111111111111", required = true, value = "ID of the associated Beacon Duplicate.")
public String getBeaconDuplicateId() {
return beaconDuplicateId;
}
public void setBeaconDuplicateId(String beaconDuplicateId) {
this.beaconDuplicateId = beaconDuplicateId;
}
public BeaconDuplicateGetRequest 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 BeaconDuplicateGetRequest 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;
}
BeaconDuplicateGetRequest beaconDuplicateGetRequest = (BeaconDuplicateGetRequest) o;
return Objects.equals(this.beaconDuplicateId, beaconDuplicateGetRequest.beaconDuplicateId) &&
Objects.equals(this.clientId, beaconDuplicateGetRequest.clientId) &&
Objects.equals(this.secret, beaconDuplicateGetRequest.secret);
}
@Override
public int hashCode() {
return Objects.hash(beaconDuplicateId, clientId, secret);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BeaconDuplicateGetRequest {\n");
sb.append(" beaconDuplicateId: ").append(toIndentedString(beaconDuplicateId)).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/CreditFreddieMacAssetTransaction.java | src/main/java/com/plaid/client/model/CreditFreddieMacAssetTransaction.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.AssetTransactionDescription;
import com.plaid.client.model.AssetTransactionDetail;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* An object representing...
*/
@ApiModel(description = "An object representing...")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditFreddieMacAssetTransaction {
public static final String SERIALIZED_NAME_A_S_S_E_T_T_R_A_N_S_A_C_T_I_O_N_D_E_T_A_I_L = "ASSET_TRANSACTION_DETAIL";
@SerializedName(SERIALIZED_NAME_A_S_S_E_T_T_R_A_N_S_A_C_T_I_O_N_D_E_T_A_I_L)
private AssetTransactionDetail ASSET_TRANSACTION_DETAIL;
public static final String SERIALIZED_NAME_A_S_S_E_T_T_R_A_N_S_A_C_T_I_O_N_D_E_S_C_R_I_P_T_I_O_N = "ASSET_TRANSACTION_DESCRIPTION";
@SerializedName(SERIALIZED_NAME_A_S_S_E_T_T_R_A_N_S_A_C_T_I_O_N_D_E_S_C_R_I_P_T_I_O_N)
private List<AssetTransactionDescription> ASSET_TRANSACTION_DESCRIPTION = new ArrayList<>();
public CreditFreddieMacAssetTransaction ASSET_TRANSACTION_DETAIL(AssetTransactionDetail ASSET_TRANSACTION_DETAIL) {
this.ASSET_TRANSACTION_DETAIL = ASSET_TRANSACTION_DETAIL;
return this;
}
/**
* Get ASSET_TRANSACTION_DETAIL
* @return ASSET_TRANSACTION_DETAIL
**/
@ApiModelProperty(required = true, value = "")
public AssetTransactionDetail getASSETTRANSACTIONDETAIL() {
return ASSET_TRANSACTION_DETAIL;
}
public void setASSETTRANSACTIONDETAIL(AssetTransactionDetail ASSET_TRANSACTION_DETAIL) {
this.ASSET_TRANSACTION_DETAIL = ASSET_TRANSACTION_DETAIL;
}
public CreditFreddieMacAssetTransaction ASSET_TRANSACTION_DESCRIPTION(List<AssetTransactionDescription> ASSET_TRANSACTION_DESCRIPTION) {
this.ASSET_TRANSACTION_DESCRIPTION = ASSET_TRANSACTION_DESCRIPTION;
return this;
}
public CreditFreddieMacAssetTransaction addASSETTRANSACTIONDESCRIPTIONItem(AssetTransactionDescription ASSET_TRANSACTION_DESCRIPTIONItem) {
this.ASSET_TRANSACTION_DESCRIPTION.add(ASSET_TRANSACTION_DESCRIPTIONItem);
return this;
}
/**
* Documentation not found in the MISMO model viewer and not provided by Freddie Mac.
* @return ASSET_TRANSACTION_DESCRIPTION
**/
@ApiModelProperty(required = true, value = "Documentation not found in the MISMO model viewer and not provided by Freddie Mac.")
public List<AssetTransactionDescription> getASSETTRANSACTIONDESCRIPTION() {
return ASSET_TRANSACTION_DESCRIPTION;
}
public void setASSETTRANSACTIONDESCRIPTION(List<AssetTransactionDescription> ASSET_TRANSACTION_DESCRIPTION) {
this.ASSET_TRANSACTION_DESCRIPTION = ASSET_TRANSACTION_DESCRIPTION;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreditFreddieMacAssetTransaction creditFreddieMacAssetTransaction = (CreditFreddieMacAssetTransaction) o;
return Objects.equals(this.ASSET_TRANSACTION_DETAIL, creditFreddieMacAssetTransaction.ASSET_TRANSACTION_DETAIL) &&
Objects.equals(this.ASSET_TRANSACTION_DESCRIPTION, creditFreddieMacAssetTransaction.ASSET_TRANSACTION_DESCRIPTION);
}
@Override
public int hashCode() {
return Objects.hash(ASSET_TRANSACTION_DETAIL, ASSET_TRANSACTION_DESCRIPTION);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditFreddieMacAssetTransaction {\n");
sb.append(" ASSET_TRANSACTION_DETAIL: ").append(toIndentedString(ASSET_TRANSACTION_DETAIL)).append("\n");
sb.append(" ASSET_TRANSACTION_DESCRIPTION: ").append(toIndentedString(ASSET_TRANSACTION_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/CounterpartyNumbersBACS.java | src/main/java/com/plaid/client/model/CounterpartyNumbersBACS.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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 a UK bank account via BACS.
*/
@ApiModel(description = "Identifying information for a UK bank account via BACS.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CounterpartyNumbersBACS {
public static final String SERIALIZED_NAME_ACCOUNT = "account";
@SerializedName(SERIALIZED_NAME_ACCOUNT)
private String account;
public static final String SERIALIZED_NAME_SORT_CODE = "sort_code";
@SerializedName(SERIALIZED_NAME_SORT_CODE)
private String sortCode;
public CounterpartyNumbersBACS account(String account) {
this.account = account;
return this;
}
/**
* The BACS account number for the account.
* @return account
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The BACS account number for the account.")
public String getAccount() {
return account;
}
public void setAccount(String account) {
this.account = account;
}
public CounterpartyNumbersBACS sortCode(String sortCode) {
this.sortCode = sortCode;
return this;
}
/**
* The BACS sort code for the account.
* @return sortCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The BACS sort code for the account.")
public String getSortCode() {
return sortCode;
}
public void setSortCode(String sortCode) {
this.sortCode = sortCode;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CounterpartyNumbersBACS counterpartyNumbersBACS = (CounterpartyNumbersBACS) o;
return Objects.equals(this.account, counterpartyNumbersBACS.account) &&
Objects.equals(this.sortCode, counterpartyNumbersBACS.sortCode);
}
@Override
public int hashCode() {
return Objects.hash(account, sortCode);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CounterpartyNumbersBACS {\n");
sb.append(" account: ").append(toIndentedString(account)).append("\n");
sb.append(" sortCode: ").append(toIndentedString(sortCode)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ItemWithConsentFieldsAllOf.java | src/main/java/com/plaid/client/model/ItemWithConsentFieldsAllOf.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.ItemConsentedDataScope;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.List;
/**
* ItemWithConsentFieldsAllOf
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ItemWithConsentFieldsAllOf {
public static final String SERIALIZED_NAME_CREATED_AT = "created_at";
@SerializedName(SERIALIZED_NAME_CREATED_AT)
private OffsetDateTime createdAt;
public static final String SERIALIZED_NAME_CONSENTED_USE_CASES = "consented_use_cases";
@SerializedName(SERIALIZED_NAME_CONSENTED_USE_CASES)
private List<String> consentedUseCases = null;
public static final String SERIALIZED_NAME_CONSENTED_DATA_SCOPES = "consented_data_scopes";
@SerializedName(SERIALIZED_NAME_CONSENTED_DATA_SCOPES)
private List<ItemConsentedDataScope> consentedDataScopes = null;
public ItemWithConsentFieldsAllOf createdAt(OffsetDateTime createdAt) {
this.createdAt = createdAt;
return this;
}
/**
* The date and time when the Item was created, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
* @return createdAt
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The date and time when the Item was created, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.")
public OffsetDateTime getCreatedAt() {
return createdAt;
}
public void setCreatedAt(OffsetDateTime createdAt) {
this.createdAt = createdAt;
}
public ItemWithConsentFieldsAllOf consentedUseCases(List<String> consentedUseCases) {
this.consentedUseCases = consentedUseCases;
return this;
}
public ItemWithConsentFieldsAllOf addConsentedUseCasesItem(String consentedUseCasesItem) {
if (this.consentedUseCases == null) {
this.consentedUseCases = new ArrayList<>();
}
this.consentedUseCases.add(consentedUseCasesItem);
return this;
}
/**
* A list of use cases that the user has consented to for the Item via [Data Transparency Messaging](https://plaid.com/docs/link/data-transparency-messaging-migration-guide). You can see the full list of use cases or update the list of use cases to request at any time via the Link Customization section of the [Plaid Dashboard](https://dashboard.plaid.com/link/data-transparency-v5).
* @return consentedUseCases
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A list of use cases that the user has consented to for the Item via [Data Transparency Messaging](https://plaid.com/docs/link/data-transparency-messaging-migration-guide). You can see the full list of use cases or update the list of use cases to request at any time via the Link Customization section of the [Plaid Dashboard](https://dashboard.plaid.com/link/data-transparency-v5).")
public List<String> getConsentedUseCases() {
return consentedUseCases;
}
public void setConsentedUseCases(List<String> consentedUseCases) {
this.consentedUseCases = consentedUseCases;
}
public ItemWithConsentFieldsAllOf consentedDataScopes(List<ItemConsentedDataScope> consentedDataScopes) {
this.consentedDataScopes = consentedDataScopes;
return this;
}
public ItemWithConsentFieldsAllOf addConsentedDataScopesItem(ItemConsentedDataScope consentedDataScopesItem) {
if (this.consentedDataScopes == null) {
this.consentedDataScopes = new ArrayList<>();
}
this.consentedDataScopes.add(consentedDataScopesItem);
return this;
}
/**
* A list of data scopes that the user has consented to for the Item via [Data Transparency Messaging](https://plaid.com/docs/link/data-transparency-messaging-migration-guide). These are based on the `consented_products`; see the [full mapping](https://plaid.com/docs/link/data-transparency-messaging-migration-guide/#data-scopes-by-product) of data scopes and products.
* @return consentedDataScopes
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A list of data scopes that the user has consented to for the Item via [Data Transparency Messaging](https://plaid.com/docs/link/data-transparency-messaging-migration-guide). These are based on the `consented_products`; see the [full mapping](https://plaid.com/docs/link/data-transparency-messaging-migration-guide/#data-scopes-by-product) of data scopes and products.")
public List<ItemConsentedDataScope> getConsentedDataScopes() {
return consentedDataScopes;
}
public void setConsentedDataScopes(List<ItemConsentedDataScope> consentedDataScopes) {
this.consentedDataScopes = consentedDataScopes;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ItemWithConsentFieldsAllOf itemWithConsentFieldsAllOf = (ItemWithConsentFieldsAllOf) o;
return Objects.equals(this.createdAt, itemWithConsentFieldsAllOf.createdAt) &&
Objects.equals(this.consentedUseCases, itemWithConsentFieldsAllOf.consentedUseCases) &&
Objects.equals(this.consentedDataScopes, itemWithConsentFieldsAllOf.consentedDataScopes);
}
@Override
public int hashCode() {
return Objects.hash(createdAt, consentedUseCases, consentedDataScopes);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ItemWithConsentFieldsAllOf {\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" consentedUseCases: ").append(toIndentedString(consentedUseCases)).append("\n");
sb.append(" consentedDataScopes: ").append(toIndentedString(consentedDataScopes)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ProcessorBankTransferCreateResponse.java | src/main/java/com/plaid/client/model/ProcessorBankTransferCreateResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.BankTransfer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines the response schema for `/processor/bank_transfer/create`
*/
@ApiModel(description = "Defines the response schema for `/processor/bank_transfer/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ProcessorBankTransferCreateResponse {
public static final String SERIALIZED_NAME_BANK_TRANSFER = "bank_transfer";
@SerializedName(SERIALIZED_NAME_BANK_TRANSFER)
private BankTransfer bankTransfer;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public ProcessorBankTransferCreateResponse bankTransfer(BankTransfer bankTransfer) {
this.bankTransfer = bankTransfer;
return this;
}
/**
* Get bankTransfer
* @return bankTransfer
**/
@ApiModelProperty(required = true, value = "")
public BankTransfer getBankTransfer() {
return bankTransfer;
}
public void setBankTransfer(BankTransfer bankTransfer) {
this.bankTransfer = bankTransfer;
}
public ProcessorBankTransferCreateResponse 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;
}
ProcessorBankTransferCreateResponse processorBankTransferCreateResponse = (ProcessorBankTransferCreateResponse) o;
return Objects.equals(this.bankTransfer, processorBankTransferCreateResponse.bankTransfer) &&
Objects.equals(this.requestId, processorBankTransferCreateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(bankTransfer, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProcessorBankTransferCreateResponse {\n");
sb.append(" bankTransfer: ").append(toIndentedString(bankTransfer)).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/CountryCode.java | src/main/java/com/plaid/client/model/CountryCode.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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;
/**
* ISO-3166-1 alpha-2 country code standard.
*/
@JsonAdapter(CountryCode.Adapter.class)
public enum CountryCode {
US("US"),
GB("GB"),
ES("ES"),
NL("NL"),
FR("FR"),
IE("IE"),
CA("CA"),
DE("DE"),
IT("IT"),
PL("PL"),
DK("DK"),
NO("NO"),
SE("SE"),
EE("EE"),
LT("LT"),
LV("LV"),
PT("PT"),
BE("BE"),
AT("AT"),
FI("FI"),
// 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;
CountryCode(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static CountryCode fromValue(String value) {
for (CountryCode b : CountryCode.values()) {
if (b.value.equals(value)) {
return b;
}
}
return CountryCode.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<CountryCode> {
@Override
public void write(final JsonWriter jsonWriter, final CountryCode enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public CountryCode read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return CountryCode.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/LinkSessionSuccessMetadataInstitution.java | src/main/java/com/plaid/client/model/LinkSessionSuccessMetadataInstitution.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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 institution object. If the Item was created via Same-Day or Instant micro-deposit verification, will be `null`.
*/
@ApiModel(description = "An institution object. If the Item was created via Same-Day or Instant micro-deposit verification, will be `null`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkSessionSuccessMetadataInstitution {
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public static final String SERIALIZED_NAME_INSTITUTION_ID = "institution_id";
@SerializedName(SERIALIZED_NAME_INSTITUTION_ID)
private String institutionId;
public LinkSessionSuccessMetadataInstitution name(String name) {
this.name = name;
return this;
}
/**
* The full institution name, such as `'Wells Fargo'`
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The full institution name, such as `'Wells Fargo'`")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public LinkSessionSuccessMetadataInstitution institutionId(String institutionId) {
this.institutionId = institutionId;
return this;
}
/**
* The Plaid institution identifier
* @return institutionId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The Plaid institution identifier")
public String getInstitutionId() {
return institutionId;
}
public void setInstitutionId(String institutionId) {
this.institutionId = institutionId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkSessionSuccessMetadataInstitution linkSessionSuccessMetadataInstitution = (LinkSessionSuccessMetadataInstitution) o;
return Objects.equals(this.name, linkSessionSuccessMetadataInstitution.name) &&
Objects.equals(this.institutionId, linkSessionSuccessMetadataInstitution.institutionId);
}
@Override
public int hashCode() {
return Objects.hash(name, institutionId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkSessionSuccessMetadataInstitution {\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" institutionId: ").append(toIndentedString(institutionId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/AssetReportItem.java | src/main/java/com/plaid/client/model/AssetReportItem.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.AccountAssets;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.List;
/**
* A representation of an Item within an Asset Report.
*/
@ApiModel(description = "A representation of an Item within an Asset Report.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class AssetReportItem {
public static final String SERIALIZED_NAME_ITEM_ID = "item_id";
@SerializedName(SERIALIZED_NAME_ITEM_ID)
private String itemId;
public static final String SERIALIZED_NAME_INSTITUTION_NAME = "institution_name";
@SerializedName(SERIALIZED_NAME_INSTITUTION_NAME)
private String institutionName;
public static final String SERIALIZED_NAME_INSTITUTION_ID = "institution_id";
@SerializedName(SERIALIZED_NAME_INSTITUTION_ID)
private String institutionId;
public static final String SERIALIZED_NAME_DATE_LAST_UPDATED = "date_last_updated";
@SerializedName(SERIALIZED_NAME_DATE_LAST_UPDATED)
private OffsetDateTime dateLastUpdated;
public static final String SERIALIZED_NAME_ACCOUNTS = "accounts";
@SerializedName(SERIALIZED_NAME_ACCOUNTS)
private List<AccountAssets> accounts = new ArrayList<>();
public AssetReportItem 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 AssetReportItem institutionName(String institutionName) {
this.institutionName = institutionName;
return this;
}
/**
* The full financial institution name associated with the Item.
* @return institutionName
**/
@ApiModelProperty(required = true, value = "The full financial institution name associated with the Item.")
public String getInstitutionName() {
return institutionName;
}
public void setInstitutionName(String institutionName) {
this.institutionName = institutionName;
}
public AssetReportItem institutionId(String institutionId) {
this.institutionId = institutionId;
return this;
}
/**
* The id of the financial institution associated with the Item.
* @return institutionId
**/
@ApiModelProperty(required = true, value = "The id of the financial institution associated with the Item.")
public String getInstitutionId() {
return institutionId;
}
public void setInstitutionId(String institutionId) {
this.institutionId = institutionId;
}
public AssetReportItem dateLastUpdated(OffsetDateTime dateLastUpdated) {
this.dateLastUpdated = dateLastUpdated;
return this;
}
/**
* The date and time when this Item’s data was last retrieved from the financial institution, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
* @return dateLastUpdated
**/
@ApiModelProperty(required = true, value = "The date and time when this Item’s data was last retrieved from the financial institution, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.")
public OffsetDateTime getDateLastUpdated() {
return dateLastUpdated;
}
public void setDateLastUpdated(OffsetDateTime dateLastUpdated) {
this.dateLastUpdated = dateLastUpdated;
}
public AssetReportItem accounts(List<AccountAssets> accounts) {
this.accounts = accounts;
return this;
}
public AssetReportItem addAccountsItem(AccountAssets accountsItem) {
this.accounts.add(accountsItem);
return this;
}
/**
* Data about each of the accounts open on the Item.
* @return accounts
**/
@ApiModelProperty(required = true, value = "Data about each of the accounts open on the Item.")
public List<AccountAssets> getAccounts() {
return accounts;
}
public void setAccounts(List<AccountAssets> accounts) {
this.accounts = accounts;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AssetReportItem assetReportItem = (AssetReportItem) o;
return Objects.equals(this.itemId, assetReportItem.itemId) &&
Objects.equals(this.institutionName, assetReportItem.institutionName) &&
Objects.equals(this.institutionId, assetReportItem.institutionId) &&
Objects.equals(this.dateLastUpdated, assetReportItem.dateLastUpdated) &&
Objects.equals(this.accounts, assetReportItem.accounts);
}
@Override
public int hashCode() {
return Objects.hash(itemId, institutionName, institutionId, dateLastUpdated, accounts);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AssetReportItem {\n");
sb.append(" itemId: ").append(toIndentedString(itemId)).append("\n");
sb.append(" institutionName: ").append(toIndentedString(institutionName)).append("\n");
sb.append(" institutionId: ").append(toIndentedString(institutionId)).append("\n");
sb.append(" dateLastUpdated: ").append(toIndentedString(dateLastUpdated)).append("\n");
sb.append(" accounts: ").append(toIndentedString(accounts)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/NumbersRetirement401k.java | src/main/java/com/plaid/client/model/NumbersRetirement401k.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Identifying information for transferring holdings from a 401k account to another 401k account or IRA via the manual 401k rollover process.
*/
@ApiModel(description = "Identifying information for transferring holdings from a 401k account to another 401k account or IRA via the manual 401k rollover process.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class NumbersRetirement401k {
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
private String accountId;
public static final String SERIALIZED_NAME_PLAN = "plan";
@SerializedName(SERIALIZED_NAME_PLAN)
private String plan;
public static final String SERIALIZED_NAME_ACCOUNT = "account";
@SerializedName(SERIALIZED_NAME_ACCOUNT)
private String account;
public NumbersRetirement401k 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 NumbersRetirement401k plan(String plan) {
this.plan = plan;
return this;
}
/**
* The plan number for the employer's 401k retirement plan
* @return plan
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The plan number for the employer's 401k retirement plan")
public String getPlan() {
return plan;
}
public void setPlan(String plan) {
this.plan = plan;
}
public NumbersRetirement401k account(String account) {
this.account = account;
return this;
}
/**
* The full account number for the account
* @return account
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The full account number for the account")
public String getAccount() {
return account;
}
public void setAccount(String account) {
this.account = account;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
NumbersRetirement401k numbersRetirement401k = (NumbersRetirement401k) o;
return Objects.equals(this.accountId, numbersRetirement401k.accountId) &&
Objects.equals(this.plan, numbersRetirement401k.plan) &&
Objects.equals(this.account, numbersRetirement401k.account);
}
@Override
public int hashCode() {
return Objects.hash(accountId, plan, account);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class NumbersRetirement401k {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" plan: ").append(toIndentedString(plan)).append("\n");
sb.append(" account: ").append(toIndentedString(account)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CraPartnerInsightsCompleteWebhook.java | src/main/java/com/plaid/client/model/CraPartnerInsightsCompleteWebhook.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.WebhookEnvironmentValues;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Fired when a partner insights report has finished generating and results are available
*/
@ApiModel(description = "Fired when a partner insights report has finished generating and results are available")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraPartnerInsightsCompleteWebhook {
public static final String SERIALIZED_NAME_WEBHOOK_TYPE = "webhook_type";
@SerializedName(SERIALIZED_NAME_WEBHOOK_TYPE)
private String webhookType;
public static final String SERIALIZED_NAME_WEBHOOK_CODE = "webhook_code";
@SerializedName(SERIALIZED_NAME_WEBHOOK_CODE)
private String webhookCode;
public static final String SERIALIZED_NAME_USER_ID = "user_id";
@SerializedName(SERIALIZED_NAME_USER_ID)
private String userId;
public static final String SERIALIZED_NAME_ENVIRONMENT = "environment";
@SerializedName(SERIALIZED_NAME_ENVIRONMENT)
private WebhookEnvironmentValues environment;
public CraPartnerInsightsCompleteWebhook webhookType(String webhookType) {
this.webhookType = webhookType;
return this;
}
/**
* `CRA_INSIGHTS`
* @return webhookType
**/
@ApiModelProperty(required = true, value = "`CRA_INSIGHTS`")
public String getWebhookType() {
return webhookType;
}
public void setWebhookType(String webhookType) {
this.webhookType = webhookType;
}
public CraPartnerInsightsCompleteWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `PARTNER_INSIGHTS_COMPLETE`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`PARTNER_INSIGHTS_COMPLETE`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public CraPartnerInsightsCompleteWebhook userId(String userId) {
this.userId = userId;
return this;
}
/**
* The `user_id` corresponding to the user the webhook has fired for.
* @return userId
**/
@ApiModelProperty(required = true, value = "The `user_id` corresponding to the user the webhook has fired for.")
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public CraPartnerInsightsCompleteWebhook 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;
}
CraPartnerInsightsCompleteWebhook craPartnerInsightsCompleteWebhook = (CraPartnerInsightsCompleteWebhook) o;
return Objects.equals(this.webhookType, craPartnerInsightsCompleteWebhook.webhookType) &&
Objects.equals(this.webhookCode, craPartnerInsightsCompleteWebhook.webhookCode) &&
Objects.equals(this.userId, craPartnerInsightsCompleteWebhook.userId) &&
Objects.equals(this.environment, craPartnerInsightsCompleteWebhook.environment);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, userId, environment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraPartnerInsightsCompleteWebhook {\n");
sb.append(" webhookType: ").append(toIndentedString(webhookType)).append("\n");
sb.append(" webhookCode: ").append(toIndentedString(webhookCode)).append("\n");
sb.append(" userId: ").append(toIndentedString(userId)).append("\n");
sb.append(" environment: ").append(toIndentedString(environment)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/PendingDisconnectWebhookReason.java | src/main/java/com/plaid/client/model/PendingDisconnectWebhookReason.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* Reason why the item is about to be disconnected. `INSTITUTION_MIGRATION`: The institution is moving to API or to a different integration. For example, this can occur when an institution moves from a non-OAuth integration to an OAuth integration. `INSTITUTION_TOKEN_EXPIRATION`: The consent on an Item associated with a US or CA institution is about to expire.
*/
@JsonAdapter(PendingDisconnectWebhookReason.Adapter.class)
public enum PendingDisconnectWebhookReason {
MIGRATION("INSTITUTION_MIGRATION"),
TOKEN_EXPIRATION("INSTITUTION_TOKEN_EXPIRATION"),
// 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;
PendingDisconnectWebhookReason(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static PendingDisconnectWebhookReason fromValue(String value) {
for (PendingDisconnectWebhookReason b : PendingDisconnectWebhookReason.values()) {
if (b.value.equals(value)) {
return b;
}
}
return PendingDisconnectWebhookReason.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<PendingDisconnectWebhookReason> {
@Override
public void write(final JsonWriter jsonWriter, final PendingDisconnectWebhookReason enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public PendingDisconnectWebhookReason read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return PendingDisconnectWebhookReason.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/Wallet.java | src/main/java/com/plaid/client/model/Wallet.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.WalletBalance;
import com.plaid.client.model.WalletNumbers;
import com.plaid.client.model.WalletStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* An object representing the e-wallet
*/
@ApiModel(description = "An object representing the e-wallet")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class Wallet {
public static final String SERIALIZED_NAME_WALLET_ID = "wallet_id";
@SerializedName(SERIALIZED_NAME_WALLET_ID)
private String walletId;
public static final String SERIALIZED_NAME_BALANCE = "balance";
@SerializedName(SERIALIZED_NAME_BALANCE)
private WalletBalance balance;
public static final String SERIALIZED_NAME_NUMBERS = "numbers";
@SerializedName(SERIALIZED_NAME_NUMBERS)
private WalletNumbers numbers;
public static final String SERIALIZED_NAME_RECIPIENT_ID = "recipient_id";
@SerializedName(SERIALIZED_NAME_RECIPIENT_ID)
private String recipientId;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private WalletStatus status;
public Wallet walletId(String walletId) {
this.walletId = walletId;
return this;
}
/**
* A unique ID identifying the e-wallet
* @return walletId
**/
@ApiModelProperty(required = true, value = "A unique ID identifying the e-wallet")
public String getWalletId() {
return walletId;
}
public void setWalletId(String walletId) {
this.walletId = walletId;
}
public Wallet balance(WalletBalance balance) {
this.balance = balance;
return this;
}
/**
* Get balance
* @return balance
**/
@ApiModelProperty(required = true, value = "")
public WalletBalance getBalance() {
return balance;
}
public void setBalance(WalletBalance balance) {
this.balance = balance;
}
public Wallet numbers(WalletNumbers numbers) {
this.numbers = numbers;
return this;
}
/**
* Get numbers
* @return numbers
**/
@ApiModelProperty(required = true, value = "")
public WalletNumbers getNumbers() {
return numbers;
}
public void setNumbers(WalletNumbers numbers) {
this.numbers = numbers;
}
public Wallet recipientId(String recipientId) {
this.recipientId = recipientId;
return this;
}
/**
* The ID of the recipient that corresponds to the e-wallet account numbers
* @return recipientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The ID of the recipient that corresponds to the e-wallet account numbers")
public String getRecipientId() {
return recipientId;
}
public void setRecipientId(String recipientId) {
this.recipientId = recipientId;
}
public Wallet status(WalletStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@ApiModelProperty(required = true, value = "")
public WalletStatus getStatus() {
return status;
}
public void setStatus(WalletStatus status) {
this.status = status;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Wallet wallet = (Wallet) o;
return Objects.equals(this.walletId, wallet.walletId) &&
Objects.equals(this.balance, wallet.balance) &&
Objects.equals(this.numbers, wallet.numbers) &&
Objects.equals(this.recipientId, wallet.recipientId) &&
Objects.equals(this.status, wallet.status);
}
@Override
public int hashCode() {
return Objects.hash(walletId, balance, numbers, recipientId, status);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Wallet {\n");
sb.append(" walletId: ").append(toIndentedString(walletId)).append("\n");
sb.append(" balance: ").append(toIndentedString(balance)).append("\n");
sb.append(" numbers: ").append(toIndentedString(numbers)).append("\n");
sb.append(" recipientId: ").append(toIndentedString(recipientId)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransferRefundCreateResponse.java | src/main/java/com/plaid/client/model/TransferRefundCreateResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.TransferRefund;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines the response schema for `/transfer/refund/create`
*/
@ApiModel(description = "Defines the response schema for `/transfer/refund/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferRefundCreateResponse {
public static final String SERIALIZED_NAME_REFUND = "refund";
@SerializedName(SERIALIZED_NAME_REFUND)
private TransferRefund refund;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public TransferRefundCreateResponse refund(TransferRefund refund) {
this.refund = refund;
return this;
}
/**
* Get refund
* @return refund
**/
@ApiModelProperty(required = true, value = "")
public TransferRefund getRefund() {
return refund;
}
public void setRefund(TransferRefund refund) {
this.refund = refund;
}
public TransferRefundCreateResponse 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;
}
TransferRefundCreateResponse transferRefundCreateResponse = (TransferRefundCreateResponse) o;
return Objects.equals(this.refund, transferRefundCreateResponse.refund) &&
Objects.equals(this.requestId, transferRefundCreateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(refund, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferRefundCreateResponse {\n");
sb.append(" refund: ").append(toIndentedString(refund)).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/InstitutionsSearchRequest.java | src/main/java/com/plaid/client/model/InstitutionsSearchRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.CountryCode;
import com.plaid.client.model.InstitutionsSearchRequestOptions;
import com.plaid.client.model.Products;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* InstitutionsSearchRequest defines the request schema for `/institutions/search`
*/
@ApiModel(description = "InstitutionsSearchRequest defines the request schema for `/institutions/search`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class InstitutionsSearchRequest {
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_QUERY = "query";
@SerializedName(SERIALIZED_NAME_QUERY)
private String query;
public static final String SERIALIZED_NAME_PRODUCTS = "products";
@SerializedName(SERIALIZED_NAME_PRODUCTS)
private List<Products> products = null;
public static final String SERIALIZED_NAME_COUNTRY_CODES = "country_codes";
@SerializedName(SERIALIZED_NAME_COUNTRY_CODES)
private List<CountryCode> countryCodes = new ArrayList<>();
public static final String SERIALIZED_NAME_OPTIONS = "options";
@SerializedName(SERIALIZED_NAME_OPTIONS)
private InstitutionsSearchRequestOptions options;
public InstitutionsSearchRequest 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 InstitutionsSearchRequest 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 InstitutionsSearchRequest query(String query) {
this.query = query;
return this;
}
/**
* The search query. Institutions with names matching the query are returned
* @return query
**/
@ApiModelProperty(required = true, value = "The search query. Institutions with names matching the query are returned")
public String getQuery() {
return query;
}
public void setQuery(String query) {
this.query = query;
}
public InstitutionsSearchRequest products(List<Products> products) {
this.products = products;
return this;
}
public InstitutionsSearchRequest addProductsItem(Products productsItem) {
if (this.products == null) {
this.products = new ArrayList<>();
}
this.products.add(productsItem);
return this;
}
/**
* Filter the Institutions based on whether they support all products listed in `products`. Provide `null` to get institutions regardless of supported products. Note that when `auth` is specified as a product, if you are enabled for Instant Match or Automated Micro-deposits, institutions that support those products will be returned even if `auth` is not present in their product array. To search for Transfer support, use `auth`; to search for Signal Transaction Scores support, use `balance`.
* @return products
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Filter the Institutions based on whether they support all products listed in `products`. Provide `null` to get institutions regardless of supported products. Note that when `auth` is specified as a product, if you are enabled for Instant Match or Automated Micro-deposits, institutions that support those products will be returned even if `auth` is not present in their product array. To search for Transfer support, use `auth`; to search for Signal Transaction Scores support, use `balance`.")
public List<Products> getProducts() {
return products;
}
public void setProducts(List<Products> products) {
this.products = products;
}
public InstitutionsSearchRequest countryCodes(List<CountryCode> countryCodes) {
this.countryCodes = countryCodes;
return this;
}
public InstitutionsSearchRequest addCountryCodesItem(CountryCode countryCodesItem) {
this.countryCodes.add(countryCodesItem);
return this;
}
/**
* Specify which country or countries to include institutions from, using the ISO-3166-1 alpha-2 country code standard. In API versions 2019-05-29 and earlier, the `country_codes` parameter is an optional parameter within the `options` object and will default to `[US]` if it is not supplied.
* @return countryCodes
**/
@ApiModelProperty(required = true, value = "Specify which country or countries to include institutions from, using the ISO-3166-1 alpha-2 country code standard. In API versions 2019-05-29 and earlier, the `country_codes` parameter is an optional parameter within the `options` object and will default to `[US]` if it is not supplied. ")
public List<CountryCode> getCountryCodes() {
return countryCodes;
}
public void setCountryCodes(List<CountryCode> countryCodes) {
this.countryCodes = countryCodes;
}
public InstitutionsSearchRequest options(InstitutionsSearchRequestOptions options) {
this.options = options;
return this;
}
/**
* Get options
* @return options
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public InstitutionsSearchRequestOptions getOptions() {
return options;
}
public void setOptions(InstitutionsSearchRequestOptions options) {
this.options = options;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
InstitutionsSearchRequest institutionsSearchRequest = (InstitutionsSearchRequest) o;
return Objects.equals(this.clientId, institutionsSearchRequest.clientId) &&
Objects.equals(this.secret, institutionsSearchRequest.secret) &&
Objects.equals(this.query, institutionsSearchRequest.query) &&
Objects.equals(this.products, institutionsSearchRequest.products) &&
Objects.equals(this.countryCodes, institutionsSearchRequest.countryCodes) &&
Objects.equals(this.options, institutionsSearchRequest.options);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, query, products, countryCodes, options);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class InstitutionsSearchRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" query: ").append(toIndentedString(query)).append("\n");
sb.append(" products: ").append(toIndentedString(products)).append("\n");
sb.append(" countryCodes: ").append(toIndentedString(countryCodes)).append("\n");
sb.append(" options: ").append(toIndentedString(options)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/WalletTransactionCounterpartyBACS.java | src/main/java/com/plaid/client/model/WalletTransactionCounterpartyBACS.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.RecipientBACS;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The account number and sort code of the counterparty's account
*/
@ApiModel(description = "The account number and sort code of the counterparty's account")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class WalletTransactionCounterpartyBACS {
public static final String SERIALIZED_NAME_ACCOUNT = "account";
@SerializedName(SERIALIZED_NAME_ACCOUNT)
private String account;
public static final String SERIALIZED_NAME_SORT_CODE = "sort_code";
@SerializedName(SERIALIZED_NAME_SORT_CODE)
private String sortCode;
public WalletTransactionCounterpartyBACS account(String account) {
this.account = account;
return this;
}
/**
* The account number of the account. Maximum of 10 characters.
* @return account
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The account number of the account. Maximum of 10 characters.")
public String getAccount() {
return account;
}
public void setAccount(String account) {
this.account = account;
}
public WalletTransactionCounterpartyBACS sortCode(String sortCode) {
this.sortCode = sortCode;
return this;
}
/**
* The 6-character sort code of the account.
* @return sortCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The 6-character sort code of the account.")
public String getSortCode() {
return sortCode;
}
public void setSortCode(String sortCode) {
this.sortCode = sortCode;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
WalletTransactionCounterpartyBACS walletTransactionCounterpartyBACS = (WalletTransactionCounterpartyBACS) o;
return Objects.equals(this.account, walletTransactionCounterpartyBACS.account) &&
Objects.equals(this.sortCode, walletTransactionCounterpartyBACS.sortCode);
}
@Override
public int hashCode() {
return Objects.hash(account, sortCode);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class WalletTransactionCounterpartyBACS {\n");
sb.append(" account: ").append(toIndentedString(account)).append("\n");
sb.append(" sortCode: ").append(toIndentedString(sortCode)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/IssuesStatus.java | src/main/java/com/plaid/client/model/IssuesStatus.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 current status of the issue.
*/
@JsonAdapter(IssuesStatus.Adapter.class)
public enum IssuesStatus {
REPORTED("REPORTED"),
AWAITING_RESOLUTION("AWAITING_RESOLUTION"),
FIX_IN_PROGRESS("FIX_IN_PROGRESS"),
FIX_PENDING_VALIDATION("FIX_PENDING_VALIDATION"),
CANNOT_FIX("CANNOT_FIX"),
RESOLVED("RESOLVED"),
// 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;
IssuesStatus(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static IssuesStatus fromValue(String value) {
for (IssuesStatus b : IssuesStatus.values()) {
if (b.value.equals(value)) {
return b;
}
}
return IssuesStatus.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<IssuesStatus> {
@Override
public void write(final JsonWriter jsonWriter, final IssuesStatus enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public IssuesStatus read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return IssuesStatus.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/SandboxTransferLedgerWithdrawSimulateRequest.java | src/main/java/com/plaid/client/model/SandboxTransferLedgerWithdrawSimulateRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.TransferFailure;
import com.plaid.client.model.TransferLedgerSweepSimulateEventType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines the request schema for `/sandbox/transfer/ledger/withdraw/simulate`
*/
@ApiModel(description = "Defines the request 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 SandboxTransferLedgerWithdrawSimulateRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_SWEEP_ID = "sweep_id";
@SerializedName(SERIALIZED_NAME_SWEEP_ID)
private String sweepId;
public static final String SERIALIZED_NAME_EVENT_TYPE = "event_type";
@SerializedName(SERIALIZED_NAME_EVENT_TYPE)
private TransferLedgerSweepSimulateEventType eventType;
public static final String SERIALIZED_NAME_FAILURE_REASON = "failure_reason";
@SerializedName(SERIALIZED_NAME_FAILURE_REASON)
private TransferFailure failureReason;
public SandboxTransferLedgerWithdrawSimulateRequest 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 SandboxTransferLedgerWithdrawSimulateRequest 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 SandboxTransferLedgerWithdrawSimulateRequest sweepId(String sweepId) {
this.sweepId = sweepId;
return this;
}
/**
* Plaid’s unique identifier for a sweep.
* @return sweepId
**/
@ApiModelProperty(required = true, value = "Plaid’s unique identifier for a sweep.")
public String getSweepId() {
return sweepId;
}
public void setSweepId(String sweepId) {
this.sweepId = sweepId;
}
public SandboxTransferLedgerWithdrawSimulateRequest eventType(TransferLedgerSweepSimulateEventType eventType) {
this.eventType = eventType;
return this;
}
/**
* Get eventType
* @return eventType
**/
@ApiModelProperty(required = true, value = "")
public TransferLedgerSweepSimulateEventType getEventType() {
return eventType;
}
public void setEventType(TransferLedgerSweepSimulateEventType eventType) {
this.eventType = eventType;
}
public SandboxTransferLedgerWithdrawSimulateRequest failureReason(TransferFailure failureReason) {
this.failureReason = failureReason;
return this;
}
/**
* Get failureReason
* @return failureReason
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public TransferFailure getFailureReason() {
return failureReason;
}
public void setFailureReason(TransferFailure failureReason) {
this.failureReason = failureReason;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SandboxTransferLedgerWithdrawSimulateRequest sandboxTransferLedgerWithdrawSimulateRequest = (SandboxTransferLedgerWithdrawSimulateRequest) o;
return Objects.equals(this.clientId, sandboxTransferLedgerWithdrawSimulateRequest.clientId) &&
Objects.equals(this.secret, sandboxTransferLedgerWithdrawSimulateRequest.secret) &&
Objects.equals(this.sweepId, sandboxTransferLedgerWithdrawSimulateRequest.sweepId) &&
Objects.equals(this.eventType, sandboxTransferLedgerWithdrawSimulateRequest.eventType) &&
Objects.equals(this.failureReason, sandboxTransferLedgerWithdrawSimulateRequest.failureReason);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, sweepId, eventType, failureReason);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SandboxTransferLedgerWithdrawSimulateRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" sweepId: ").append(toIndentedString(sweepId)).append("\n");
sb.append(" eventType: ").append(toIndentedString(eventType)).append("\n");
sb.append(" failureReason: ").append(toIndentedString(failureReason)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/AssetsErrorWebhook.java | src/main/java/com/plaid/client/model/AssetsErrorWebhook.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.PlaidError;
import com.plaid.client.model.WebhookEnvironmentValues;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Fired when Asset Report generation has failed. The resulting `error` will have an `error_type` of `ASSET_REPORT_ERROR`.
*/
@ApiModel(description = "Fired when Asset Report generation has failed. The resulting `error` will have an `error_type` of `ASSET_REPORT_ERROR`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class AssetsErrorWebhook {
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_ASSET_REPORT_ID = "asset_report_id";
@SerializedName(SERIALIZED_NAME_ASSET_REPORT_ID)
private String assetReportId;
public static final String SERIALIZED_NAME_USER_ID = "user_id";
@SerializedName(SERIALIZED_NAME_USER_ID)
private String userId;
public static final String SERIALIZED_NAME_ENVIRONMENT = "environment";
@SerializedName(SERIALIZED_NAME_ENVIRONMENT)
private WebhookEnvironmentValues environment;
public AssetsErrorWebhook webhookType(String webhookType) {
this.webhookType = webhookType;
return this;
}
/**
* `ASSETS`
* @return webhookType
**/
@ApiModelProperty(required = true, value = "`ASSETS`")
public String getWebhookType() {
return webhookType;
}
public void setWebhookType(String webhookType) {
this.webhookType = webhookType;
}
public AssetsErrorWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `ERROR`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`ERROR`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public AssetsErrorWebhook error(PlaidError error) {
this.error = error;
return this;
}
/**
* Get error
* @return error
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public PlaidError getError() {
return error;
}
public void setError(PlaidError error) {
this.error = error;
}
public AssetsErrorWebhook assetReportId(String assetReportId) {
this.assetReportId = assetReportId;
return this;
}
/**
* The ID associated with the Asset Report.
* @return assetReportId
**/
@ApiModelProperty(required = true, value = "The ID associated with the Asset Report.")
public String getAssetReportId() {
return assetReportId;
}
public void setAssetReportId(String assetReportId) {
this.assetReportId = assetReportId;
}
public AssetsErrorWebhook userId(String userId) {
this.userId = userId;
return this;
}
/**
* The `user_id` corresponding to the User ID the webhook has fired for.
* @return userId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The `user_id` corresponding to the User ID the webhook has fired for.")
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public AssetsErrorWebhook 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;
}
AssetsErrorWebhook assetsErrorWebhook = (AssetsErrorWebhook) o;
return Objects.equals(this.webhookType, assetsErrorWebhook.webhookType) &&
Objects.equals(this.webhookCode, assetsErrorWebhook.webhookCode) &&
Objects.equals(this.error, assetsErrorWebhook.error) &&
Objects.equals(this.assetReportId, assetsErrorWebhook.assetReportId) &&
Objects.equals(this.userId, assetsErrorWebhook.userId) &&
Objects.equals(this.environment, assetsErrorWebhook.environment);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, error, assetReportId, userId, environment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AssetsErrorWebhook {\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(" assetReportId: ").append(toIndentedString(assetReportId)).append("\n");
sb.append(" userId: ").append(toIndentedString(userId)).append("\n");
sb.append(" environment: ").append(toIndentedString(environment)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ResponseBusinessAddress.java | src/main/java/com/plaid/client/model/ResponseBusinessAddress.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Physical address of a business. Used for response schemas.
*/
@ApiModel(description = "Physical address of a business. Used for response schemas.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ResponseBusinessAddress {
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 ResponseBusinessAddress 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
**/
@javax.annotation.Nullable
@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 ResponseBusinessAddress 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", required = true, 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 ResponseBusinessAddress 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
**/
@javax.annotation.Nullable
@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 ResponseBusinessAddress 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", required = true, value = "A subdivision code. \"Subdivision\" is a generic term for \"state\", \"province\", \"prefecture\", \"zone\", etc. For the list of valid codes, see [country subdivision codes](https://plaid.com/documents/country_subdivision_codes.json). Country prefixes are omitted, since they are inferred from the `country` field.")
public String getRegion() {
return region;
}
public void setRegion(String region) {
this.region = region;
}
public ResponseBusinessAddress 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", required = true, 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 ResponseBusinessAddress 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;
}
ResponseBusinessAddress responseBusinessAddress = (ResponseBusinessAddress) o;
return Objects.equals(this.street, responseBusinessAddress.street) &&
Objects.equals(this.street2, responseBusinessAddress.street2) &&
Objects.equals(this.city, responseBusinessAddress.city) &&
Objects.equals(this.region, responseBusinessAddress.region) &&
Objects.equals(this.postalCode, responseBusinessAddress.postalCode) &&
Objects.equals(this.country, responseBusinessAddress.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 ResponseBusinessAddress {\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/IdentityVerificationTemplateReference.java | src/main/java/com/plaid/client/model/IdentityVerificationTemplateReference.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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 resource ID and version number of the template configuring the behavior of a given Identity Verification.
*/
@ApiModel(description = "The resource ID and version number of the template configuring the behavior of a given Identity Verification.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class IdentityVerificationTemplateReference {
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 IdentityVerificationTemplateReference id(String id) {
this.id = id;
return this;
}
/**
* ID of the associated Identity Verification template. Like all Plaid identifiers, this is case-sensitive.
* @return id
**/
@ApiModelProperty(example = "idvtmp_4FrXJvfQU3zGUR", required = true, value = "ID of the associated Identity Verification template. Like all Plaid identifiers, this is case-sensitive.")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public IdentityVerificationTemplateReference version(Integer version) {
this.version = version;
return this;
}
/**
* Version of the associated Identity Verification template.
* @return version
**/
@ApiModelProperty(example = "2", required = true, value = "Version of the associated Identity Verification template.")
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;
}
IdentityVerificationTemplateReference identityVerificationTemplateReference = (IdentityVerificationTemplateReference) o;
return Objects.equals(this.id, identityVerificationTemplateReference.id) &&
Objects.equals(this.version, identityVerificationTemplateReference.version);
}
@Override
public int hashCode() {
return Objects.hash(id, version);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IdentityVerificationTemplateReference {\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/GamblingIndicators.java | src/main/java/com/plaid/client/model/GamblingIndicators.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.MonthlyAverage;
import com.plaid.client.model.MonthlySummary;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Insights into gambling-related transactions, including frequency, amounts, and top merchants.
*/
@ApiModel(description = "Insights into gambling-related transactions, including frequency, amounts, and top merchants.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class GamblingIndicators {
public static final String SERIALIZED_NAME_AMOUNT = "amount";
@SerializedName(SERIALIZED_NAME_AMOUNT)
private Double amount;
public static final String SERIALIZED_NAME_ISO_CURRENCY_CODE = "iso_currency_code";
@SerializedName(SERIALIZED_NAME_ISO_CURRENCY_CODE)
private String isoCurrencyCode;
public static final String SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE = "unofficial_currency_code";
@SerializedName(SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE)
private String unofficialCurrencyCode;
public static final String SERIALIZED_NAME_MONTHLY_AVERAGE = "monthly_average";
@SerializedName(SERIALIZED_NAME_MONTHLY_AVERAGE)
private MonthlyAverage monthlyAverage;
public static final String SERIALIZED_NAME_TOP_MERCHANTS = "top_merchants";
@SerializedName(SERIALIZED_NAME_TOP_MERCHANTS)
private List<String> topMerchants = null;
public static final String SERIALIZED_NAME_TRANSACTIONS_COUNT = "transactions_count";
@SerializedName(SERIALIZED_NAME_TRANSACTIONS_COUNT)
private Integer transactionsCount;
public static final String SERIALIZED_NAME_MONTHLY_SUMMARIES = "monthly_summaries";
@SerializedName(SERIALIZED_NAME_MONTHLY_SUMMARIES)
private List<MonthlySummary> monthlySummaries = null;
public static final String SERIALIZED_NAME_DAYS_SINCE_LAST_OCCURRENCE = "days_since_last_occurrence";
@SerializedName(SERIALIZED_NAME_DAYS_SINCE_LAST_OCCURRENCE)
private Integer daysSinceLastOccurrence;
public static final String SERIALIZED_NAME_PERCENTAGE_OF_INCOME = "percentage_of_income";
@SerializedName(SERIALIZED_NAME_PERCENTAGE_OF_INCOME)
private Double percentageOfIncome;
public GamblingIndicators amount(Double amount) {
this.amount = amount;
return this;
}
/**
* The total value of transactions that fall into the `GAMBLING` credit category, across all the accounts in the report.
* @return amount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The total value of transactions that fall into the `GAMBLING` credit category, across all the accounts in the report.")
public Double getAmount() {
return amount;
}
public void setAmount(Double amount) {
this.amount = amount;
}
public GamblingIndicators isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The ISO-4217 currency code of the amount. Always `null` if `unofficial_currency_code` is non-`null`.
* @return isoCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The ISO-4217 currency code of the amount. Always `null` if `unofficial_currency_code` is non-`null`.")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public GamblingIndicators unofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
return this;
}
/**
* The unofficial currency code associated with the amount. Always `null` if `iso_currency_code` is non-`null`. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `unofficial_currency_code`s.
* @return unofficialCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The unofficial currency code associated with the amount. Always `null` if `iso_currency_code` is non-`null`. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `unofficial_currency_code`s.")
public String getUnofficialCurrencyCode() {
return unofficialCurrencyCode;
}
public void setUnofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
}
public GamblingIndicators monthlyAverage(MonthlyAverage monthlyAverage) {
this.monthlyAverage = monthlyAverage;
return this;
}
/**
* Get monthlyAverage
* @return monthlyAverage
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public MonthlyAverage getMonthlyAverage() {
return monthlyAverage;
}
public void setMonthlyAverage(MonthlyAverage monthlyAverage) {
this.monthlyAverage = monthlyAverage;
}
public GamblingIndicators topMerchants(List<String> topMerchants) {
this.topMerchants = topMerchants;
return this;
}
public GamblingIndicators addTopMerchantsItem(String topMerchantsItem) {
if (this.topMerchants == null) {
this.topMerchants = new ArrayList<>();
}
this.topMerchants.add(topMerchantsItem);
return this;
}
/**
* Up to 3 top merchants that the user had the most transactions for in the given time window, in descending order of total spend. If the user has not spent money on any merchants in the given time window, this list will be empty.
* @return topMerchants
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Up to 3 top merchants that the user had the most transactions for in the given time window, in descending order of total spend. If the user has not spent money on any merchants in the given time window, this list will be empty.")
public List<String> getTopMerchants() {
return topMerchants;
}
public void setTopMerchants(List<String> topMerchants) {
this.topMerchants = topMerchants;
}
public GamblingIndicators transactionsCount(Integer transactionsCount) {
this.transactionsCount = transactionsCount;
return this;
}
/**
* The total number of transactions that fall into the `GAMBLING` credit category, across all the accounts in the report.
* @return transactionsCount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The total number of transactions that fall into the `GAMBLING` credit category, across all the accounts in the report.")
public Integer getTransactionsCount() {
return transactionsCount;
}
public void setTransactionsCount(Integer transactionsCount) {
this.transactionsCount = transactionsCount;
}
public GamblingIndicators monthlySummaries(List<MonthlySummary> monthlySummaries) {
this.monthlySummaries = monthlySummaries;
return this;
}
public GamblingIndicators addMonthlySummariesItem(MonthlySummary monthlySummariesItem) {
if (this.monthlySummaries == null) {
this.monthlySummaries = new ArrayList<>();
}
this.monthlySummaries.add(monthlySummariesItem);
return this;
}
/**
* The monthly summaries of the transactions that fall into the `GAMBLING` category within the given time window, across all the accounts in the report.
* @return monthlySummaries
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The monthly summaries of the transactions that fall into the `GAMBLING` category within the given time window, across all the accounts in the report.")
public List<MonthlySummary> getMonthlySummaries() {
return monthlySummaries;
}
public void setMonthlySummaries(List<MonthlySummary> monthlySummaries) {
this.monthlySummaries = monthlySummaries;
}
public GamblingIndicators daysSinceLastOccurrence(Integer daysSinceLastOccurrence) {
this.daysSinceLastOccurrence = daysSinceLastOccurrence;
return this;
}
/**
* The number of days since the last transaction that falls into the `GAMBLING` category, across all the accounts in the report.
* @return daysSinceLastOccurrence
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of days since the last transaction that falls into the `GAMBLING` category, across all the accounts in the report.")
public Integer getDaysSinceLastOccurrence() {
return daysSinceLastOccurrence;
}
public void setDaysSinceLastOccurrence(Integer daysSinceLastOccurrence) {
this.daysSinceLastOccurrence = daysSinceLastOccurrence;
}
public GamblingIndicators percentageOfIncome(Double percentageOfIncome) {
this.percentageOfIncome = percentageOfIncome;
return this;
}
/**
* The percentage of the user's monthly inflows that was spent on transactions that fall into the `GAMBLING` category within the given time window, across all the accounts in the report. For example, a value of 100 indicates that 100% of the inflows were spent on transactions that fall into the `GAMBLING` credit category. If there's no available income for the given time period, this field value will be `-1`
* @return percentageOfIncome
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The percentage of the user's monthly inflows that was spent on transactions that fall into the `GAMBLING` category within the given time window, across all the accounts in the report. For example, a value of 100 indicates that 100% of the inflows were spent on transactions that fall into the `GAMBLING` credit category. If there's no available income for the given time period, this field value will be `-1`")
public Double getPercentageOfIncome() {
return percentageOfIncome;
}
public void setPercentageOfIncome(Double percentageOfIncome) {
this.percentageOfIncome = percentageOfIncome;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
GamblingIndicators gamblingIndicators = (GamblingIndicators) o;
return Objects.equals(this.amount, gamblingIndicators.amount) &&
Objects.equals(this.isoCurrencyCode, gamblingIndicators.isoCurrencyCode) &&
Objects.equals(this.unofficialCurrencyCode, gamblingIndicators.unofficialCurrencyCode) &&
Objects.equals(this.monthlyAverage, gamblingIndicators.monthlyAverage) &&
Objects.equals(this.topMerchants, gamblingIndicators.topMerchants) &&
Objects.equals(this.transactionsCount, gamblingIndicators.transactionsCount) &&
Objects.equals(this.monthlySummaries, gamblingIndicators.monthlySummaries) &&
Objects.equals(this.daysSinceLastOccurrence, gamblingIndicators.daysSinceLastOccurrence) &&
Objects.equals(this.percentageOfIncome, gamblingIndicators.percentageOfIncome);
}
@Override
public int hashCode() {
return Objects.hash(amount, isoCurrencyCode, unofficialCurrencyCode, monthlyAverage, topMerchants, transactionsCount, monthlySummaries, daysSinceLastOccurrence, percentageOfIncome);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class GamblingIndicators {\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" unofficialCurrencyCode: ").append(toIndentedString(unofficialCurrencyCode)).append("\n");
sb.append(" monthlyAverage: ").append(toIndentedString(monthlyAverage)).append("\n");
sb.append(" topMerchants: ").append(toIndentedString(topMerchants)).append("\n");
sb.append(" transactionsCount: ").append(toIndentedString(transactionsCount)).append("\n");
sb.append(" monthlySummaries: ").append(toIndentedString(monthlySummaries)).append("\n");
sb.append(" daysSinceLastOccurrence: ").append(toIndentedString(daysSinceLastOccurrence)).append("\n");
sb.append(" percentageOfIncome: ").append(toIndentedString(percentageOfIncome)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BeaconReportSyndicationCreatedWebhook.java | src/main/java/com/plaid/client/model/BeaconReportSyndicationCreatedWebhook.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.WebhookEnvironmentValues;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Fired when a report created on the Beacon Network matches with one of your Beacon Users.
*/
@ApiModel(description = "Fired when a report created on the Beacon Network matches with one of your Beacon Users.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BeaconReportSyndicationCreatedWebhook {
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_BEACON_REPORT_SYNDICATION_ID = "beacon_report_syndication_id";
@SerializedName(SERIALIZED_NAME_BEACON_REPORT_SYNDICATION_ID)
private String beaconReportSyndicationId;
public static final String SERIALIZED_NAME_ENVIRONMENT = "environment";
@SerializedName(SERIALIZED_NAME_ENVIRONMENT)
private WebhookEnvironmentValues environment;
public BeaconReportSyndicationCreatedWebhook webhookType(String webhookType) {
this.webhookType = webhookType;
return this;
}
/**
* `BEACON`
* @return webhookType
**/
@ApiModelProperty(required = true, value = "`BEACON`")
public String getWebhookType() {
return webhookType;
}
public void setWebhookType(String webhookType) {
this.webhookType = webhookType;
}
public BeaconReportSyndicationCreatedWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `REPORT_SYNDICATION_CREATED`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`REPORT_SYNDICATION_CREATED`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public BeaconReportSyndicationCreatedWebhook beaconReportSyndicationId(String beaconReportSyndicationId) {
this.beaconReportSyndicationId = beaconReportSyndicationId;
return this;
}
/**
* The ID of the associated Beacon Report Syndication.
* @return beaconReportSyndicationId
**/
@ApiModelProperty(required = true, value = "The ID of the associated Beacon Report Syndication.")
public String getBeaconReportSyndicationId() {
return beaconReportSyndicationId;
}
public void setBeaconReportSyndicationId(String beaconReportSyndicationId) {
this.beaconReportSyndicationId = beaconReportSyndicationId;
}
public BeaconReportSyndicationCreatedWebhook 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;
}
BeaconReportSyndicationCreatedWebhook beaconReportSyndicationCreatedWebhook = (BeaconReportSyndicationCreatedWebhook) o;
return Objects.equals(this.webhookType, beaconReportSyndicationCreatedWebhook.webhookType) &&
Objects.equals(this.webhookCode, beaconReportSyndicationCreatedWebhook.webhookCode) &&
Objects.equals(this.beaconReportSyndicationId, beaconReportSyndicationCreatedWebhook.beaconReportSyndicationId) &&
Objects.equals(this.environment, beaconReportSyndicationCreatedWebhook.environment);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, beaconReportSyndicationId, environment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BeaconReportSyndicationCreatedWebhook {\n");
sb.append(" webhookType: ").append(toIndentedString(webhookType)).append("\n");
sb.append(" webhookCode: ").append(toIndentedString(webhookCode)).append("\n");
sb.append(" beaconReportSyndicationId: ").append(toIndentedString(beaconReportSyndicationId)).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/KYCCheckDateOfBirthSummary.java | src/main/java/com/plaid/client/model/KYCCheckDateOfBirthSummary.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.HiddenMatchSummaryCode;
import 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 `date_of_birth` field matched.
*/
@ApiModel(description = "Result summary object specifying how the `date_of_birth` field matched.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class KYCCheckDateOfBirthSummary {
public static final String SERIALIZED_NAME_SUMMARY = "summary";
@SerializedName(SERIALIZED_NAME_SUMMARY)
private MatchSummaryCode summary;
public static final String SERIALIZED_NAME_DAY = "day";
@SerializedName(SERIALIZED_NAME_DAY)
private HiddenMatchSummaryCode day;
public static final String SERIALIZED_NAME_MONTH = "month";
@SerializedName(SERIALIZED_NAME_MONTH)
private HiddenMatchSummaryCode month;
public static final String SERIALIZED_NAME_YEAR = "year";
@SerializedName(SERIALIZED_NAME_YEAR)
private HiddenMatchSummaryCode year;
public KYCCheckDateOfBirthSummary summary(MatchSummaryCode summary) {
this.summary = summary;
return this;
}
/**
* Get summary
* @return summary
**/
@ApiModelProperty(required = true, value = "")
public MatchSummaryCode getSummary() {
return summary;
}
public void setSummary(MatchSummaryCode summary) {
this.summary = summary;
}
public KYCCheckDateOfBirthSummary day(HiddenMatchSummaryCode day) {
this.day = day;
return this;
}
/**
* Get day
* @return day
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public HiddenMatchSummaryCode getDay() {
return day;
}
public void setDay(HiddenMatchSummaryCode day) {
this.day = day;
}
public KYCCheckDateOfBirthSummary month(HiddenMatchSummaryCode month) {
this.month = month;
return this;
}
/**
* Get month
* @return month
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public HiddenMatchSummaryCode getMonth() {
return month;
}
public void setMonth(HiddenMatchSummaryCode month) {
this.month = month;
}
public KYCCheckDateOfBirthSummary year(HiddenMatchSummaryCode year) {
this.year = year;
return this;
}
/**
* Get year
* @return year
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public HiddenMatchSummaryCode getYear() {
return year;
}
public void setYear(HiddenMatchSummaryCode year) {
this.year = year;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
KYCCheckDateOfBirthSummary kyCCheckDateOfBirthSummary = (KYCCheckDateOfBirthSummary) o;
return Objects.equals(this.summary, kyCCheckDateOfBirthSummary.summary) &&
Objects.equals(this.day, kyCCheckDateOfBirthSummary.day) &&
Objects.equals(this.month, kyCCheckDateOfBirthSummary.month) &&
Objects.equals(this.year, kyCCheckDateOfBirthSummary.year);
}
@Override
public int hashCode() {
return Objects.hash(summary, day, month, year);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class KYCCheckDateOfBirthSummary {\n");
sb.append(" summary: ").append(toIndentedString(summary)).append("\n");
sb.append(" day: ").append(toIndentedString(day)).append("\n");
sb.append(" month: ").append(toIndentedString(month)).append("\n");
sb.append(" year: ").append(toIndentedString(year)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/SandboxTransferRefundSimulateRequest.java | src/main/java/com/plaid/client/model/SandboxTransferRefundSimulateRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.TransferFailure;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines the request schema for `/sandbox/transfer/refund/simulate`
*/
@ApiModel(description = "Defines the request schema for `/sandbox/transfer/refund/simulate`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SandboxTransferRefundSimulateRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_REFUND_ID = "refund_id";
@SerializedName(SERIALIZED_NAME_REFUND_ID)
private String refundId;
public static final String SERIALIZED_NAME_TEST_CLOCK_ID = "test_clock_id";
@SerializedName(SERIALIZED_NAME_TEST_CLOCK_ID)
private String testClockId;
public static final String SERIALIZED_NAME_EVENT_TYPE = "event_type";
@SerializedName(SERIALIZED_NAME_EVENT_TYPE)
private String eventType;
public static final String SERIALIZED_NAME_FAILURE_REASON = "failure_reason";
@SerializedName(SERIALIZED_NAME_FAILURE_REASON)
private TransferFailure failureReason;
public static final String SERIALIZED_NAME_WEBHOOK = "webhook";
@SerializedName(SERIALIZED_NAME_WEBHOOK)
private String webhook;
public SandboxTransferRefundSimulateRequest 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 SandboxTransferRefundSimulateRequest 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 SandboxTransferRefundSimulateRequest refundId(String refundId) {
this.refundId = refundId;
return this;
}
/**
* Plaid’s unique identifier for a refund.
* @return refundId
**/
@ApiModelProperty(required = true, value = "Plaid’s unique identifier for a refund.")
public String getRefundId() {
return refundId;
}
public void setRefundId(String refundId) {
this.refundId = refundId;
}
public SandboxTransferRefundSimulateRequest testClockId(String testClockId) {
this.testClockId = testClockId;
return this;
}
/**
* Plaid’s unique identifier for a test clock. If provided, the event to be simulated is created at the `virtual_time` on the provided `test_clock`.
* @return testClockId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Plaid’s unique identifier for a test clock. If provided, the event to be simulated is created at the `virtual_time` on the provided `test_clock`.")
public String getTestClockId() {
return testClockId;
}
public void setTestClockId(String testClockId) {
this.testClockId = testClockId;
}
public SandboxTransferRefundSimulateRequest eventType(String eventType) {
this.eventType = eventType;
return this;
}
/**
* The asynchronous event to be simulated. May be: `refund.posted`, `refund.settled`, `refund.failed`, or `refund.returned`. An error will be returned if the event type is incompatible with the current refund status. Compatible status --> event type transitions include: `refund.pending` --> `refund.failed` `refund.pending` --> `refund.posted` `refund.posted` --> `refund.returned` `refund.posted` --> `refund.settled` `refund.posted` events can only be simulated if the refunded transfer has been transitioned to settled. This mimics the ordering of events in Production.
* @return eventType
**/
@ApiModelProperty(required = true, value = "The asynchronous event to be simulated. May be: `refund.posted`, `refund.settled`, `refund.failed`, or `refund.returned`. An error will be returned if the event type is incompatible with the current refund status. Compatible status --> event type transitions include: `refund.pending` --> `refund.failed` `refund.pending` --> `refund.posted` `refund.posted` --> `refund.returned` `refund.posted` --> `refund.settled` `refund.posted` events can only be simulated if the refunded transfer has been transitioned to settled. This mimics the ordering of events in Production. ")
public String getEventType() {
return eventType;
}
public void setEventType(String eventType) {
this.eventType = eventType;
}
public SandboxTransferRefundSimulateRequest failureReason(TransferFailure failureReason) {
this.failureReason = failureReason;
return this;
}
/**
* Get failureReason
* @return failureReason
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public TransferFailure getFailureReason() {
return failureReason;
}
public void setFailureReason(TransferFailure failureReason) {
this.failureReason = failureReason;
}
public SandboxTransferRefundSimulateRequest webhook(String webhook) {
this.webhook = webhook;
return this;
}
/**
* The webhook URL to which a `TRANSFER_EVENTS_UPDATE` webhook should be sent.
* @return webhook
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The webhook URL to which a `TRANSFER_EVENTS_UPDATE` webhook should be sent.")
public String getWebhook() {
return webhook;
}
public void setWebhook(String webhook) {
this.webhook = webhook;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SandboxTransferRefundSimulateRequest sandboxTransferRefundSimulateRequest = (SandboxTransferRefundSimulateRequest) o;
return Objects.equals(this.clientId, sandboxTransferRefundSimulateRequest.clientId) &&
Objects.equals(this.secret, sandboxTransferRefundSimulateRequest.secret) &&
Objects.equals(this.refundId, sandboxTransferRefundSimulateRequest.refundId) &&
Objects.equals(this.testClockId, sandboxTransferRefundSimulateRequest.testClockId) &&
Objects.equals(this.eventType, sandboxTransferRefundSimulateRequest.eventType) &&
Objects.equals(this.failureReason, sandboxTransferRefundSimulateRequest.failureReason) &&
Objects.equals(this.webhook, sandboxTransferRefundSimulateRequest.webhook);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, refundId, testClockId, eventType, failureReason, webhook);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SandboxTransferRefundSimulateRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" refundId: ").append(toIndentedString(refundId)).append("\n");
sb.append(" testClockId: ").append(toIndentedString(testClockId)).append("\n");
sb.append(" eventType: ").append(toIndentedString(eventType)).append("\n");
sb.append(" failureReason: ").append(toIndentedString(failureReason)).append("\n");
sb.append(" webhook: ").append(toIndentedString(webhook)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransferCapabilitiesGetResponse.java | src/main/java/com/plaid/client/model/TransferCapabilitiesGetResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.InstitutionSupportedNetworks;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines the response schema for `/transfer/capabilities/get`
*/
@ApiModel(description = "Defines the response 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 TransferCapabilitiesGetResponse {
public static final String SERIALIZED_NAME_INSTITUTION_SUPPORTED_NETWORKS = "institution_supported_networks";
@SerializedName(SERIALIZED_NAME_INSTITUTION_SUPPORTED_NETWORKS)
private InstitutionSupportedNetworks institutionSupportedNetworks;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public TransferCapabilitiesGetResponse institutionSupportedNetworks(InstitutionSupportedNetworks institutionSupportedNetworks) {
this.institutionSupportedNetworks = institutionSupportedNetworks;
return this;
}
/**
* Get institutionSupportedNetworks
* @return institutionSupportedNetworks
**/
@ApiModelProperty(required = true, value = "")
public InstitutionSupportedNetworks getInstitutionSupportedNetworks() {
return institutionSupportedNetworks;
}
public void setInstitutionSupportedNetworks(InstitutionSupportedNetworks institutionSupportedNetworks) {
this.institutionSupportedNetworks = institutionSupportedNetworks;
}
public TransferCapabilitiesGetResponse 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;
}
TransferCapabilitiesGetResponse transferCapabilitiesGetResponse = (TransferCapabilitiesGetResponse) o;
return Objects.equals(this.institutionSupportedNetworks, transferCapabilitiesGetResponse.institutionSupportedNetworks) &&
Objects.equals(this.requestId, transferCapabilitiesGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(institutionSupportedNetworks, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferCapabilitiesGetResponse {\n");
sb.append(" institutionSupportedNetworks: ").append(toIndentedString(institutionSupportedNetworks)).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/BeaconUser.java | src/main/java/com/plaid/client/model/BeaconUser.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.BeaconAuditTrail;
import com.plaid.client.model.BeaconUserData;
import com.plaid.client.model.BeaconUserStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
/**
* A Beacon User represents an end user that has been scanned against the Beacon Network.
*/
@ApiModel(description = "A Beacon User represents an end user that has been scanned against the Beacon Network.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BeaconUser {
public static final String SERIALIZED_NAME_ITEM_IDS = "item_ids";
@SerializedName(SERIALIZED_NAME_ITEM_IDS)
private Set<String> itemIds = new LinkedHashSet<>();
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 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_UPDATED_AT = "updated_at";
@SerializedName(SERIALIZED_NAME_UPDATED_AT)
private OffsetDateTime updatedAt;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private BeaconUserStatus status;
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 BeaconUserData user;
public static final String SERIALIZED_NAME_AUDIT_TRAIL = "audit_trail";
@SerializedName(SERIALIZED_NAME_AUDIT_TRAIL)
private BeaconAuditTrail auditTrail;
public BeaconUser itemIds(Set<String> itemIds) {
this.itemIds = itemIds;
return this;
}
public BeaconUser addItemIdsItem(String itemIdsItem) {
this.itemIds.add(itemIdsItem);
return this;
}
/**
* An array of Plaid Item IDs corresponding to the Accounts associated with this Beacon User.
* @return itemIds
**/
@ApiModelProperty(example = "[\"515cd85321d3649aecddc015\"]", required = true, value = "An array of Plaid Item IDs corresponding to the Accounts associated with this Beacon User.")
public Set<String> getItemIds() {
return itemIds;
}
public void setItemIds(Set<String> itemIds) {
this.itemIds = itemIds;
}
public BeaconUser 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 BeaconUser version(Integer version) {
this.version = version;
return this;
}
/**
* The `version` field begins with 1 and increments each time the user is updated.
* @return version
**/
@ApiModelProperty(example = "1", required = true, value = "The `version` field begins with 1 and increments each time the user is updated.")
public Integer getVersion() {
return version;
}
public void setVersion(Integer version) {
this.version = version;
}
public BeaconUser 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 BeaconUser updatedAt(OffsetDateTime updatedAt) {
this.updatedAt = updatedAt;
return this;
}
/**
* An ISO8601 formatted timestamp. This field indicates the last time the resource was modified.
* @return updatedAt
**/
@ApiModelProperty(example = "2020-07-24T03:26:02Z", required = true, value = "An ISO8601 formatted timestamp. This field indicates the last time the resource was modified.")
public OffsetDateTime getUpdatedAt() {
return updatedAt;
}
public void setUpdatedAt(OffsetDateTime updatedAt) {
this.updatedAt = updatedAt;
}
public BeaconUser status(BeaconUserStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@ApiModelProperty(required = true, value = "")
public BeaconUserStatus getStatus() {
return status;
}
public void setStatus(BeaconUserStatus status) {
this.status = status;
}
public BeaconUser 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 BeaconUser 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 BeaconUser user(BeaconUserData user) {
this.user = user;
return this;
}
/**
* Get user
* @return user
**/
@ApiModelProperty(required = true, value = "")
public BeaconUserData getUser() {
return user;
}
public void setUser(BeaconUserData user) {
this.user = user;
}
public BeaconUser auditTrail(BeaconAuditTrail auditTrail) {
this.auditTrail = auditTrail;
return this;
}
/**
* Get auditTrail
* @return auditTrail
**/
@ApiModelProperty(required = true, value = "")
public BeaconAuditTrail getAuditTrail() {
return auditTrail;
}
public void setAuditTrail(BeaconAuditTrail auditTrail) {
this.auditTrail = auditTrail;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BeaconUser beaconUser = (BeaconUser) o;
return Objects.equals(this.itemIds, beaconUser.itemIds) &&
Objects.equals(this.id, beaconUser.id) &&
Objects.equals(this.version, beaconUser.version) &&
Objects.equals(this.createdAt, beaconUser.createdAt) &&
Objects.equals(this.updatedAt, beaconUser.updatedAt) &&
Objects.equals(this.status, beaconUser.status) &&
Objects.equals(this.programId, beaconUser.programId) &&
Objects.equals(this.clientUserId, beaconUser.clientUserId) &&
Objects.equals(this.user, beaconUser.user) &&
Objects.equals(this.auditTrail, beaconUser.auditTrail);
}
@Override
public int hashCode() {
return Objects.hash(itemIds, id, version, createdAt, updatedAt, status, programId, clientUserId, user, auditTrail);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BeaconUser {\n");
sb.append(" itemIds: ").append(toIndentedString(itemIds)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\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(" auditTrail: ").append(toIndentedString(auditTrail)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/PartnerEndCustomerRequirementDue.java | src/main/java/com/plaid/client/model/PartnerEndCustomerRequirementDue.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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 field that may be required to be submitted for enablement.
*/
@JsonAdapter(PartnerEndCustomerRequirementDue.Adapter.class)
public enum PartnerEndCustomerRequirementDue {
LEGAL_ENTITY_NAME("legal_entity_name"),
WEBSITE("website"),
APPLICATION_NAME("application_name"),
IS_DILIGENCE_ATTESTED("is_diligence_attested"),
TECHNICAL_CONTACT("technical_contact"),
BILLING_CONTACT("billing_contact"),
ADDRESS("address"),
BANK_ADDENDUM_ACCEPTANCE("bank_addendum_acceptance"),
QUESTIONNAIRES_CRA("questionnaires.cra"),
// 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;
PartnerEndCustomerRequirementDue(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static PartnerEndCustomerRequirementDue fromValue(String value) {
for (PartnerEndCustomerRequirementDue b : PartnerEndCustomerRequirementDue.values()) {
if (b.value.equals(value)) {
return b;
}
}
return PartnerEndCustomerRequirementDue.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<PartnerEndCustomerRequirementDue> {
@Override
public void write(final JsonWriter jsonWriter, final PartnerEndCustomerRequirementDue enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public PartnerEndCustomerRequirementDue read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return PartnerEndCustomerRequirementDue.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/IdentityDocumentsUploadsGetRequestOptions.java | src/main/java/com/plaid/client/model/IdentityDocumentsUploadsGetRequestOptions.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* An optional object to filter `/identity/documents/uploads/get` results.
*/
@ApiModel(description = "An optional object to filter `/identity/documents/uploads/get` results.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class IdentityDocumentsUploadsGetRequestOptions {
public static final String SERIALIZED_NAME_ACCOUNT_IDS = "account_ids";
@SerializedName(SERIALIZED_NAME_ACCOUNT_IDS)
private List<String> accountIds = null;
public IdentityDocumentsUploadsGetRequestOptions accountIds(List<String> accountIds) {
this.accountIds = accountIds;
return this;
}
public IdentityDocumentsUploadsGetRequestOptions addAccountIdsItem(String accountIdsItem) {
if (this.accountIds == null) {
this.accountIds = new ArrayList<>();
}
this.accountIds.add(accountIdsItem);
return this;
}
/**
* A list of `account_ids` to retrieve for the Item. Note: An error will be returned if a provided `account_id` is not associated with the Item.
* @return accountIds
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A list of `account_ids` to retrieve for the Item. Note: An error will be returned if a provided `account_id` is not associated with the Item.")
public List<String> getAccountIds() {
return accountIds;
}
public void setAccountIds(List<String> accountIds) {
this.accountIds = accountIds;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
IdentityDocumentsUploadsGetRequestOptions identityDocumentsUploadsGetRequestOptions = (IdentityDocumentsUploadsGetRequestOptions) o;
return Objects.equals(this.accountIds, identityDocumentsUploadsGetRequestOptions.accountIds);
}
@Override
public int hashCode() {
return Objects.hash(accountIds);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IdentityDocumentsUploadsGetRequestOptions {\n");
sb.append(" accountIds: ").append(toIndentedString(accountIds)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/UpdateIndividualScreeningRequestSearchTerms.java | src/main/java/com/plaid/client/model/UpdateIndividualScreeningRequestSearchTerms.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* Search terms for editing an individual watchlist screening
*/
@ApiModel(description = "Search terms for editing an individual watchlist screening")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class UpdateIndividualScreeningRequestSearchTerms {
public static final String SERIALIZED_NAME_WATCHLIST_PROGRAM_ID = "watchlist_program_id";
@SerializedName(SERIALIZED_NAME_WATCHLIST_PROGRAM_ID)
private String watchlistProgramId;
public static final String SERIALIZED_NAME_LEGAL_NAME = "legal_name";
@SerializedName(SERIALIZED_NAME_LEGAL_NAME)
private String legalName;
public static final String SERIALIZED_NAME_DATE_OF_BIRTH = "date_of_birth";
@SerializedName(SERIALIZED_NAME_DATE_OF_BIRTH)
private LocalDate dateOfBirth;
public static final String SERIALIZED_NAME_DOCUMENT_NUMBER = "document_number";
@SerializedName(SERIALIZED_NAME_DOCUMENT_NUMBER)
private String documentNumber;
public static final String SERIALIZED_NAME_COUNTRY = "country";
@SerializedName(SERIALIZED_NAME_COUNTRY)
private String country;
public UpdateIndividualScreeningRequestSearchTerms watchlistProgramId(String watchlistProgramId) {
this.watchlistProgramId = watchlistProgramId;
return this;
}
/**
* ID of the associated program.
* @return watchlistProgramId
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "prg_2eRPsDnL66rZ7H", value = "ID of the associated program.")
public String getWatchlistProgramId() {
return watchlistProgramId;
}
public void setWatchlistProgramId(String watchlistProgramId) {
this.watchlistProgramId = watchlistProgramId;
}
public UpdateIndividualScreeningRequestSearchTerms legalName(String legalName) {
this.legalName = legalName;
return this;
}
/**
* The legal name of the individual being screened. Must have at least one alphabetical character, have a maximum length of 100 characters, and not include leading or trailing spaces.
* @return legalName
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "Aleksey Potemkin", value = "The legal name of the individual being screened. Must have at least one alphabetical character, have a maximum length of 100 characters, and not include leading or trailing spaces.")
public String getLegalName() {
return legalName;
}
public void setLegalName(String legalName) {
this.legalName = legalName;
}
public UpdateIndividualScreeningRequestSearchTerms dateOfBirth(LocalDate dateOfBirth) {
this.dateOfBirth = dateOfBirth;
return this;
}
/**
* A date in the format YYYY-MM-DD (RFC 3339 Section 5.6).
* @return dateOfBirth
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "Tue May 29 00:00:00 UTC 1990", value = "A date in the format YYYY-MM-DD (RFC 3339 Section 5.6).")
public LocalDate getDateOfBirth() {
return dateOfBirth;
}
public void setDateOfBirth(LocalDate dateOfBirth) {
this.dateOfBirth = dateOfBirth;
}
public UpdateIndividualScreeningRequestSearchTerms documentNumber(String documentNumber) {
this.documentNumber = documentNumber;
return this;
}
/**
* The numeric or alphanumeric identifier associated with this document. Must be between 4 and 32 characters long, and cannot have leading or trailing spaces.
* @return documentNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "C31195855", value = "The numeric or alphanumeric identifier associated with this document. Must be between 4 and 32 characters long, and cannot have leading or trailing spaces.")
public String getDocumentNumber() {
return documentNumber;
}
public void setDocumentNumber(String documentNumber) {
this.documentNumber = documentNumber;
}
public UpdateIndividualScreeningRequestSearchTerms 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
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "US", 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;
}
UpdateIndividualScreeningRequestSearchTerms updateIndividualScreeningRequestSearchTerms = (UpdateIndividualScreeningRequestSearchTerms) o;
return Objects.equals(this.watchlistProgramId, updateIndividualScreeningRequestSearchTerms.watchlistProgramId) &&
Objects.equals(this.legalName, updateIndividualScreeningRequestSearchTerms.legalName) &&
Objects.equals(this.dateOfBirth, updateIndividualScreeningRequestSearchTerms.dateOfBirth) &&
Objects.equals(this.documentNumber, updateIndividualScreeningRequestSearchTerms.documentNumber) &&
Objects.equals(this.country, updateIndividualScreeningRequestSearchTerms.country);
}
@Override
public int hashCode() {
return Objects.hash(watchlistProgramId, legalName, dateOfBirth, documentNumber, country);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UpdateIndividualScreeningRequestSearchTerms {\n");
sb.append(" watchlistProgramId: ").append(toIndentedString(watchlistProgramId)).append("\n");
sb.append(" legalName: ").append(toIndentedString(legalName)).append("\n");
sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n");
sb.append(" documentNumber: ").append(toIndentedString(documentNumber)).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/BaseReportAttributes.java | src/main/java/com/plaid/client/model/BaseReportAttributes.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.TotalInflowAmount;
import com.plaid.client.model.TotalInflowAmount30d;
import com.plaid.client.model.TotalInflowAmount60d;
import com.plaid.client.model.TotalInflowAmount90d;
import com.plaid.client.model.TotalOutflowAmount;
import com.plaid.client.model.TotalOutflowAmount30d;
import com.plaid.client.model.TotalOutflowAmount60d;
import com.plaid.client.model.TotalOutflowAmount90d;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.math.BigDecimal;
/**
* Calculated attributes derived from transaction-level data.
*/
@ApiModel(description = "Calculated attributes derived from transaction-level data.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BaseReportAttributes {
public static final String SERIALIZED_NAME_IS_PRIMARY_ACCOUNT = "is_primary_account";
@SerializedName(SERIALIZED_NAME_IS_PRIMARY_ACCOUNT)
private Boolean isPrimaryAccount;
public static final String SERIALIZED_NAME_PRIMARY_ACCOUNT_SCORE = "primary_account_score";
@SerializedName(SERIALIZED_NAME_PRIMARY_ACCOUNT_SCORE)
private Double primaryAccountScore;
public static final String SERIALIZED_NAME_NSF_OVERDRAFT_TRANSACTIONS_COUNT = "nsf_overdraft_transactions_count";
@SerializedName(SERIALIZED_NAME_NSF_OVERDRAFT_TRANSACTIONS_COUNT)
private Integer nsfOverdraftTransactionsCount;
public static final String SERIALIZED_NAME_NSF_OVERDRAFT_TRANSACTIONS_COUNT30D = "nsf_overdraft_transactions_count_30d";
@SerializedName(SERIALIZED_NAME_NSF_OVERDRAFT_TRANSACTIONS_COUNT30D)
private Integer nsfOverdraftTransactionsCount30d;
public static final String SERIALIZED_NAME_NSF_OVERDRAFT_TRANSACTIONS_COUNT60D = "nsf_overdraft_transactions_count_60d";
@SerializedName(SERIALIZED_NAME_NSF_OVERDRAFT_TRANSACTIONS_COUNT60D)
private Integer nsfOverdraftTransactionsCount60d;
public static final String SERIALIZED_NAME_NSF_OVERDRAFT_TRANSACTIONS_COUNT90D = "nsf_overdraft_transactions_count_90d";
@SerializedName(SERIALIZED_NAME_NSF_OVERDRAFT_TRANSACTIONS_COUNT90D)
private Integer nsfOverdraftTransactionsCount90d;
public static final String SERIALIZED_NAME_TOTAL_INFLOW_AMOUNT = "total_inflow_amount";
@SerializedName(SERIALIZED_NAME_TOTAL_INFLOW_AMOUNT)
private TotalInflowAmount totalInflowAmount;
public static final String SERIALIZED_NAME_TOTAL_INFLOW_AMOUNT30D = "total_inflow_amount_30d";
@SerializedName(SERIALIZED_NAME_TOTAL_INFLOW_AMOUNT30D)
private TotalInflowAmount30d totalInflowAmount30d;
public static final String SERIALIZED_NAME_TOTAL_INFLOW_AMOUNT60D = "total_inflow_amount_60d";
@SerializedName(SERIALIZED_NAME_TOTAL_INFLOW_AMOUNT60D)
private TotalInflowAmount60d totalInflowAmount60d;
public static final String SERIALIZED_NAME_TOTAL_INFLOW_AMOUNT90D = "total_inflow_amount_90d";
@SerializedName(SERIALIZED_NAME_TOTAL_INFLOW_AMOUNT90D)
private TotalInflowAmount90d totalInflowAmount90d;
public static final String SERIALIZED_NAME_TOTAL_OUTFLOW_AMOUNT = "total_outflow_amount";
@SerializedName(SERIALIZED_NAME_TOTAL_OUTFLOW_AMOUNT)
private TotalOutflowAmount totalOutflowAmount;
public static final String SERIALIZED_NAME_TOTAL_OUTFLOW_AMOUNT30D = "total_outflow_amount_30d";
@SerializedName(SERIALIZED_NAME_TOTAL_OUTFLOW_AMOUNT30D)
private TotalOutflowAmount30d totalOutflowAmount30d;
public static final String SERIALIZED_NAME_TOTAL_OUTFLOW_AMOUNT60D = "total_outflow_amount_60d";
@SerializedName(SERIALIZED_NAME_TOTAL_OUTFLOW_AMOUNT60D)
private TotalOutflowAmount60d totalOutflowAmount60d;
public static final String SERIALIZED_NAME_TOTAL_OUTFLOW_AMOUNT90D = "total_outflow_amount_90d";
@SerializedName(SERIALIZED_NAME_TOTAL_OUTFLOW_AMOUNT90D)
private TotalOutflowAmount90d totalOutflowAmount90d;
public BaseReportAttributes isPrimaryAccount(Boolean isPrimaryAccount) {
this.isPrimaryAccount = isPrimaryAccount;
return this;
}
/**
* Prediction indicator of whether the account is a primary account. Only one account per account type across the items connected will have a value of true.
* @return isPrimaryAccount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Prediction indicator of whether the account is a primary account. Only one account per account type across the items connected will have a value of true.")
public Boolean getIsPrimaryAccount() {
return isPrimaryAccount;
}
public void setIsPrimaryAccount(Boolean isPrimaryAccount) {
this.isPrimaryAccount = isPrimaryAccount;
}
public BaseReportAttributes primaryAccountScore(Double primaryAccountScore) {
this.primaryAccountScore = primaryAccountScore;
return this;
}
/**
* Value ranging from 0-1. The higher the score, the more confident we are of the account being the primary account.
* @return primaryAccountScore
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Value ranging from 0-1. The higher the score, the more confident we are of the account being the primary account.")
public Double getPrimaryAccountScore() {
return primaryAccountScore;
}
public void setPrimaryAccountScore(Double primaryAccountScore) {
this.primaryAccountScore = primaryAccountScore;
}
public BaseReportAttributes nsfOverdraftTransactionsCount(Integer nsfOverdraftTransactionsCount) {
this.nsfOverdraftTransactionsCount = nsfOverdraftTransactionsCount;
return this;
}
/**
* The number of net NSF fee transactions for a given account within the report time range (not counting any fees that were reversed within the time range).
* @return nsfOverdraftTransactionsCount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of net NSF fee transactions for a given account within the report time range (not counting any fees that were reversed within the time range).")
public Integer getNsfOverdraftTransactionsCount() {
return nsfOverdraftTransactionsCount;
}
public void setNsfOverdraftTransactionsCount(Integer nsfOverdraftTransactionsCount) {
this.nsfOverdraftTransactionsCount = nsfOverdraftTransactionsCount;
}
public BaseReportAttributes nsfOverdraftTransactionsCount30d(Integer nsfOverdraftTransactionsCount30d) {
this.nsfOverdraftTransactionsCount30d = nsfOverdraftTransactionsCount30d;
return this;
}
/**
* The number of net NSF fee transactions within the last 30 days for a given account (not counting any fees that were reversed within the time range).
* @return nsfOverdraftTransactionsCount30d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of net NSF fee transactions within the last 30 days for a given account (not counting any fees that were reversed within the time range).")
public Integer getNsfOverdraftTransactionsCount30d() {
return nsfOverdraftTransactionsCount30d;
}
public void setNsfOverdraftTransactionsCount30d(Integer nsfOverdraftTransactionsCount30d) {
this.nsfOverdraftTransactionsCount30d = nsfOverdraftTransactionsCount30d;
}
public BaseReportAttributes nsfOverdraftTransactionsCount60d(Integer nsfOverdraftTransactionsCount60d) {
this.nsfOverdraftTransactionsCount60d = nsfOverdraftTransactionsCount60d;
return this;
}
/**
* The number of net NSF fee transactions within the last 60 days for a given account (not counting any fees that were reversed within the time range).
* @return nsfOverdraftTransactionsCount60d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of net NSF fee transactions within the last 60 days for a given account (not counting any fees that were reversed within the time range).")
public Integer getNsfOverdraftTransactionsCount60d() {
return nsfOverdraftTransactionsCount60d;
}
public void setNsfOverdraftTransactionsCount60d(Integer nsfOverdraftTransactionsCount60d) {
this.nsfOverdraftTransactionsCount60d = nsfOverdraftTransactionsCount60d;
}
public BaseReportAttributes nsfOverdraftTransactionsCount90d(Integer nsfOverdraftTransactionsCount90d) {
this.nsfOverdraftTransactionsCount90d = nsfOverdraftTransactionsCount90d;
return this;
}
/**
* The number of net NSF fee transactions within the last 90 days for a given account (not counting any fees that were reversed within the time range).
* @return nsfOverdraftTransactionsCount90d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of net NSF fee transactions within the last 90 days for a given account (not counting any fees that were reversed within the time range).")
public Integer getNsfOverdraftTransactionsCount90d() {
return nsfOverdraftTransactionsCount90d;
}
public void setNsfOverdraftTransactionsCount90d(Integer nsfOverdraftTransactionsCount90d) {
this.nsfOverdraftTransactionsCount90d = nsfOverdraftTransactionsCount90d;
}
public BaseReportAttributes totalInflowAmount(TotalInflowAmount totalInflowAmount) {
this.totalInflowAmount = totalInflowAmount;
return this;
}
/**
* Get totalInflowAmount
* @return totalInflowAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public TotalInflowAmount getTotalInflowAmount() {
return totalInflowAmount;
}
public void setTotalInflowAmount(TotalInflowAmount totalInflowAmount) {
this.totalInflowAmount = totalInflowAmount;
}
public BaseReportAttributes totalInflowAmount30d(TotalInflowAmount30d totalInflowAmount30d) {
this.totalInflowAmount30d = totalInflowAmount30d;
return this;
}
/**
* Get totalInflowAmount30d
* @return totalInflowAmount30d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public TotalInflowAmount30d getTotalInflowAmount30d() {
return totalInflowAmount30d;
}
public void setTotalInflowAmount30d(TotalInflowAmount30d totalInflowAmount30d) {
this.totalInflowAmount30d = totalInflowAmount30d;
}
public BaseReportAttributes totalInflowAmount60d(TotalInflowAmount60d totalInflowAmount60d) {
this.totalInflowAmount60d = totalInflowAmount60d;
return this;
}
/**
* Get totalInflowAmount60d
* @return totalInflowAmount60d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public TotalInflowAmount60d getTotalInflowAmount60d() {
return totalInflowAmount60d;
}
public void setTotalInflowAmount60d(TotalInflowAmount60d totalInflowAmount60d) {
this.totalInflowAmount60d = totalInflowAmount60d;
}
public BaseReportAttributes totalInflowAmount90d(TotalInflowAmount90d totalInflowAmount90d) {
this.totalInflowAmount90d = totalInflowAmount90d;
return this;
}
/**
* Get totalInflowAmount90d
* @return totalInflowAmount90d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public TotalInflowAmount90d getTotalInflowAmount90d() {
return totalInflowAmount90d;
}
public void setTotalInflowAmount90d(TotalInflowAmount90d totalInflowAmount90d) {
this.totalInflowAmount90d = totalInflowAmount90d;
}
public BaseReportAttributes totalOutflowAmount(TotalOutflowAmount totalOutflowAmount) {
this.totalOutflowAmount = totalOutflowAmount;
return this;
}
/**
* Get totalOutflowAmount
* @return totalOutflowAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public TotalOutflowAmount getTotalOutflowAmount() {
return totalOutflowAmount;
}
public void setTotalOutflowAmount(TotalOutflowAmount totalOutflowAmount) {
this.totalOutflowAmount = totalOutflowAmount;
}
public BaseReportAttributes totalOutflowAmount30d(TotalOutflowAmount30d totalOutflowAmount30d) {
this.totalOutflowAmount30d = totalOutflowAmount30d;
return this;
}
/**
* Get totalOutflowAmount30d
* @return totalOutflowAmount30d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public TotalOutflowAmount30d getTotalOutflowAmount30d() {
return totalOutflowAmount30d;
}
public void setTotalOutflowAmount30d(TotalOutflowAmount30d totalOutflowAmount30d) {
this.totalOutflowAmount30d = totalOutflowAmount30d;
}
public BaseReportAttributes totalOutflowAmount60d(TotalOutflowAmount60d totalOutflowAmount60d) {
this.totalOutflowAmount60d = totalOutflowAmount60d;
return this;
}
/**
* Get totalOutflowAmount60d
* @return totalOutflowAmount60d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public TotalOutflowAmount60d getTotalOutflowAmount60d() {
return totalOutflowAmount60d;
}
public void setTotalOutflowAmount60d(TotalOutflowAmount60d totalOutflowAmount60d) {
this.totalOutflowAmount60d = totalOutflowAmount60d;
}
public BaseReportAttributes totalOutflowAmount90d(TotalOutflowAmount90d totalOutflowAmount90d) {
this.totalOutflowAmount90d = totalOutflowAmount90d;
return this;
}
/**
* Get totalOutflowAmount90d
* @return totalOutflowAmount90d
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public TotalOutflowAmount90d getTotalOutflowAmount90d() {
return totalOutflowAmount90d;
}
public void setTotalOutflowAmount90d(TotalOutflowAmount90d totalOutflowAmount90d) {
this.totalOutflowAmount90d = totalOutflowAmount90d;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BaseReportAttributes baseReportAttributes = (BaseReportAttributes) o;
return Objects.equals(this.isPrimaryAccount, baseReportAttributes.isPrimaryAccount) &&
Objects.equals(this.primaryAccountScore, baseReportAttributes.primaryAccountScore) &&
Objects.equals(this.nsfOverdraftTransactionsCount, baseReportAttributes.nsfOverdraftTransactionsCount) &&
Objects.equals(this.nsfOverdraftTransactionsCount30d, baseReportAttributes.nsfOverdraftTransactionsCount30d) &&
Objects.equals(this.nsfOverdraftTransactionsCount60d, baseReportAttributes.nsfOverdraftTransactionsCount60d) &&
Objects.equals(this.nsfOverdraftTransactionsCount90d, baseReportAttributes.nsfOverdraftTransactionsCount90d) &&
Objects.equals(this.totalInflowAmount, baseReportAttributes.totalInflowAmount) &&
Objects.equals(this.totalInflowAmount30d, baseReportAttributes.totalInflowAmount30d) &&
Objects.equals(this.totalInflowAmount60d, baseReportAttributes.totalInflowAmount60d) &&
Objects.equals(this.totalInflowAmount90d, baseReportAttributes.totalInflowAmount90d) &&
Objects.equals(this.totalOutflowAmount, baseReportAttributes.totalOutflowAmount) &&
Objects.equals(this.totalOutflowAmount30d, baseReportAttributes.totalOutflowAmount30d) &&
Objects.equals(this.totalOutflowAmount60d, baseReportAttributes.totalOutflowAmount60d) &&
Objects.equals(this.totalOutflowAmount90d, baseReportAttributes.totalOutflowAmount90d);
}
@Override
public int hashCode() {
return Objects.hash(isPrimaryAccount, primaryAccountScore, nsfOverdraftTransactionsCount, nsfOverdraftTransactionsCount30d, nsfOverdraftTransactionsCount60d, nsfOverdraftTransactionsCount90d, totalInflowAmount, totalInflowAmount30d, totalInflowAmount60d, totalInflowAmount90d, totalOutflowAmount, totalOutflowAmount30d, totalOutflowAmount60d, totalOutflowAmount90d);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BaseReportAttributes {\n");
sb.append(" isPrimaryAccount: ").append(toIndentedString(isPrimaryAccount)).append("\n");
sb.append(" primaryAccountScore: ").append(toIndentedString(primaryAccountScore)).append("\n");
sb.append(" nsfOverdraftTransactionsCount: ").append(toIndentedString(nsfOverdraftTransactionsCount)).append("\n");
sb.append(" nsfOverdraftTransactionsCount30d: ").append(toIndentedString(nsfOverdraftTransactionsCount30d)).append("\n");
sb.append(" nsfOverdraftTransactionsCount60d: ").append(toIndentedString(nsfOverdraftTransactionsCount60d)).append("\n");
sb.append(" nsfOverdraftTransactionsCount90d: ").append(toIndentedString(nsfOverdraftTransactionsCount90d)).append("\n");
sb.append(" totalInflowAmount: ").append(toIndentedString(totalInflowAmount)).append("\n");
sb.append(" totalInflowAmount30d: ").append(toIndentedString(totalInflowAmount30d)).append("\n");
sb.append(" totalInflowAmount60d: ").append(toIndentedString(totalInflowAmount60d)).append("\n");
sb.append(" totalInflowAmount90d: ").append(toIndentedString(totalInflowAmount90d)).append("\n");
sb.append(" totalOutflowAmount: ").append(toIndentedString(totalOutflowAmount)).append("\n");
sb.append(" totalOutflowAmount30d: ").append(toIndentedString(totalOutflowAmount30d)).append("\n");
sb.append(" totalOutflowAmount60d: ").append(toIndentedString(totalOutflowAmount60d)).append("\n");
sb.append(" totalOutflowAmount90d: ").append(toIndentedString(totalOutflowAmount90d)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/AccountsGetRequestOptions.java | src/main/java/com/plaid/client/model/AccountsGetRequestOptions.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* An optional object to filter `/accounts/get` results.
*/
@ApiModel(description = "An optional object to filter `/accounts/get` results.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class AccountsGetRequestOptions {
public static final String SERIALIZED_NAME_ACCOUNT_IDS = "account_ids";
@SerializedName(SERIALIZED_NAME_ACCOUNT_IDS)
private List<String> accountIds = null;
public AccountsGetRequestOptions accountIds(List<String> accountIds) {
this.accountIds = accountIds;
return this;
}
public AccountsGetRequestOptions addAccountIdsItem(String accountIdsItem) {
if (this.accountIds == null) {
this.accountIds = new ArrayList<>();
}
this.accountIds.add(accountIdsItem);
return this;
}
/**
* An array of `account_ids` to retrieve for the Account.
* @return accountIds
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "An array of `account_ids` to retrieve for the Account.")
public List<String> getAccountIds() {
return accountIds;
}
public void setAccountIds(List<String> accountIds) {
this.accountIds = accountIds;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AccountsGetRequestOptions accountsGetRequestOptions = (AccountsGetRequestOptions) o;
return Objects.equals(this.accountIds, accountsGetRequestOptions.accountIds);
}
@Override
public int hashCode() {
return Objects.hash(accountIds);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AccountsGetRequestOptions {\n");
sb.append(" accountIds: ").append(toIndentedString(accountIds)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/WatchlistScreeningIndividualGetRequest.java | src/main/java/com/plaid/client/model/WatchlistScreeningIndividualGetRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Request input for fetching an individual watchlist screening
*/
@ApiModel(description = "Request input for fetching an individual watchlist screening")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class WatchlistScreeningIndividualGetRequest {
public static final String SERIALIZED_NAME_WATCHLIST_SCREENING_ID = "watchlist_screening_id";
@SerializedName(SERIALIZED_NAME_WATCHLIST_SCREENING_ID)
private String watchlistScreeningId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public WatchlistScreeningIndividualGetRequest watchlistScreeningId(String watchlistScreeningId) {
this.watchlistScreeningId = watchlistScreeningId;
return this;
}
/**
* ID of the associated screening.
* @return watchlistScreeningId
**/
@ApiModelProperty(example = "scr_52xR9LKo77r1Np", required = true, value = "ID of the associated screening.")
public String getWatchlistScreeningId() {
return watchlistScreeningId;
}
public void setWatchlistScreeningId(String watchlistScreeningId) {
this.watchlistScreeningId = watchlistScreeningId;
}
public WatchlistScreeningIndividualGetRequest 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 WatchlistScreeningIndividualGetRequest clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.
* @return clientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.")
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
WatchlistScreeningIndividualGetRequest watchlistScreeningIndividualGetRequest = (WatchlistScreeningIndividualGetRequest) o;
return Objects.equals(this.watchlistScreeningId, watchlistScreeningIndividualGetRequest.watchlistScreeningId) &&
Objects.equals(this.secret, watchlistScreeningIndividualGetRequest.secret) &&
Objects.equals(this.clientId, watchlistScreeningIndividualGetRequest.clientId);
}
@Override
public int hashCode() {
return Objects.hash(watchlistScreeningId, secret, clientId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class WatchlistScreeningIndividualGetRequest {\n");
sb.append(" watchlistScreeningId: ").append(toIndentedString(watchlistScreeningId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/UserBasedProducts.java | src/main/java/com/plaid/client/model/UserBasedProducts.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* A list of user-based products. User-based products include Financial Management products, Protect products, CRA products, and subscription products.
*/
@JsonAdapter(UserBasedProducts.Adapter.class)
public enum UserBasedProducts {
CRA_BASE_REPORT("cra_base_report"),
CRA_INCOME_INSIGHTS("cra_income_insights"),
CRA_PARTNER_INSIGHTS("cra_partner_insights"),
CRA_NETWORK_INSIGHTS("cra_network_insights"),
CRA_CASHFLOW_INSIGHTS("cra_cashflow_insights"),
CRA_MONITORING("cra_monitoring"),
CRA_LEND_SCORE("cra_lend_score"),
INVESTMENTS("investments"),
LIABILITIES("liabilities"),
PROTECT_LINKED_BANK("protect_linked_bank"),
TRANSACTIONS("transactions"),
// 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;
UserBasedProducts(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static UserBasedProducts fromValue(String value) {
for (UserBasedProducts b : UserBasedProducts.values()) {
if (b.value.equals(value)) {
return b;
}
}
return UserBasedProducts.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<UserBasedProducts> {
@Override
public void write(final JsonWriter jsonWriter, final UserBasedProducts enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public UserBasedProducts read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return UserBasedProducts.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/EmploymentDetails.java | src/main/java/com/plaid/client/model/EmploymentDetails.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.Pay;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
/**
* An object representing employment details found on a paystub.
*/
@ApiModel(description = "An object representing employment details found on a paystub.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class EmploymentDetails {
public static final String SERIALIZED_NAME_ANNUAL_SALARY = "annual_salary";
@SerializedName(SERIALIZED_NAME_ANNUAL_SALARY)
private Pay annualSalary;
public static final String SERIALIZED_NAME_HIRE_DATE = "hire_date";
@SerializedName(SERIALIZED_NAME_HIRE_DATE)
private LocalDate hireDate;
public EmploymentDetails annualSalary(Pay annualSalary) {
this.annualSalary = annualSalary;
return this;
}
/**
* Get annualSalary
* @return annualSalary
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Pay getAnnualSalary() {
return annualSalary;
}
public void setAnnualSalary(Pay annualSalary) {
this.annualSalary = annualSalary;
}
public EmploymentDetails hireDate(LocalDate hireDate) {
this.hireDate = hireDate;
return this;
}
/**
* Date on which the employee was hired, in the YYYY-MM-DD format.
* @return hireDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Date on which the employee was hired, in the YYYY-MM-DD format.")
public LocalDate getHireDate() {
return hireDate;
}
public void setHireDate(LocalDate hireDate) {
this.hireDate = hireDate;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
EmploymentDetails employmentDetails = (EmploymentDetails) o;
return Objects.equals(this.annualSalary, employmentDetails.annualSalary) &&
Objects.equals(this.hireDate, employmentDetails.hireDate);
}
@Override
public int hashCode() {
return Objects.hash(annualSalary, hireDate);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class EmploymentDetails {\n");
sb.append(" annualSalary: ").append(toIndentedString(annualSalary)).append("\n");
sb.append(" hireDate: ").append(toIndentedString(hireDate)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BeaconAccountRiskEvaluateResponse.java | src/main/java/com/plaid/client/model/BeaconAccountRiskEvaluateResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.BeaconAccountRiskEvaluateAccount;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* BeaconAccountRiskEvaluateResponse defines the response schema for `/beacon/account_risk/v1/evaluate`
*/
@ApiModel(description = "BeaconAccountRiskEvaluateResponse defines the response schema for `/beacon/account_risk/v1/evaluate`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BeaconAccountRiskEvaluateResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public static final String SERIALIZED_NAME_ACCOUNTS = "accounts";
@SerializedName(SERIALIZED_NAME_ACCOUNTS)
private List<BeaconAccountRiskEvaluateAccount> accounts = new ArrayList<>();
public BeaconAccountRiskEvaluateResponse 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 BeaconAccountRiskEvaluateResponse accounts(List<BeaconAccountRiskEvaluateAccount> accounts) {
this.accounts = accounts;
return this;
}
public BeaconAccountRiskEvaluateResponse addAccountsItem(BeaconAccountRiskEvaluateAccount accountsItem) {
this.accounts.add(accountsItem);
return this;
}
/**
* The accounts for which a risk evaluation has been requested.
* @return accounts
**/
@ApiModelProperty(required = true, value = "The accounts for which a risk evaluation has been requested.")
public List<BeaconAccountRiskEvaluateAccount> getAccounts() {
return accounts;
}
public void setAccounts(List<BeaconAccountRiskEvaluateAccount> accounts) {
this.accounts = accounts;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BeaconAccountRiskEvaluateResponse beaconAccountRiskEvaluateResponse = (BeaconAccountRiskEvaluateResponse) o;
return Objects.equals(this.requestId, beaconAccountRiskEvaluateResponse.requestId) &&
Objects.equals(this.accounts, beaconAccountRiskEvaluateResponse.accounts);
}
@Override
public int hashCode() {
return Objects.hash(requestId, accounts);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BeaconAccountRiskEvaluateResponse {\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append(" accounts: ").append(toIndentedString(accounts)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/IdentityMatchRequestOptions.java | src/main/java/com/plaid/client/model/IdentityMatchRequestOptions.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* An optional object to filter /identity/match results
*/
@ApiModel(description = "An optional object to filter /identity/match results")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class IdentityMatchRequestOptions {
public static final String SERIALIZED_NAME_ACCOUNT_IDS = "account_ids";
@SerializedName(SERIALIZED_NAME_ACCOUNT_IDS)
private List<String> accountIds = null;
public IdentityMatchRequestOptions accountIds(List<String> accountIds) {
this.accountIds = accountIds;
return this;
}
public IdentityMatchRequestOptions addAccountIdsItem(String accountIdsItem) {
if (this.accountIds == null) {
this.accountIds = new ArrayList<>();
}
this.accountIds.add(accountIdsItem);
return this;
}
/**
* An array of `account_ids` to perform fuzzy match
* @return accountIds
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "An array of `account_ids` to perform fuzzy match")
public List<String> getAccountIds() {
return accountIds;
}
public void setAccountIds(List<String> accountIds) {
this.accountIds = accountIds;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
IdentityMatchRequestOptions identityMatchRequestOptions = (IdentityMatchRequestOptions) o;
return Objects.equals(this.accountIds, identityMatchRequestOptions.accountIds);
}
@Override
public int hashCode() {
return Objects.hash(accountIds);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IdentityMatchRequestOptions {\n");
sb.append(" accountIds: ").append(toIndentedString(accountIds)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/IdentityVerificationStatus.java | src/main/java/com/plaid/client/model/IdentityVerificationStatus.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* The status of this Identity Verification attempt. `active` - The Identity Verification attempt is incomplete. The user may have completed part of the session, but has neither failed or passed. `success` - The Identity Verification attempt has completed, passing all steps defined to the associated Identity Verification template `failed` - The user failed one or more steps in the session and was told to contact support. `expired` - The Identity Verification attempt was active for a long period of time without being completed and was automatically marked as expired. Note that sessions currently do not expire. Automatic expiration is expected to be enabled in the future. `canceled` - The Identity Verification attempt was canceled, either via the dashboard by a user, or via API. The user may have completed part of the session, but has neither failed or passed. `pending_review` - The Identity Verification attempt template was configured to perform a screening that had one or more hits needing review.
*/
@JsonAdapter(IdentityVerificationStatus.Adapter.class)
public enum IdentityVerificationStatus {
ACTIVE("active"),
SUCCESS("success"),
FAILED("failed"),
EXPIRED("expired"),
CANCELED("canceled"),
PENDING_REVIEW("pending_review"),
// 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;
IdentityVerificationStatus(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static IdentityVerificationStatus fromValue(String value) {
for (IdentityVerificationStatus b : IdentityVerificationStatus.values()) {
if (b.value.equals(value)) {
return b;
}
}
return IdentityVerificationStatus.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<IdentityVerificationStatus> {
@Override
public void write(final JsonWriter jsonWriter, final IdentityVerificationStatus enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public IdentityVerificationStatus read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return IdentityVerificationStatus.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/TransferConfigurationGetResponse.java | src/main/java/com/plaid/client/model/TransferConfigurationGetResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines the response schema for `/transfer/configuration/get`
*/
@ApiModel(description = "Defines the response schema for `/transfer/configuration/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferConfigurationGetResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public static final String SERIALIZED_NAME_MAX_SINGLE_TRANSFER_AMOUNT = "max_single_transfer_amount";
@SerializedName(SERIALIZED_NAME_MAX_SINGLE_TRANSFER_AMOUNT)
private String maxSingleTransferAmount;
public static final String SERIALIZED_NAME_MAX_SINGLE_TRANSFER_CREDIT_AMOUNT = "max_single_transfer_credit_amount";
@SerializedName(SERIALIZED_NAME_MAX_SINGLE_TRANSFER_CREDIT_AMOUNT)
private String maxSingleTransferCreditAmount;
public static final String SERIALIZED_NAME_MAX_SINGLE_TRANSFER_DEBIT_AMOUNT = "max_single_transfer_debit_amount";
@SerializedName(SERIALIZED_NAME_MAX_SINGLE_TRANSFER_DEBIT_AMOUNT)
private String maxSingleTransferDebitAmount;
public static final String SERIALIZED_NAME_MAX_DAILY_CREDIT_AMOUNT = "max_daily_credit_amount";
@SerializedName(SERIALIZED_NAME_MAX_DAILY_CREDIT_AMOUNT)
private String maxDailyCreditAmount;
public static final String SERIALIZED_NAME_MAX_DAILY_DEBIT_AMOUNT = "max_daily_debit_amount";
@SerializedName(SERIALIZED_NAME_MAX_DAILY_DEBIT_AMOUNT)
private String maxDailyDebitAmount;
public static final String SERIALIZED_NAME_MAX_MONTHLY_AMOUNT = "max_monthly_amount";
@SerializedName(SERIALIZED_NAME_MAX_MONTHLY_AMOUNT)
private String maxMonthlyAmount;
public static final String SERIALIZED_NAME_MAX_MONTHLY_CREDIT_AMOUNT = "max_monthly_credit_amount";
@SerializedName(SERIALIZED_NAME_MAX_MONTHLY_CREDIT_AMOUNT)
private String maxMonthlyCreditAmount;
public static final String SERIALIZED_NAME_MAX_MONTHLY_DEBIT_AMOUNT = "max_monthly_debit_amount";
@SerializedName(SERIALIZED_NAME_MAX_MONTHLY_DEBIT_AMOUNT)
private String maxMonthlyDebitAmount;
public static final String SERIALIZED_NAME_ISO_CURRENCY_CODE = "iso_currency_code";
@SerializedName(SERIALIZED_NAME_ISO_CURRENCY_CODE)
private String isoCurrencyCode;
public TransferConfigurationGetResponse 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 TransferConfigurationGetResponse maxSingleTransferAmount(String maxSingleTransferAmount) {
this.maxSingleTransferAmount = maxSingleTransferAmount;
return this;
}
/**
* The max limit of dollar amount of a single transfer (decimal string with two digits of precision e.g. \"10.00\").
* @return maxSingleTransferAmount
**/
@ApiModelProperty(required = true, value = "The max limit of dollar amount of a single transfer (decimal string with two digits of precision e.g. \"10.00\").")
public String getMaxSingleTransferAmount() {
return maxSingleTransferAmount;
}
public void setMaxSingleTransferAmount(String maxSingleTransferAmount) {
this.maxSingleTransferAmount = maxSingleTransferAmount;
}
public TransferConfigurationGetResponse maxSingleTransferCreditAmount(String maxSingleTransferCreditAmount) {
this.maxSingleTransferCreditAmount = maxSingleTransferCreditAmount;
return this;
}
/**
* The max limit of dollar amount of a single credit transfer (decimal string with two digits of precision e.g. \"10.00\").
* @return maxSingleTransferCreditAmount
**/
@ApiModelProperty(required = true, value = "The max limit of dollar amount of a single credit transfer (decimal string with two digits of precision e.g. \"10.00\").")
public String getMaxSingleTransferCreditAmount() {
return maxSingleTransferCreditAmount;
}
public void setMaxSingleTransferCreditAmount(String maxSingleTransferCreditAmount) {
this.maxSingleTransferCreditAmount = maxSingleTransferCreditAmount;
}
public TransferConfigurationGetResponse maxSingleTransferDebitAmount(String maxSingleTransferDebitAmount) {
this.maxSingleTransferDebitAmount = maxSingleTransferDebitAmount;
return this;
}
/**
* The max limit of dollar amount of a single debit transfer (decimal string with two digits of precision e.g. \"10.00\").
* @return maxSingleTransferDebitAmount
**/
@ApiModelProperty(required = true, value = "The max limit of dollar amount of a single debit transfer (decimal string with two digits of precision e.g. \"10.00\").")
public String getMaxSingleTransferDebitAmount() {
return maxSingleTransferDebitAmount;
}
public void setMaxSingleTransferDebitAmount(String maxSingleTransferDebitAmount) {
this.maxSingleTransferDebitAmount = maxSingleTransferDebitAmount;
}
public TransferConfigurationGetResponse maxDailyCreditAmount(String maxDailyCreditAmount) {
this.maxDailyCreditAmount = maxDailyCreditAmount;
return this;
}
/**
* The max limit of sum of dollar amount of credit transfers in last 24 hours (decimal string with two digits of precision e.g. \"10.00\").
* @return maxDailyCreditAmount
**/
@ApiModelProperty(required = true, value = "The max limit of sum of dollar amount of credit transfers in last 24 hours (decimal string with two digits of precision e.g. \"10.00\").")
public String getMaxDailyCreditAmount() {
return maxDailyCreditAmount;
}
public void setMaxDailyCreditAmount(String maxDailyCreditAmount) {
this.maxDailyCreditAmount = maxDailyCreditAmount;
}
public TransferConfigurationGetResponse maxDailyDebitAmount(String maxDailyDebitAmount) {
this.maxDailyDebitAmount = maxDailyDebitAmount;
return this;
}
/**
* The max limit of sum of dollar amount of debit transfers in last 24 hours (decimal string with two digits of precision e.g. \"10.00\").
* @return maxDailyDebitAmount
**/
@ApiModelProperty(required = true, value = "The max limit of sum of dollar amount of debit transfers in last 24 hours (decimal string with two digits of precision e.g. \"10.00\").")
public String getMaxDailyDebitAmount() {
return maxDailyDebitAmount;
}
public void setMaxDailyDebitAmount(String maxDailyDebitAmount) {
this.maxDailyDebitAmount = maxDailyDebitAmount;
}
public TransferConfigurationGetResponse maxMonthlyAmount(String maxMonthlyAmount) {
this.maxMonthlyAmount = maxMonthlyAmount;
return this;
}
/**
* The max limit of sum of dollar amount of credit and debit transfers in one calendar month (decimal string with two digits of precision e.g. \"10.00\").
* @return maxMonthlyAmount
**/
@ApiModelProperty(required = true, value = "The max limit of sum of dollar amount of credit and debit transfers in one calendar month (decimal string with two digits of precision e.g. \"10.00\").")
public String getMaxMonthlyAmount() {
return maxMonthlyAmount;
}
public void setMaxMonthlyAmount(String maxMonthlyAmount) {
this.maxMonthlyAmount = maxMonthlyAmount;
}
public TransferConfigurationGetResponse maxMonthlyCreditAmount(String maxMonthlyCreditAmount) {
this.maxMonthlyCreditAmount = maxMonthlyCreditAmount;
return this;
}
/**
* The max limit of sum of dollar amount of credit transfers in one calendar month (decimal string with two digits of precision e.g. \"10.00\").
* @return maxMonthlyCreditAmount
**/
@ApiModelProperty(required = true, value = "The max limit of sum of dollar amount of credit transfers in one calendar month (decimal string with two digits of precision e.g. \"10.00\").")
public String getMaxMonthlyCreditAmount() {
return maxMonthlyCreditAmount;
}
public void setMaxMonthlyCreditAmount(String maxMonthlyCreditAmount) {
this.maxMonthlyCreditAmount = maxMonthlyCreditAmount;
}
public TransferConfigurationGetResponse maxMonthlyDebitAmount(String maxMonthlyDebitAmount) {
this.maxMonthlyDebitAmount = maxMonthlyDebitAmount;
return this;
}
/**
* The max limit of sum of dollar amount of debit transfers in one calendar month (decimal string with two digits of precision e.g. \"10.00\").
* @return maxMonthlyDebitAmount
**/
@ApiModelProperty(required = true, value = "The max limit of sum of dollar amount of debit transfers in one calendar month (decimal string with two digits of precision e.g. \"10.00\").")
public String getMaxMonthlyDebitAmount() {
return maxMonthlyDebitAmount;
}
public void setMaxMonthlyDebitAmount(String maxMonthlyDebitAmount) {
this.maxMonthlyDebitAmount = maxMonthlyDebitAmount;
}
public TransferConfigurationGetResponse isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The currency of the dollar amount, e.g. \"USD\".
* @return isoCurrencyCode
**/
@ApiModelProperty(required = true, value = "The currency of the dollar amount, e.g. \"USD\".")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferConfigurationGetResponse transferConfigurationGetResponse = (TransferConfigurationGetResponse) o;
return Objects.equals(this.requestId, transferConfigurationGetResponse.requestId) &&
Objects.equals(this.maxSingleTransferAmount, transferConfigurationGetResponse.maxSingleTransferAmount) &&
Objects.equals(this.maxSingleTransferCreditAmount, transferConfigurationGetResponse.maxSingleTransferCreditAmount) &&
Objects.equals(this.maxSingleTransferDebitAmount, transferConfigurationGetResponse.maxSingleTransferDebitAmount) &&
Objects.equals(this.maxDailyCreditAmount, transferConfigurationGetResponse.maxDailyCreditAmount) &&
Objects.equals(this.maxDailyDebitAmount, transferConfigurationGetResponse.maxDailyDebitAmount) &&
Objects.equals(this.maxMonthlyAmount, transferConfigurationGetResponse.maxMonthlyAmount) &&
Objects.equals(this.maxMonthlyCreditAmount, transferConfigurationGetResponse.maxMonthlyCreditAmount) &&
Objects.equals(this.maxMonthlyDebitAmount, transferConfigurationGetResponse.maxMonthlyDebitAmount) &&
Objects.equals(this.isoCurrencyCode, transferConfigurationGetResponse.isoCurrencyCode);
}
@Override
public int hashCode() {
return Objects.hash(requestId, maxSingleTransferAmount, maxSingleTransferCreditAmount, maxSingleTransferDebitAmount, maxDailyCreditAmount, maxDailyDebitAmount, maxMonthlyAmount, maxMonthlyCreditAmount, maxMonthlyDebitAmount, isoCurrencyCode);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferConfigurationGetResponse {\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append(" maxSingleTransferAmount: ").append(toIndentedString(maxSingleTransferAmount)).append("\n");
sb.append(" maxSingleTransferCreditAmount: ").append(toIndentedString(maxSingleTransferCreditAmount)).append("\n");
sb.append(" maxSingleTransferDebitAmount: ").append(toIndentedString(maxSingleTransferDebitAmount)).append("\n");
sb.append(" maxDailyCreditAmount: ").append(toIndentedString(maxDailyCreditAmount)).append("\n");
sb.append(" maxDailyDebitAmount: ").append(toIndentedString(maxDailyDebitAmount)).append("\n");
sb.append(" maxMonthlyAmount: ").append(toIndentedString(maxMonthlyAmount)).append("\n");
sb.append(" maxMonthlyCreditAmount: ").append(toIndentedString(maxMonthlyCreditAmount)).append("\n");
sb.append(" maxMonthlyDebitAmount: ").append(toIndentedString(maxMonthlyDebitAmount)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/SMSVerification.java | src/main/java/com/plaid/client/model/SMSVerification.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.SMSVerificationStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
/**
* Additional information for the individual SMS verification.
*/
@ApiModel(description = "Additional information for the individual SMS verification.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SMSVerification {
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private SMSVerificationStatus status;
public static final String SERIALIZED_NAME_ATTEMPT = "attempt";
@SerializedName(SERIALIZED_NAME_ATTEMPT)
private Integer attempt;
public static final String SERIALIZED_NAME_PHONE_NUMBER = "phone_number";
@SerializedName(SERIALIZED_NAME_PHONE_NUMBER)
private String phoneNumber;
public static final String SERIALIZED_NAME_DELIVERY_ATTEMPT_COUNT = "delivery_attempt_count";
@SerializedName(SERIALIZED_NAME_DELIVERY_ATTEMPT_COUNT)
private Integer deliveryAttemptCount;
public static final String SERIALIZED_NAME_SOLVE_ATTEMPT_COUNT = "solve_attempt_count";
@SerializedName(SERIALIZED_NAME_SOLVE_ATTEMPT_COUNT)
private Integer solveAttemptCount;
public static final String SERIALIZED_NAME_INITIALLY_SENT_AT = "initially_sent_at";
@SerializedName(SERIALIZED_NAME_INITIALLY_SENT_AT)
private OffsetDateTime initiallySentAt;
public static final String SERIALIZED_NAME_LAST_SENT_AT = "last_sent_at";
@SerializedName(SERIALIZED_NAME_LAST_SENT_AT)
private OffsetDateTime lastSentAt;
public static final String SERIALIZED_NAME_REDACTED_AT = "redacted_at";
@SerializedName(SERIALIZED_NAME_REDACTED_AT)
private OffsetDateTime redactedAt;
public SMSVerification status(SMSVerificationStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@ApiModelProperty(required = true, value = "")
public SMSVerificationStatus getStatus() {
return status;
}
public void setStatus(SMSVerificationStatus status) {
this.status = status;
}
public SMSVerification attempt(Integer attempt) {
this.attempt = attempt;
return this;
}
/**
* The attempt field begins with 1 and increments with each subsequent SMS verification.
* @return attempt
**/
@ApiModelProperty(example = "1", required = true, value = "The attempt field begins with 1 and increments with each subsequent SMS verification.")
public Integer getAttempt() {
return attempt;
}
public void setAttempt(Integer attempt) {
this.attempt = attempt;
}
public SMSVerification phoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
return this;
}
/**
* A phone number in E.164 format.
* @return phoneNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "+12345678909", required = true, value = "A phone number in E.164 format.")
public String getPhoneNumber() {
return phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
}
public SMSVerification deliveryAttemptCount(Integer deliveryAttemptCount) {
this.deliveryAttemptCount = deliveryAttemptCount;
return this;
}
/**
* The number of delivery attempts made within the verification to send the SMS code to the user. Each delivery attempt represents the user taking action from the front end UI to request creation and delivery of a new SMS verification code, or to resend an existing SMS verification code. There is a limit of 3 delivery attempts per verification.
* @return deliveryAttemptCount
**/
@ApiModelProperty(example = "1", required = true, value = "The number of delivery attempts made within the verification to send the SMS code to the user. Each delivery attempt represents the user taking action from the front end UI to request creation and delivery of a new SMS verification code, or to resend an existing SMS verification code. There is a limit of 3 delivery attempts per verification.")
public Integer getDeliveryAttemptCount() {
return deliveryAttemptCount;
}
public void setDeliveryAttemptCount(Integer deliveryAttemptCount) {
this.deliveryAttemptCount = deliveryAttemptCount;
}
public SMSVerification solveAttemptCount(Integer solveAttemptCount) {
this.solveAttemptCount = solveAttemptCount;
return this;
}
/**
* The number of attempts made by the user within the verification to verify the SMS code by entering it into the front end UI. There is a limit of 3 solve attempts per verification.
* @return solveAttemptCount
**/
@ApiModelProperty(example = "1", required = true, value = "The number of attempts made by the user within the verification to verify the SMS code by entering it into the front end UI. There is a limit of 3 solve attempts per verification.")
public Integer getSolveAttemptCount() {
return solveAttemptCount;
}
public void setSolveAttemptCount(Integer solveAttemptCount) {
this.solveAttemptCount = solveAttemptCount;
}
public SMSVerification initiallySentAt(OffsetDateTime initiallySentAt) {
this.initiallySentAt = initiallySentAt;
return this;
}
/**
* An ISO8601 formatted timestamp.
* @return initiallySentAt
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "2020-07-24T03:26:02Z", required = true, value = "An ISO8601 formatted timestamp.")
public OffsetDateTime getInitiallySentAt() {
return initiallySentAt;
}
public void setInitiallySentAt(OffsetDateTime initiallySentAt) {
this.initiallySentAt = initiallySentAt;
}
public SMSVerification lastSentAt(OffsetDateTime lastSentAt) {
this.lastSentAt = lastSentAt;
return this;
}
/**
* An ISO8601 formatted timestamp.
* @return lastSentAt
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "2020-07-24T03:26:02Z", required = true, value = "An ISO8601 formatted timestamp.")
public OffsetDateTime getLastSentAt() {
return lastSentAt;
}
public void setLastSentAt(OffsetDateTime lastSentAt) {
this.lastSentAt = lastSentAt;
}
public SMSVerification 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;
}
SMSVerification smSVerification = (SMSVerification) o;
return Objects.equals(this.status, smSVerification.status) &&
Objects.equals(this.attempt, smSVerification.attempt) &&
Objects.equals(this.phoneNumber, smSVerification.phoneNumber) &&
Objects.equals(this.deliveryAttemptCount, smSVerification.deliveryAttemptCount) &&
Objects.equals(this.solveAttemptCount, smSVerification.solveAttemptCount) &&
Objects.equals(this.initiallySentAt, smSVerification.initiallySentAt) &&
Objects.equals(this.lastSentAt, smSVerification.lastSentAt) &&
Objects.equals(this.redactedAt, smSVerification.redactedAt);
}
@Override
public int hashCode() {
return Objects.hash(status, attempt, phoneNumber, deliveryAttemptCount, solveAttemptCount, initiallySentAt, lastSentAt, redactedAt);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SMSVerification {\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" attempt: ").append(toIndentedString(attempt)).append("\n");
sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n");
sb.append(" deliveryAttemptCount: ").append(toIndentedString(deliveryAttemptCount)).append("\n");
sb.append(" solveAttemptCount: ").append(toIndentedString(solveAttemptCount)).append("\n");
sb.append(" initiallySentAt: ").append(toIndentedString(initiallySentAt)).append("\n");
sb.append(" lastSentAt: ").append(toIndentedString(lastSentAt)).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/AAMVADetailedMatchResult.java | src/main/java/com/plaid/client/model/AAMVADetailedMatchResult.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* The outcome of checking the associated hit against state databases. `match` - The field is an exact match with the state database. `partial_match` - The field is a partial match with the state database. `no_match` - The field is not an exact match with the state database. `no_data` - The field was unable to be checked against state databases.
*/
@JsonAdapter(AAMVADetailedMatchResult.Adapter.class)
public enum AAMVADetailedMatchResult {
MATCH("match"),
PARTIAL_MATCH("partial_match"),
NO_MATCH("no_match"),
NO_DATA("no_data"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
AAMVADetailedMatchResult(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static AAMVADetailedMatchResult fromValue(String value) {
for (AAMVADetailedMatchResult b : AAMVADetailedMatchResult.values()) {
if (b.value.equals(value)) {
return b;
}
}
return AAMVADetailedMatchResult.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<AAMVADetailedMatchResult> {
@Override
public void write(final JsonWriter jsonWriter, final AAMVADetailedMatchResult enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public AAMVADetailedMatchResult read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return AAMVADetailedMatchResult.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/CreditEmploymentItem.java | src/main/java/com/plaid/client/model/CreditEmploymentItem.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.CreditEmploymentVerification;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* The object containing employment items.
*/
@ApiModel(description = "The object containing employment items.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditEmploymentItem {
public static final String SERIALIZED_NAME_ITEM_ID = "item_id";
@SerializedName(SERIALIZED_NAME_ITEM_ID)
private String itemId;
public static final String SERIALIZED_NAME_EMPLOYMENTS = "employments";
@SerializedName(SERIALIZED_NAME_EMPLOYMENTS)
private List<CreditEmploymentVerification> employments = new ArrayList<>();
public static final String SERIALIZED_NAME_EMPLOYMENT_REPORT_TOKEN = "employment_report_token";
@SerializedName(SERIALIZED_NAME_EMPLOYMENT_REPORT_TOKEN)
private String employmentReportToken;
public CreditEmploymentItem 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 CreditEmploymentItem employments(List<CreditEmploymentVerification> employments) {
this.employments = employments;
return this;
}
public CreditEmploymentItem addEmploymentsItem(CreditEmploymentVerification employmentsItem) {
this.employments.add(employmentsItem);
return this;
}
/**
* Get employments
* @return employments
**/
@ApiModelProperty(required = true, value = "")
public List<CreditEmploymentVerification> getEmployments() {
return employments;
}
public void setEmployments(List<CreditEmploymentVerification> employments) {
this.employments = employments;
}
public CreditEmploymentItem employmentReportToken(String employmentReportToken) {
this.employmentReportToken = employmentReportToken;
return this;
}
/**
* Token to represent the underlying Employment data
* @return employmentReportToken
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Token to represent the underlying Employment data")
public String getEmploymentReportToken() {
return employmentReportToken;
}
public void setEmploymentReportToken(String employmentReportToken) {
this.employmentReportToken = employmentReportToken;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreditEmploymentItem creditEmploymentItem = (CreditEmploymentItem) o;
return Objects.equals(this.itemId, creditEmploymentItem.itemId) &&
Objects.equals(this.employments, creditEmploymentItem.employments) &&
Objects.equals(this.employmentReportToken, creditEmploymentItem.employmentReportToken);
}
@Override
public int hashCode() {
return Objects.hash(itemId, employments, employmentReportToken);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditEmploymentItem {\n");
sb.append(" itemId: ").append(toIndentedString(itemId)).append("\n");
sb.append(" employments: ").append(toIndentedString(employments)).append("\n");
sb.append(" employmentReportToken: ").append(toIndentedString(employmentReportToken)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/AssetReportCreateRequest.java | src/main/java/com/plaid/client/model/AssetReportCreateRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.AssetReportCreateRequestOptions;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* AssetReportCreateRequest defines the request schema for `/asset_report/create`
*/
@ApiModel(description = "AssetReportCreateRequest defines the request 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 AssetReportCreateRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_ACCESS_TOKENS = "access_tokens";
@SerializedName(SERIALIZED_NAME_ACCESS_TOKENS)
private List<String> accessTokens = null;
public static final String SERIALIZED_NAME_DAYS_REQUESTED = "days_requested";
@SerializedName(SERIALIZED_NAME_DAYS_REQUESTED)
private Integer daysRequested;
public static final String SERIALIZED_NAME_OPTIONS = "options";
@SerializedName(SERIALIZED_NAME_OPTIONS)
private AssetReportCreateRequestOptions options;
public AssetReportCreateRequest 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 AssetReportCreateRequest 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 AssetReportCreateRequest accessTokens(List<String> accessTokens) {
this.accessTokens = accessTokens;
return this;
}
public AssetReportCreateRequest addAccessTokensItem(String accessTokensItem) {
if (this.accessTokens == null) {
this.accessTokens = new ArrayList<>();
}
this.accessTokens.add(accessTokensItem);
return this;
}
/**
* An array of access tokens corresponding to the Items that will be included in the report. The `assets` product must have been initialized for the Items during link; the Assets product cannot be added after initialization.
* @return accessTokens
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "An array of access tokens corresponding to the Items that will be included in the report. The `assets` product must have been initialized for the Items during link; the Assets product cannot be added after initialization.")
public List<String> getAccessTokens() {
return accessTokens;
}
public void setAccessTokens(List<String> accessTokens) {
this.accessTokens = accessTokens;
}
public AssetReportCreateRequest daysRequested(Integer daysRequested) {
this.daysRequested = daysRequested;
return this;
}
/**
* The maximum integer number of days of history to include in the Asset Report. If using Fannie Mae Day 1 Certainty, `days_requested` must be at least 61 for new originations or at least 31 for refinancings. An Asset Report requested with \"Additional History\" (that is, with more than 61 days of transaction history) will incur an Additional History fee.
* minimum: 0
* maximum: 731
* @return daysRequested
**/
@ApiModelProperty(required = true, value = "The maximum integer number of days of history to include in the Asset Report. If using Fannie Mae Day 1 Certainty, `days_requested` must be at least 61 for new originations or at least 31 for refinancings. An Asset Report requested with \"Additional History\" (that is, with more than 61 days of transaction history) will incur an Additional History fee.")
public Integer getDaysRequested() {
return daysRequested;
}
public void setDaysRequested(Integer daysRequested) {
this.daysRequested = daysRequested;
}
public AssetReportCreateRequest options(AssetReportCreateRequestOptions options) {
this.options = options;
return this;
}
/**
* Get options
* @return options
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public AssetReportCreateRequestOptions getOptions() {
return options;
}
public void setOptions(AssetReportCreateRequestOptions options) {
this.options = options;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AssetReportCreateRequest assetReportCreateRequest = (AssetReportCreateRequest) o;
return Objects.equals(this.clientId, assetReportCreateRequest.clientId) &&
Objects.equals(this.secret, assetReportCreateRequest.secret) &&
Objects.equals(this.accessTokens, assetReportCreateRequest.accessTokens) &&
Objects.equals(this.daysRequested, assetReportCreateRequest.daysRequested) &&
Objects.equals(this.options, assetReportCreateRequest.options);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, accessTokens, daysRequested, options);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AssetReportCreateRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" accessTokens: ").append(toIndentedString(accessTokens)).append("\n");
sb.append(" daysRequested: ").append(toIndentedString(daysRequested)).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/WatchlistScreeningAuditTrail.java | src/main/java/com/plaid/client/model/WatchlistScreeningAuditTrail.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.Source;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Information about the last change made to the parent object specifying what caused the change as well as when it occurred.
*/
@ApiModel(description = "Information about the last change made to the parent object specifying what caused the change as well as when it occurred.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class WatchlistScreeningAuditTrail {
public static final String SERIALIZED_NAME_SOURCE = "source";
@SerializedName(SERIALIZED_NAME_SOURCE)
private Source source;
public static final String SERIALIZED_NAME_DASHBOARD_USER_ID = "dashboard_user_id";
@SerializedName(SERIALIZED_NAME_DASHBOARD_USER_ID)
private String dashboardUserId;
public static final String SERIALIZED_NAME_TIMESTAMP = "timestamp";
@SerializedName(SERIALIZED_NAME_TIMESTAMP)
private java.sql.Timestamp timestamp;
public WatchlistScreeningAuditTrail source(Source source) {
this.source = source;
return this;
}
/**
* Get source
* @return source
**/
@ApiModelProperty(required = true, value = "")
public Source getSource() {
return source;
}
public void setSource(Source source) {
this.source = source;
}
public WatchlistScreeningAuditTrail dashboardUserId(String dashboardUserId) {
this.dashboardUserId = dashboardUserId;
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 dashboardUserId
**/
@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 getDashboardUserId() {
return dashboardUserId;
}
public void setDashboardUserId(String dashboardUserId) {
this.dashboardUserId = dashboardUserId;
}
public WatchlistScreeningAuditTrail timestamp(java.sql.Timestamp timestamp) {
this.timestamp = timestamp;
return this;
}
/**
* Get timestamp
* @return timestamp
**/
@ApiModelProperty(required = true, value = "")
public java.sql.Timestamp getTimestamp() {
return timestamp;
}
public void setTimestamp(java.sql.Timestamp timestamp) {
this.timestamp = timestamp;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
WatchlistScreeningAuditTrail watchlistScreeningAuditTrail = (WatchlistScreeningAuditTrail) o;
return Objects.equals(this.source, watchlistScreeningAuditTrail.source) &&
Objects.equals(this.dashboardUserId, watchlistScreeningAuditTrail.dashboardUserId) &&
Objects.equals(this.timestamp, watchlistScreeningAuditTrail.timestamp);
}
@Override
public int hashCode() {
return Objects.hash(source, dashboardUserId, timestamp);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class WatchlistScreeningAuditTrail {\n");
sb.append(" source: ").append(toIndentedString(source)).append("\n");
sb.append(" dashboardUserId: ").append(toIndentedString(dashboardUserId)).append("\n");
sb.append(" timestamp: ").append(toIndentedString(timestamp)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CRALoansRegisterRequest.java | src/main/java/com/plaid/client/model/CRALoansRegisterRequest.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.CraLoanRegister;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* CraLoansRegisterRequest defines the request schema for `/cra/loans/register`
*/
@ApiModel(description = "CraLoansRegisterRequest defines the request schema for `/cra/loans/register`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CRALoansRegisterRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_LOANS = "loans";
@SerializedName(SERIALIZED_NAME_LOANS)
private List<CraLoanRegister> loans = new ArrayList<>();
public CRALoansRegisterRequest 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 CRALoansRegisterRequest 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 CRALoansRegisterRequest loans(List<CraLoanRegister> loans) {
this.loans = loans;
return this;
}
public CRALoansRegisterRequest addLoansItem(CraLoanRegister loansItem) {
this.loans.add(loansItem);
return this;
}
/**
* A list of loans to register.
* @return loans
**/
@ApiModelProperty(required = true, value = "A list of loans to register.")
public List<CraLoanRegister> getLoans() {
return loans;
}
public void setLoans(List<CraLoanRegister> loans) {
this.loans = loans;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CRALoansRegisterRequest crALoansRegisterRequest = (CRALoansRegisterRequest) o;
return Objects.equals(this.clientId, crALoansRegisterRequest.clientId) &&
Objects.equals(this.secret, crALoansRegisterRequest.secret) &&
Objects.equals(this.loans, crALoansRegisterRequest.loans);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, loans);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CRALoansRegisterRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" loans: ").append(toIndentedString(loans)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/PaymentConsentPeriodicAmount.java | src/main/java/com/plaid/client/model/PaymentConsentPeriodicAmount.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.PaymentConsentPeriodicAlignment;
import com.plaid.client.model.PaymentConsentPeriodicAmountAmount;
import com.plaid.client.model.PaymentConsentPeriodicInterval;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines consent payments limitations per period.
*/
@ApiModel(description = "Defines consent payments limitations per period.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PaymentConsentPeriodicAmount {
public static final String SERIALIZED_NAME_AMOUNT = "amount";
@SerializedName(SERIALIZED_NAME_AMOUNT)
private PaymentConsentPeriodicAmountAmount amount;
public static final String SERIALIZED_NAME_INTERVAL = "interval";
@SerializedName(SERIALIZED_NAME_INTERVAL)
private PaymentConsentPeriodicInterval interval;
public static final String SERIALIZED_NAME_ALIGNMENT = "alignment";
@SerializedName(SERIALIZED_NAME_ALIGNMENT)
private PaymentConsentPeriodicAlignment alignment;
public PaymentConsentPeriodicAmount amount(PaymentConsentPeriodicAmountAmount amount) {
this.amount = amount;
return this;
}
/**
* Get amount
* @return amount
**/
@ApiModelProperty(required = true, value = "")
public PaymentConsentPeriodicAmountAmount getAmount() {
return amount;
}
public void setAmount(PaymentConsentPeriodicAmountAmount amount) {
this.amount = amount;
}
public PaymentConsentPeriodicAmount interval(PaymentConsentPeriodicInterval interval) {
this.interval = interval;
return this;
}
/**
* Get interval
* @return interval
**/
@ApiModelProperty(required = true, value = "")
public PaymentConsentPeriodicInterval getInterval() {
return interval;
}
public void setInterval(PaymentConsentPeriodicInterval interval) {
this.interval = interval;
}
public PaymentConsentPeriodicAmount alignment(PaymentConsentPeriodicAlignment alignment) {
this.alignment = alignment;
return this;
}
/**
* Get alignment
* @return alignment
**/
@ApiModelProperty(required = true, value = "")
public PaymentConsentPeriodicAlignment getAlignment() {
return alignment;
}
public void setAlignment(PaymentConsentPeriodicAlignment alignment) {
this.alignment = alignment;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PaymentConsentPeriodicAmount paymentConsentPeriodicAmount = (PaymentConsentPeriodicAmount) o;
return Objects.equals(this.amount, paymentConsentPeriodicAmount.amount) &&
Objects.equals(this.interval, paymentConsentPeriodicAmount.interval) &&
Objects.equals(this.alignment, paymentConsentPeriodicAmount.alignment);
}
@Override
public int hashCode() {
return Objects.hash(amount, interval, alignment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaymentConsentPeriodicAmount {\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" interval: ").append(toIndentedString(interval)).append("\n");
sb.append(" alignment: ").append(toIndentedString(alignment)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BeaconUserUpdateResponse.java | src/main/java/com/plaid/client/model/BeaconUserUpdateResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.BeaconAuditTrail;
import com.plaid.client.model.BeaconUserData;
import com.plaid.client.model.BeaconUserStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
/**
* A Beacon User represents an end user that has been scanned against the Beacon Network.
*/
@ApiModel(description = "A Beacon User represents an end user that has been scanned against the Beacon Network.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BeaconUserUpdateResponse {
public static final String SERIALIZED_NAME_ITEM_IDS = "item_ids";
@SerializedName(SERIALIZED_NAME_ITEM_IDS)
private Set<String> itemIds = new LinkedHashSet<>();
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 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_UPDATED_AT = "updated_at";
@SerializedName(SERIALIZED_NAME_UPDATED_AT)
private OffsetDateTime updatedAt;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private BeaconUserStatus status;
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 BeaconUserData user;
public static final String SERIALIZED_NAME_AUDIT_TRAIL = "audit_trail";
@SerializedName(SERIALIZED_NAME_AUDIT_TRAIL)
private BeaconAuditTrail auditTrail;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public BeaconUserUpdateResponse itemIds(Set<String> itemIds) {
this.itemIds = itemIds;
return this;
}
public BeaconUserUpdateResponse addItemIdsItem(String itemIdsItem) {
this.itemIds.add(itemIdsItem);
return this;
}
/**
* An array of Plaid Item IDs corresponding to the Accounts associated with this Beacon User.
* @return itemIds
**/
@ApiModelProperty(example = "[\"515cd85321d3649aecddc015\"]", required = true, value = "An array of Plaid Item IDs corresponding to the Accounts associated with this Beacon User.")
public Set<String> getItemIds() {
return itemIds;
}
public void setItemIds(Set<String> itemIds) {
this.itemIds = itemIds;
}
public BeaconUserUpdateResponse 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 BeaconUserUpdateResponse version(Integer version) {
this.version = version;
return this;
}
/**
* The `version` field begins with 1 and increments each time the user is updated.
* @return version
**/
@ApiModelProperty(example = "1", required = true, value = "The `version` field begins with 1 and increments each time the user is updated.")
public Integer getVersion() {
return version;
}
public void setVersion(Integer version) {
this.version = version;
}
public BeaconUserUpdateResponse 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 BeaconUserUpdateResponse updatedAt(OffsetDateTime updatedAt) {
this.updatedAt = updatedAt;
return this;
}
/**
* An ISO8601 formatted timestamp. This field indicates the last time the resource was modified.
* @return updatedAt
**/
@ApiModelProperty(example = "2020-07-24T03:26:02Z", required = true, value = "An ISO8601 formatted timestamp. This field indicates the last time the resource was modified.")
public OffsetDateTime getUpdatedAt() {
return updatedAt;
}
public void setUpdatedAt(OffsetDateTime updatedAt) {
this.updatedAt = updatedAt;
}
public BeaconUserUpdateResponse status(BeaconUserStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@ApiModelProperty(required = true, value = "")
public BeaconUserStatus getStatus() {
return status;
}
public void setStatus(BeaconUserStatus status) {
this.status = status;
}
public BeaconUserUpdateResponse 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 BeaconUserUpdateResponse 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 BeaconUserUpdateResponse user(BeaconUserData user) {
this.user = user;
return this;
}
/**
* Get user
* @return user
**/
@ApiModelProperty(required = true, value = "")
public BeaconUserData getUser() {
return user;
}
public void setUser(BeaconUserData user) {
this.user = user;
}
public BeaconUserUpdateResponse auditTrail(BeaconAuditTrail auditTrail) {
this.auditTrail = auditTrail;
return this;
}
/**
* Get auditTrail
* @return auditTrail
**/
@ApiModelProperty(required = true, value = "")
public BeaconAuditTrail getAuditTrail() {
return auditTrail;
}
public void setAuditTrail(BeaconAuditTrail auditTrail) {
this.auditTrail = auditTrail;
}
public BeaconUserUpdateResponse 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;
}
BeaconUserUpdateResponse beaconUserUpdateResponse = (BeaconUserUpdateResponse) o;
return Objects.equals(this.itemIds, beaconUserUpdateResponse.itemIds) &&
Objects.equals(this.id, beaconUserUpdateResponse.id) &&
Objects.equals(this.version, beaconUserUpdateResponse.version) &&
Objects.equals(this.createdAt, beaconUserUpdateResponse.createdAt) &&
Objects.equals(this.updatedAt, beaconUserUpdateResponse.updatedAt) &&
Objects.equals(this.status, beaconUserUpdateResponse.status) &&
Objects.equals(this.programId, beaconUserUpdateResponse.programId) &&
Objects.equals(this.clientUserId, beaconUserUpdateResponse.clientUserId) &&
Objects.equals(this.user, beaconUserUpdateResponse.user) &&
Objects.equals(this.auditTrail, beaconUserUpdateResponse.auditTrail) &&
Objects.equals(this.requestId, beaconUserUpdateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(itemIds, id, version, createdAt, updatedAt, status, programId, clientUserId, user, auditTrail, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BeaconUserUpdateResponse {\n");
sb.append(" itemIds: ").append(toIndentedString(itemIds)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\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(" 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/AuthGetRequestOptions.java | src/main/java/com/plaid/client/model/AuthGetRequestOptions.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* An optional object to filter `/auth/get` results.
*/
@ApiModel(description = "An optional object to filter `/auth/get` results.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class AuthGetRequestOptions {
public static final String SERIALIZED_NAME_ACCOUNT_IDS = "account_ids";
@SerializedName(SERIALIZED_NAME_ACCOUNT_IDS)
private List<String> accountIds = null;
public AuthGetRequestOptions accountIds(List<String> accountIds) {
this.accountIds = accountIds;
return this;
}
public AuthGetRequestOptions addAccountIdsItem(String accountIdsItem) {
if (this.accountIds == null) {
this.accountIds = new ArrayList<>();
}
this.accountIds.add(accountIdsItem);
return this;
}
/**
* A list of `account_ids` to retrieve for the Item. Note: An error will be returned if a provided `account_id` is not associated with the Item.
* @return accountIds
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A list of `account_ids` to retrieve for the Item. Note: An error will be returned if a provided `account_id` is not associated with the Item.")
public List<String> getAccountIds() {
return accountIds;
}
public void setAccountIds(List<String> accountIds) {
this.accountIds = accountIds;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AuthGetRequestOptions authGetRequestOptions = (AuthGetRequestOptions) o;
return Objects.equals(this.accountIds, authGetRequestOptions.accountIds);
}
@Override
public int hashCode() {
return Objects.hash(accountIds);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AuthGetRequestOptions {\n");
sb.append(" accountIds: ").append(toIndentedString(accountIds)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/AmountWithCurrency.java | src/main/java/com/plaid/client/model/AmountWithCurrency.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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 monetary amount with its associated currency information, supporting both official and unofficial currency codes.
*/
@ApiModel(description = "A monetary amount with its associated currency information, supporting both official and unofficial currency codes.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class AmountWithCurrency {
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 AmountWithCurrency amount(Double amount) {
this.amount = amount;
return this;
}
/**
* If the parent object represents a category of transactions, such as `total_amount`, `transfers_in`, `total_income`, etc. the `amount` represents the sum of all of the transactions in the group. If the parent object is `cash_flow`, the `amount` represents the total value of all the inflows minus all the outflows across all the accounts in the report in the given time window. If the parent object is `minimum_balance`, the `amount` represents the lowest balance of the account during the given time window.
* @return amount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "If the parent object represents a category of transactions, such as `total_amount`, `transfers_in`, `total_income`, etc. the `amount` represents the sum of all of the transactions in the group. If the parent object is `cash_flow`, the `amount` represents the total value of all the inflows minus all the outflows across all the accounts in the report in the given time window. If the parent object is `minimum_balance`, the `amount` represents the lowest balance of the account during the given time window.")
public Double getAmount() {
return amount;
}
public void setAmount(Double amount) {
this.amount = amount;
}
public AmountWithCurrency isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The ISO-4217 currency code of the amount. Always `null` if `unofficial_currency_code` is non-`null`.
* @return isoCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The ISO-4217 currency code of the amount. Always `null` if `unofficial_currency_code` is non-`null`.")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public AmountWithCurrency unofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
return this;
}
/**
* The unofficial currency code associated with the amount. Always `null` if `iso_currency_code` is non-`null`. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `unofficial_currency_code`s.
* @return unofficialCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The unofficial currency code associated with the amount. Always `null` if `iso_currency_code` is non-`null`. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `unofficial_currency_code`s.")
public String getUnofficialCurrencyCode() {
return unofficialCurrencyCode;
}
public void setUnofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AmountWithCurrency amountWithCurrency = (AmountWithCurrency) o;
return Objects.equals(this.amount, amountWithCurrency.amount) &&
Objects.equals(this.isoCurrencyCode, amountWithCurrency.isoCurrencyCode) &&
Objects.equals(this.unofficialCurrencyCode, amountWithCurrency.unofficialCurrencyCode);
}
@Override
public int hashCode() {
return Objects.hash(amount, isoCurrencyCode, unofficialCurrencyCode);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AmountWithCurrency {\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/BaseReportNumberFlowInsights.java | src/main/java/com/plaid/client/model/BaseReportNumberFlowInsights.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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;
/**
* The number of credits or debits out of the account. This field will only be included for depository accounts.
*/
@ApiModel(description = "The number of credits or debits out of the account. This field will only be included for depository accounts.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BaseReportNumberFlowInsights {
public static final String SERIALIZED_NAME_START_DATE = "start_date";
@SerializedName(SERIALIZED_NAME_START_DATE)
private LocalDate startDate;
public static final String SERIALIZED_NAME_END_DATE = "end_date";
@SerializedName(SERIALIZED_NAME_END_DATE)
private LocalDate endDate;
public static final String SERIALIZED_NAME_COUNT = "count";
@SerializedName(SERIALIZED_NAME_COUNT)
private Integer count;
public BaseReportNumberFlowInsights startDate(LocalDate startDate) {
this.startDate = startDate;
return this;
}
/**
* The start date of this time period. The date will be returned in an ISO 8601 format (YYYY-MM-DD).
* @return startDate
**/
@ApiModelProperty(required = true, value = "The start date of this time period. The date will be returned in an ISO 8601 format (YYYY-MM-DD).")
public LocalDate getStartDate() {
return startDate;
}
public void setStartDate(LocalDate startDate) {
this.startDate = startDate;
}
public BaseReportNumberFlowInsights endDate(LocalDate endDate) {
this.endDate = endDate;
return this;
}
/**
* The end date of this time period. The date will be returned in an ISO 8601 format (YYYY-MM-DD).
* @return endDate
**/
@ApiModelProperty(required = true, value = "The end date of this time period. The date will be returned in an ISO 8601 format (YYYY-MM-DD).")
public LocalDate getEndDate() {
return endDate;
}
public void setEndDate(LocalDate endDate) {
this.endDate = endDate;
}
public BaseReportNumberFlowInsights count(Integer count) {
this.count = count;
return this;
}
/**
* The number of credits or debits out of the account for this time period.
* @return count
**/
@ApiModelProperty(required = true, value = "The number of credits or debits out of the account for this time period.")
public Integer getCount() {
return count;
}
public void setCount(Integer count) {
this.count = count;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BaseReportNumberFlowInsights baseReportNumberFlowInsights = (BaseReportNumberFlowInsights) o;
return Objects.equals(this.startDate, baseReportNumberFlowInsights.startDate) &&
Objects.equals(this.endDate, baseReportNumberFlowInsights.endDate) &&
Objects.equals(this.count, baseReportNumberFlowInsights.count);
}
@Override
public int hashCode() {
return Objects.hash(startDate, endDate, count);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BaseReportNumberFlowInsights {\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("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransactionsEnrichResponse.java | src/main/java/com/plaid/client/model/TransactionsEnrichResponse.java | /*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.680.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import 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.ClientProvidedEnrichedTransaction;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* TransactionsEnrichResponse defines the response schema for `/transactions/enrich`.
*/
@ApiModel(description = "TransactionsEnrichResponse defines the response schema for `/transactions/enrich`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransactionsEnrichResponse {
public static final String SERIALIZED_NAME_ENRICHED_TRANSACTIONS = "enriched_transactions";
@SerializedName(SERIALIZED_NAME_ENRICHED_TRANSACTIONS)
private List<ClientProvidedEnrichedTransaction> enrichedTransactions = new ArrayList<>();
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public TransactionsEnrichResponse enrichedTransactions(List<ClientProvidedEnrichedTransaction> enrichedTransactions) {
this.enrichedTransactions = enrichedTransactions;
return this;
}
public TransactionsEnrichResponse addEnrichedTransactionsItem(ClientProvidedEnrichedTransaction enrichedTransactionsItem) {
this.enrichedTransactions.add(enrichedTransactionsItem);
return this;
}
/**
* A list of enriched transactions.
* @return enrichedTransactions
**/
@ApiModelProperty(required = true, value = "A list of enriched transactions.")
public List<ClientProvidedEnrichedTransaction> getEnrichedTransactions() {
return enrichedTransactions;
}
public void setEnrichedTransactions(List<ClientProvidedEnrichedTransaction> enrichedTransactions) {
this.enrichedTransactions = enrichedTransactions;
}
public TransactionsEnrichResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransactionsEnrichResponse transactionsEnrichResponse = (TransactionsEnrichResponse) o;
return Objects.equals(this.enrichedTransactions, transactionsEnrichResponse.enrichedTransactions) &&
Objects.equals(this.requestId, transactionsEnrichResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(enrichedTransactions, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransactionsEnrichResponse {\n");
sb.append(" enrichedTransactions: ").append(toIndentedString(enrichedTransactions)).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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.