You are here

public function PriceListInterface::setEndDate in Commerce Pricelist 8.2

Sets the end date.

Parameters

\Drupal\Core\Datetime\DrupalDateTime $end_date: The end date.

Return value

$this

1 method overrides PriceListInterface::setEndDate()
PriceList::setEndDate in src/Entity/PriceList.php
Sets the end date.

File

src/Entity/PriceListInterface.php, line 187

Class

PriceListInterface
Defines the interface for price lists.

Namespace

Drupal\commerce_pricelist\Entity

Code

public function setEndDate(DrupalDateTime $end_date);