Interface
ShipmentTrackInterface
Magento\Sales\Api\Data\ShipmentTrackInterface
What it does
This interface defines the contract for shipment tracking data in Magento 2.
Developers use it to work with tracking information for shipped orders, including carrier details, tracking numbers, weight, quantity, and timestamps.
It's commonly used when creating shipments, adding tracking numbers to orders, or retrieving tracking information for customer order updates.
Public Methods
- setOrderId()
- getOrderId()
- getCreatedAt()
- setCreatedAt()
- getEntityId()
- setEntityId()
- getParentId()
- getUpdatedAt()
- setUpdatedAt()
- setParentId()
- setWeight()
- getWeight()
- setQty()
- getQty()
- setDescription()
- getDescription()
- getExtensionAttributes()
- setExtensionAttributes()