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

#initializeObject



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

def initialize: (

Instance Attribute Details

#jurisdictionString

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)


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

required :jurisdiction, String

#nameString

Full name of the regulatory body.

Parameters:

  • value (String)

Returns:

  • (String)


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

required :name, String

#registration_numberString

Registration or identification number with the regulator.

Parameters:

  • value (String)

Returns:

  • (String)


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

required :registration_number, String

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {