|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RatesProvider
The common interface for RateProvider classes.
Method Summary | |
---|---|
java.util.Set<java.lang.String> |
getAllSupportedCurrencies()
Returns all supported currency codes in a Set. |
java.util.Set<java.lang.String> |
getDefinedMonetaryItems()
Returns all defined monetary item types. |
java.math.BigDecimal |
getRate(RatesQueryRequest request,
boolean isBuy)
Returns the rate at which the financial institution buys or sells the destination currency. |
Method Detail |
---|
java.math.BigDecimal getRate(RatesQueryRequest request, boolean isBuy) throws ForeignExchangeException
request
- the RatesQueryRequest instance specifying the information of
the queryisBuy
- true if the requested rate is a buy rate, otherwise it should
be false
ForeignExchangeException
- occurs if there is an error accessing the ratejava.util.Set<java.lang.String> getAllSupportedCurrencies() throws ForeignExchangeException
ForeignExchangeException
- occurs if there is an error accessing the Setjava.util.Set<java.lang.String> getDefinedMonetaryItems() throws ForeignExchangeException
ForeignExchangeException
- occurs if there is an error accessing the Set
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |