You are here

public function PromotionInterface::setCreatedTime in Commerce Core 8.2

Sets the promotion creation timestamp.

Parameters

int $timestamp: The promotion creation timestamp.

Return value

$this

1 method overrides PromotionInterface::setCreatedTime()
Promotion::setCreatedTime in modules/promotion/src/Entity/Promotion.php
Sets the promotion creation timestamp.

File

modules/promotion/src/Entity/PromotionInterface.php, line 450

Class

PromotionInterface
Defines the interface for promotions.

Namespace

Drupal\commerce_promotion\Entity

Code

public function setCreatedTime($timestamp);