Package com.plaid.client.model
Class Owner
java.lang.Object
com.plaid.client.model.Owner
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-08-13T23:02:46.991Z[GMT]")
public class Owner
extends java.lang.Object
Data returned from the financial institution about the owner or owners of an account. Only the `names` array must be non-empty.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERIALIZED_NAME_ADDRESSES
static java.lang.String
SERIALIZED_NAME_EMAILS
static java.lang.String
SERIALIZED_NAME_NAMES
static java.lang.String
SERIALIZED_NAME_PHONE_NUMBERS
-
Constructor Summary
Constructors Constructor Description Owner()
-
Method Summary
Modifier and Type Method Description Owner
addAddressesItem(Address addressesItem)
Owner
addEmailsItem(Email emailsItem)
Owner
addNamesItem(java.lang.String namesItem)
Owner
addPhoneNumbersItem(PhoneNumber phoneNumbersItem)
Owner
addresses(java.util.List<Address> addresses)
Owner
emails(java.util.List<Email> emails)
boolean
equals(java.lang.Object o)
java.util.List<Address>
getAddresses()
Data about the various addresses associated with the account by the financial institution.java.util.List<Email>
getEmails()
A list of email addresses associated with the account by the financial institution.java.util.List<java.lang.String>
getNames()
A list of names associated with the account by the financial institution.java.util.List<PhoneNumber>
getPhoneNumbers()
A list of phone numbers associated with the account by the financial institution.int
hashCode()
Owner
names(java.util.List<java.lang.String> names)
Owner
phoneNumbers(java.util.List<PhoneNumber> phoneNumbers)
void
setAddresses(java.util.List<Address> addresses)
void
setEmails(java.util.List<Email> emails)
void
setNames(java.util.List<java.lang.String> names)
void
setPhoneNumbers(java.util.List<PhoneNumber> phoneNumbers)
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
SERIALIZED_NAME_NAMES
public static final java.lang.String SERIALIZED_NAME_NAMES- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PHONE_NUMBERS
public static final java.lang.String SERIALIZED_NAME_PHONE_NUMBERS- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EMAILS
public static final java.lang.String SERIALIZED_NAME_EMAILS- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ADDRESSES
public static final java.lang.String SERIALIZED_NAME_ADDRESSES- See Also:
- Constant Field Values
-
-
Constructor Details
-
Owner
public Owner()
-
-
Method Details
-
names
-
addNamesItem
-
getNames
public java.util.List<java.lang.String> getNames()A list of names associated with the account by the financial institution. These should always be the names of individuals, even for business accounts. If the name of a business is reported, please contact Plaid Support. In the case of a joint account, Plaid will make a best effort to report the names of all account holders. If an Item contains multiple accounts with different owner names, some institutions will report all names associated with the Item in each account's `names` array.- Returns:
- names
-
setNames
public void setNames(java.util.List<java.lang.String> names) -
phoneNumbers
-
addPhoneNumbersItem
-
getPhoneNumbers
A list of phone numbers associated with the account by the financial institution. May be an empty array if no relevant information is returned from the financial institution.- Returns:
- phoneNumbers
-
setPhoneNumbers
-
emails
-
addEmailsItem
-
getEmails
A list of email addresses associated with the account by the financial institution. May be an empty array if no relevant information is returned from the financial institution.- Returns:
- emails
-
setEmails
-
addresses
-
addAddressesItem
-
getAddresses
Data about the various addresses associated with the account by the financial institution. May be an empty array if no relevant information is returned from the financial institution.- Returns:
- addresses
-
setAddresses
-
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
-