You are here

public function ShipmentInterface::setCost in Ubercart 8.4

Sets the shipping cost for this shipment.

Parameters

float $cost: The shipping cost.

Return value

$this

1 method overrides ShipmentInterface::setCost()
Shipment::setCost in shipping/uc_fulfillment/src/Shipment.php
Sets the shipping cost for this shipment.

File

shipping/uc_fulfillment/src/ShipmentInterface.php, line 164

Class

ShipmentInterface
Provides an interface that defines the Shipment class.

Namespace

Drupal\uc_fulfillment

Code

public function setCost($cost);