You are here

public function InvoiceItemInterface::getInvoice in Commerce Invoice 8.2

Gets the parent invoice.

Return value

\Drupal\commerce_invoice\Entity\InvoiceInterface|null The invoice, or NULL.

1 method overrides InvoiceItemInterface::getInvoice()
InvoiceItem::getInvoice in src/Entity/InvoiceItem.php
Gets the parent invoice.

File

src/Entity/InvoiceItemInterface.php, line 22

Class

InvoiceItemInterface
Defines the interface for invoice items.

Namespace

Drupal\commerce_invoice\Entity

Code

public function getInvoice();