public function setPrice($price)
    {
        NumericValidator::validate($price, "Price");
        $price = Formatter::formatToPrice($price, $this->getCurrency());
        $this->price = $price;
        return $this;
    }
public function setPrice($price)
    {
        NumericValidator::validate($price, "Price");
        $price = Formatter::formatToPrice($price, $this->getCurrency());
        $this->price = $price;
        return $this;
    }
public function setPrice ( $ price ) { NumericValidator :: validate ( $ price , "Price" ) ; $ price = Formatter :: formatToPrice ( $ price , $ this -> getCurrency ( ) ) ; $ this -> price = $ price ; return $ this ; }
Item cost. 10 characters max.

@param string|double $price

@return $this
Item cost . 10 characters max .