public function ShipmentInterface::getOrderId in Commerce Shipping 8.2
Gets the parent order ID.
Return value
int|null The order ID, or NULL if unknown.
1 method overrides ShipmentInterface::getOrderId()
- Shipment::getOrderId in src/
Entity/ Shipment.php - Gets the parent order ID.
File
- src/
Entity/ ShipmentInterface.php, line 49
Class
- ShipmentInterface
- Defines the interface for shipments.
Namespace
Drupal\commerce_shipping\EntityCode
public function getOrderId();