public function InvoiceInterface::setItems in Commerce Invoice 8.2
Sets the invoice items.
Parameters
\Drupal\commerce_invoice\Entity\InvoiceItemInterface[] $invoice_items: The invoice items.
Return value
$this
1 method overrides InvoiceInterface::setItems()
- Invoice::setItems in src/
Entity/ Invoice.php - Sets the invoice items.
File
- src/
Entity/ InvoiceInterface.php, line 145
Class
- InvoiceInterface
- Defines the interface for invoices.
Namespace
Drupal\commerce_invoice\EntityCode
public function setItems(array $invoice_items);