Log in
Interface

ShipmentCommentInterface

Magento\Sales\Api\Data\ShipmentCommentInterface

What it does

This interface defines the contract for shipment comment data objects in Magento 2.

Developers use it when working with comments attached to shipment documents, such as adding internal notes or customer-visible messages about a delivery.

It provides methods to manage the comment's relationship to its parent shipment and track whether customers were notified about the comment.

Public Methods

  • getIsCustomerNotified()
  • getParentId()
  • setParentId()
  • setIsCustomerNotified()
  • getExtensionAttributes()
  • setExtensionAttributes()