class

Plaid::DepositSwitchTargetAccount

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

The deposit switch destination account

Constants

ERROR_MESSAGE_FOR_ACCOUNT_SUBTYPE = "invalid value for \"account_subtype\", must be one of [checking, savings]."
VALID_VALUES_FOR_ACCOUNT_SUBTYPE = String.static_array("checking", "savings")

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, account_number : String | Nil = nil, routing_number : String | Nil = nil, account_name : String | Nil = nil, account_subtype : String | 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

account_name

The name of the deposit switch destination account, as it will be displayed to the end user in the Deposit Switch interface. It is not required to match the name used in online banking.

Source
account_name=(new_value : String | Nil)

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

Source
account_number

Account number for deposit switch destination

Source
account_number=(new_value : String | Nil)

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

Source
account_subtype

The account subtype of the account, either checking or savings.

Source
account_subtype=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] account_subtype 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
routing_number

Routing number for deposit switch destination

Source
routing_number=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] routing_number 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