You are here

public function Package::setShippingType in Ubercart 8.4

Sets the shipping type to the given value.

Parameters

string $shipping_type: The name of the shipping type.

Return value

$this

Overrides PackageInterface::setShippingType

File

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

Class

Package
Defines the Package class.

Namespace

Drupal\uc_fulfillment

Code

public function setShippingType($shipping_type) {
  $this->shipping_type = $shipping_type;
  return $this;
}