Log in
Model

ShipmentService

Magento\Sales\Model\Service\ShipmentService

What it does

This service class provides centralized operations for managing shipments in Magento 2.

Developers use this class to retrieve shipment labels, fetch shipment comments, and send shipment notification emails to customers.

It acts as a facade that coordinates between shipment repositories, comment repositories, and notification services to handle common shipment-related tasks.

Public Methods

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