class MangoModel::NaturalUser

User entity of PersonType::NATURAL A Natural User represents an actual person.

Attributes

address[RW]
Address

Their address

birthday[RW]
Integer

Their date of birth (UNIX timestamp)

birthplace[RW]
String

Their place of birth

capacity[RW]
String

Their capacity within MangoPay

country_of_residence[RW]
CountryIso

Their current country of residence

first_name[RW]
String

Their first name

income_range[RW]
Integer

Their income range (see MangoModel::IncomeRange)

last_name[RW]
String

Their last name

nationality[RW]
CountryIso

Their nationality

occupation[RW]
String

Their occupation

proof_of_address[RW]
String

Proof of their address

proof_of_identity[RW]
String

Proof of their identity

Public Class Methods

new() click to toggle source
# File lib/mangopay/model/entity/user/natural_user.rb, line 46
def initialize
  self.person_type = PersonType::NATURAL
end