public void setCurrency ( String currency ) { currency = StringUtils . upperCase ( currency ) ; if ( ! CurrencyUtils . getInstance ( ) . isValidCurrency ( currency ) ) { currency = "EUR" ; } this . currency = currency ; }
Sets a preferred currency . Default is EUR .