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