final Set<OrganisationCurrency> allowedCurrencies = new HashSet<>();
for (final String currencyCode : currencies) {
final ApplicationCurrency currency = this.applicationCurrencyRepository.findOneWithNotFoundDetection(currencyCode);
final OrganisationCurrency allowedCurrency = currency.toOrganisationCurrency();
allowedCurrencyCodes.add(currencyCode);
allowedCurrencies.add(allowedCurrency);
}