Interface
BasePriceInterface
Magento\Catalog\Api\Data\BasePriceInterface
What it does
This interface defines the contract for handling product base prices in Magento 2.
Developers use this when working with product pricing operations, particularly when managing prices across different store views.
It provides methods to get/set the price value, associate it with a specific store and product SKU, and supports extension attributes for custom price-related data.
Public Methods
- setPrice()
- getPrice()
- setStoreId()
- getStoreId()
- setSku()
- getSku()
- getExtensionAttributes()
- setExtensionAttributes()