public function Invoice::getCreatedTime in Commerce Invoice 8.2
Gets the invoice creation timestamp.
Return value
int Creation timestamp of the invoice.
Overrides InvoiceInterface::getCreatedTime
File
- src/
Entity/ Invoice.php, line 509
Class
- Invoice
- Defines the invoice entity class.
Namespace
Drupal\commerce_invoice\EntityCode
public function getCreatedTime() {
return $this
->get('created')->value;
}