Class: ModernTreasury::Models::LegalEntityUpdateParams::Regulator

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



281
# File 'sig/modern_treasury/models/legal_entity_update_params.rbs', line 281

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)


366
# File 'lib/modern_treasury/models/legal_entity_update_params.rb', line 366

required :jurisdiction, String

#nameString

Full name of the regulatory body.

Parameters:

  • value (String)

Returns:

  • (String)


372
# File 'lib/modern_treasury/models/legal_entity_update_params.rb', line 372

required :name, String

#registration_numberString

Registration or identification number with the regulator.

Parameters:

  • value (String)

Returns:

  • (String)


378
# File 'lib/modern_treasury/models/legal_entity_update_params.rb', line 378

required :registration_number, String

Instance Method Details

#to_hash{

Returns:

  • ({)


287
# File 'sig/modern_treasury/models/legal_entity_update_params.rbs', line 287

def to_hash: -> {