ICurrencyConverterService Interface |
Namespace: CMS.Ecommerce
public interface ICurrencyConverterService
The ICurrencyConverterService type exposes the following members.
Name | Description | |
---|---|---|
ApplyExchangeRate |
Applies given exchange rate to monetary amount. If rate is negative or zero, amount is returned with no change.
| |
Convert(Decimal, Boolean, String, Int32) |
Converts given monetary amount expressed main currency to different currency using site specific conversion.
| |
Convert(Decimal, String, String, Int32) |
Converts given monetary amount expressed in one currency to another currency using site specific conversion.
| |
GetExchangeRate(Boolean, String, Int32) |
Calculates exchange rate for conversion from main currency to different currency.
| |
GetExchangeRate(String, String, Int32) |
Calculates exchange rate for conversion from one currency to another.
| |
TryGetExchangeRate(Boolean, String, Int32, Decimal) |
Calculates exchange rate for conversion from main currency to different currency.
| |
TryGetExchangeRate(String, String, Int32, Decimal) |
Calculates exchange rate for conversion from one currency to another.
|