public CurrencyUnitBuilder setCurrencyCode ( String currencyCode ) { Objects . requireNonNull ( currencyCode , "currencyCode required" ) ; this . currencyCode = currencyCode ; this . currencyContext = CurrencyContextBuilder . of ( getClass ( ) . getSimpleName ( ) ) . build ( ) ; return this ; }
Allows to set the currency code for creating multiple instances using one Builder .