You are here

public function ShipmentItem::getOrderItemId in Commerce Shipping 8.2

Gets the source order item ID.

Note that an order item might correspond to multiple shipment items, depending on the used packer.

Return value

int The order item ID.

1 call to ShipmentItem::getOrderItemId()
ShipmentItem::toArray in src/ShipmentItem.php
Gets the array representation of the shipment item.

File

src/ShipmentItem.php, line 87

Class

ShipmentItem
Represents a shipment item.

Namespace

Drupal\commerce_shipping

Code

public function getOrderItemId() : int {
  return $this->orderItemId;
}