public function InvoiceItemInterface::getUnitPrice in Commerce Invoice 8.2
Gets the invoice item unit price.
Return value
\Drupal\commerce_price\Price|null The invoice item unit price, or NULL.
1 method overrides InvoiceItemInterface::getUnitPrice()
- InvoiceItem::getUnitPrice in src/
Entity/ InvoiceItem.php - Gets the invoice item unit price.
File
- src/
Entity/ InvoiceItemInterface.php, line 110
Class
- InvoiceItemInterface
- Defines the interface for invoice items.
Namespace
Drupal\commerce_invoice\EntityCode
public function getUnitPrice();