abstract class User extends EntityBase (View source)

User entity

Properties

string $Id from  EntityBase
string $Tag from  EntityBase
int $CreationDate from  EntityBase
string $PersonType

Type of user

string $Email

Email address

string $KYCLevel

KYC Level (LIGHT or REGULAR)

bool $TermsAndConditionsAccepted

Whether the user has accepted the MANGOPAY Terms and Conditions.

int $TermsAndConditionsAcceptedDate

The date on which the user has accepted the MANGOPAY Terms and Conditions.

string $UserCategory

Category of user

Methods

array
GetSubObjects()

Get array with mapping which property is object and what type of object.

from  Dto
array
GetDependsObjects()

Get array with mapping which property depends on other property To be overridden in child class if has any dependent objects.

from  Dto
array
GetReadOnlyProperties()

Get array with read-only properties

__construct(string $id = null)

Construct

SetPersonType(string $personType)

Construct

Details

array GetSubObjects()

Get array with mapping which property is object and what type of object.

To be overridden in child class if has any sub objects.

Return Value

array

array GetDependsObjects()

Get array with mapping which property depends on other property To be overridden in child class if has any dependent objects.

Return Value

array

array GetReadOnlyProperties()

Get array with read-only properties

Return Value

array

__construct(string $id = null)

Construct

Parameters

string $id

Entity identifier

protected SetPersonType(string $personType)

Construct

Parameters

string $personType

string with type of person