public function set($key, $value, $cast = true)
	{
		if (is_array($value))
		{
			$this->_object[$key] = $value;
		}
		else
		{
			//print('set(' . $key . ', ' . $value . ', ' . $cast . ')' . "\n");
			
			if ($cast and $value != '__EMPTY__')
			{
				$value = QuickBooks_Cast::cast($this->object(), $key, $value, true, false);
			}
			
			//print('	setting [' . $key . '] to value {' . $value . '}' . "\n");
			
			$this->_object[$key] = $value;
		}
		
		return true;
	}
public function set($key, $value, $cast = true)
	{
		if (is_array($value))
		{
			$this->_object[$key] = $value;
		}
		else
		{
			//print('set(' . $key . ', ' . $value . ', ' . $cast . ')' . "\n");
			
			if ($cast and $value != '__EMPTY__')
			{
				$value = QuickBooks_Cast::cast($this->object(), $key, $value, true, false);
			}
			
			//print('	setting [' . $key . '] to value {' . $value . '}' . "\n");
			
			$this->_object[$key] = $value;
		}
		
		return true;
	}
public function set ( $ key , $ value , $ cast = true ) { if ( is_array ( $ value ) ) { $ this -> _object [ $ key ] = $ value ; } else { //print('set(' . $key . ', ' . $value . ', ' . $cast . ')' . "\n"); if ( $ cast and $ value != '__EMPTY__' ) { $ value = QuickBooks_Cast :: cast ( $ this -> object ( ) , $ key , $ value , true , false ) ; } //print('	setting [' . $key . '] to value {' . $value . '}' . "\n"); $ this -> _object [ $ key ] = $ value ; } return true ; }
Set a value within the object

@param string $key
@param string $value
@return boolean
Set a value within the object