You are here

public function ProductVariationInterface::setCreatedTime in Commerce Core 8.2

Sets the variation creation timestamp.

Parameters

int $timestamp: The variation creation timestamp.

Return value

$this

1 method overrides ProductVariationInterface::setCreatedTime()
ProductVariation::setCreatedTime in modules/product/src/Entity/ProductVariation.php
Sets the variation creation timestamp.

File

modules/product/src/Entity/ProductVariationInterface.php, line 138

Class

ProductVariationInterface
Defines the interface for product variations.

Namespace

Drupal\commerce_product\Entity

Code

public function setCreatedTime($timestamp);