Initializer
Currency(String code, String numericCode, String displayName, String symbol, Integer fractionalDigits)
Parameters:
  • code

    The ISO 4217 code for this currency, for example, USD, or EUR.

  • numericCode

    ISO 4217 numeric code for this currency, for example, 840, or 978.

  • displayName

    A localized displayable name for this currency, for example, dólar estadounidense.

  • symbol

    A localized symbol for this currency, for example, $, or €.

Attributes
codeSource Codeshared String code

The ISO 4217 code for this currency, for example, USD, or EUR.

displayNameSource Codeshared String displayName

A localized displayable name for this currency, for example, dólar estadounidense.

fractionalDigitsSource Codeshared Integer fractionalDigits
numericCodeSource Codeshared String numericCode

ISO 4217 numeric code for this currency, for example, 840, or 978.

stringSource Codeshared actual String string

A developer-friendly string representing the instance. Concatenates the name of the concrete class of the instance with the hash of the instance. Subclasses are encouraged to refine this implementation to produce a more meaningful representation.

symbolSource Codeshared String symbol

A localized symbol for this currency, for example, $, or €.

Inherited Attributes
Attributes inherited from: Object
Inherited Methods
Methods inherited from: Object