You are here

public function InvoiceItem::getCreatedTime in Commerce Invoice 8.2

Gets the invoice item creation timestamp.

Return value

int The invoice item creation timestamp.

Overrides InvoiceItemInterface::getCreatedTime

File

src/Entity/InvoiceItem.php, line 287

Class

InvoiceItem
Defines the invoice item entity class.

Namespace

Drupal\commerce_invoice\Entity

Code

public function getCreatedTime() {
  return $this
    ->get('created')->value;
}