Log in
Interface

ShipmentResourceInterface

Magento\Sales\Model\Spi\ShipmentResourceInterface

What it does

This interface defines the contract for shipment resource operations in Magento 2, specifying standard CRUD methods (save, load, delete) for managing shipment data persistence.

Developers implement this interface when creating custom shipment resource models or use it for dependency injection to interact with shipment database operations in a decoupled way.

Public Methods

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