Class: MethodRuby::Models::EntityUpdateParams::Individual

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/method_ruby/models/entity_update_params.rb

Instance Attribute Summary collapse

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

Parameters:

  • dob (Date) (defaults to: nil)

    Date of birth of the individual (YYYY-MM-DD).

  • email (String) (defaults to: nil)

    Email address of the individual.

  • first_name (String) (defaults to: nil)

    First name of the individual.

  • last_name (String) (defaults to: nil)

    Last name of the individual.

  • phone (String) (defaults to: nil)

    Phone number of the individual.

  • ssn (String) (defaults to: nil)

    Social security number (9 digits). Mutually exclusive with ssn_4.

  • ssn_4 (String) (defaults to: nil)

    Last 4 digits of SSN. Mutually exclusive with ssn.



# File 'lib/method_ruby/models/entity_update_params.rb', line 151

Instance Attribute Details

#dobDate?

Date of birth of the individual (YYYY-MM-DD).

Returns:

  • (Date, nil)


113
# File 'lib/method_ruby/models/entity_update_params.rb', line 113

optional :dob, Date

#emailString?

Email address of the individual.

Returns:

  • (String, nil)


119
# File 'lib/method_ruby/models/entity_update_params.rb', line 119

optional :email, String

#first_nameString?

First name of the individual.

Returns:

  • (String, nil)


125
# File 'lib/method_ruby/models/entity_update_params.rb', line 125

optional :first_name, String

#last_nameString?

Last name of the individual.

Returns:

  • (String, nil)


131
# File 'lib/method_ruby/models/entity_update_params.rb', line 131

optional :last_name, String

#phoneString?

Phone number of the individual.

Returns:

  • (String, nil)


137
# File 'lib/method_ruby/models/entity_update_params.rb', line 137

optional :phone, String

#ssnString?

Social security number (9 digits). Mutually exclusive with ssn_4.

Returns:

  • (String, nil)


143
# File 'lib/method_ruby/models/entity_update_params.rb', line 143

optional :ssn, String

#ssn_4String?

Last 4 digits of SSN. Mutually exclusive with ssn.

Returns:

  • (String, nil)


149
# File 'lib/method_ruby/models/entity_update_params.rb', line 149

optional :ssn_4, String