public function Invoice::getDueDateTime in Commerce Invoice 8.2
Gets the invoice due date timestamp.
Return value
int Due date timestamp of the invoice.
Overrides InvoiceInterface::getDueDateTime
1 call to Invoice::getDueDateTime()
- Invoice::preSave in src/
Entity/ Invoice.php - Acts on an entity before the presave hook is invoked.
File
- src/
Entity/ Invoice.php, line 539
Class
- Invoice
- Defines the invoice entity class.
Namespace
Drupal\commerce_invoice\EntityCode
public function getDueDateTime() {
return $this
->get('due_date')->value;
}