public function InvoiceInterface::setCustomerId in Commerce Invoice 8.2
Sets the customer user ID.
Parameters
int $uid: The customer user ID.
Return value
$this
1 method overrides InvoiceInterface::setCustomerId()
- Invoice::setCustomerId in src/
Entity/ Invoice.php - Sets the customer user ID.
File
- src/
Entity/ InvoiceInterface.php, line 91
Class
- InvoiceInterface
- Defines the interface for invoices.
Namespace
Drupal\commerce_invoice\EntityCode
public function setCustomerId($uid);