setVat(final BigDecimal) method

Syntax

void setVat ( final BigDecimal vat )

Parameters

Usage

Sets the appropriate VAT amount and nanos for the specified decimal. Note that the nanos could be positive or negative, depending on the rounding that applied.