Merx

$productList->currency()

Gets the currency of this List

$productList->currency(): string|bool|null

Return type

string or bool or null

Three-letter ISO currency code, in uppercase. E.g. EUR or USD.
Returns false if the currencies are mixed.
Returns null if none of the ListItems have a price with a currency.

Parent class

Wagnerwagner\Merx\ProductList inherited from Wagnerwagner\Merx\ListItems