What about removing the ShoppingCart.containOnlyDigitalGoods methods and use 
instead the

   public boolean shippingApplies()

?

(We will also need a new shippingApplies method that takes as input the 
shipgroup).

In fact the logic in shippingApplies is the one used in several other places to 
determine the shipping charges.

Kind regards,

Jacopo

Reply via email to