added the Discount buy meethod for merchant class