Example #1
0
 /**
  * Get Competitive Pricing For ASIN
  * Gets competitive pricing and related information for a product identified by
  * the MarketplaceId and ASIN.
  *
  * @param mixed $request array of parameters for MarketplaceWebServiceProducts_Model_GetCompetitivePricingForASIN request or MarketplaceWebServiceProducts_Model_GetCompetitivePricingForASIN object itself
  * @see MarketplaceWebServiceProducts_Model_GetCompetitivePricingForASINRequest
  * @return MarketplaceWebServiceProducts_Model_GetCompetitivePricingForASINResponse
  *
  * @throws MarketplaceWebServiceProducts_Exception
  */
 public function getCompetitivePricingForASIN($request)
 {
     if (!$request instanceof MarketplaceWebServiceProducts_Model_GetCompetitivePricingForASINRequest) {
         $request = new MarketplaceWebServiceProducts_Model_GetCompetitivePricingForASINRequest($request);
     }
     $parameters = $request->toQueryParameterArray();
     $parameters['Action'] = 'GetCompetitivePricingForASIN';
     $httpResponse = $this->_invoke($parameters);
     $response = MarketplaceWebServiceProducts_Model_GetCompetitivePricingForASINResponse::fromXML($httpResponse['ResponseBody']);
     $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
     return $response;
 }
 /**
  * Get Competitive Pricing For ASIN
  * Gets competitive pricing and related information for a product identified by
  * the MarketplaceId and ASIN.
  *
  * @param mixed $request array of parameters for MarketplaceWebServiceProducts_Model_GetCompetitivePricingForASIN request or MarketplaceWebServiceProducts_Model_GetCompetitivePricingForASIN object itself
  * @see MarketplaceWebServiceProducts_Model_GetCompetitivePricingForASIN
  * @return MarketplaceWebServiceProducts_Model_GetCompetitivePricingForASINResponse
  *
  * @throws Products_Exception
  */
 public function getCompetitivePricingForASIN($request)
 {
     //require_once (dirname(__FILE__) . '/Model/GetCompetitivePricingForASINResponse.php');
     return MarketplaceWebServiceProducts_Model_GetCompetitivePricingForASINResponse::fromXML($this->_invoke('GetCompetitivePricingForASIN'));
 }
Example #3
0
 /**
  * Get Competitive Pricing For ASIN
  * Gets competitive pricing and related information for a product identified by
  * the MarketplaceId and ASIN.
  *
  * @param mixed $request array of parameters for MarketplaceWebServiceProducts_Model_GetCompetitivePricingForASIN request or MarketplaceWebServiceProducts_Model_GetCompetitivePricingForASIN object itself
  * @see MarketplaceWebServiceProducts_Model_GetCompetitivePricingForASIN
  * @return MarketplaceWebServiceProducts_Model_GetCompetitivePricingForASINResponse
  *
  * @throws MarketplaceWebServiceProducts_Exception
  */
 public function getCompetitivePricingForASIN($request)
 {
     return MarketplaceWebServiceProducts_Model_GetCompetitivePricingForASINResponse::fromXML($this->_invoke('GetCompetitivePricingForASIN'));
 }
Example #4
0
 /**
  * Get Competitive Pricing For ASIN 
  * Gets competitive pricing and related information for a product identified by
  * the MarketplaceId and ASIN.
  * 
  * @see http://docs.amazonwebservices.com/${docPath}GetCompetitivePricingForASIN.html
  * @param mixed $request array of parameters for MarketplaceWebServiceProducts_Model_GetCompetitivePricingForASINRequest request
  * or MarketplaceWebServiceProducts_Model_GetCompetitivePricingForASINRequest object itself
  * @see MarketplaceWebServiceProducts_Model_GetCompetitivePricingForASIN
  * @return MarketplaceWebServiceProducts_Model_GetCompetitivePricingForASINResponse MarketplaceWebServiceProducts_Model_GetCompetitivePricingForASINResponse
  *
  * @throws MarketplaceWebServiceProducts_Exception
  */
 public function getCompetitivePricingForASIN($request)
 {
     if (!$request instanceof MarketplaceWebServiceProducts_Model_GetCompetitivePricingForASINRequest) {
         require_once 'MarketplaceWebServiceProducts/Model/GetCompetitivePricingForASINRequest.php';
         $request = new MarketplaceWebServiceProducts_Model_GetCompetitivePricingForASINRequest($request);
     }
     require_once 'MarketplaceWebServiceProducts/Model/GetCompetitivePricingForASINResponse.php';
     $httpResponse = $this->_invoke($this->_convertGetCompetitivePricingForASIN($request));
     $response = MarketplaceWebServiceProducts_Model_GetCompetitivePricingForASINResponse::fromXML($httpResponse['ResponseBody']);
     $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
     return $response;
 }