class UserLegal extends User (View source)

UserLegal 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 $Name

Name of user

string $LegalPersonType

Type for legal user. Possible: ‘BUSINESS’, ’ORGANIZATION’

Address $HeadquartersAddress
string $LegalRepresentativeFirstName
string $LegalRepresentativeLastName
Address $LegalRepresentativeAddress
string $LegalRepresentativeEmail
int $LegalRepresentativeBirthday
string $LegalRepresentativeNationality
string $LegalRepresentativeCountryOfResidence
string $LegalRepresentativeProofOfIdentity
string $Statute
string $ProofOfRegistration
string $ShareholderDeclaration
string $CompanyNumber

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