Class OrderStatusRepository
category |
System |
---|---|
package |
OrderStatus |
subpackage |
Repositories |
__construct(\OrderStatusFactoryInterface $factory, \OrderStatusReaderInterface $reader, \OrderStatusWriterInterface $writer, \OrderStatusDeleterInterface $deleter, \LanguageProvider $languageProvider)
create(\OrderStatus $orderStatus) : integer
integer
Id of new order status entity.
find(\IntType $orderStatusId) : \OrderStatus|null
findAll() : \OrderStatusCollection
get(\IntType $orderStatusId) : \OrderStatus
Throws |
|
---|
\OrderStatus
Expected order status entity.
remove(\IntType $orderStatusId) : $this|\OrderStatusRepositoryInterface
update(\OrderStatus $orderStatus) : $this|\OrderStatusRepositoryInterface