You are here

public function ShipmentInterface::hasItems in Commerce Shipping 8.2

Gets whether the shipment has items.

Return value

bool TRUE if the shipment has items, FALSE otherwise.

1 method overrides ShipmentInterface::hasItems()
Shipment::hasItems in src/Entity/Shipment.php
Gets whether the shipment has items.

File

src/Entity/ShipmentInterface.php, line 183

Class

ShipmentInterface
Defines the interface for shipments.

Namespace

Drupal\commerce_shipping\Entity

Code

public function hasItems();