Class: ModernTreasury::Models::BankSettings

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/modern_treasury/models/bank_settings.rb

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(id: , backup_withholding_percentage: , created_at: , discarded_at: , enable_backup_withholding: , live_mode: , object: , privacy_opt_out: , regulation_o: , updated_at: ) ⇒ Object

Some parameter documentations has been truncated, see ModernTreasury::Models::BankSettings for more details.

Parameters:

  • id (String) (defaults to: )
  • backup_withholding_percentage (Integer, nil) (defaults to: )

    The percentage of backup withholding to apply to the legal entity.

  • created_at (Time) (defaults to: )
  • discarded_at (Time, nil) (defaults to: )
  • enable_backup_withholding (Boolean, nil) (defaults to: )

    Whether backup withholding is enabled. See more here - www.irs.gov/busin

  • live_mode (Boolean) (defaults to: )

    This field will be true if this object exists in the live environment or false i

  • object (String) (defaults to: )
  • privacy_opt_out (Boolean, nil) (defaults to: )

    Cross River Bank specific setting to opt out of privacy policy.

  • regulation_o (Boolean, nil) (defaults to: )

    It covers, among other types of insider loans, extensions of credit by a member

  • updated_at (Time) (defaults to: )


# File 'lib/modern_treasury/models/bank_settings.rb', line 66


Instance Attribute Details

#backup_withholding_percentageInteger?

The percentage of backup withholding to apply to the legal entity.

Returns:

  • (Integer, nil)


15
# File 'lib/modern_treasury/models/bank_settings.rb', line 15

required :backup_withholding_percentage, Integer, nil?: true

#created_atTime

Returns:

  • (Time)


20
# File 'lib/modern_treasury/models/bank_settings.rb', line 20

required :created_at, Time

#discarded_atTime?

Returns:

  • (Time, nil)


25
# File 'lib/modern_treasury/models/bank_settings.rb', line 25

required :discarded_at, Time, nil?: true

#enable_backup_withholdingBoolean?

Whether backup withholding is enabled. See more here - www.irs.gov/businesses/small-businesses-self-employed/backup-withholding.

Returns:

  • (Boolean, nil)


32
# File 'lib/modern_treasury/models/bank_settings.rb', line 32

required :enable_backup_withholding, ModernTreasury::Internal::Type::Boolean, nil?: true

#idString

Returns:

  • (String)


9
# File 'lib/modern_treasury/models/bank_settings.rb', line 9

required :id, String

#live_modeBoolean

This field will be true if this object exists in the live environment or false if it exists in the test environment.

Returns:

  • (Boolean)


39
# File 'lib/modern_treasury/models/bank_settings.rb', line 39

required :live_mode, ModernTreasury::Internal::Type::Boolean

#objectString

Returns:

  • (String)


44
# File 'lib/modern_treasury/models/bank_settings.rb', line 44

required :object, String

#privacy_opt_outBoolean?

Cross River Bank specific setting to opt out of privacy policy.

Returns:

  • (Boolean, nil)


50
# File 'lib/modern_treasury/models/bank_settings.rb', line 50

required :privacy_opt_out, ModernTreasury::Internal::Type::Boolean, nil?: true

#regulation_oBoolean?

It covers, among other types of insider loans, extensions of credit by a member bank to an executive officer, director, or principal shareholder of the member bank; a bank holding company of which the member bank is a subsidiary; and any other subsidiary of that bank holding company.

Returns:

  • (Boolean, nil)


59
# File 'lib/modern_treasury/models/bank_settings.rb', line 59

required :regulation_o, ModernTreasury::Internal::Type::Boolean, nil?: true

#updated_atTime

Returns:

  • (Time)


64
# File 'lib/modern_treasury/models/bank_settings.rb', line 64

required :updated_at, Time