Changed functionality of getGrossValue and added getNetValue. Added and ...

...fixed documentation

@adamvoncorswant @mikaellothman 

Hope we didn't do duplicate work mikael, sorry if we did!

I think we need to call it net and not just value because there are a lot of functions named somethingValue.
Hehe yea maybe :-) ExactGrossValue is good!

Hmm, yea you're right about that. "Net of" seems like a common accounting
term. Is getNetOfDiscount() better? I think it is. Then we could also use
getNetOfVat() when it is needed. I would like a more specific term.

Micke if you are working tonight and need this feel free to work on this
branch.
On Sep 17, 2014 5:53 PM, "Adam von Corswant" <notifications@github.com>
wrote:

> In izettle-cart/src/main/java/com/izettle/cart/Item.java:
>
> >  			return round(getNonRoundedDiscountValue(discount, valueBeforeDiscounts));
> >  		}
> >  		return null;
> >  	}
> >
> > -	private BigDecimal getValueBeforeDiscounts() {
> > +	private BigDecimal getBigDecimalGrossValue() {
>
> Or getExactGrossValue()...
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/iZettle/izettle-toolbox/pull/89/files#r17672950>.
>