Class: ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation
- Defined in:
- lib/modern_treasury/models/legal_entity_create_params.rb
Defined Under Namespace
Modules: RelationshipType
Instance Attribute Summary collapse
-
#child_legal_entity ⇒ ModernTreasury::Models::ChildLegalEntityCreate?
The child legal entity.
-
#child_legal_entity_id ⇒ String?
The ID of the child legal entity.
-
#ownership_percentage ⇒ Integer?
The child entity’s ownership percentage iff they are a beneficial owner.
- #relationship_types ⇒ Array<Symbol, ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::RelationshipType>
-
#title ⇒ String?
The job title of the child entity at the parent entity.
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(relationship_types: , child_legal_entity: nil, child_legal_entity_id: nil, ownership_percentage: nil, title: nil) ⇒ Object
|
|
# File 'lib/modern_treasury/models/legal_entity_create_params.rb', line 274
|
Instance Attribute Details
#child_legal_entity ⇒ ModernTreasury::Models::ChildLegalEntityCreate?
The child legal entity.
254 |
# File 'lib/modern_treasury/models/legal_entity_create_params.rb', line 254 optional :child_legal_entity, -> { ModernTreasury::ChildLegalEntityCreate } |
#child_legal_entity_id ⇒ String?
The ID of the child legal entity.
260 |
# File 'lib/modern_treasury/models/legal_entity_create_params.rb', line 260 optional :child_legal_entity_id, String |
#ownership_percentage ⇒ Integer?
The child entity’s ownership percentage iff they are a beneficial owner.
266 |
# File 'lib/modern_treasury/models/legal_entity_create_params.rb', line 266 optional :ownership_percentage, Integer, nil?: true |
#relationship_types ⇒ Array<Symbol, ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::RelationshipType>
247 248 |
# File 'lib/modern_treasury/models/legal_entity_create_params.rb', line 247 required :relationship_types, -> { ModernTreasury::Internal::Type::ArrayOf[enum: ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::RelationshipType] } |
#title ⇒ String?
The job title of the child entity at the parent entity.
272 |
# File 'lib/modern_treasury/models/legal_entity_create_params.rb', line 272 optional :title, String, nil?: true |