Log in
Factory

CatalogPriceFactory

Magento\Catalog\Model\Product\CatalogPriceFactory

What it does

This factory class creates and validates custom catalog price models for external catalogs or third-party integrations.

Developers use it when they need to instantiate custom price calculation models that must implement the CatalogPriceInterface, ensuring type safety through validation before returning the instance.

Public Methods

  • create()