You are here

public function Shipment::setCurrency in Ubercart 8.4

Sets the currency code used for the shipping cost.

Parameters

string $currency: The currency code for this shipment.

Return value

$this

Overrides ShipmentInterface::setCurrency

File

shipping/uc_fulfillment/src/Shipment.php, line 269

Class

Shipment
Defines the Shipment class.

Namespace

Drupal\uc_fulfillment

Code

public function setCurrency($currency) {
  $this->currency = $currency;
  return $this;
}