You are here

public function ShipmentInterface::getOrder in Commerce Shipping 8.2

Gets the parent order.

Return value

\Drupal\commerce_order\Entity\OrderInterface|null The order, or NULL if unknown.

1 method overrides ShipmentInterface::getOrder()
Shipment::getOrder in src/Entity/Shipment.php
Gets the parent order.

File

src/Entity/ShipmentInterface.php, line 41

Class

ShipmentInterface
Defines the interface for shipments.

Namespace

Drupal\commerce_shipping\Entity

Code

public function getOrder();