You are here

public function PriceListInterface::setCustomerId in Commerce Pricelist 8.2

Sets the customer ID.

Parameters

int $uid: The customer ID.

Return value

$this

Deprecated

in commerce_pricelist:8.x-2.0 and is removed from commerce_pricelist:8.x-3.0. Use $this->setCustomers() instead.

See also

https://www.drupal.org/project/commerce_pricelist/issues/3171289

1 method overrides PriceListInterface::setCustomerId()
PriceList::setCustomerId in src/Entity/PriceList.php
Sets the customer ID.

File

src/Entity/PriceListInterface.php, line 110

Class

PriceListInterface
Defines the interface for price lists.

Namespace

Drupal\commerce_pricelist\Entity

Code

public function setCustomerId($uid);