Class: MethodRuby::Models::EntityIndividual
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MethodRuby::Models::EntityIndividual
- Defined in:
- lib/method_ruby/models/entity_individual.rb
Instance Attribute Summary collapse
-
#dob ⇒ Date?
Date of birth of the individual (YYYY-MM-DD).
-
#email ⇒ String?
Email address of the individual.
-
#first_name ⇒ String?
First name of the individual.
-
#last_name ⇒ String?
Last name of the individual.
-
#phone ⇒ String?
Phone number of the individual.
-
#ssn ⇒ String?
Social security number (masked).
-
#ssn_4 ⇒ String?
Last 4 digits of SSN (masked).
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(dob: nil, email: nil, first_name: nil, last_name: nil, phone: nil, ssn: nil, ssn_4: nil) ⇒ Object
|
|
# File 'lib/method_ruby/models/entity_individual.rb', line 48
|
Instance Attribute Details
#dob ⇒ Date?
Date of birth of the individual (YYYY-MM-DD).
10 |
# File 'lib/method_ruby/models/entity_individual.rb', line 10 optional :dob, Date, nil?: true |
#email ⇒ String?
Email address of the individual.
16 |
# File 'lib/method_ruby/models/entity_individual.rb', line 16 optional :email, String, nil?: true |
#first_name ⇒ String?
First name of the individual.
22 |
# File 'lib/method_ruby/models/entity_individual.rb', line 22 optional :first_name, String, nil?: true |
#last_name ⇒ String?
Last name of the individual.
28 |
# File 'lib/method_ruby/models/entity_individual.rb', line 28 optional :last_name, String, nil?: true |
#phone ⇒ String?
Phone number of the individual.
34 |
# File 'lib/method_ruby/models/entity_individual.rb', line 34 optional :phone, String, nil?: true |
#ssn ⇒ String?
Social security number (masked).
40 |
# File 'lib/method_ruby/models/entity_individual.rb', line 40 optional :ssn, String, nil?: true |
#ssn_4 ⇒ String?
Last 4 digits of SSN (masked).
46 |
# File 'lib/method_ruby/models/entity_individual.rb', line 46 optional :ssn_4, String, nil?: true |