TotalRevenue

Type
Class
Namespace
craft\commerce\stats
Inherits
craft\commerce\stats\TotalRevenue ยป craft\commerce\base\Stat
Implements
craft\commerce\base\StatInterface
Uses traits
craft\commerce\base\StatTrait
Since
3.0

Total Revenue Stat

View source

# Public Properties

Property Description
cache boolean
cacheDuration integer โ€“ How long to cache the data, in seconds.
dateRange string
weekStartDay integer

# Protected Properties

Property Description
_handle string

# _handle

Type
string

View source

# Public Methods

# getData()

View source

Returns

array, null, false

# Protected Methods

Method Description
_createChartQuery()
_createStatQuery() Generate base stat query