class

Plaid::DepositSwitchCreateRequest

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

DepositSwitchCreateRequest defines the request schema for /deposit_switch/create

Constants

ERROR_MESSAGE_FOR_COUNTRY_CODE = "invalid value for \"country_code\", must be one of [US, CA]."
VALID_VALUES_FOR_COUNTRY_CODE = String.static_array("US", "CA")

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, target_access_token : String | Nil = nil, target_account_id : String | Nil = nil, client_id : String | Nil = nil, secret : String | Nil = nil, country_code : String | Nil = nil, options : Plaid::DepositSwitchCreateRequestOptions | 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

client_id

Your Plaid API client_id. The client_id is required and may be provided either in the PLAID-CLIENT-ID header or as part of a request body.

Source
client_id=(new_value : String | Nil)

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

Source
country_code

ISO-3166-1 alpha-2 country code standard.

Source
country_code=(new_value : String | Nil)

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

Source
country_code_present=(country_code_present : Bool)
Source
country_code_present?
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
options
Source
options=(new_value : Plaid::DepositSwitchCreateRequestOptions | Nil)

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

Source
secret

Your Plaid API secret. The secret is required and may be provided either in the PLAID-SECRET header or as part of a request body.

Source
secret=(new_value : String | Nil)

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

Source
target_access_token

Access token for the target Item, typically provided in the Import Item response.

Source
target_access_token=(new_value : String | Nil)

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

Source
target_account_id

Plaid Account ID that specifies the target bank account. This account will become the recipient for a user's direct deposit.

Source
target_account_id=(new_value : String | Nil)

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