# CurrencyCode

enum CurrencyCode : Enum<CurrencyCode>

Represents a currency. Currencies are identified by their ISO 4217 currency codes.

## Entries

AUD
Link copied to clipboard
AUD
CAD
Link copied to clipboard
CAD
EUR
Link copied to clipboard
EUR
GBP
Link copied to clipboard
GBP
JPY
Link copied to clipboard
JPY
USD
Link copied to clipboard
USD

## Properties

code
Link copied to clipboard
val code: Int
entries
Link copied to clipboard
val entries: EnumEntries<CurrencyCode>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int
symbol
Link copied to clipboard
val symbol: Char

## Functions

valueOf
Link copied to clipboard
fun valueOf(value: String): CurrencyCode

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

values
Link copied to clipboard
fun values(): Array<CurrencyCode>

Returns an array containing the constants of this enum type, in the order they're declared.