Class: ModernTreasury::Models::ChildLegalEntity::Regulator

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/modern_treasury/models/child_legal_entity.rb,
sig/modern_treasury/models/child_legal_entity.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 ⇒ Object



430
# File 'sig/modern_treasury/models/child_legal_entity.rbs', line 430

def initialize: (

Instance Attribute Details

#jurisdiction ⇒ String

The country code where the regulator operates in the ISO 3166-1 alpha-2 format (e.g., "US", "CA", "GB").

Parameters:

  • value (String)

Returns:

  • (String)


609
# File 'lib/modern_treasury/models/child_legal_entity.rb', line 609

required :jurisdiction, String

#name ⇒ String

Full name of the regulatory body.

Parameters:

  • value (String)

Returns:

  • (String)


615
# File 'lib/modern_treasury/models/child_legal_entity.rb', line 615

required :name, String

#registration_number ⇒ String

Registration or identification number with the regulator.

Parameters:

  • value (String)

Returns:

  • (String)


621
# File 'lib/modern_treasury/models/child_legal_entity.rb', line 621

required :registration_number, String

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


436
# File 'sig/modern_treasury/models/child_legal_entity.rbs', line 436

def to_hash: -> {