public function PriceListItemInterface::setQuantity in Commerce Pricelist 8.2
Same name and namespace in other branches
- 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\EntityCode
public function setQuantity($quantity);