Class: Increase::Models::Entity::Trust::Trustee::Individual

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/entity.rb

Overview

See Also:

Defined Under Namespace

Classes: Address, Identification

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(city: , line1: , line2: , state: , zip: ) ⇒ Object

Some parameter documentations has been truncated, see Address for more details.

The person’s address.

Parameters:

  • city (String) (defaults to: )

    The city of the address.

  • line1 (String) (defaults to: )

    The first line of the address.

  • line2 (String, nil) (defaults to: )

    The second line of the address.

  • state (String) (defaults to: )

    The two-letter United States Postal Service (USPS) abbreviation for the state of

  • zip (String) (defaults to: )

    The ZIP code of the address.



# File 'lib/increase/models/entity.rb', line 1393


Instance Attribute Details

#addressIncrease::Models::Entity::Trust::Trustee::Individual::Address

The person’s address.



1373
# File 'lib/increase/models/entity.rb', line 1373

required :address, -> { Increase::Entity::Trust::Trustee::Individual::Address }

#date_of_birthDate

The person’s date of birth in YYYY-MM-DD format.

Returns:

  • (Date)


1379
# File 'lib/increase/models/entity.rb', line 1379

required :date_of_birth, Date

#identificationIncrease::Models::Entity::Trust::Trustee::Individual::Identification

A means of verifying the person’s identity.



1385
# File 'lib/increase/models/entity.rb', line 1385

required :identification, -> { Increase::Entity::Trust::Trustee::Individual::Identification }

#nameString

The person’s legal name.

Returns:

  • (String)


1391
# File 'lib/increase/models/entity.rb', line 1391

required :name, String