Class Owner

java.lang.Object
com.plaid.client.model.Owner

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
           date="2021-10-15T19:47:39.714Z[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 Details

  • Constructor Details

  • Method Details

    • names

      public Owner names​(java.util.List<java.lang.String> names)
    • addNamesItem

      public Owner addNamesItem​(java.lang.String namesItem)
    • 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

      public Owner phoneNumbers​(java.util.List<PhoneNumber> phoneNumbers)
    • addPhoneNumbersItem

      public Owner addPhoneNumbersItem​(PhoneNumber phoneNumbersItem)
    • getPhoneNumbers

      public java.util.List<PhoneNumber> 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

      public void setPhoneNumbers​(java.util.List<PhoneNumber> phoneNumbers)
    • emails

      public Owner emails​(java.util.List<Email> emails)
    • addEmailsItem

      public Owner addEmailsItem​(Email emailsItem)
    • getEmails

      public java.util.List<Email> 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

      public void setEmails​(java.util.List<Email> emails)
    • addresses

      public Owner addresses​(java.util.List<Address> addresses)
    • addAddressesItem

      public Owner addAddressesItem​(Address addressesItem)
    • getAddresses

      public java.util.List<Address> 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

      public void setAddresses​(java.util.List<Address> addresses)
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object