com.ibm.openpages.api.configuration

## Interface IExchangeRate

-     public interface IExchangeRate

  Interface that gives access to exchange rate information used by an OpenPages system.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `ICurrency` | `getCurrency()` Returns the currency for which the exchange rate applies.
    `java.util.Date` | `getEndDate()` Returns the end date of the applicability period of an exchange rate.
    `Id` | `getId()` Returns the id associated to an exchange rate.
    `double` | `getRate()` Returns actual exchange rate calculated relative to a system wide base currency.
    `java.util.Date` | `getStartDate()` Returns the start date of the applicability period of an exchange rate.

- - ### Method Detail

    - #### getCurrency

          ICurrency getCurrency()

      Returns the currency for which the exchange rate applies.
      Returns:
        a currency

    - #### getStartDate

          java.util.Date getStartDate()

      Returns the start date of the applicability period of an exchange rate.
      Returns:
        a date

    - #### getEndDate

          java.util.Date getEndDate()

      Returns the end date of the applicability period of an exchange rate.
      Returns:
        a date

    - #### getRate

          double getRate()

      Returns actual exchange rate calculated relative to a system wide base currency.
      Returns:
        the exchange rate as a double

    - #### getId

          Id getId()

      Returns the id associated to an exchange rate.
      Returns:
        id of the exchange rate

Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2022. All Rights Reserved.
US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.