Model
Grandtotal
Magento\Tax\Model\Sales\Pdf\Grandtotal
What it does
This class handles the display formatting of grand total amounts in PDF invoices and credit memos when tax should be shown alongside the grand total.
Developers use this to control how the grand total section appears in PDF documents, including separate lines for grand total excluding tax, tax amount, and grand total including tax based on store tax configuration settings.
Public Methods
- getTotalsForDisplay()