You are here

public function PriceListItemInterface::setListPrice in Commerce Pricelist 8.2

Sets the list price.

Parameters

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

Return value

$this

1 method overrides PriceListItemInterface::setListPrice()
PriceListItem::setListPrice in src/Entity/PriceListItem.php
Sets the list price.

File

src/Entity/PriceListItemInterface.php, line 106

Class

PriceListItemInterface
Defines the interface for price list items.

Namespace

Drupal\commerce_pricelist\Entity

Code

public function setListPrice(Price $list_price);