Cart: group more values per vat group.

* changed the name for method groupValuesPerVatGroup -> groupValuesPerVatGroup
* groupValuesPerVatGroup will now return a object that contains actualVatValue and actualValue
for that vat group.
Hmm. seems github has some problem displaying your comments, so I have to
reply via email...

I see you point, but what about `groupValuesByVatPercentage` then?


On Thu, Jul 10, 2014 at 5:48 PM, Umut Yurdakök <notifications@github.com>
wrote:

> In izettle-cart/src/main/java/com/izettle/cart/Cart.java:
>
> > @@ -94,8 +94,8 @@ public Double getActualDiscountPercentage() {
> >  		return actualDiscountPercentage;
> >  	}
> >
> > -	public SortedMap<Float, Long> groupActualVatAmounts() {
> > -		return CartUtils.groupEffectiveVatAmounts(getItemLines());
> > +	public SortedMap<Float, VatGroupValues> groupValuesPerVatGroup() {
>
> that would suggest this method only returns vat values.. but now it
> returns other values related to the vat group..
> Make sense?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/iZettle/izettle-toolbox/pull/76/files#r14774253>.
>



-- 
Adam von Corswant
Chief Engineer
adam@izettle.com
+46 738 093820