You are here

public function InvoiceInterface::removeItem in Commerce Invoice 8.2

Removes an invoice item.

Parameters

\Drupal\commerce_invoice\Entity\InvoiceItemInterface $invoice_item: The invoice item.

Return value

$this

1 method overrides InvoiceInterface::removeItem()
Invoice::removeItem in src/Entity/Invoice.php
Removes an invoice item.

File

src/Entity/InvoiceInterface.php, line 173

Class

InvoiceInterface
Defines the interface for invoices.

Namespace

Drupal\commerce_invoice\Entity

Code

public function removeItem(InvoiceItemInterface $invoice_item);