CurrencyInfoProvider ChangeMainCurrencyInternal Method Kentico 8.0 API Reference
Changes main currency and recalculates specified "money" values.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

siteId
Type: OnlineSystem Int32
ID of the site, which main currency is to be changed
newCurrencyId
Type: OnlineSystem Int32
ID of the new main currency
rate
Type: OnlineSystem Double
Exchange rate which will be used wen recalculating
round
Type: OnlineSystem Int32
Number of decimal digits to which the result will be rounded
settings
Type: CMS.Ecommerce RecalculationSettings
Determines which objects are to be recalculated
See Also