public function InvoiceItemInterface::setQuantity in Commerce Invoice 8.2
Sets the invoice item quantity.
Parameters
string $quantity: The invoice item quantity.
Return value
$this
1 method overrides InvoiceItemInterface::setQuantity()
- InvoiceItem::setQuantity in src/
Entity/ InvoiceItem.php - Sets the invoice item quantity.
File
- src/
Entity/ InvoiceItemInterface.php, line 102
Class
- InvoiceItemInterface
- Defines the interface for invoice items.
Namespace
Drupal\commerce_invoice\EntityCode
public function setQuantity($quantity);