public function getTax()
    {
        $amount = 0;

        if ($this->Price && $this->TaxRate) {
            $amount = (($this->Price - $this->Discount) / 100) * $this->TaxRate;
        }
        
        return $amount;
    }
public function getTax()
    {
        $amount = 0;

        if ($this->Price && $this->TaxRate) {
            $amount = (($this->Price - $this->Discount) / 100) * $this->TaxRate;
        }
        
        return $amount;
    }
public function getTax ( ) { $ amount = 0 ; if ( $ this -> Price && $ this -> TaxRate ) { $ amount = ( ( $ this -> Price - $ this -> Discount ) / 100 ) * $ this -> TaxRate ; } return $ amount ; }
Find the tax cost for one instance of this item.

@return Currency
Find the tax cost for one instance of this item .