public function PaymentLineItemInterface::setQuantity in Payment 8.2
Sets the quantity.
Parameters
int|float $quantity:
Return value
static
1 method overrides PaymentLineItemInterface::setQuantity()
- PaymentLineItemBase::setQuantity in src/
Plugin/ Payment/ LineItem/ PaymentLineItemBase.php - Sets the quantity.
File
- src/
Plugin/ Payment/ LineItem/ PaymentLineItemInterface.php, line 75
Class
- PaymentLineItemInterface
- A payment line item.
Namespace
Drupal\payment\Plugin\Payment\LineItemCode
public function setQuantity($quantity);