public final double getTotalBeforeDiscount() {
        double total = 0.0;
        for (LineItem item : lineItems) {
            total += item.getProductAmount();
        }
        return total;
    }