Atomia.Web.Plugin.PublicOrder.Helpers.ResellerHelper.GetResellerCurrencyCode C# (CSharp) Method

GetResellerCurrencyCode() public static method

Gets the reseller currency code.
public static GetResellerCurrencyCode ( ) : string
return string
        public static string GetResellerCurrencyCode()
        {
            if (HttpContext.Current.Session["resellerAccountData"] != null)
            {
                return ((AccountData)HttpContext.Current.Session["resellerAccountData"]).DefaultCurrencyCode;
            }

            throw new ApplicationException("Reseller not found.");
        }