## Uses of Interface
com.ibm.openpages.api.configuration.ICurrency

- Packages that use ICurrency
  Package | Description
  --- | ---
  com.ibm.openpages.api.configuration | Provides interfaces to work with the OpenPages system configuration.
  com.ibm.openpages.api.resource | Provides interfaces to work with the OpenPages content data: folders, GRC objects and document attachments.
  com.ibm.openpages.api.service | Provides the main interfaces to work with the API services.

- - ### Uses of ICurrency in com.ibm.openpages.api.configuration

    Methods in com.ibm.openpages.api.configuration that return ICurrency
    Modifier and Type | Method and Description
    --- | ---
    `ICurrency` | IExchangeRate.`getCurrency()` Returns the currency for which the exchange rate applies.

    Methods in com.ibm.openpages.api.configuration with parameters of type ICurrency
    Modifier and Type | Method and Description
    --- | ---
    `IExchangeRate` | IConfigurationFactory.`createExchangeRate(ICurrency currency, double rate, java.util.Date startDate)` Creates an instance of IExchangeRate.

  - ### Uses of ICurrency in com.ibm.openpages.api.resource

    Methods in com.ibm.openpages.api.resource that return ICurrency
    Modifier and Type | Method and Description
    --- | ---
    `ICurrency` | ICurrencyField.`getBaseCurrency()` Returns the base currency.
    `ICurrency` | ICurrencyField.`getLocalCurrency()` Returns the local currency.

    Methods in com.ibm.openpages.api.resource with parameters of type ICurrency
    Modifier and Type | Method and Description
    --- | ---
    `void` | ICurrencyField.`setLocalCurrency(ICurrency currency)` Sets the local currency.

  - ### Uses of ICurrency in com.ibm.openpages.api.service

    Methods in com.ibm.openpages.api.service that return ICurrency
    Modifier and Type | Method and Description
    --- | ---
    `ICurrency` | IConfigurationService.`getBaseCurrency()` Retrieve the base currency.
    `ICurrency` | IConfigurationService.`getCurrency(ISOCurrencyCode currencyCode)` Retrieve currency information for the specified currency code.

    Methods in com.ibm.openpages.api.service that return types with arguments of type ICurrency
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<ICurrency>` | IConfigurationService.`getCurrencies(boolean onlyEnabled)` Retrieves a list of ICurrency objects that are available in the configuration.

    Methods in com.ibm.openpages.api.service with parameters of type ICurrency
    Modifier and Type | Method and Description
    --- | ---
    `void` | IConfigurationService.`disableCurrency(ICurrency currency)` Set the state of the currency specified by the ICurrency object to disabled.
    `void` | IConfigurationService.`enableCurrency(ICurrency currency)` Set the state of the currency specified by the ICurrency object to enabled.
    `double` | IConfigurationService.`getCurrentExchangeRate(ICurrency currency)` Retrieve the current exchange rate for the currency.
    `double` | IConfigurationService.`getExchangeRate(ICurrency currency, java.util.Date date)` Retrieve the exchange rate for the currency on a particular date.
    `java.util.List<IExchangeRate>` | IConfigurationService.`getExchangeRateHistory(ICurrency currency)` Retrieve the exchange rate history for the currency.

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