public function setTax($rowId, $taxRate)
    {
        $cartItem = $this->get($rowId);

        $cartItem->setTaxRate($taxRate);

        $content = $this->getContent();

        $content->put($cartItem->rowId, $cartItem);

        $this->session->put($this->instance, $content);
    }
public function setTax($rowId, $taxRate)
    {
        $cartItem = $this->get($rowId);

        $cartItem->setTaxRate($taxRate);

        $content = $this->getContent();

        $content->put($cartItem->rowId, $cartItem);

        $this->session->put($this->instance, $content);
    }
public function setTax ( $ rowId , $ taxRate ) { $ cartItem = $ this -> get ( $ rowId ) ; $ cartItem -> setTaxRate ( $ taxRate ) ; $ content = $ this -> getContent ( ) ; $ content -> put ( $ cartItem -> rowId , $ cartItem ) ; $ this -> session -> put ( $ this -> instance , $ content ) ; }
Set the tax rate for the cart item with the given rowId.

@param string    $rowId
@param int|float $taxRate
@return void
Set the tax rate for the cart item with the given rowId .