EntityInterface
Magento\Sales\Api\Data\EntityInterface
What it does
This interface defines the base contract for sales entities in Magento 2, providing common methods for accessing entity ID and creation timestamp.
Developers use this interface when working with sales-related entities like invoices, orders, shipments, or credit memos to ensure consistent access to these fundamental properties.
It serves as a foundational interface that other sales entity interfaces extend.
Public Methods
- getCreatedAt()
- setCreatedAt()
- getEntityId()
- setEntityId()