You are here

public function InvoiceItem::setDescription in Commerce Invoice 8.2

Sets the invoice item description.

Parameters

string $description: The invoice item description.

Return value

$this

Overrides InvoiceItemInterface::setDescription

File

src/Entity/InvoiceItem.php, line 92

Class

InvoiceItem
Defines the invoice item entity class.

Namespace

Drupal\commerce_invoice\Entity

Code

public function setDescription($description) {
  $this
    ->set('description', $description);
  return $this;
}