PersonType
Class PersonType
Table of Contents
Methods
- delete() : mixed
- doCalculate() : Result
- generateXmlId() : array<string|int, mixed>
- getIdsByDomain() : array<string|int, mixed>
- Returns list of person type id for domain.
- getList() : Result
- getRegistryType() : string
- isEntity() : bool
- Person type is legal entity
- isIndividual() : bool
- Person type is an individual
- load() : mixed
Methods
delete()
public
static delete(mixed $id) : mixed
Parameters
- $id : mixed
doCalculate()
public
static doCalculate(OrderBase $order) : Result
Parameters
- $order : OrderBase
Tags
Return values
ResultgenerateXmlId()
public
static generateXmlId() : array<string|int, mixed>
Return values
array<string|int, mixed>getIdsByDomain()
Returns list of person type id for domain.
public
static getIdsByDomain(string $domain) : array<string|int, mixed>
Parameters
- $domain : string
-
Domain Id.
Return values
array<string|int, mixed>getList()
public
static getList([array<string|int, mixed> $parameters = [] ]) : Result
Parameters
- $parameters : array<string|int, mixed> = []
Tags
Return values
ResultgetRegistryType()
public
static getRegistryType() : string
Return values
stringisEntity()
Person type is legal entity
public
static isEntity(int $personTypeId) : bool
Parameters
- $personTypeId : int
Return values
boolisIndividual()
Person type is an individual
public
static isIndividual(int $personTypeId) : bool
Parameters
- $personTypeId : int
Return values
boolload()
public
static load([null $siteId = null ][, null $id = null ]) : mixed
Parameters
- $siteId : null = null
- $id : null = null