You are here

public function PriceListItemInterface::getQuantity in Commerce Pricelist 8.2

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

Gets the quantity.

Represents a quantity tier. For example, if the price list has items for 10, 50, and 100 products, and the customer orders 20, they will get the price for 10.

Return value

string The quantity.

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

File

src/Entity/PriceListItemInterface.php, line 78

Class

PriceListItemInterface
Defines the interface for price list items.

Namespace

Drupal\commerce_pricelist\Entity

Code

public function getQuantity();