public function Subscription::setCustomerId in Commerce Recurring Framework 8
Sets the customer ID.
Parameters
int $uid: The customer ID.
Return value
$this
Overrides SubscriptionInterface::setCustomerId
File
- src/
Entity/ Subscription.php, line 162
Class
- Subscription
- Defines the subscription entity.
Namespace
Drupal\commerce_recurring\EntityCode
public function setCustomerId($uid) {
$this
->set('uid', $uid);
return $this;
}