Log in
Interface

ProductOptionProcessorInterface

Magento\Catalog\Model\ProductOptionProcessorInterface

What it does

This interface defines methods for converting product configuration data between two formats: ProductOptionInterface objects and buy request DataObjects.

Developers implement this interface to handle the serialization and deserialization of custom product options when items are added to cart, saved in quotes, or converted to orders.

Public Methods

  • convertToBuyRequest()
  • convertToProductOption()