/** * @param array $initParams Must have this key: * - 'order' => EbayEnterprise_Order_Model_Detail_Process_IResponse */ public function __construct(array $initParams = []) { list($this->_config, $this->_giftcardAccount) = $this->_checkTypes($this->_nullCoalesce($initParams, 'config', Mage::helper('ebayenterprise_order')->getConfigModel()), $this->_nullCoalesce($initParams, 'giftcard_account', Mage::helper('enterprise_giftcardaccount'))); parent::__construct($this->_removeKnownKeys($initParams)); }