Factory
TierPriceFactory
Magento\Catalog\Model\Product\Price\TierPriceFactory
What it does
This factory creates and manages tier price objects for products in Magento 2.
Developers use this class to convert raw tier price data from the database into TierPriceInterface objects and vice versa, handling customer group mappings and price type conversions.
It's particularly useful when working with product pricing APIs or importing/exporting tier prices.
Public Methods
- create()
- createSkeleton()
- _resetState()