You are here

public function OrderItemInterface::setCreatedTime in Commerce Core 8.2

Sets the order item creation timestamp.

Parameters

int $timestamp: The order item creation timestamp.

Return value

$this

1 method overrides OrderItemInterface::setCreatedTime()
OrderItem::setCreatedTime in modules/order/src/Entity/OrderItem.php
Sets the order item creation timestamp.

File

modules/order/src/Entity/OrderItemInterface.php, line 247

Class

OrderItemInterface
Defines the interface for order items.

Namespace

Drupal\commerce_order\Entity

Code

public function setCreatedTime($timestamp);