You are here

public function InvoiceItem::getDescription in Commerce Invoice 8.2

Gets the invoice item description.

Return value

string The invoice item description.

Overrides InvoiceItemInterface::getDescription

File

src/Entity/InvoiceItem.php, line 85

Class

InvoiceItem
Defines the invoice item entity class.

Namespace

Drupal\commerce_invoice\Entity

Code

public function getDescription() {
  return $this
    ->get('description')->value;
}