Repository
OrderRepositoryInterface
Magento\Sales\Api\OrderRepositoryInterface
What it does
This interface defines the contract for managing Magento order entities through CRUD operations.
Developers use this repository to retrieve, save, delete orders, or search for orders using specific criteria in their custom modules or extensions.
It provides a standardized way to interact with order data while maintaining abstraction from the underlying data storage.
Public Methods
- getList()
- get()
- delete()
- save()