public function OrderItemInterface::getPurchasedEntityId in Commerce Core 8.2
Gets the purchased entity ID.
Return value
int The purchased entity ID.
1 method overrides OrderItemInterface::getPurchasedEntityId()
- OrderItem::getPurchasedEntityId in modules/
order/ src/ Entity/ OrderItem.php - Gets the purchased entity ID.
File
- modules/
order/ src/ Entity/ OrderItemInterface.php, line 53
Class
- OrderItemInterface
- Defines the interface for order items.
Namespace
Drupal\commerce_order\EntityCode
public function getPurchasedEntityId();