You are here

public function Package::setLengthUnits in Ubercart 8.4

Sets the package units of length.

Parameters

string $length_units: The units used to measure package dimensions.

Return value

$this

Overrides PackageInterface::setLengthUnits

File

shipping/uc_fulfillment/src/Package.php, line 268

Class

Package
Defines the Package class.

Namespace

Drupal\uc_fulfillment

Code

public function setLengthUnits($length_units) {
  $this->length_units = $length_units;
  return $this;
}