Class: Increase::Models::ExternalAccountCreateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/increase/models/external_account_create_params.rb

Overview

Defined Under Namespace

Modules: AccountHolder, Funding

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(account_number: , description: , routing_number: , account_holder: nil, funding: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::ExternalAccountCreateParams for more details.

Parameters:

  • account_number (String) (defaults to: )

    The account number for the destination account.

  • description (String) (defaults to: )

    The name you choose for the Account.

  • routing_number (String) (defaults to: )

    The American Bankers’ Association (ABA) Routing Transit Number (RTN) for the des

  • account_holder (Symbol, Increase::Models::ExternalAccountCreateParams::AccountHolder) (defaults to: nil)

    The type of entity that owns the External Account.

  • funding (Symbol, Increase::Models::ExternalAccountCreateParams::Funding) (defaults to: nil)

    The type of the destination account. Defaults to ‘checking`.

  • request_options (Increase::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


# File 'lib/increase/models/external_account_create_params.rb', line 41

Instance Attribute Details

#account_holderSymbol, ...

The type of entity that owns the External Account.



33
# File 'lib/increase/models/external_account_create_params.rb', line 33

optional :account_holder, enum: -> { Increase::ExternalAccountCreateParams::AccountHolder }

#account_numberString

The account number for the destination account.

Returns:

  • (String)


14
# File 'lib/increase/models/external_account_create_params.rb', line 14

required :account_number, String

#descriptionString

The name you choose for the Account.

Returns:

  • (String)


20
# File 'lib/increase/models/external_account_create_params.rb', line 20

required :description, String

#fundingSymbol, ...

The type of the destination account. Defaults to ‘checking`.



39
# File 'lib/increase/models/external_account_create_params.rb', line 39

optional :funding, enum: -> { Increase::ExternalAccountCreateParams::Funding }

#routing_numberString

The American Bankers’ Association (ABA) Routing Transit Number (RTN) for the destination account.

Returns:

  • (String)


27
# File 'lib/increase/models/external_account_create_params.rb', line 27

required :routing_number, String

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/increase/models/external_account_create_params.rb', line 70