public function process() { if (!is_null($this->account)) { $this->requestExtraData['account'] = $this->account->getChildObject()->getServerHash(); } return parent::process(); }
public function process() { if (!is_null($this->account) && !is_null($this->marketplace)) { /** @var $amazonAccount Ess_M2ePro_Model_Amazon_Account */ $amazonAccount = $this->account->getChildObject(); $marketplaceDataTemp = $amazonAccount->getMarketplaceItem($this->marketplace->getId()); if (!is_null($marketplaceDataTemp)) { $this->requestExtraData['account'] = $marketplaceDataTemp['server_hash']; } } return parent::process(); }
public function process() { if (!is_null($this->marketplace)) { $this->requestExtraData['marketplace'] = $this->marketplace->getNativeId(); } if (!is_null($this->account)) { $this->requestExtraData['account'] = $this->account->getChildObject()->getServerHash(); } if (!is_null($this->mode)) { $this->requestExtraData['mode'] = $this->mode; } return parent::process(); }