Interface StoreSessionService
- All Known Implementing Classes:
DefaultStoreSessionService
public interface StoreSessionService
Defines an API for current language and currency
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetCurrentCurrency(String isocode) Sets the current currency and validates, if currency chosen is supported for current currency.voidsetCurrentLanguage(String isocode) Sets the current language and validates, if language chosen is supported for current store.
-
Method Details
-
setCurrentLanguage
Sets the current language and validates, if language chosen is supported for current store.- Parameters:
isocode- language iso
-
setCurrentCurrency
Sets the current currency and validates, if currency chosen is supported for current currency.- Parameters:
isocode- currency iso
-