this.quantity = quantity;
this.discount = discount;
Money discountValue = Money.ZERO;
if (discount != null)
discountValue = discountValue.subtract(discount.getValue());
this.totalCost = productData.getPrice().multiplyBy(quantity).subtract(discountValue);
}
public ProductData getProductData() {