Interface
InvoiceStatisticInterface
Magento\Sales\Model\Order\InvoiceStatisticInterface
What it does
This interface defines a contract for classes that handle invoice statistics registration.
Developers implement this interface to update order statistics when an invoice is created, such as tracking total invoiced amounts, quantities, and related financial metrics on the order object.
Public Methods
- register()