/**
  * Fetch dealer IDs for a given customer and attach to the customer object
  *
  * @param Mage_Customer_Model_Customer $customer
  * @return Gorilla_ChasePaymentech_Model_Mysql4_Profile
  */
 public function loadInfoByCustomer($customer)
 {
     $read = $this->_getReadAdapter();
     if ($read) {
         $select = $read->select()->from($this->getMainTable(), array('id', 'customer_ref_num', 'is_default'))->where('customer_id = ?', $customer->getId());
         if ($data = $read->fetchRow($select)) {
             $customer->setChasePaymentechCustomerRefNum($data['customer_ref_num'])->setChasePaymentechProfileId($data['id']);
         }
     }
     return $this;
 }