Click or drag to resize
ICurrencyConverterService Interface
Contract for currency conversion service.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
public interface ICurrencyConverterService

The ICurrencyConverterService type exposes the following members.

Methods
  NameDescription
Public methodApplyExchangeRate
Applies given exchange rate to monetary amount. If rate is negative or zero, amount is returned with no change.
Public methodConvert(Decimal, Boolean, String, Int32)
Converts given monetary amount expressed main currency to different currency using site specific conversion.
Public methodConvert(Decimal, String, String, Int32)
Converts given monetary amount expressed in one currency to another currency using site specific conversion.
Public methodGetExchangeRate(Boolean, String, Int32)
Calculates exchange rate for conversion from main currency to different currency.
Public methodGetExchangeRate(String, String, Int32)
Calculates exchange rate for conversion from one currency to another.
Public methodTryGetExchangeRate(Boolean, String, Int32, Decimal)
Calculates exchange rate for conversion from main currency to different currency.
Public methodTryGetExchangeRate(String, String, Int32, Decimal)
Calculates exchange rate for conversion from one currency to another.
Top
See Also