WooCommerce Code Reference

Reports

Namespaces

Categories
Coupons
Customers
Downloads
Export
Import
Orders
PerformanceIndicators
Products
Revenue
Stock
Taxes
Variations

Interfaces, Classes and Traits

DataStoreInterface
WooCommerce Reports data store interface.
ExportableInterface
WooCommerce Reports exportable controller interface.
Cache
REST API Reports Cache class.
DataStore
Common parent for custom report data stores.
GenericController
{@see WC_REST_Reports_Controller WC REST API Reports Controller} extended to be shared as a generic base for all Analytics reports controllers.
GenericQuery
A generic class for a report-specific query to be used in Analytics.
GenericStatsController
Generic base for all stats controllers.
ParameterException
API\Reports\ParameterException class.
Query
Admin\API\Reports\Query
Segmenter
Date & time interval and numeric range handling class for Reporting API.
SqlQuery
Admin\API\Reports\SqlQuery: Common parent for manipulating SQL query clauses.
TimeInterval
Date & time interval and numeric range handling class for Reporting API.
ExportableTraits
ExportableTraits class.
FilteredGetDataTrait
Trait to call filters on `get_data` methods for data stores.
OrderAwareControllerTrait
Trait to contain shared methods for reports Controllers that use order and orders statuses.
StatsDataStoreTrait
Trait to contain *stats-specific methods for data stores.