Log in
Model

Shipment

Magento\Sales\Model\ResourceModel\Order\Shipment

What it does

This resource model handles database operations for order shipments in Magento 2.

Developers use this class when they need to save, load, or perform database transactions related to shipment records.

It ensures data integrity by validating that shipments contain items and proper order references before saving to the database.