Log in
Interface

ShipmentItemResourceInterface

Magento\Sales\Model\Spi\ShipmentItemResourceInterface

What it does

This interface defines the contract for database operations on shipment item entities in Magento 2.

Developers would use or implement this interface when they need to perform CRUD (Create, Read, Update, Delete) operations on individual items within a shipment.

It serves as a Service Provider Interface (SPI) that allows for custom implementations of how shipment items are persisted to and retrieved from the database.

Public Methods

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