Model
Shipping
Magento\Tax\Model\Sales\Pdf\Shipping
What it does
This class handles the display of shipping totals in PDF documents (invoices, credit memos) with proper tax formatting.
It determines whether to show shipping amounts excluding tax, including tax, or both, based on the store's tax configuration settings.
Developers would use this when customizing how shipping charges appear in PDF order documents.
Public Methods
- getTotalsForDisplay()