Class: MangoModel::User

Inherits:
EntityBase show all
Extended by:
NonInstantiable
Defined in:
lib/mangopay/model/entity/user/user.rb

Overview

User entity’s base class. Should not be instantiated.

Direct Known Subclasses

LegalUser, NaturalUser

Instance Attribute Summary collapse

Attributes inherited from EntityBase

#creation_date, #id, #tag

Method Summary

Methods included from NonInstantiable

initialize

Instance Attribute Details

#emailObject

Their email address



16
17
18
# File 'lib/mangopay/model/entity/user/user.rb', line 16

def email
  @email
end

#kyc_levelObject

Their KYC level, one of KycLevel



13
14
15
# File 'lib/mangopay/model/entity/user/user.rb', line 13

def kyc_level
  @kyc_level
end

#person_typeObject

Type of user, one of PersonType



10
11
12
# File 'lib/mangopay/model/entity/user/user.rb', line 10

def person_type
  @person_type
end