Ejemplo n.º 1
0
        internal static Category GetCategoryWithOneCampaign()
        {
            var category = new Category("Category2");

            category.AddCampaign(CampaignHelper.GetCampaign(CampaignTypeEnum.RateCampaign20PercentFor3Items));

            return(category);
        }
Ejemplo n.º 2
0
        internal static Category GetCategoryWithTwoCampaign()
        {
            var category = new Category("Category1");

            category.AddCampaign(CampaignHelper.GetCampaign(CampaignTypeEnum.AmountCampaign50TLFor5Items));
            category.AddCampaign(CampaignHelper.GetCampaign(CampaignTypeEnum.RateCampaign20PercentFor3Items));

            return(category);
        }