Interface
AgreementsValidatorInterface
Magento\Checkout\Api\AgreementsValidatorInterface
What it does
This interface defines a contract for validating checkout agreements (terms and conditions) during the checkout process.
Developers implement this interface to create custom validators that check if required agreements have been accepted by customers before order placement.
It's used in the checkout flow to ensure legal compliance by verifying agreement IDs provided by customers.
Public Methods
- isValid()