BundleShipmentItemFormatter
Magento\BundleGraphQl\Model\Order\Shipment\BundleShipmentItemFormatter
What it does
This class formats bundle product shipment items for GraphQL API responses.
Developers use it to properly handle bundle products in order shipment queries, ensuring that when bundles are shipped separately, child items are treated individually rather than grouped together.
It implements special logic to exclude parent bundle items when products ship separately.
Public Methods
- formatShipmentItem()