Log in
Model

Config

Magento\Sales\Model\Order\Pdf\Config

What it does

This class provides configuration data for PDF generation in Magento 2's Sales module.

Developers use it to retrieve renderer configurations for different product types on PDF documents (like invoices, shipments, credit memos) and to get totals display settings.

It acts as a centralized configuration accessor for customizing how order-related PDFs are rendered.

Public Methods

  • getRenderersPerProduct()
  • getTotals()