Interface
AgreementsProviderInterface
Magento\CheckoutAgreements\Model\AgreementsProviderInterface
What it does
This interface defines a contract for retrieving required checkout agreement IDs in Magento 2.
Developers implement this interface to provide custom logic for determining which Terms and Conditions agreements must be accepted during checkout.
It's used by the checkout process to validate that customers have agreed to all mandatory agreements before placing an order.
Public Methods
- getRequiredAgreementIds()