public function getUnitTotal()
    {
        $total = $this->UnitPrice + $this->UnitTax;

        $this->extend("updateUnitTotal", $total);

        return $total;
    }
public function getUnitTotal()
    {
        $total = $this->UnitPrice + $this->UnitTax;

        $this->extend("updateUnitTotal", $total);

        return $total;
    }
public function getUnitTotal ( ) { $ total = $ this -> UnitPrice + $ this -> UnitTax ; $ this -> extend ( "updateUnitTotal" , $ total ) ; return $ total ; }
Get the total price and tax for a single unit

@return float
Get the total price and tax for a single unit