Class: ModernTreasury::Models::LegalEntityAssociationCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ModernTreasury::Models::LegalEntityAssociationCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/modern_treasury/models/legal_entity_association_create_params.rb
Overview
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.
-
#parent_legal_entity_id ⇒ String
The ID of the parent legal entity.
- #relationship_types ⇒ Array<Symbol, ModernTreasury::Models::LegalEntityAssociationCreateParams::RelationshipType>
-
#title ⇒ String?
The job title of the child entity at the parent entity.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(parent_legal_entity_id: , relationship_types: , child_legal_entity: nil, child_legal_entity_id: nil, ownership_percentage: nil, title: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see LegalEntityAssociationCreateParams for more details.
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(parent_legal_entity_id: , relationship_types: , child_legal_entity: nil, child_legal_entity_id: nil, ownership_percentage: nil, title: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see ModernTreasury::Models::LegalEntityAssociationCreateParams for more details.
|
|
# File 'lib/modern_treasury/models/legal_entity_association_create_params.rb', line 47
|
Instance Attribute Details
#child_legal_entity ⇒ ModernTreasury::Models::ChildLegalEntityCreate?
The child legal entity.
27 |
# File 'lib/modern_treasury/models/legal_entity_association_create_params.rb', line 27 optional :child_legal_entity, -> { ModernTreasury::ChildLegalEntityCreate } |
#child_legal_entity_id ⇒ String?
The ID of the child legal entity.
33 |
# File 'lib/modern_treasury/models/legal_entity_association_create_params.rb', line 33 optional :child_legal_entity_id, String |
#ownership_percentage ⇒ Integer?
The child entity’s ownership percentage iff they are a beneficial owner.
39 |
# File 'lib/modern_treasury/models/legal_entity_association_create_params.rb', line 39 optional :ownership_percentage, Integer, nil?: true |
#parent_legal_entity_id ⇒ String
The ID of the parent legal entity. This must be a business or joint legal entity.
15 |
# File 'lib/modern_treasury/models/legal_entity_association_create_params.rb', line 15 required :parent_legal_entity_id, String |
#relationship_types ⇒ Array<Symbol, ModernTreasury::Models::LegalEntityAssociationCreateParams::RelationshipType>
20 21 |
# File 'lib/modern_treasury/models/legal_entity_association_create_params.rb', line 20 required :relationship_types, -> { ModernTreasury::Internal::Type::ArrayOf[enum: ModernTreasury::LegalEntityAssociationCreateParams::RelationshipType] } |
#title ⇒ String?
The job title of the child entity at the parent entity.
45 |
# File 'lib/modern_treasury/models/legal_entity_association_create_params.rb', line 45 optional :title, String, nil?: true |