Class: Increase::Models::Simulations::ProgramCreateParams

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

Overview

Defined Under Namespace

Modules: Bank

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

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(name: , bank: nil, reserve_account_id: nil, request_options: {}) ⇒ Object

Parameters:

  • name (String) (defaults to: )

    The name of the program being added.

  • bank (Symbol, Increase::Models::Simulations::ProgramCreateParams::Bank) (defaults to: nil)

    The bank for the program’s accounts, defaults to First Internet Bank.

  • reserve_account_id (String) (defaults to: nil)

    The identifier of the Account the Program should be added to is for.

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


# File 'lib/increase/models/simulations/program_create_params.rb', line 29


Instance Attribute Details

#bankSymbol, ...

The bank for the program’s accounts, defaults to First Internet Bank.



21
# File 'lib/increase/models/simulations/program_create_params.rb', line 21

optional :bank, enum: -> { Increase::Simulations::ProgramCreateParams::Bank }

#nameString

The name of the program being added.

Returns:

  • (String)


15
# File 'lib/increase/models/simulations/program_create_params.rb', line 15

required :name, String

#reserve_account_idString?

The identifier of the Account the Program should be added to is for.

Returns:

  • (String, nil)


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

optional :reserve_account_id, String