CurrencyUsage

world.money.currency.CurrencyUsage
See theCurrencyUsage companion object

A typeclass that defines the geographical usage of a currency, providing a mechanism to associate a currency with the set of Countries where it is officially used.

Default given instances for all currencies known to the library are generated at build time and are automatically available when importing world.money.currency.*.

Type parameters

A

The specific currency singleton type, e.g., Currencies.KES.type.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Show all

Members list

Value members

Abstract methods

def territories: Set[Country]

The Set of countries where the currency A is used.

The Set of countries where the currency A is used.

Attributes

Returns

A Set of world.locale.country.Country instances.