/** * Store id setter, also set storeId to helper * * @param int|string|Mage_Code_Model_Store $store * * @return Enterprise_Pbridge_Model_Payment_Method_Paypaluk */ public function setStore($store) { $this->setData('store', $store); Mage::helper('enterprise_pbridge')->setStoreId(is_object($store) ? $store->getId() : $store); parent::setStore($store); return $this; }