Interface
OrderStatusHistoryInterface
Magento\Sales\Api\Data\OrderStatusHistoryInterface
What it does
This interface defines the contract for order status history records in Magento 2.
Developers use it to track and manage changes to an order's status over time, including comments, timestamps, and customer notification flags.
It's commonly used when programmatically adding status updates to orders or retrieving historical status information for display or reporting.
Public Methods
- getComment()
- getCreatedAt()
- setCreatedAt()
- getEntityId()
- setEntityId()
- getEntityName()
- getIsCustomerNotified()
- getIsVisibleOnFront()
- getParentId()
- getStatus()
- setParentId()
- setIsCustomerNotified()
- setIsVisibleOnFront()
- setComment()
- setStatus()
- setEntityName()
- getExtensionAttributes()
- setExtensionAttributes()