You are here

public function PackageInterface::setWeight in Ubercart 8.4

Sets the package weight.

Parameters

float $weight: The package weight.

Return value

$this

1 method overrides PackageInterface::setWeight()
Package::setWeight in shipping/uc_fulfillment/src/Package.php
Sets the package weight.

File

shipping/uc_fulfillment/src/PackageInterface.php, line 162

Class

PackageInterface
Provides an interface that defines the Package class.

Namespace

Drupal\uc_fulfillment

Code

public function setWeight($weight);