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

Status of user

from  User
Address $HeadquartersAddress

Headquarters address.

Address $LegalRepresentativeAddress

Legal Representative address.

string $Name

Name of user

string $LegalPersonType

Type for legal user. Possible: BUSINESS, PARTNERSHIP, ORGANIZATION, SOLETRADER

string $ProofOfRegistration

Proof of registration.

string $ShareholderDeclaration

Shareholder declaration.

string $Statute Statute.
string $CompanyNumber

Company number.

PendingUserAction $PendingUserAction

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

LegalRepresentative $LegalRepresentative

Information about the legal representative declared for the user.

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