You are here

public function SubscriptionInterface::getPurchasedEntity in Commerce Recurring Framework 8

Gets the purchased entity.

Return value

\Drupal\commerce\PurchasableEntityInterface|null The purchased entity, or NULL.

1 method overrides SubscriptionInterface::getPurchasedEntity()
Subscription::getPurchasedEntity in src/Entity/Subscription.php
Gets the purchased entity.

File

src/Entity/SubscriptionInterface.php, line 146

Class

SubscriptionInterface
Defines the interface for subscriptions.

Namespace

Drupal\commerce_recurring\Entity

Code

public function getPurchasedEntity();