Log in
Model

AgreementsValidator

Magento\CheckoutAgreements\Model\AgreementsValidator

What it does

This validator checks whether customers have accepted all required checkout agreements (terms and conditions) before placing an order.

Developers use this class during the checkout process to ensure compliance with store policies by validating that all mandatory agreement IDs have been acknowledged by the customer.

Public Methods

  • isValid()