Interface
ProductOptionProcessorInterface
Magento\Catalog\Model\ProductOptionProcessorInterface
What it does
This interface defines the contract for converting product configuration options between two formats: the buy request format (used when adding products to cart) and the product option format (used for storing/retrieving product configurations).
Developers implement this interface when creating custom product types or handling complex product options that need to be transformed between customer requests and stored product data.
Public Methods
- convertToBuyRequest()
- convertToProductOption()