@Override public BookingInfo getCurrencyRate(BookingInfo bookingInfo) throws IllegalArgumentException { logger.info("getCurrencyRate " + bookingInfo.getCurrency()); Float rate = currencyManager.getRate(bookingInfo.getCurrency()); if (rate == null) { logger.info("getCurrencyRate is null, defaulting to USD "); bookingInfo.setCurrency(Currency.USD); } bookingInfo.setRate(rate); logger.info("getCurrencyRate " + bookingInfo.getRate()); return bookingInfo; }