public function InvoiceInterface::hasItems in Commerce Invoice 8.2
Gets whether the invoice has invoice items.
Return value
bool TRUE if the invoice has invoice items, FALSE otherwise.
1 method overrides InvoiceInterface::hasItems()
- Invoice::hasItems in src/
Entity/ Invoice.php - Gets whether the invoice has invoice items.
File
- src/
Entity/ InvoiceInterface.php, line 153
Class
- InvoiceInterface
- Defines the interface for invoices.
Namespace
Drupal\commerce_invoice\EntityCode
public function hasItems();