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