Model
OptionsProcessor
Magento\SalesGraphQl\Model\OrderItem\OptionsProcessor
What it does
This class processes order item product options (like custom text fields, dropdowns, checkboxes) and formats them for GraphQL API responses.
Developers use it when building GraphQL queries that need to return customizable product options from placed orders, separating them into 'selected_options' and 'entered_options' arrays based on the option type.
Public Methods
- getItemOptions()