Log in
Model

Shipping

Magento\Sales\Model\ResourceModel\Report\Shipping

What it does

This class aggregates shipping data from orders and invoices into reporting tables for analytics purposes.

Developers would use this to generate shipping reports showing metrics like total shipping amounts, refunds, and order counts grouped by time periods, stores, and shipping methods.

It's typically executed via cron jobs or manually triggered to refresh shipping statistics.

Public Methods

  • aggregate()