You are here

public function ProductVariationInterface::setListPrice in Commerce Core 8.2

Sets the list price.

Parameters

\Drupal\commerce_price\Price $list_price: The list price.

Return value

$this

1 method overrides ProductVariationInterface::setListPrice()
ProductVariation::setListPrice in modules/product/src/Entity/ProductVariation.php
Sets the list price.

File

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

Class

ProductVariationInterface
Defines the interface for product variations.

Namespace

Drupal\commerce_product\Entity

Code

public function setListPrice(Price $list_price);