You are here

public function CouponInterface::setCreatedTime in Commerce Core 8.2

Sets the coupon creation timestamp.

Parameters

int $timestamp: The coupon creation timestamp.

Return value

$this

1 method overrides CouponInterface::setCreatedTime()
Coupon::setCreatedTime in modules/promotion/src/Entity/Coupon.php
Sets the coupon creation timestamp.

File

modules/promotion/src/Entity/CouponInterface.php, line 64

Class

CouponInterface
Provides an interface for defining coupon entities.

Namespace

Drupal\commerce_promotion\Entity

Code

public function setCreatedTime($timestamp);