UserNaturalSca
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 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
Get array with mapping which property is object and what type of object
Get array with mapping which property depends on other property To be overridden in child class if has any dependent objects.
Construct
Details
array
GetSubObjects()
Get array with mapping which property is object and what type of object
in
Dto at line 25
array
GetDependsObjects()
Get array with mapping which property depends on other property To be overridden in child class if has any dependent objects.
in
User at line 65
array
GetReadOnlyProperties()
Get array with read-only properties
__construct(string $id = null)
Construct
in
User at line 56
protected
SetPersonType(string $personType)
Construct