diff --git a/server_extensions_api/src/com/generalbytes/batm/server/extensions/IFiatExchangeRateProvider.java b/server_extensions_api/src/com/generalbytes/batm/server/extensions/IFiatExchangeRateProvider.java new file mode 100644 index 0000000..ac38d2f --- /dev/null +++ b/server_extensions_api/src/com/generalbytes/batm/server/extensions/IFiatExchangeRateProvider.java @@ -0,0 +1,29 @@ +/************************************************************************************* + * Copyright (C) 2015 GENERAL BYTES s.r.o. All rights reserved. + * + * This software may be distributed and modified under the terms of the GNU + * General Public License version 2 (GPL2) as published by the Free Software + * Foundation and appearing in the file GPL2.TXT included in the packaging of + * this file. Please note that GPL2 Section 2[b] requires that all works based + * on this software must also be made publicly available under the terms of + * the GPL2 ("Copyleft"). + * + * Contact information + * ------------------- + * + * GENERAL BYTES s.r.o. + * Web : http://www.generalbytes.com + * + ************************************************************************************/ +package com.generalbytes.batm.server.extensions; + +import java.math.BigDecimal; +import java.util.Set; + + +public interface IFiatExchangeRateProvider { + public Set getFiatCurrenciesFrom(); + public Set getFiatCurrenciesTo(); + + public BigDecimal getRate(String fromCurrency, String toCurrency); +} diff --git a/server_extensions_extra/libs/javax.ws.rs-api-2.0.1.jar b/server_extensions_extra/libs/javax.ws.rs-api-2.0.1.jar new file mode 100644 index 0000000..7eb68b4 Binary files /dev/null and b/server_extensions_extra/libs/javax.ws.rs-api-2.0.1.jar differ diff --git a/server_extensions_extra/libs/jsr311-api-1.1.1.jar b/server_extensions_extra/libs/jsr311-api-1.1.1.jar deleted file mode 100644 index ec8bc81..0000000 Binary files a/server_extensions_extra/libs/jsr311-api-1.1.1.jar and /dev/null differ