Interface
OrderResourceInterface
Magento\Sales\Model\Spi\OrderResourceInterface
What it does
This interface defines the contract for database operations (save, load, delete) on Magento 2 order objects.
Developers use this interface when implementing custom order resource models or when they need to interact with order persistence layer.
It serves as a Service Provider Interface (SPI) that ensures consistent CRUD operations for order data across different implementations.
Public Methods
- save()
- load()
- delete()