|
Smartswitch
|
This interface allows to access the Currency entity. More...
defined in <Currency.ice>
interface Currency { ... }
Operations | |
| idempotent string | getName () |
| Obtain a name of a Currency. More... | |
| idempotent DoubleOpt | getRate (string time) |
Obtain the current rate of a Currency relative to base currency at a given time. More... | |
This interface allows to access the Currency entity.
| idempotent string getName | ( | ) |
Obtain a name of a Currency.
| idempotent DoubleOpt getRate | ( | string | time | ) |
Obtain the current rate of a Currency relative to base currency at a given time.
A base currency is configured by the Smartswitch administrator.
Smartswitch maintains the history of rate changes for each Currency.
Therefore, you can get a snapshot of a currency rate value at any given time.
| time | The time we want to take a snapshot of rate. |
time.
1.8.15