public AmountCampaign(ICategory category, double discount, int itemCount, DiscountType discountType) { this.Category = category; this.Discount = discount; this.ItemCount = itemCount; this.DiscountType = discountType; category.AddCampaign(this); }
public AmountCampaign(ICategory category, double discount, int itemCount, DiscountType discountType) { this.Category = category; this.Discount = discount; this.ItemCount = itemCount; this.DiscountType = discountType; category.AddCampaign(this); }