class UserNatural extends User (View source)

UserNatural entity

Properties

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

Type of user

from  User
string $Email

Email address

from  User
string $KYCLevel

KYC Level (LIGHT or REGULAR)

from  User
bool $TermsAndConditionsAccepted

Whether the user has accepted the MANGOPAY Terms and Conditions.

from  User
int $TermsAndConditionsAcceptedDate

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

from  User
string $UserCategory

Category of user

from  User
string $FirstName

First name for user

string $LastName

Last name for user

Address $Address

Address for user

int $Birthday

Date of birth

string $Nationality

User's country

string $CountryOfResidence

Country of residence

string $Occupation

User's occupation

int $IncomeRange
string $ProofOfIdentity
string $ProofOfAddress
string $Capacity

Capacity of the user within MangoPay Takes values from \MangoPay\NaturalUserCapacity

Methods

array
GetSubObjects()

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

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

from  User

Details

array GetSubObjects()

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

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