I have created a discount in commerce server, and linked it with a list of private coupons. The problem is that after running the basket pipline it applies this discount even though no coupon was ever entered. It seems to me me this should be the default behavior when you create a discount which contains a list of coupons. There does not appear to be any obvious way of doing this.
My question is how do you make the coupons the condition to apply a given discount?