using Core.Models.Eft.Common.Tables;
namespace Core.Helpers;
public class HandbookHelper
{
///
/// Create an in-memory cache of all items with associated handbook price in handbookPriceCache class
///
public void HydrateLookup()
{
throw new NotImplementedException();
}
///
/// Get price from internal cache, if cache empty look up price directly in handbook (expensive)
/// If no values found, return 0
///
/// Item tpl to look up price for
/// price in roubles
public double GetTemplatePrice(string tpl)
{
throw new NotImplementedException();
}
public double GetTemplatePriceForItems(List- items)
{
throw new NotImplementedException();
}
///
/// Get all items in template with the given parent category
///
///
/// string array
public List TemplatesWithParent(string parentId)
{
throw new NotImplementedException();
}
///
/// Does category exist in handbook cache
///
///
/// true if exists in cache
public bool IsCategory(string category)
{
throw new NotImplementedException();
}
///
/// Get all items associated with a categories parent
///
///
/// string array
public List ChildrenCategories(string categoryParent)
{
throw new NotImplementedException();
}
///
/// Convert non-roubles into roubles
///
/// Currency count to convert
/// What current currency is
/// Count in roubles
public double InRUB(double nonRoubleCurrencyCount, string currencyTypeFrom)
{
throw new NotImplementedException();
}
///
/// Convert roubles into another currency
///
/// roubles to convert
/// Currency to convert roubles into
/// currency count in desired type
public double FromRUB(double roubleCurrencyCount, string currencyTypeTo)
{
throw new NotImplementedException();
}
public HandbookCategory GetCategoryById(string handbookId)
{
throw new NotImplementedException();
}
}