public enum Currency extends Enum<Currency>
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
String |
getSymbol() |
static Currency |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Currency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Currency NONE
public static final Currency ARGENTINE_PESO
public static final Currency AUSTRALIAN_DOLLAR
public static final Currency BRAZIL_REAIS
public static final Currency CANADIAN_DOLLAR
public static final Currency CHILEAN_PESOS
public static final Currency EURO
public static final Currency BRITISH_POUND
public static final Currency ISRAEL_SHEKEL
public static final Currency INDIA_RUPEES
public static final Currency JAPAN_YEN
public static final Currency MEXICAN_PESOS
public static final Currency RUSSIAN_RUBLES
public static final Currency USD
public static final Currency SOUTHAFRICA_RAND
public static final Currency SWISS_FRANC
public static final Currency CHINA_YUAN
public static final Currency DENMARK_KRONER
public static final Currency HONKKONG_DOLLAR
public static final Currency SOUTHKOREAN_WON
public static final Currency NORWAY_KRONER
public static final Currency NEWZEALAND_DOLLAR
public static final Currency SWEDEN_KRONOR
public static final Currency SINGAPORE_DOLLAR
public static final Currency DEFAULT
public static Currency[] values()
for (Currency c : Currency.values()) System.out.println(c);
public static Currency valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getCode()
public String getSymbol()
Copyright © 2014–2017 Smartsheet. All rights reserved.