public function InvoiceInterface::getTotalPrice in Commerce Invoice 8.2
Gets the invoice total price.
Represents a sum of all invoice item totals.
Return value
\Drupal\commerce_price\Price|null The invoice total price, or NULL.
1 method overrides InvoiceInterface::getTotalPrice()
- Invoice::getTotalPrice in src/
Entity/ Invoice.php - Gets the invoice total price.
File
- src/
Entity/ InvoiceInterface.php, line 249
Class
- InvoiceInterface
- Defines the interface for invoices.
Namespace
Drupal\commerce_invoice\EntityCode
public function getTotalPrice();