Ejemplo n.º 1
0
        public static CartPromotionBuilder BuildCartPromotion()
        {
            var cartPromotion = new CartPromotion()
            {
                Name = "default",
                Description = "default_Description",
                Priority = 5,
                Status = PromotionStatus.Active.ToString(),
                StartDate = DateTime.Now.Date.AddDays(-5),
                EndDate = DateTime.Now.Date.AddDays(5)
            };

			return new CartPromotionBuilder(cartPromotion);
        }
Ejemplo n.º 2
0
		private CartPromotionBuilder(CartPromotion cartPromotion)
        {
			_cartPromotion = cartPromotion;
        }