public function setQuantity( $quantity )
	{
		if ( $quantity == $this->getQuantity() ) { return; }

		$this->_values['quantity'] = (int) $quantity;
		$this->setModified();
	}
public function setQuantity( $quantity )
	{
		if ( $quantity == $this->getQuantity() ) { return; }

		$this->_values['quantity'] = (int) $quantity;
		$this->setModified();
	}
public function setQuantity ( $ quantity ) { if ( $ quantity == $ this -> getQuantity ( ) ) { return ; } $ this -> _values [ 'quantity' ] = ( int ) $ quantity ; $ this -> setModified ( ) ; }
Sets the quantity the price is valid for.

@param integer $quantity Quantity
Sets the quantity the price is valid for .