You are here

public function BundleInterface::setPrice in Commerce Product Bundle 8

Sets the product bundle price.

Parameters

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

Return value

$this

1 method overrides BundleInterface::setPrice()
ProductBundle::setPrice in src/Entity/ProductBundle.php
Sets the product bundle price.

File

src/Entity/BundleInterface.php, line 33

Class

BundleInterface
Provides an interface for defining product bundle entities.

Namespace

Drupal\commerce_product_bundle\Entity

Code

public function setPrice(Price $price);