You are here

public function PriceListItemInterface::setQuantity in Commerce Pricelist 8.2

Same name and namespace in other branches
  1. 8 src/Entity/PriceListItemInterface.php \Drupal\commerce_pricelist\Entity\PriceListItemInterface::setQuantity()

Sets the quantity.

Parameters

string $quantity: The quantity.

Return value

$this

1 method overrides PriceListItemInterface::setQuantity()
PriceListItem::setQuantity in src/Entity/PriceListItem.php
Sets the quantity.

File

src/Entity/PriceListItemInterface.php, line 88

Class

PriceListItemInterface
Defines the interface for price list items.

Namespace

Drupal\commerce_pricelist\Entity

Code

public function setQuantity($quantity);