You are here

public function OrderItemInterface::setQuantity in Commerce Core 8.2

Sets the order item quantity.

Parameters

string $quantity: The order item quantity.

Return value

$this

1 method overrides OrderItemInterface::setQuantity()
OrderItem::setQuantity in modules/order/src/Entity/OrderItem.php
Sets the order item quantity.

File

modules/order/src/Entity/OrderItemInterface.php, line 89

Class

OrderItemInterface
Defines the interface for order items.

Namespace

Drupal\commerce_order\Entity

Code

public function setQuantity($quantity);