public function Package::setPackageType in Ubercart 8.4
Sets the package type to the given value.
Parameters
string $pkg_type: The name of the package type.
Return value
$this
Overrides PackageInterface::setPackageType
File
- shipping/
uc_fulfillment/ src/ Package.php, line 208
Class
- Package
- Defines the Package class.
Namespace
Drupal\uc_fulfillmentCode
public function setPackageType($pkg_type) {
$this->pkg_type = $pkg_type;
return $this;
}