Package com.plaid.client.model
Class AccountIdentity
java.lang.Object
com.plaid.client.model.AccountIdentity
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-08-13T23:02:46.991Z[GMT]")
public class AccountIdentity
extends java.lang.Object
AccountIdentity
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AccountIdentity.VerificationStatusEnum
The current verification status of an Auth Item initiated through Automated or Manual micro-deposits. -
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERIALIZED_NAME_ACCOUNT_ID
static java.lang.String
SERIALIZED_NAME_BALANCES
static java.lang.String
SERIALIZED_NAME_MASK
static java.lang.String
SERIALIZED_NAME_NAME
static java.lang.String
SERIALIZED_NAME_OFFICIAL_NAME
static java.lang.String
SERIALIZED_NAME_OWNERS
static java.lang.String
SERIALIZED_NAME_SUBTYPE
static java.lang.String
SERIALIZED_NAME_TYPE
static java.lang.String
SERIALIZED_NAME_VERIFICATION_STATUS
-
Constructor Summary
Constructors Constructor Description AccountIdentity()
-
Method Summary
Modifier and Type Method Description AccountIdentity
accountId(java.lang.String accountId)
AccountIdentity
addOwnersItem(Owner ownersItem)
AccountIdentity
balances(AccountBalance balances)
boolean
equals(java.lang.Object o)
java.lang.String
getAccountId()
Plaid’s unique identifier for the account.AccountBalance
getBalances()
Get balancesjava.lang.String
getMask()
The last 2-4 alphanumeric characters of an account's official account number.java.lang.String
getName()
The name of the account, either assigned by the user or by the financial institution itselfjava.lang.String
getOfficialName()
The official name of the account as given by the financial institutionjava.util.List<Owner>
getOwners()
Data returned by the financial institution about the account owner or owners.AccountSubtype
getSubtype()
Get subtypeAccountType
getType()
Get typeAccountIdentity.VerificationStatusEnum
getVerificationStatus()
The current verification status of an Auth Item initiated through Automated or Manual micro-deposits.int
hashCode()
AccountIdentity
mask(java.lang.String mask)
AccountIdentity
name(java.lang.String name)
AccountIdentity
officialName(java.lang.String officialName)
AccountIdentity
owners(java.util.List<Owner> owners)
void
setAccountId(java.lang.String accountId)
void
setBalances(AccountBalance balances)
void
setMask(java.lang.String mask)
void
setName(java.lang.String name)
void
setOfficialName(java.lang.String officialName)
void
setOwners(java.util.List<Owner> owners)
void
setSubtype(AccountSubtype subtype)
void
setType(AccountType type)
void
setVerificationStatus(AccountIdentity.VerificationStatusEnum verificationStatus)
AccountIdentity
subtype(AccountSubtype subtype)
java.lang.String
toString()
AccountIdentity
type(AccountType type)
AccountIdentity
verificationStatus(AccountIdentity.VerificationStatusEnum verificationStatus)
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
SERIALIZED_NAME_ACCOUNT_ID
public static final java.lang.String SERIALIZED_NAME_ACCOUNT_ID- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BALANCES
public static final java.lang.String SERIALIZED_NAME_BALANCES- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MASK
public static final java.lang.String SERIALIZED_NAME_MASK- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final java.lang.String SERIALIZED_NAME_NAME- See Also:
- Constant Field Values
-
SERIALIZED_NAME_OFFICIAL_NAME
public static final java.lang.String SERIALIZED_NAME_OFFICIAL_NAME- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TYPE
public static final java.lang.String SERIALIZED_NAME_TYPE- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SUBTYPE
public static final java.lang.String SERIALIZED_NAME_SUBTYPE- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VERIFICATION_STATUS
public static final java.lang.String SERIALIZED_NAME_VERIFICATION_STATUS- See Also:
- Constant Field Values
-
SERIALIZED_NAME_OWNERS
public static final java.lang.String SERIALIZED_NAME_OWNERS- See Also:
- Constant Field Values
-
-
Constructor Details
-
AccountIdentity
public AccountIdentity()
-
-
Method Details
-
accountId
-
getAccountId
public java.lang.String getAccountId()Plaid’s unique identifier for the account. This value will not change unless Plaid can't reconcile the account with the data returned by the financial institution. This may occur, for example, when the name of the account changes. If this happens a new `account_id` will be assigned to the account. The `account_id` can also change if the `access_token` is deleted and the same credentials that were used to generate that `access_token` are used to generate a new `access_token` on a later date. In that case, the new `account_id` will be different from the old `account_id`. If an account with a specific `account_id` disappears instead of changing, the account is likely closed. Closed accounts are not returned by the Plaid API. Like all Plaid identifiers, the `account_id` is case sensitive.- Returns:
- accountId
-
setAccountId
public void setAccountId(java.lang.String accountId) -
balances
-
getBalances
Get balances- Returns:
- balances
-
setBalances
-
mask
-
getMask
@Nullable public java.lang.String getMask()The last 2-4 alphanumeric characters of an account's official account number. Note that the mask may be non-unique between an Item's accounts, and it may also not match the mask that the bank displays to the user.- Returns:
- mask
-
setMask
public void setMask(java.lang.String mask) -
name
-
getName
public java.lang.String getName()The name of the account, either assigned by the user or by the financial institution itself- Returns:
- name
-
setName
public void setName(java.lang.String name) -
officialName
-
getOfficialName
@Nullable public java.lang.String getOfficialName()The official name of the account as given by the financial institution- Returns:
- officialName
-
setOfficialName
public void setOfficialName(java.lang.String officialName) -
type
-
getType
Get type- Returns:
- type
-
setType
-
subtype
-
getSubtype
Get subtype- Returns:
- subtype
-
setSubtype
-
verificationStatus
public AccountIdentity verificationStatus(AccountIdentity.VerificationStatusEnum verificationStatus) -
getVerificationStatus
The current verification status of an Auth Item initiated through Automated or Manual micro-deposits. Returned for Auth Items only. `pending_automatic_verification`: The Item is pending automatic verification `pending_manual_verification`: The Item is pending manual micro-deposit verification. Items remain in this state until the user successfully verifies the two amounts. `automatically_verified`: The Item has successfully been automatically verified `manually_verified`: The Item has successfully been manually verified `verification_expired`: Plaid was unable to automatically verify the deposit within 7 calendar days and will no longer attempt to validate the Item. Users may retry by submitting their information again through Link. `verification_failed`: The Item failed manual micro-deposit verification because the user exhausted all 3 verification attempts. Users may retry by submitting their information again through Link.- Returns:
- verificationStatus
-
setVerificationStatus
-
owners
-
addOwnersItem
-
getOwners
Data returned by the financial institution about the account owner or owners. Only returned by Identity or Assets endpoints. Multiple owners on a single account will be represented in the same `owner` object, not in multiple owner objects within the array.- Returns:
- owners
-
setOwners
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-