OrderRepositoryWriterInterface

Extends

Interface OrderRepositoryWriterInterface

category

System

package

Order

subpackage

Interfaces

Methods

Inserts a new order to the orders table.

insert(\OrderInterface $order) : integer

Arguments

$order

\OrderInterface

Order.

Response

integer

ID of inserted order.

Updates an existing order in the orders table.

update(\OrderInterface $order) : \OrderRepositoryWriterInterface

Arguments

$order

\OrderInterface

Order object.

Response

\OrderRepositoryWriterInterface

Same instance for method chaining.