ItemCreationValidatorInterface
Magento\Sales\Model\Order\Creditmemo\ItemCreationValidatorInterface
What it does
This interface defines the contract for validating credit memo items during creation.
Developers implement this interface to create custom validators that check if a credit memo item is valid before it's created, using specified validation rules and order context.
It's used in the credit memo creation process to ensure data integrity and business rule compliance.
Public Methods
- validate()