public void SetAllowProductTypes(ProductType pt1, ProductType pt2, ProductType pt3, ProductType pt4, ProductType pt5)
 {
     Check();
     _allowProductTypes = new List <ProductType>()
     {
         pt1, pt2, pt3, pt4, pt5
     };
     _type = DiscountProductType.ProductSet5;
 }
 public void SetAllowProductTypes(ProductType pt1, ProductType pt2)
 {
     Check();
     _allowProductTypes = new List <ProductType>()
     {
         pt1, pt2
     };
     _type = DiscountProductType.ProductSet2;
 }
 public void SetDiscountProductType(DiscountProductType type)
 {
     _type = type;
 }