You are here

public function InvoiceEvent::getInvoice in Commerce Invoice 8.2

Gets the invoice.

Return value

\Drupal\commerce_invoice\Entity\InvoiceInterface Gets the invoice.

File

src/Event/InvoiceEvent.php, line 38

Class

InvoiceEvent
Defines the invoice event.

Namespace

Drupal\commerce_invoice\Event

Code

public function getInvoice() {
  return $this->invoice;
}