public function Shipment::setShippingMethod in Ubercart 8.4
Sets the shipping method to the given value.
Parameters
string $shipping_method: The name of the shipping method.
Return value
$this
Overrides ShipmentInterface::setShippingMethod
File
- shipping/
uc_fulfillment/ src/ Shipment.php, line 149
Class
- Shipment
- Defines the Shipment class.
Namespace
Drupal\uc_fulfillmentCode
public function setShippingMethod($shipping_method) {
$this->shipping_method = $shipping_method;
return $this;
}