Class: ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity
- Defined in:
- lib/modern_treasury/models/legal_entity_association.rb
Overview
Defined Under Namespace
Modules: LegalEntityType, LegalStructure, RiskRating Classes: Address, Identification, PhoneNumber
Instance Attribute Summary collapse
-
#addresses ⇒ Array<ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::Address>
A list of addresses for the entity.
- #bank_settings ⇒ ModernTreasury::Models::LegalEntityBankSettings?
-
#business_name ⇒ String?
The business’s legal business name.
-
#citizenship_country ⇒ String?
The country of citizenship for an individual.
- #compliance_details ⇒ ModernTreasury::Models::LegalEntityComplianceDetail?
- #created_at ⇒ Time
-
#date_formed ⇒ Date?
A business’s formation date (YYYY-MM-DD).
-
#date_of_birth ⇒ Date?
An individual’s date of birth (YYYY-MM-DD).
- #discarded_at ⇒ Time?
- #doing_business_as_names ⇒ Array<String>
-
#email ⇒ String?
The entity’s primary email.
-
#first_name ⇒ String?
An individual’s first name.
- #id ⇒ String
-
#identifications ⇒ Array<ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::Identification>
A list of identifications for the legal entity.
-
#industry_classifications ⇒ Array<ModernTreasury::Models::LegalEntityIndustryClassification>
A list of industry classifications for the legal entity.
-
#last_name ⇒ String?
An individual’s last name.
-
#legal_entity_type ⇒ Symbol, ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::LegalEntityType
The type of legal entity.
-
#legal_structure ⇒ Symbol, ...
The business’s legal structure.
-
#live_mode ⇒ Boolean
This field will be true if this object exists in the live environment or false if it exists in the test environment.
-
#metadata ⇒ Hash{Symbol=>String}
Additional data represented as key-value pairs.
-
#middle_name ⇒ String?
An individual’s middle name.
- #object ⇒ String
- #phone_numbers ⇒ Array<ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::PhoneNumber>
-
#politically_exposed_person ⇒ Boolean?
Whether the individual is a politically exposed person.
-
#preferred_name ⇒ String?
An individual’s preferred name.
-
#prefix ⇒ String?
An individual’s prefix.
-
#risk_rating ⇒ Symbol, ...
The risk rating of the legal entity.
-
#suffix ⇒ String?
An individual’s suffix.
- #updated_at ⇒ Time
- #wealth_and_employment_details ⇒ ModernTreasury::Models::LegalEntityWealthEmploymentDetail?
-
#website ⇒ String?
The entity’s primary website URL.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(phone_number: nil) ⇒ Object
constructor
A list of phone numbers in E.164 format.
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(phone_number: nil) ⇒ Object
A list of phone numbers in E.164 format.
|
|
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 631
|
Instance Attribute Details
#addresses ⇒ Array<ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::Address>
A list of addresses for the entity.
107 108 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 107 required :addresses, -> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityAssociation::ChildLegalEntity::Address] } |
#bank_settings ⇒ ModernTreasury::Models::LegalEntityBankSettings?
113 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 113 required :bank_settings, -> { ModernTreasury::LegalEntityBankSettings }, nil?: true |
#business_name ⇒ String?
The business’s legal business name.
119 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 119 required :business_name, String, nil?: true |
#citizenship_country ⇒ String?
The country of citizenship for an individual.
125 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 125 required :citizenship_country, String, nil?: true |
#compliance_details ⇒ ModernTreasury::Models::LegalEntityComplianceDetail?
130 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 130 required :compliance_details, -> { ModernTreasury::LegalEntityComplianceDetail }, nil?: true |
#created_at ⇒ Time
135 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 135 required :created_at, Time |
#date_formed ⇒ Date?
A business’s formation date (YYYY-MM-DD).
141 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 141 required :date_formed, Date, nil?: true |
#date_of_birth ⇒ Date?
An individual’s date of birth (YYYY-MM-DD).
147 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 147 required :date_of_birth, Date, nil?: true |
#discarded_at ⇒ Time?
152 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 152 required :discarded_at, Time, nil?: true |
#doing_business_as_names ⇒ Array<String>
157 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 157 required :doing_business_as_names, ModernTreasury::Internal::Type::ArrayOf[String] |
#email ⇒ String?
The entity’s primary email.
163 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 163 required :email, String, nil?: true |
#first_name ⇒ String?
An individual’s first name.
169 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 169 required :first_name, String, nil?: true |
#id ⇒ String
101 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 101 required :id, String |
#identifications ⇒ Array<ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::Identification>
A list of identifications for the legal entity.
175 176 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 175 required :identifications, -> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityAssociation::ChildLegalEntity::Identification] } |
#industry_classifications ⇒ Array<ModernTreasury::Models::LegalEntityIndustryClassification>
A list of industry classifications for the legal entity.
182 183 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 182 required :industry_classifications, -> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityIndustryClassification] } |
#last_name ⇒ String?
An individual’s last name.
189 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 189 required :last_name, String, nil?: true |
#legal_entity_type ⇒ Symbol, ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::LegalEntityType
The type of legal entity.
195 196 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 195 required :legal_entity_type, enum: -> { ModernTreasury::LegalEntityAssociation::ChildLegalEntity::LegalEntityType } |
#legal_structure ⇒ Symbol, ...
The business’s legal structure.
202 203 204 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 202 required :legal_structure, enum: -> { ModernTreasury::LegalEntityAssociation::ChildLegalEntity::LegalStructure }, nil?: true |
#live_mode ⇒ Boolean
This field will be true if this object exists in the live environment or false if it exists in the test environment.
211 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 211 required :live_mode, ModernTreasury::Internal::Type::Boolean |
#metadata ⇒ Hash{Symbol=>String}
Additional data represented as key-value pairs. Both the key and value must be strings.
218 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 218 required :metadata, ModernTreasury::Internal::Type::HashOf[String] |
#middle_name ⇒ String?
An individual’s middle name.
224 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 224 required :middle_name, String, nil?: true |
#object ⇒ String
229 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 229 required :object, String |
#phone_numbers ⇒ Array<ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::PhoneNumber>
234 235 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 234 required :phone_numbers, -> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityAssociation::ChildLegalEntity::PhoneNumber] } |
#politically_exposed_person ⇒ Boolean?
Whether the individual is a politically exposed person.
241 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 241 required :politically_exposed_person, ModernTreasury::Internal::Type::Boolean, nil?: true |
#preferred_name ⇒ String?
An individual’s preferred name.
247 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 247 required :preferred_name, String, nil?: true |
#prefix ⇒ String?
An individual’s prefix.
253 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 253 required :prefix, String, nil?: true |
#risk_rating ⇒ Symbol, ...
The risk rating of the legal entity. One of low, medium, high.
259 260 261 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 259 required :risk_rating, enum: -> { ModernTreasury::LegalEntityAssociation::ChildLegalEntity::RiskRating }, nil?: true |
#suffix ⇒ String?
An individual’s suffix.
267 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 267 required :suffix, String, nil?: true |
#updated_at ⇒ Time
272 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 272 required :updated_at, Time |
#wealth_and_employment_details ⇒ ModernTreasury::Models::LegalEntityWealthEmploymentDetail?
277 278 279 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 277 required :wealth_and_employment_details, -> { ModernTreasury::LegalEntityWealthEmploymentDetail }, nil?: true |
#website ⇒ String?
The entity’s primary website URL.
285 |
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 285 required :website, String, nil?: true |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/modern_treasury/models/legal_entity_association.rb', line 470
|