Class: Increase::Models::Entity::NaturalPerson

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/increase/models/entity.rb

Defined Under Namespace

Classes: Address, Identification

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#[], #inspect, #to_h, #to_s

Instance Attribute Details

#addressIncrease::Models::Entity::NaturalPerson::Address

The person's address.



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

required :address, -> { Increase::Models::Entity::NaturalPerson::Address }

#date_of_birthString

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

Returns:

  • (String)


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

required :date_of_birth, String

#identificationIncrease::Models::Entity::NaturalPerson::Identification

A means of verifying the person's identity.



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

required :identification, -> { Increase::Models::Entity::NaturalPerson::Identification }

#name_String

The person's legal name.

Returns:

  • (String)


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

required :name_, String