SaaS CMS has officially launched! Learn more now.

Class CurrencyManager

Implements operations for the currency manager.

Inheritance
System.Object
CurrencyManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Catalog.Managers
Assembly: Mediachase.Commerce.dll
Version: 11.8.3
Syntax
public static class CurrencyManager

Methods

GetCurrencyByCurrency(Currency)

Gets the currency dto by currencyCode.

Declaration
public static CurrencyDto GetCurrencyByCurrency(Currency currency)
Parameters
Type Name Description
Currency currency
Returns
Type Description
CurrencyDto

GetCurrencyByCurrency(Currency, ReadMode)

Gets the currency dto by currencyCode.

Declaration
public static CurrencyDto GetCurrencyByCurrency(Currency currency, ReadMode readMode)
Parameters
Type Name Description
Currency currency
ReadMode readMode
Returns
Type Description
CurrencyDto

GetCurrencyByCurrencyId(Int32)

Gets the currency dto by currencyId.

Declaration
public static CurrencyDto GetCurrencyByCurrencyId(int currencyId)
Parameters
Type Name Description
System.Int32 currencyId
Returns
Type Description
CurrencyDto

GetCurrencyByCurrencyId(Int32, ReadMode)

Gets the currency dto by currencyId.

Declaration
public static CurrencyDto GetCurrencyByCurrencyId(int currencyId, ReadMode readMode)
Parameters
Type Name Description
System.Int32 currencyId
ReadMode readMode
Returns
Type Description
CurrencyDto

GetCurrencyDto()

Gets the currency dto.

Declaration
public static CurrencyDto GetCurrencyDto()
Returns
Type Description
CurrencyDto

SaveCurrency(CurrencyDto)

Saves the currency.

Declaration
public static void SaveCurrency(CurrencyDto dataset)
Parameters
Type Name Description
CurrencyDto dataset

The dto.