Interface StoreSessionService

All Known Implementing Classes:
DefaultStoreSessionService

public interface StoreSessionService
Defines an API for current language and currency
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Sets the current currency and validates, if currency chosen is supported for current currency.
    void
    Sets the current language and validates, if language chosen is supported for current store.
  • Method Details

    • setCurrentLanguage

      void setCurrentLanguage(String isocode)
      Sets the current language and validates, if language chosen is supported for current store.
      Parameters:
      isocode - language iso
    • setCurrentCurrency

      void setCurrentCurrency(String isocode)
      Sets the current currency and validates, if currency chosen is supported for current currency.
      Parameters:
      isocode - currency iso