You are here

public function Package::setWeightUnits in Ubercart 8.4

Sets the package units of weight.

Parameters

string $weight_units: The units used to measure package weight.

Return value

$this

Overrides PackageInterface::setWeightUnits

File

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

Class

Package
Defines the Package class.

Namespace

Drupal\uc_fulfillment

Code

public function setWeightUnits($weight_units) {
  $this->weight_units = $weight_units;
  return $this;
}