Model
AgreementsProvider
Magento\CheckoutAgreements\Model\AgreementsProvider
What it does
This class retrieves checkout agreement IDs from the database that customers must manually accept during checkout.
Developers use it to determine which terms and conditions need explicit customer consent before order placement, typically in checkout validation or agreement display logic.
Public Methods
- getRequiredAgreementIds()