public void registerProductOffers()
        {
            productA              = new Product();
            productA.productName  = "A";
            productA.productPrice = 50;
            productA.productType  = "clothing";
            productA.discountList = new List <string>();

            productA_Combo = new ComboOffer(productA, 3, 130);
            productA.discountList.Add("Combo");

            productA_PercentDiscount = new PercentDiscountOffer(productA, 10, 50);
            productA.discountList.Add("PercentDiscount");

            productB              = new Product();
            productB.productName  = "B";
            productB.productPrice = 30;
            productB.productType  = "TV";
            productB.discountList = new List <string>();
            productB_Combo        = new ComboOffer(productB, 2, 45);
            productB.discountList.Add("Combo");
            productD              = new Product();
            productD.productName  = "D";
            productD.productPrice = 15;
            productD.productType  = "Mobile";
            productD.discountList = new List <string>();
            productD_NoOffer      = new NoOffer(productD);
            productC              = new Product();
            productC.productName  = "D";
            productC.productPrice = 20;
            productC.productType  = "Mobile";

            productC.discountList = new List <string>();
            productC_AdditionItem = new AdditionalItemOffer(productC, productD, 30);
            productC.discountList.Add("AdditionalItem");
        }
        static IList <Product> GetProducts()
        {
            var products = new List <Product>();

            var productA = new Product
            {
                Sku   = 'A',
                Price = 50,
                BundleOfferPromotions = new BundleOffer
                {
                    Name         = "Bundle A",
                    BundleCount  = 3,
                    BundleAmount = 130,
                    Description  = "Bundle A",
                    Category     = "Bundle Offer"
                },
                ItemCount = 10
            };

            var productB = new Product
            {
                Sku   = 'B',
                Price = 30,
                BundleOfferPromotions = new BundleOffer
                {
                    Name         = "Bundle B",
                    BundleCount  = 2,
                    BundleAmount = 45,
                    Description  = "Bundle B",
                    Category     = "Bundle Offer"
                },
                ItemCount = 10
            };

            var productC = new Product
            {
                Sku       = 'C',
                Price     = 20,
                ItemCount = 10
            };

            var comboOfferPromotionsD = new List <ComboOffer>();

            var comboC = new ComboOffer
            {
                Product     = productC,
                ComboAmount = 30,
                Category    = "combo offer"
            };

            comboOfferPromotionsD.Add(comboC);

            var productD = new Product
            {
                Sku   = 'D',
                Price = 15,
                ComboOfferPromotions = comboOfferPromotionsD,
                ItemCount            = 10
            };

            var comboOfferPromotionsC = new List <ComboOffer>();

            var comboD = new ComboOffer
            {
                Product     = productD,
                ComboAmount = 30,
                Category    = "combo offer"
            };

            comboOfferPromotionsC.Add(comboC);

            productC.ComboOfferPromotions = comboOfferPromotionsC;

            products.Add(productA);
            products.Add(productB);
            products.Add(productC);
            products.Add(productD);

            return(products);
        }