public function asArray($mode = QuickBooks_XML::ARRAY_NOATTRIBUTES)
	{
		switch ($mode)
		{
			case QuickBooks_XML::ARRAY_EXPANDATTRIBUTES:
				return $this->_asArrayExpandAttributesHelper($this);
			case QuickBooks_XML::ARRAY_BRANCHED:
				return $this->_asArrayBranchedHelper($this);
			case QuickBooks_XML::ARRAY_PATHS:

				$current = '';
				$paths = array();
				$this->_asArrayPathsHelper($this, $current, $paths);

				return $paths;
			case QuickBooks_XML::ARRAY_NOATTRIBUTES:
			default:
				return $this->_asArrayNoAttributesHelper($this);
		}
	}