You are here

public function CurrencyInterface::setCurrencyCode in Commerce Core 8.2

Sets the alphabetic currency code.

Parameters

string $currency_code: The alphabetic currency code.

Return value

$this

1 method overrides CurrencyInterface::setCurrencyCode()
Currency::setCurrencyCode in modules/price/src/Entity/Currency.php
Sets the alphabetic currency code.

File

modules/price/src/Entity/CurrencyInterface.php, line 28

Class

CurrencyInterface
Defines the interface for currencies.

Namespace

Drupal\commerce_price\Entity

Code

public function setCurrencyCode($currency_code);