public double getCondimentPrice() { if (cac == null) { return(0); } return(cac.getPrice() + cif.getCondimentPrice()); }
public double computePrice(CoffeeIF cif) { return(cif.getCondimentPrice() + cif.getMenuPrice()); }