public
|
|
public
OrderStatusCollection
|
#
findAll( )
Returns a collection with all order status.
Returns a collection with all order status.
Returns
Implementation of
|
public
OrderStatus|null
|
#
find( IntType $orderStatusId )
Returns an order status entity by the given order status id. If no data was found, null is returned.
Returns an order status entity by the given order status id. If no data was found, null is returned.
Parameters
- $orderStatusId
- Id of expected OrderStatus entity.
Returns
OrderStatus|null Whether the found order status entity or null.
Implementation of
|
public
OrderStatus
|
#
get( IntType $orderStatusId )
Returns an order status entity by the given order status id. If no data was found, an exception is thrown.
Returns an order status entity by the given order status id. If no data was found, an exception is thrown.
Parameters
- $orderStatusId
- Id of expected OrderStatus entity.
Returns
Throws
Implementation of
|
public
integer
|
#
create( OrderStatus $orderStatus )
Creates a new order status.
Creates a new order status.
Parameters
- $orderStatus
- Order status entity with new data.
Returns
integer Id of new order status entity.
Implementation of
|
public
|
#
update( OrderStatus $orderStatus )
Updates an order status.
Parameters
- $orderStatus
- Order status entity with updated data.
Returns
$this|OrderStatusServiceInterface Same instance for chained method calls.
Implementation of
|
public
|
#
remove( IntType $orderStatusId )
Removes an order status.
Parameters
- $orderStatusId
- Id of order status entity to be removed.
Returns
$this|OrderStatusServiceInterface Same instance for chained method calls.
Implementation of
|