Expenses
Table of Contents
Methods
- __construct() : mixed
- Expenses constructor.
- add() : $this
- getActions() : int
- getCampaignId() : string
- getCampaignName() : string
- getClicks() : int
- getCpc() : float
- getCpm() : float
- This is cost per 1000 impressions.
- getCurrency() : string
- getDate() : null|Date
- getImpressions() : int
- getSpend() : float
- toArray() : array<string|int, mixed>
Methods
__construct()
Expenses constructor.
public
__construct([array<string|int, mixed> $data = [] ]) : mixed
Parameters
- $data : array<string|int, mixed> = []
add()
public
add(array<string|int, mixed> $data) : $this
Parameters
- $data : array<string|int, mixed>
Return values
$thisgetActions()
public
getActions() : int
Return values
intgetCampaignId()
public
getCampaignId() : string
Return values
stringgetCampaignName()
public
getCampaignName() : string
Return values
stringgetClicks()
public
getClicks() : int
Return values
intgetCpc()
public
getCpc() : float
Return values
floatgetCpm()
This is cost per 1000 impressions.
public
getCpm() : float
Return values
floatgetCurrency()
public
getCurrency() : string
Return values
stringgetDate()
public
getDate() : null|Date
Return values
null|DategetImpressions()
public
getImpressions() : int
Return values
intgetSpend()
public
getSpend() : float
Return values
floattoArray()
public
toArray() : array<string|int, mixed>