当前位置: 首页>>代码示例>>PHP>>正文


PHP Ess_M2ePro_Model_Marketplace::getNativeId方法代码示例

本文整理汇总了PHP中Ess_M2ePro_Model_Marketplace::getNativeId方法的典型用法代码示例。如果您正苦于以下问题:PHP Ess_M2ePro_Model_Marketplace::getNativeId方法的具体用法?PHP Ess_M2ePro_Model_Marketplace::getNativeId怎么用?PHP Ess_M2ePro_Model_Marketplace::getNativeId使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Ess_M2ePro_Model_Marketplace的用法示例。


在下文中一共展示了Ess_M2ePro_Model_Marketplace::getNativeId方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: 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;
     }
     parent::process();
 }
开发者ID:xiaoguizhidao,项目名称:devfashion,代码行数:13,代码来源:Requester.php

示例2: receiveFromAmazon

 protected function receiveFromAmazon(Ess_M2ePro_Model_Marketplace $marketplace)
 {
     $categories = Mage::getModel('M2ePro/Connector_Amazon_Dispatcher')->processVirtual('marketplace', 'get', 'info', array('include_categories' => true, 'marketplace' => $marketplace->getNativeId()), 'info', NULL, NULL);
     $categories = is_null($categories) ? array() : $categories['categories'];
     $this->getActualOperationHistory()->addText('Total received categories from Amazon: ' . count($categories));
     return $categories;
 }
开发者ID:xiaoguizhidao,项目名称:ecommerce,代码行数:7,代码来源:Categories.php

示例3: receiveFromAmazon

 protected function receiveFromAmazon(Ess_M2ePro_Model_Marketplace $marketplace)
 {
     $details = Mage::getModel('M2ePro/Connector_Amazon_Dispatcher')->processVirtual('marketplace', 'get', 'info', array('include_details' => true, 'marketplace' => $marketplace->getNativeId()), 'info', NULL, NULL);
     if (is_null($details)) {
         return array();
     }
     $details['details']['last_update'] = $details['last_update'];
     return $details['details'];
 }
开发者ID:ppkowalski,项目名称:M2E,代码行数:9,代码来源:Details.php

示例4: receiveFromAmazon

 protected function receiveFromAmazon(Ess_M2ePro_Model_Marketplace $marketplace, $partNumber)
 {
     $response = Mage::getModel('M2ePro/Connector_Amazon_Dispatcher')->processVirtual('marketplace', 'get', 'specifics', array('part_number' => $partNumber, 'marketplace' => $marketplace->getNativeId()));
     if (is_null($response) || empty($response['data'])) {
         $response = array();
     }
     $dataCount = isset($response['data']) ? count($response['data']) : 0;
     $this->getActualOperationHistory()->addText("Total received specifics from Amazon: {$dataCount}");
     return $response;
 }
开发者ID:ppkowalski,项目名称:M2E,代码行数:10,代码来源:Specifics.php


注:本文中的Ess_M2ePro_Model_Marketplace::getNativeId方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。