You are here

public function InvoiceInterface::setCustomer in Commerce Invoice 8.2

Sets the customer user.

Parameters

\Drupal\user\UserInterface $account: The customer user entity.

Return value

$this

1 method overrides InvoiceInterface::setCustomer()
Invoice::setCustomer in src/Entity/Invoice.php
Sets the customer user.

File

src/Entity/InvoiceInterface.php, line 55

Class

InvoiceInterface
Defines the interface for invoices.

Namespace

Drupal\commerce_invoice\Entity

Code

public function setCustomer(UserInterface $account);