Replaced REST library and added support for Fiat Exchange Rate Providers
This commit is contained in:
parent
d6b96d8311
commit
470aaa8312
|
@ -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<String> getFiatCurrenciesFrom();
|
||||||
|
public Set<String> getFiatCurrenciesTo();
|
||||||
|
|
||||||
|
public BigDecimal getRate(String fromCurrency, String toCurrency);
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue