You are here

public function OrderItemInterface::hasPurchasedEntity in Commerce Core 8.2

Gets whether the order item has a purchased entity.

Return value

bool TRUE if the order item has a purchased entity, FALSE otherwise.

1 method overrides OrderItemInterface::hasPurchasedEntity()
OrderItem::hasPurchasedEntity in modules/order/src/Entity/OrderItem.php
Gets whether the order item has a purchased entity.

File

modules/order/src/Entity/OrderItemInterface.php, line 37

Class

OrderItemInterface
Defines the interface for order items.

Namespace

Drupal\commerce_order\Entity

Code

public function hasPurchasedEntity();