public function InvoiceInterface::getCustomerId in Commerce Invoice 8.2
Gets the customer user ID.
Return value
int The customer user ID ('0' if anonymous).
1 method overrides InvoiceInterface::getCustomerId()
- Invoice::getCustomerId in src/
Entity/ Invoice.php - Gets the customer user ID.
File
- src/
Entity/ InvoiceInterface.php, line 63
Class
- InvoiceInterface
- Defines the interface for invoices.
Namespace
Drupal\commerce_invoice\EntityCode
public function getCustomerId();