You are here

public function SubscriptionInterface::setCustomer in Commerce Recurring Framework 8

Sets the customer.

Parameters

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

Return value

$this

1 method overrides SubscriptionInterface::setCustomer()
Subscription::setCustomer in src/Entity/Subscription.php
Sets the customer.

File

src/Entity/SubscriptionInterface.php, line 76

Class

SubscriptionInterface
Defines the interface for subscriptions.

Namespace

Drupal\commerce_recurring\Entity

Code

public function setCustomer(UserInterface $account);