/** * Get Competitive Pricing For SKU * Gets competitive pricing and related information for a product identified by * the SellerId and SKU. * * @param mixed $request array of parameters for MarketplaceWebServiceProducts_Model_GetCompetitivePricingForSKU request or MarketplaceWebServiceProducts_Model_GetCompetitivePricingForSKU object itself * @see MarketplaceWebServiceProducts_Model_GetCompetitivePricingForSKURequest * @return MarketplaceWebServiceProducts_Model_GetCompetitivePricingForSKUResponse * * @throws MarketplaceWebServiceProducts_Exception */ public function getCompetitivePricingForSKU($request) { if (!$request instanceof MarketplaceWebServiceProducts_Model_GetCompetitivePricingForSKURequest) { $request = new MarketplaceWebServiceProducts_Model_GetCompetitivePricingForSKURequest($request); } $parameters = $request->toQueryParameterArray(); $parameters['Action'] = 'GetCompetitivePricingForSKU'; $httpResponse = $this->_invoke($parameters); $response = MarketplaceWebServiceProducts_Model_GetCompetitivePricingForSKUResponse::fromXML($httpResponse['ResponseBody']); $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']); return $response; }
/** * Get Competitive Pricing For SKU * Gets competitive pricing and related information for a product identified by * the SellerId and SKU. * * @param mixed $request array of parameters for MarketplaceWebServiceProducts_Model_GetCompetitivePricingForSKU request or MarketplaceWebServiceProducts_Model_GetCompetitivePricingForSKU object itself * @see MarketplaceWebServiceProducts_Model_GetCompetitivePricingForSKU * @return MarketplaceWebServiceProducts_Model_GetCompetitivePricingForSKUResponse * * @throws Products_Exception */ public function getCompetitivePricingForSKU($request) { //require_once (dirname(__FILE__) . '/Model/GetCompetitivePricingForSKUResponse.php'); return MarketplaceWebServiceProducts_Model_GetCompetitivePricingForSKUResponse::fromXML($this->_invoke('GetCompetitivePricingForSKU')); }
/** * Get Competitive Pricing For SKU * Gets competitive pricing and related information for a product identified by * the SellerId and SKU. * * @param mixed $request array of parameters for MarketplaceWebServiceProducts_Model_GetCompetitivePricingForSKU request or MarketplaceWebServiceProducts_Model_GetCompetitivePricingForSKU object itself * @see MarketplaceWebServiceProducts_Model_GetCompetitivePricingForSKU * @return MarketplaceWebServiceProducts_Model_GetCompetitivePricingForSKUResponse * * @throws MarketplaceWebServiceProducts_Exception */ public function getCompetitivePricingForSKU($request) { return MarketplaceWebServiceProducts_Model_GetCompetitivePricingForSKUResponse::fromXML($this->_invoke('GetCompetitivePricingForSKU')); }
/** * Get Competitive Pricing For SKU * Gets competitive pricing and related information for a product identified by * the SellerId and SKU. * * @see http://docs.amazonwebservices.com/${docPath}GetCompetitivePricingForSKU.html * @param mixed $request array of parameters for MarketplaceWebServiceProducts_Model_GetCompetitivePricingForSKURequest request * or MarketplaceWebServiceProducts_Model_GetCompetitivePricingForSKURequest object itself * @see MarketplaceWebServiceProducts_Model_GetCompetitivePricingForSKU * @return MarketplaceWebServiceProducts_Model_GetCompetitivePricingForSKUResponse MarketplaceWebServiceProducts_Model_GetCompetitivePricingForSKUResponse * * @throws MarketplaceWebServiceProducts_Exception */ public function getCompetitivePricingForSKU($request) { if (!$request instanceof MarketplaceWebServiceProducts_Model_GetCompetitivePricingForSKURequest) { require_once 'MarketplaceWebServiceProducts/Model/GetCompetitivePricingForSKURequest.php'; $request = new MarketplaceWebServiceProducts_Model_GetCompetitivePricingForSKURequest($request); } require_once 'MarketplaceWebServiceProducts/Model/GetCompetitivePricingForSKUResponse.php'; $httpResponse = $this->_invoke($this->_convertGetCompetitivePricingForSKU($request)); $response = MarketplaceWebServiceProducts_Model_GetCompetitivePricingForSKUResponse::fromXML($httpResponse['ResponseBody']); $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']); return $response; }