ConfigInterface
Magento\Sales\Model\ConfigInterface
What it does
This interface defines a contract for accessing sales-related configuration in Magento 2.
Developers use it to retrieve renderer configurations for totals display in different areas (like invoices, credit memos), get grouped totals for sections like quotes or orders, and fetch available product types for sales operations.
It's primarily used when customizing order/quote total displays or when you need to work with product type configurations in sales contexts.
Public Methods
- getTotalsRenderer()
- getGroupTotals()
- getAvailableProductTypes()