Model
Refunded
Magento\Sales\Model\ResourceModel\Report\Refunded
What it does
This class manages the aggregation and reporting of refunded order data in Magento 2.
Developers use this class when generating sales reports to calculate and store refunded amounts, both online and offline refunds, grouped by time periods, stores, and order statuses.
It creates summarized data tables that power the admin dashboard's refund reports.
Public Methods
- aggregate()