public function getTaxRate()
    {
        $rate = 0;
        $obj = $this->getTaxFromCategory();

        if ($obj) {
            $rate = $obj->Rate;
        }

        $this->extend("updateTaxRate", $rate);

        return $rate;
    }
public function getTaxRate()
    {
        $rate = 0;
        $obj = $this->getTaxFromCategory();

        if ($obj) {
            $rate = $obj->Rate;
        }

        $this->extend("updateTaxRate", $rate);

        return $rate;
    }
public function getTaxRate ( ) { $ rate = 0 ; $ obj = $ this -> getTaxFromCategory ( ) ; if ( $ obj ) { $ rate = $ obj -> Rate ; } $ this -> extend ( "updateTaxRate" , $ rate ) ; return $ rate ; }
Get the percentage amount of tax applied to this item

@return Decimal
Get the percentage amount of tax applied to this item