|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CurrencyBook
This Java interface specifies a currency book that keeps the currencies available in your client application;
The currency list can be updated by the instances of the connected SAP CC Core Server system.
| Method Summary | |
|---|---|
void |
addCurrency(Currency currency)
Deprecated. The client cannot update the list of currencies (Can return an UnsupportedOperationException). |
java.util.Vector<Currency> |
getCurrencies()
Returns all the current currencies that can be used in your client application. |
Currency |
getCurrency(int code)
Deprecated. The ISO digit code is not stored and cannot be returned. Returns null. |
Currency |
getCurrency(java.lang.String code)
Returns a currency from a specified code. |
Currency |
getCurrency(java.lang.String iso4217code,
int precision)
Returns a currency from a given ISO 4217 code and with a precision greater or equal to the given precision; If there is no currency a given ISO 4217 code for with a precision greater or equal to the given precision, return null. |
| Method Detail |
|---|
java.util.Vector<Currency> getCurrencies()
Currency getCurrency(java.lang.String code)
code - The code of the currency
Currency getCurrency(java.lang.String iso4217code,
int precision)
iso4217code - The ISO 4217 code of the currencyprecision - The minimum precision of the currency
@Deprecated Currency getCurrency(int code)
code - The ISO 4217 three-digit currency code
@Deprecated void addCurrency(Currency currency)
currency - The currency to be added
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||