Model
Total
Magento\Sales\Model\Order\Total
What it does
This class represents order totals data in Magento 2's sales module.
It serves as a data container for storing and transferring total-related information (like subtotal, tax, shipping, grand total) for sales orders.
Developers use this class when working with order total calculations, invoice totals, or credit memo totals to hold aggregated monetary values.