Log in
Interface

ShipmentTrackInterface

Magento\Sales\Api\Data\ShipmentTrackInterface

What it does

This interface defines the contract for shipment tracking information in Magento 2.

Developers use it when working with shipment tracking data, such as carrier codes, tracking numbers, weights, and quantities.

It's essential for integrating shipping carriers, displaying tracking information to customers, and managing order fulfillment operations programmatically.

Public Methods

  • setOrderId()
  • getOrderId()
  • getCreatedAt()
  • setCreatedAt()
  • getEntityId()
  • setEntityId()
  • getParentId()
  • getUpdatedAt()
  • setUpdatedAt()
  • setParentId()
  • setWeight()
  • getWeight()
  • setQty()
  • getQty()
  • setDescription()
  • getDescription()
  • getExtensionAttributes()
  • setExtensionAttributes()