You are here

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\LineItem

Code

public function setQuantity($quantity);