Documentation

CCurrencyRates

The CCurrencyRates class is used to handle currency rates: saving, conversion and etc.

Methods

.
MethodDescription
AddAdds a new record to the exchange rate table.
ConvertCurrencyConverts the specified amount from one currency to another at the exchange rate set on the specified date.
DeleteDeletes a record from the exchange rate table.
GetByIDReturns the exchange rate parameters.
GetConvertFactorReturns the factor for converting amounts on the set date. 
GetConvertFactorExReturns the factor for converting amounts at the exchange rate set on the date.
GetListReturns the sorted list of exchange rates matching the specified filter.
UpdateReplaces the parameters of a record in the exchange rate table with the new values.
© «Bitrix24», 2001-2024