You are here

public function PriceListItemInterface::setQuantity in Commerce Pricelist 8

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

Sets the price list item quantity.

Parameters

string $quantity: The price list item quantity.

Return value

$this

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

File

src/Entity/PriceListItemInterface.php, line 51

Class

PriceListItemInterface
Defines the interface for price list items.

Namespace

Drupal\commerce_pricelist\Entity

Code

public function setQuantity($quantity);