class

Plaid::OwnerOverride

Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

Data about the owner or owners of an account. Any fields not specified will be filled in with default Sandbox information.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, names : Array(String) | Nil = nil, phone_numbers : Array(PhoneNumber) | Nil = nil, emails : Array(Email) | Nil = nil, addresses : Array(Address) | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

addresses

Data about the various addresses associated with the account.

Source
addresses=(new_value : Array(Address) | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] addresses Object to be assigned

Source
emails

A list of email addresses associated with the account.

Source
emails=(new_value : Array(Email) | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] emails Object to be assigned

Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
names

A list of names associated with the account by the financial institution. These should always be the names of individuals, even for business accounts. Note that the same name data will be used for all accounts associated with an Item.

Source
names=(new_value : Array(String) | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] names Object to be assigned

Source
phone_numbers

A list of phone numbers associated with the account.

Source
phone_numbers=(new_value : Array(PhoneNumber) | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] phone_numbers Object to be assigned

Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source