Class: MethodRuby::Models::EntityCorporationOwner
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MethodRuby::Models::EntityCorporationOwner
- Defined in:
- lib/method_ruby/models/entity_corporation_owner.rb
Instance Attribute Summary collapse
-
#address ⇒ MethodRuby::Models::Address?
Postal mailing address.
-
#dob ⇒ Date?
Date of birth of the owner (YYYY-MM-DD).
-
#email ⇒ String?
Email address of the owner.
-
#first_name ⇒ String?
First name of the owner.
-
#last_name ⇒ String?
Last name of the owner.
-
#phone ⇒ String?
Phone number of the owner.
Instance Method Summary collapse
- #initialize(address: nil, dob: nil, email: nil, first_name: nil, last_name: nil, phone: nil) ⇒ Object constructor
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(address: nil, dob: nil, email: nil, first_name: nil, last_name: nil, phone: nil) ⇒ Object
|
|
# File 'lib/method_ruby/models/entity_corporation_owner.rb', line 42
|
Instance Attribute Details
#address ⇒ MethodRuby::Models::Address?
Postal mailing address.
10 |
# File 'lib/method_ruby/models/entity_corporation_owner.rb', line 10 optional :address, -> { MethodRuby::Address } |
#dob ⇒ Date?
Date of birth of the owner (YYYY-MM-DD).
16 |
# File 'lib/method_ruby/models/entity_corporation_owner.rb', line 16 optional :dob, Date |
#email ⇒ String?
Email address of the owner.
22 |
# File 'lib/method_ruby/models/entity_corporation_owner.rb', line 22 optional :email, String |
#first_name ⇒ String?
First name of the owner.
28 |
# File 'lib/method_ruby/models/entity_corporation_owner.rb', line 28 optional :first_name, String |
#last_name ⇒ String?
Last name of the owner.
34 |
# File 'lib/method_ruby/models/entity_corporation_owner.rb', line 34 optional :last_name, String |
#phone ⇒ String?
Phone number of the owner.
40 |
# File 'lib/method_ruby/models/entity_corporation_owner.rb', line 40 optional :phone, String |