class UserNaturalSca 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 $UserStatus

Status 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 $PhoneNumber

Format: International telephone numbering plan E.164 (+ then country code then the number) or local format

Required if UserCategory is OWNER.

string $PhoneNumberCountry

Allowed values: Two-letter country code (ISO 3166-1 alpha-2 format).

PendingUserAction $PendingUserAction

Information about the action required from the user if UserStatus is PENDING_USER_ACTION (otherwise returned null).

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

from  User
__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