Deal extends Base
Class Deal
Table of Contents
Constants
- Assigned = 'ASSIGNED_BY_ID'
- CacheTtl = 30
- DateCreate = 'DATE_CREATE'
- TrackingSourceId = 'TRACKING_SOURCE_ID'
Methods
- __construct() : mixed
- getCode() : string
- Get code.
- getData() : array<string|int, mixed>
- Get data.
- getEntityId() : int|null
- Get entity ID.
- getEntityName() : string|null
- Get entity name.
- getName() : string|null
- Get name.
- getPath() : string
- Get path.
- isCostable() : mixed
- query() : array<string|int, mixed>
- Query data.
- setPeriod() : mixed
- setSourceId() : mixed
Constants
Assigned
public
mixed
Assigned
= 'ASSIGNED_BY_ID'
CacheTtl
public
mixed
CacheTtl
= 30
DateCreate
public
mixed
DateCreate
= 'DATE_CREATE'
TrackingSourceId
public
mixed
TrackingSourceId
= 'TRACKING_SOURCE_ID'
Methods
__construct()
public
__construct(mixed $filter, mixed $group) : mixed
Parameters
- $filter : mixed
- $group : mixed
getCode()
Get code.
public
getCode() : string
Return values
stringgetData()
Get data.
public
getData() : array<string|int, mixed>
Return values
array<string|int, mixed>getEntityId()
Get entity ID.
public
getEntityId() : int|null
Return values
int|nullgetEntityName()
Get entity name.
public
getEntityName() : string|null
Return values
string|nullgetName()
Get name.
public
getName() : string|null
Return values
string|nullgetPath()
Get path.
public
getPath() : string
Return values
stringisCostable()
public
isCostable() : mixed
query()
Query data.
public
query() : array<string|int, mixed>
Return values
array<string|int, mixed>setPeriod()
public
setPeriod(mixed $from, mixed $to) : mixed
Parameters
- $from : mixed
- $to : mixed
setSourceId()
public
setSourceId(mixed $sourceId) : mixed
Parameters
- $sourceId : mixed