Log in
Interface

ShipmentItemResourceInterface

Magento\Sales\Model\Spi\ShipmentItemResourceInterface

What it does

This interface defines the contract for resource models that handle database operations for shipment items in Magento 2.

Developers use this when implementing custom resource models for shipment item persistence, ensuring they provide standard CRUD operations (save, load, delete) for shipment item data.

It's part of Magento's Service Provider Interface (SPI) layer, allowing for customization of how shipment items are stored and retrieved.

Public Methods

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