コード例 #1
0
ファイル: Abstract.php プロジェクト: xiaoguizhidao/beut
 public function process()
 {
     if (!is_null($this->account)) {
         $this->requestExtraData['account'] = $this->account->getChildObject()->getServerHash();
     }
     return parent::process();
 }
コード例 #2
0
ファイル: Abstract.php プロジェクト: xiaoguizhidao/beut
 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();
 }
コード例 #3
0
ファイル: Abstract.php プロジェクト: xiaoguizhidao/bb
 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();
 }