public function ShipmentInterface::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
1 method overrides ShipmentInterface::setCarrier()
- Shipment::setCarrier in shipping/
uc_fulfillment/ src/ Shipment.php - Sets the common carrier name to the given value.
File
- shipping/
uc_fulfillment/ src/ ShipmentInterface.php, line 74
Class
- ShipmentInterface
- Provides an interface that defines the Shipment class.
Namespace
Drupal\uc_fulfillmentCode
public function setCarrier($carrier);