public function PackageTypeInterface::getLength in Commerce Shipping 8.2
Gets the package type length.
Return value
\Drupal\physical\Length The package type length.
1 method overrides PackageTypeInterface::getLength()
- PackageType::getLength in src/
Plugin/ Commerce/ PackageType/ PackageType.php - Gets the package type length.
File
- src/
Plugin/ Commerce/ PackageType/ PackageTypeInterface.php, line 41
Class
- PackageTypeInterface
- Defines the interface for package types.
Namespace
Drupal\commerce_shipping\Plugin\Commerce\PackageTypeCode
public function getLength();