You are here

public function OrderItemInterface::getOrderId in Commerce Core 8.2

Gets the parent order ID.

Return value

int|null The order ID, or NULL.

1 method overrides OrderItemInterface::getOrderId()
OrderItem::getOrderId in modules/order/src/Entity/OrderItem.php
Gets the parent order ID.

File

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

Class

OrderItemInterface
Defines the interface for order items.

Namespace

Drupal\commerce_order\Entity

Code

public function getOrderId();