Log in
Collection

Agreement\Collection

Magento\CheckoutAgreements\Model\ResourceModel\Agreement\Collection

What it does

This collection class manages groups of checkout agreement records in Magento 2.

Developers use it to retrieve and filter terms and conditions or agreements that customers must accept during checkout, with the ability to filter by specific store views.

It's commonly used when displaying or managing checkout agreements across multiple stores in a Magento installation.

Public Methods

  • addStoreFilter()
  • setIsStoreFilterWithAdmin()