You are here

public function InvoiceInterface::setOrders in Commerce Invoice 8.2

Sets the invoice orders.

Parameters

\Drupal\commerce_order\Entity\OrderInterface[] $orders: The invoice orders.

Return value

$this

1 method overrides InvoiceInterface::setOrders()
Invoice::setOrders in src/Entity/Invoice.php
Sets the invoice orders.

File

src/Entity/InvoiceInterface.php, line 127

Class

InvoiceInterface
Defines the interface for invoices.

Namespace

Drupal\commerce_invoice\Entity

Code

public function setOrders(array $orders);