Class: Straddle::Models::AccountStatementSettings

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/straddle/models/account_statement_settings.rb,
sig/straddle/models/account_statement_settings.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

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(company_id: nil, company_name: nil, default_descriptor: nil) ⇒ Object

Parameters:

  • company_id (String, nil) (defaults to: nil) —

    Company identifier used in ACH records.

  • company_name (String, nil) (defaults to: nil) —

    Company name used in statement records.

  • default_descriptor (String, nil) (defaults to: nil) —

    Default descriptor for account payments.



# File 'lib/straddle/models/account_statement_settings.rb', line 24

Instance Attribute Details

#company_id ⇒ String?

Company identifier used in ACH records.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


10
# File 'lib/straddle/models/account_statement_settings.rb', line 10

optional :company_id, String, nil?: true

#company_name ⇒ String?

Company name used in statement records.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


16
# File 'lib/straddle/models/account_statement_settings.rb', line 16

optional :company_name, String, nil?: true

#default_descriptor ⇒ String?

Default descriptor for account payments.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


22
# File 'lib/straddle/models/account_statement_settings.rb', line 22

optional :default_descriptor, String, nil?: true

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


23
# File 'sig/straddle/models/account_statement_settings.rbs', line 23

def to_hash: -> {