TierPriceFactory
Magento\Catalog\Model\Product\Price\TierPriceFactory
What it does
This factory class creates and manages tier price objects in Magento 2.
Developers use it to convert raw tier price data from the database into TierPriceInterface objects and vice versa, handling customer group mappings and price type conversions (fixed vs discount).
It's primarily used when working with product tier pricing programmatically, such as during imports, API operations, or custom pricing logic.
Public Methods
- create()
- createSkeleton()
- _resetState()