Documentation

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

Methods

fromModel()

public fromModel(mixed $dashboard) : self
Parameters
$dashboard : mixed
Return values
self

getChannelAlias()

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

getNet()

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

setNet()

public setNet(float|null $net) : void
Parameters
$net : float|null

setUserId()

public setUserId(int $userId) : void
Parameters
$userId : int

        
On this page

Search results