function &getFields()
 {
     if (!isset($this->_lineItemFields)) {
         $this->_lineItemFields = array();
         $LIFields = CRM_Price_DAO_LineItem::fields();
         unset($LIFields['entity_table']);
         unset($LIFields['entity_id']);
         unset($LIFields['participant_count']);
         unset($LIFields['deductible_amount']);
         unset($LIFields['price_field_id']);
         unset($LIFields['contribution_id']);
         unset($LIFields['id']);
         $fields = array();
         //FKClassName, export, import, headerPattern, dataPattern
         foreach ($LIFields as $name => $field) {
             //$field['where'] = "civicrm_line_item.".$field['name'];
             $field['export'] = true;
             $field['import'] = true;
             unset($field['required']);
             $fields['lineitems_' . $name] = $field;
         }
         /*
         $fields['lineitems_join_type'] = array(
             'name'  => 'join_type',
             'title' => 'Join Type',
             'type'  => CRM_Utils_Type::T_INT,
         );
         */
         //todo: Add field for join selector
         $this->_lineItemFields = $fields;
     }
     return $this->_lineItemFields;
 }