Log in
Interface

ShipmentItemsValidatorInterface

Magento\Sales\Model\Order\Shipment\ShipmentItemsValidatorInterface

What it does

This interface defines a contract for validators that check if order items can be shipped before creating a shipment.

Developers implement this interface to create custom validation logic that ensures shipment items meet business rules and requirements, such as verifying quantities, item availability, or product-specific shipping constraints.

Public Methods

  • validate()