TurnoverEntity
in package
implements
JsonSerializable
Table of Contents
Interfaces
- JsonSerializable
Properties
- $channelAlias : string
- $countryIsoCode2 : string|null
- $eventDate : string
- $gross : float
- $id : int
- $net : float|null
- $userId : int
Methods
- fromModel() : self
- getChannelAlias() : string
- getCountryIsoCode2() : string|null
- getEventDate() : string
- getGross() : float
- getId() : int
- getIsValid() : bool
- getNet() : float|null
- getUserId() : int
- jsonSerialize() : array<string|int, mixed>
- setChannelAlias() : void
- setCountryIsoCode2() : void
- setEventDate() : void
- setGross() : void
- setId() : void
- setNet() : void
- setUserId() : void
Properties
$channelAlias
private
string
$channelAlias
$countryIsoCode2
private
string|null
$countryIsoCode2
$eventDate
private
string
$eventDate
$gross
private
float
$gross
$id
private
int
$id
$net
private
float|null
$net
$userId
private
int
$userId
Methods
fromModel()
public
fromModel(mixed $dashboard) : self
Parameters
- $dashboard : mixed
Return values
selfgetChannelAlias()
public
getChannelAlias() : string
Return values
string —$channelAlias
getCountryIsoCode2()
public
getCountryIsoCode2() : string|null
Return values
string|null —$countryIsoCode2
getEventDate()
public
getEventDate() : string
Return values
string —$eventDate
getGross()
public
getGross() : float
Return values
float —$gross
getId()
public
getId() : int
Return values
int —$id
getIsValid()
public
getIsValid() : bool
Return values
boolgetNet()
public
getNet() : float|null
Return values
float|null —$net
getUserId()
public
getUserId() : int
Return values
int —$userId
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>setChannelAlias()
public
setChannelAlias(string $channelAlias) : void
Parameters
- $channelAlias : string
setCountryIsoCode2()
public
setCountryIsoCode2(string|null $countryIsoCode2) : void
Parameters
- $countryIsoCode2 : string|null
setEventDate()
public
setEventDate(string $eventDate) : void
Parameters
- $eventDate : string
setGross()
public
setGross(float $gross) : void
Parameters
- $gross : float
setId()
public
setId(int $id) : void
Parameters
- $id : int
setNet()
public
setNet(float|null $net) : void
Parameters
- $net : float|null
setUserId()
public
setUserId(int $userId) : void
Parameters
- $userId : int