CatalogPriceFactory
Magento\Catalog\Model\Product\CatalogPriceFactory
What it does
This factory class creates and validates custom catalog price model instances for external catalogs in Magento 2.
Developers use it when they need to instantiate custom pricing models that implement CatalogPriceInterface, ensuring type safety through automatic validation.
It's particularly useful for integrating third-party pricing systems or custom pricing logic with Magento's catalog.
Public Methods
- create()