Log in
Interface

OrderStatusHistoryResourceInterface

Magento\Sales\Model\Spi\OrderStatusHistoryResourceInterface

What it does

This interface defines the contract for persisting order status history records in Magento 2.

Developers use this when implementing custom resource models for saving, loading, and deleting order status history comments and updates.

It's part of the Service Provider Interface (SPI) layer, allowing for custom implementations of how order history data is stored and retrieved.

Public Methods

  • save()
  • load()
  • delete()