All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gw.util.money.IExchangeRatesService.gs Maven / Gradle / Ivy

There is a newer version: 1.18.2
Show newest version
package gw.util.money

uses gw.util.Rational
uses java.net.URL
uses gw.util.science.Time
uses java.util.Currency

/**
 * A user-definable service for foreign currency exchange rates
 * @see CurrencyExchange#ExchangeRatesService
 */
interface IExchangeRatesService {
  /**
   * @param The currency for the resulting exchange rate table
   * @return The currency exchange rates table for the specified currency
   */
  function getExchangeRatesTable( currency: Currency ) : Map
  
  /**
   * The frequency at which this service refreshes rate tables with newer data
   */
  property get Frequency() : Time
  property set Frequency( value: Time )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy