Log in
Interface

ConfigInterface

Magento\Sales\Model\ConfigInterface

What it does

This interface defines the contract for accessing sales-related configuration in Magento 2.

Developers use it to retrieve total renderers for displaying order/quote totals, get grouped totals for specific sections (like invoices or credit memos), and obtain a list of available product types that can be used in sales operations.

It's typically injected into classes that need to work with sales configuration data.

Public Methods

  • getTotalsRenderer()
  • getGroupTotals()
  • getAvailableProductTypes()