Class: ModernTreasury::Models::ChildLegalEntityCreate::Regulator

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



383
# File 'sig/modern_treasury/models/child_legal_entity_create.rbs', line 383

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)


494
# File 'lib/modern_treasury/models/child_legal_entity_create.rb', line 494

required :jurisdiction, String

#name ⇒ String

Full name of the regulatory body.

Parameters:

  • value (String)

Returns:

  • (String)


500
# File 'lib/modern_treasury/models/child_legal_entity_create.rb', line 500

required :name, String

#registration_number ⇒ String

Registration or identification number with the regulator.

Parameters:

  • value (String)

Returns:

  • (String)


506
# File 'lib/modern_treasury/models/child_legal_entity_create.rb', line 506

required :registration_number, String

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


389
# File 'sig/modern_treasury/models/child_legal_entity_create.rbs', line 389

def to_hash: -> {