Previous Docs Version

The documentation you are viewing is for a previous version of the Vendr product. Click here to jump to the current stable version.

CurrencyService

API reference for CurrencyService in Vendr, the eCommerce solution for Umbraco v8+

CurrencyService

public class CurrencyService : EntityServiceBase, ICurrencyService

Inheritance

Namespace

Constructors

CurrencyService

public CurrencyService(IRepositoryFactory repositoryFactory, IUnitOfWorkProvider uowProvider, 
    ILogger logger, ICache cache, IEntityStateCacheAccessor entityStateCacheAccessor)

Methods

CurrencyExists

public bool CurrencyExists(Guid storeId, string code)

DeleteCurrency (1 of 2)

public void DeleteCurrency(Guid id)

DeleteCurrency (2 of 2)

public void DeleteCurrency(Currency entity)

GetCurrencies

public IEnumerable<CurrencyReadOnly> GetCurrencies(Guid storeId)

GetCurrenciesAllowedIn

public IEnumerable<CurrencyReadOnly> GetCurrenciesAllowedIn(Guid countryId)

GetCurrency (1 of 2)

public CurrencyReadOnly GetCurrency(Guid id)

GetCurrency (2 of 2)

public CurrencyReadOnly GetCurrency(Guid storeId, string code)

SaveCurrency

public void SaveCurrency(Currency entity)

SortCurrencies

public void SortCurrencies(Guid[] sortedIds)

Edit this page on GitHub

Site + logo design © 2024 Outfield Digital Ltd. Content contributions licensed under MIT.
Vendr® is a Registered Trademark of Outfield Digital Ltd.