You are here

public function OrderInterface::setCustomerId in Commerce Core 8.2

Sets the customer user ID.

Parameters

int $uid: The customer user ID.

Return value

$this

1 method overrides OrderInterface::setCustomerId()
Order::setCustomerId in modules/order/src/Entity/Order.php
Sets the customer user ID.

File

modules/order/src/Entity/OrderInterface.php, line 95

Class

OrderInterface
Defines the interface for orders.

Namespace

Drupal\commerce_order\Entity

Code

public function setCustomerId($uid);