Interface OrderRepositoryInterface

Interface OrderRepositoryInterface

Direct known implementers

OrderRepository

Methods summary

public createNew( void ) : OrderInterface

Creates a new order with no values in the database and returns it containing just the ID.

public store( OrderInterface $order )

Saves an Order to the database.

public getById( IdType $orderId ) : OrderInterface

Returns an order by given ID.

public deleteById( IdType $orderId ) : OrderRepositoryInterface

Deletes an order by the ID.