public function Shipment::setCost in Ubercart 8.4
Sets the shipping cost for this shipment.
Parameters
float $cost: The shipping cost.
Return value
$this
Overrides ShipmentInterface::setCost
File
- shipping/
uc_fulfillment/ src/ Shipment.php, line 254
Class
- Shipment
- Defines the Shipment class.
Namespace
Drupal\uc_fulfillmentCode
public function setCost($cost) {
$this->cost = $cost;
return $this;
}