class Currency implements Comparable<Currency>, Serializable {

  @FromString
  public static Currency of(String currencyCode) {
    ArgChecker.notNull(currencyCode, "currencyCode");
    Currency currency = CONFIGURED.get(currencyCode);
    if (currency == null) {
      return addCode(currencyCode);
    }
    return currency;
  }

    Currency(String code, int fractionDigits, String triangulationCurrency);

}