public function ShipmentInterface::getTotalQuantity in Commerce Shipping 8.2
Gets the total quantity.
Represents the sum of the quantities of all shipment items.
Return value
string The total quantity.
1 method overrides ShipmentInterface::getTotalQuantity()
- Shipment::getTotalQuantity in src/
Entity/ Shipment.php - Gets the total quantity.
File
- src/
Entity/ ShipmentInterface.php, line 213
Class
- ShipmentInterface
- Defines the interface for shipments.
Namespace
Drupal\commerce_shipping\EntityCode
public function getTotalQuantity();