public function setTax($tax)
    {
        NumericValidator::validate($tax, "Tax");
        $tax = Formatter::formatToPrice($tax, $this->getCurrency());
        $this->tax = $tax;
        return $this;
    }
public function setTax($tax)
    {
        NumericValidator::validate($tax, "Tax");
        $tax = Formatter::formatToPrice($tax, $this->getCurrency());
        $this->tax = $tax;
        return $this;
    }
public function setTax ( $ tax ) { NumericValidator :: validate ( $ tax , "Tax" ) ; $ tax = Formatter :: formatToPrice ( $ tax , $ this -> getCurrency ( ) ) ; $ this -> tax = $ tax ; return $ this ; }
Tax of the item.

@param string|double $tax

@return $this
Tax of the item .