OrderStatusReaderInterface
in
Interface OrderStatusReaderInterface
Tags
Table of Contents
- getAllOrderStatus() : array<string|int, mixed>
- Returns the data of all order status resources in the storage.
- getOrderStatusById() : array<string|int, mixed>
- Returns the data of the expected order status entity by the given order status id.
Methods
getAllOrderStatus()
Returns the data of all order status resources in the storage.
public
getAllOrderStatus() : array<string|int, mixed>
Return values
array<string|int, mixed> —Data of all order status entities.
getOrderStatusById()
Returns the data of the expected order status entity by the given order status id.
public
getOrderStatusById(IntType $orderStatusId) : array<string|int, mixed>
Parameters
- $orderStatusId : IntType
-
Id of expected order status entity
Return values
array<string|int, mixed> —Data of order status entity or empty array, if no data was found.