You are here

public function BundleItemInterface::setMaximumQuantity in Commerce Product Bundle 8

Sets the maximum quantity of the product variations.

Parameters

float $maximum_quantity: The maximum quantity.

Return value

\Drupal\commerce_product_bundle\Entity\BundleItemInterface The called product bundle item entity.

1 method overrides BundleItemInterface::setMaximumQuantity()
ProductBundleItem::setMaximumQuantity in src/Entity/ProductBundleItem.php
@inheritdoc

File

src/Entity/BundleItemInterface.php, line 138

Class

BundleItemInterface
Provides an interface for defining product bundle item entities.

Namespace

Drupal\commerce_product_bundle\Entity

Code

public function setMaximumQuantity($maximum_quantity);