Model
BundleOrderTypeValidator
Magento\Bundle\Model\Sales\Order\BundleOrderTypeValidator
What it does
This validator ensures bundle products follow their configured shipment type rules (ship together or separately) when creating shipments via API.
Developers use it to prevent invalid shipment creation where bundle items and their children don't match the product's shipment configuration, automatically validating API requests to maintain data integrity.
Public Methods
- isValid()
- getMessages()