private void updateGrandTotal() { grandTotal = new BigDecimal(0); for (CartItem cartItem : cartItems.values()) { grandTotal = grandTotal.add(cartItem.getTotalPrice()); } }