예제 #1
0
        internal static Category GetCategoryWithOneCampaign()
        {
            var category = new Category("Category2");

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

            return(category);
        }
예제 #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);
        }