Model
ShipmentRepository
Magento\Sales\Model\Order\ShipmentRepository
What it does
This repository class manages CRUD operations for shipment entities in Magento 2.
Developers use it to load, save, delete, search for shipments, and create new shipment instances.
It provides a standardized API for working with shipments while handling caching and error management internally.
Public Methods
- get()
- getList()
- delete()
- deleteById()
- save()
- create()