Log in
Model

Refunded

Magento\Sales\Model\ResourceModel\Report\Refunded

What it does

This resource model aggregates and generates statistical reports about refunded orders in Magento 2.

Developers use this class when they need to compile refund data for reporting purposes, either through cron jobs or manual report generation, organizing data by order creation date or credit memo creation date into aggregated tables for performance.

Public Methods

  • aggregate()