Log in
Model

Subtotal

Magento\Tax\Model\Sales\Pdf\Subtotal

What it does

This class handles the display of subtotal information in PDF documents (invoices, credit memos) for orders with tax considerations.

Developers would use or extend this class when customizing how subtotals appear in PDF outputs, including options to show subtotals with tax included, excluded, or both based on store configuration settings.

Public Methods

  • getTotalsForDisplay()