Log in
Model

ShipmentService

Magento\Sales\Model\Service\ShipmentService

What it does

This service class provides core functionality for managing shipments in Magento 2.

Developers use it to retrieve shipping labels, get shipment comments, and send shipment notifications to customers.

It acts as a central service layer for shipment-related operations, implementing the ShipmentManagementInterface.

Public Methods

  • getLabel()
  • getCommentsList()
  • notify()