You are here

public function LineItemCollectionInterface::getAmount in Payment 8.2

Gets the line items' total amount.

Return value

float|int|string A numeric value.

2 methods override LineItemCollectionInterface::getAmount()
LineItemCollection::getAmount in src/LineItemCollection.php
Gets the line items' total amount.
Payment::getAmount in src/Entity/Payment.php
Gets the line items' total amount.

File

src/LineItemCollectionInterface.php, line 89

Class

LineItemCollectionInterface
Defines a line item collection.

Namespace

Drupal\payment

Code

public function getAmount();