You are here

public function BundleItemOrderItemInterface::getPurchasedEntity in Commerce Product Bundle 8

Gets the purchased entity.

Return value

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

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

File

src/Entity/BundleItemOrderItemInterface.php, line 29

Class

BundleItemOrderItemInterface
Provides an interface for defining Bundle Item Order Item entities.

Namespace

Drupal\commerce_product_bundle\Entity

Code

public function getPurchasedEntity();