Log in
Interface

GridInterface

Magento\Sales\Model\ResourceModel\GridInterface

What it does

This interface defines the contract for managing Magento sales grid tables (orders, invoices, shipments, credit memos).

Developers implement this interface to refresh grid data by adding new rows based on specific criteria, schedule-based updates, or purging outdated records.

It's primarily used by grid resource models to keep sales entity grids synchronized with their source tables.

Public Methods

  • refresh()
  • refreshBySchedule()
  • purge()