//using AyCode.Core.Consts;
//using Mango.Nop.Core;

namespace Nop.Plugin.Misc.FruitBankPlugin
{
    //public class FruitBankConst : NopCommonConst
    //{
    //    public static string ProjectIdString = "f9f9383f-c459-4b9f-b0b5-201bd4a9c21b";
    //    public const string RequiresMeasurementAttr = "PriceByMeasurement.RequiresMeasurement";

    //    static FruitBankConst()
    //    {
    //        ProjectId = Guid.Parse(ProjectIdString);
    //        ProjectSalt = GenerateProjectSalt(ProjectId.ToString("N"));
    //    }
    //}

    public static class FruitBankPluginConst
    {
        /// <summary>
        /// PreOrders whose DateOfReceipt is further than this many days in the future
        /// are NOT converted at the current conversion run.
        /// Based on the bi-weekly truck cycle (~3-4 days between arrivals):
        /// if delivery is more than 4 days away, the next truck will arrive before
        /// that delivery date, and its document processing will be the correct trigger.
        /// </summary>
        public const int PreOrderConversionWindowDays = 4;
    }
}
