Copied!

OrderServiceDecorator

OrderServiceDecorator.php : 17

Properties

protected $innerService

OrderServiceDecorator.php : 19
protected OrderServiceInterface $innerService

Methods

public__construct()

OrderServiceDecorator.php : 21
public __construct(OrderServiceInterface $innerService)

Parameters

Name Type Default value Description
$innerService OrderServiceInterface - -

publiccancelOrder()

OrderServiceDecorator.php : 36
public cancelOrder(OrderInterface $order) : void

Parameters

Name Type Default value Description
$order OrderInterface - -

publiccreateOrder()

OrderServiceDecorator.php : 26
public createOrder(OrderCreateStruct $createStruct) : OrderInterface

Parameters

Name Type Default value Description
$createStruct OrderCreateStruct - -

Return values

OrderInterface

publicfindOrders()

OrderServiceDecorator.php : 51
public findOrders([OrderQuery|null $orderQuery = null ]) : OrderListInterface

Parameters

Name Type Default value Description
$orderQuery OrderQuery|null null -

Return values

OrderListInterface

publicgetOrder()

OrderServiceDecorator.php : 41
public getOrder(int $id) : OrderInterface

Parameters

Name Type Default value Description
$id int - -

Return values

OrderInterface

publicgetOrderByIdentifier()

OrderServiceDecorator.php : 46
public getOrderByIdentifier(string $identifier) : OrderInterface

Parameters

Name Type Default value Description
$identifier string - -

Return values

OrderInterface

publicupdateOrder()

OrderServiceDecorator.php : 31
public updateOrder(OrderInterface $order, OrderUpdateStruct $updateStruct) : OrderInterface

Parameters

Name Type Default value Description
$order OrderInterface - -
$updateStruct OrderUpdateStruct - -

Return values

OrderInterface