phpDocumentor

OrderStatusServiceInterface

Interface OrderStatusServiceInterface

Tags
category

System

subpackage

Interfaces

Table of Contents

create()  : int
Creates a new order status.
find()  : OrderStatus|null
Returns an order status entity by the given order status id. If no data was found, null is returned.
findAll()  : OrderStatusCollection
Returns a collection with all order status.
get()  : OrderStatus
Returns an order status entity by the given order status id. If no data was found, an exception is thrown.
remove()  : $this|OrderStatusServiceInterface
Removes an order status.
update()  : $this|OrderStatusServiceInterface
Updates an order status.

Methods

find()

Returns an order status entity by the given order status id. If no data was found, null is returned.

public find(IntType $orderStatusId) : OrderStatus|null
Parameters
$orderStatusId : IntType

Id of expected OrderStatus entity.

Return values
OrderStatus|null

Whether the found order status entity or null.

Search results