public function InvoiceInterface::setCreatedTime in Commerce Invoice 8.2
Sets the invoice creation timestamp.
Parameters
int $timestamp: The invoice creation timestamp.
Return value
$this
1 method overrides InvoiceInterface::setCreatedTime()
- Invoice::setCreatedTime in src/
Entity/ Invoice.php - Sets the invoice creation timestamp.
File
- src/
Entity/ InvoiceInterface.php, line 340
Class
- InvoiceInterface
- Defines the interface for invoices.
Namespace
Drupal\commerce_invoice\EntityCode
public function setCreatedTime($timestamp);