StatInterface

Type
Interface
Namespace
craft\commerce\base
Implemented by
craft\commerce\base\Stat, craft\commerce\stats\AverageOrderTotal, craft\commerce\stats\NewCustomers, craft\commerce\stats\RepeatCustomers, craft\commerce\stats\TopCustomers, craft\commerce\stats\TopProductTypes, craft\commerce\stats\TopProducts, craft\commerce\stats\TopPurchasables, craft\commerce\stats\TotalOrders, craft\commerce\stats\TotalOrdersByCountry, craft\commerce\stats\TotalRevenue
Since
3.0

Stat Interface

View source

# Public Methods

# get()

View source

Returns

mixed

# getData()

View source

Returns

array, null, false

# getDateRangeWording()

View source

Returns

string

# getEndDate()

View source

Returns

mixed

# getHandle()

View source

Returns

string

# getStartDate()

View source

Returns

mixed

# prepareData()

View source

Arguments

  • $data

Returns

mixed

# setEndDate()

View source

Arguments

Returns

mixed

# setStartDate()

View source

Arguments

Returns

mixed