You are here

public function Package::setCurrency in Ubercart 8.4

Sets the currency code used for the package value.

Parameters

string $currency: The currency code for this package.

Return value

$this

Overrides PackageInterface::setCurrency

File

shipping/uc_fulfillment/src/Package.php, line 328

Class

Package
Defines the Package class.

Namespace

Drupal\uc_fulfillment

Code

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