public function PaymentLineItemInterface::getAmount in Payment 8.2
Gets the amount.
Return value
float|int|string A numeric value.
1 call to PaymentLineItemInterface::getAmount()
- PaymentLineItemBase::getTotalAmount in src/
Plugin/ Payment/ LineItem/ PaymentLineItemBase.php - Return this line item's total amount.
1 method overrides PaymentLineItemInterface::getAmount()
- Basic::getAmount in src/
Plugin/ Payment/ LineItem/ Basic.php - Gets the amount.
File
- src/
Plugin/ Payment/ LineItem/ PaymentLineItemInterface.php, line 29
Class
- PaymentLineItemInterface
- A payment line item.
Namespace
Drupal\payment\Plugin\Payment\LineItemCode
public function getAmount();