You are here

public function PriceListItemInterface::getPurchasedEntity in Commerce Pricelist 8

Gets the purchased entity.

Return value

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

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

File

src/Entity/PriceListItemInterface.php, line 120

Class

PriceListItemInterface
Defines the interface for price list items.

Namespace

Drupal\commerce_pricelist\Entity

Code

public function getPurchasedEntity();