Class: MethodRuby::Models::EntityCorporation
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MethodRuby::Models::EntityCorporation
- Defined in:
- lib/method_ruby/models/entity_corporation.rb
Instance Attribute Summary collapse
-
#dba ⇒ String?
Doing business as name.
-
#ein ⇒ String?
Employer Identification Number.
-
#name ⇒ String?
Legal name of the corporation.
-
#owners ⇒ Array<MethodRuby::Models::EntityCorporationOwner>?
List of beneficial owners.
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(dba: nil, ein: nil, name: nil, owners: nil) ⇒ Object
|
|
# File 'lib/method_ruby/models/entity_corporation.rb', line 32
|
Instance Attribute Details
#dba ⇒ String?
Doing business as name.
10 |
# File 'lib/method_ruby/models/entity_corporation.rb', line 10 optional :dba, String, nil?: true |
#ein ⇒ String?
Employer Identification Number.
16 |
# File 'lib/method_ruby/models/entity_corporation.rb', line 16 optional :ein, String, nil?: true |
#name ⇒ String?
Legal name of the corporation.
22 |
# File 'lib/method_ruby/models/entity_corporation.rb', line 22 optional :name, String, nil?: true |
#owners ⇒ Array<MethodRuby::Models::EntityCorporationOwner>?
List of beneficial owners.
28 29 30 |
# File 'lib/method_ruby/models/entity_corporation.rb', line 28 optional :owners, -> { MethodRuby::Internal::Type::ArrayOf[MethodRuby::EntityCorporationOwner] }, nil?: true |