AgreementsValidatorInterface
Magento\Checkout\Api\AgreementsValidatorInterface
What it does
This interface defines a contract for validating checkout agreements (terms and conditions) that customers must accept before placing an order.
Developers implement this interface to create custom validators that verify whether the required agreements have been properly accepted by checking the provided agreement IDs.
It's commonly used during the checkout process to ensure all mandatory terms are agreed to before order placement.
Public Methods
- isValid()