ExchangeRateProvider Class [AX 2012]
The ExchangeRateProvider class represents an exchange rate provider that is used to retrieve exchange rates from an external source.
| Method | Description | |
|---|---|---|
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getConfigurationDefaults | Gets the ExchangeRateProviderConfigDefaults class instance that represents the provider's default configuration settings. |
| getExchangeRates | Returns the ExchangeRateResponse class instance that represents the exchange rates returned by the provider based on the request. |
| getName | Returns the name of the exchange rate provider. |
| getProviderId | Returns the exchange rate provider ID of the provider. |
| getSupportedOptions | Returns the ExchangeRateProviderSupportedOptions class instance that represents the exchange rate provider's supported options. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| new | Initializes a new instance of the Object class. (Inherited from Object.) |
| notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
| notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
Exchange rate providers can be implemented in X++ or .NET. In X++, a provider must derive from this class and must also be decorated with the ExchangeRateProviderAttribute and ExchangeRateProviderIdAttribute attributes. Once done it will be recognized by the framework and can be used to import exchange rates once registered by users. The class assembly generated then must be deployed to the server and client.
Object Class
ExchangeRateProvider Class
ExchangeRateProviderCBRF_RU Class
ExchangeRateProviderDotNet Class
ExchangeRateProvider Class
ExchangeRateProviderCBRF_RU Class
ExchangeRateProviderDotNet Class
Community Additions
ADD
Show: