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

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

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

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

            return(category);
        }