Model
CostStorage
Magento\Catalog\Model\Product\Price\CostStorage
What it does
This class manages product cost storage operations in Magento 2, providing functionality to retrieve, update, and delete product cost values.
Developers use this class when they need to programmatically manage product costs across different store views, with built-in validation for SKUs, cost values, and store IDs.
Public Methods
- get()
- update()
- delete()