Model/Basket.php
public function getPayPalBasketVatValue()
    {
        $basketVatValue = 0;
        $basketVatValue += $this->getPayPalProductVat();
        $basketVatValue += $this->getPayPalWrappingVat();
        $basketVatValue += $this->getPayPalGiftCardVat();
        $basketVatValue += $this->getPayPalPayCostVat();

        if ($this->getDeliveryCosts() < round($this->getDeliveryCosts(), 2)) {
            return floor($basketVatValue * 100) / 100;
        }

        return $basketVatValue;
    }
public function getPayPalBasketVatValue()
    {
        $basketVatValue = 0;
        $basketVatValue += $this->getPayPalProductVat();
        $basketVatValue += $this->getPayPalWrappingVat();
        $basketVatValue += $this->getPayPalGiftCardVat();
        $basketVatValue += $this->getPayPalPayCostVat();

        if ($this->getDeliveryCosts() < round($this->getDeliveryCosts(), 2)) {
            return floor($basketVatValue * 100) / 100;
        }

        return $basketVatValue;
    }
public function getPayPalBasketVatValue ( ) { $ basketVatValue = 0 ; $ basketVatValue += $ this -> getPayPalProductVat ( ) ; $ basketVatValue += $ this -> getPayPalWrappingVat ( ) ; $ basketVatValue += $ this -> getPayPalGiftCardVat ( ) ; $ basketVatValue += $ this -> getPayPalPayCostVat ( ) ; if ( $ this -> getDeliveryCosts ( ) < round ( $ this -> getDeliveryCosts ( ) , 2 ) ) { return floor ( $ basketVatValue * 100 ) / 100 ; } return $ basketVatValue ; }
Returns absolute VAT value.

@return float
Returns absolute VAT value .