public function getPrice($vat = false)
{
$price = $this->price;
if (!$vat && true === $this->isPriceIncludingVat()) {
$price = bcmul($price, bcsub(1, bcdiv($this->getVatRate(), 100)));
}
if ($vat && false === $this->isPriceIncludingVat()) {
$price = bcmul($price, bcadd(1, bcdiv($this->getVatRate(), 100)));
}
return $price;
}