Esempio n. 1
0
 /**
  * List Matching Products
  * ListMatchingProducts can be used to
  * find products that match the given criteria.
  *
  * @param mixed $request array of parameters for MarketplaceWebServiceProducts_Model_ListMatchingProducts request or MarketplaceWebServiceProducts_Model_ListMatchingProducts object itself
  * @see MarketplaceWebServiceProducts_Model_ListMatchingProducts
  * @return MarketplaceWebServiceProducts_Model_ListMatchingProductsResponse
  *
  * @throws Products_Exception
  */
 public function listMatchingProducts($request)
 {
     //require_once (dirname(__FILE__) . '/Model/ListMatchingProductsResponse.php');
     return MarketplaceWebServiceProducts_Model_ListMatchingProductsResponse::fromXML($this->_invoke('ListMatchingProducts'));
 }
Esempio n. 2
0
 /**
  * List Matching Products
  * ListMatchingProducts can be used to
  * find products that match the given criteria.
  *
  * @param mixed $request array of parameters for MarketplaceWebServiceProducts_Model_ListMatchingProducts request or MarketplaceWebServiceProducts_Model_ListMatchingProducts object itself
  * @see MarketplaceWebServiceProducts_Model_ListMatchingProducts
  * @return MarketplaceWebServiceProducts_Model_ListMatchingProductsResponse
  *
  * @throws MarketplaceWebServiceProducts_Exception
  */
 public function listMatchingProducts($request)
 {
     return MarketplaceWebServiceProducts_Model_ListMatchingProductsResponse::fromXML($this->_invoke('ListMatchingProducts'));
 }
Esempio n. 3
0
 /**
  * List Matching Products
  * ListMatchingProducts can be used to
  * find products that match the given criteria.
  *
  * @param mixed $request array of parameters for MarketplaceWebServiceProducts_Model_ListMatchingProducts request or MarketplaceWebServiceProducts_Model_ListMatchingProducts object itself
  * @see MarketplaceWebServiceProducts_Model_ListMatchingProductsRequest
  * @return MarketplaceWebServiceProducts_Model_ListMatchingProductsResponse
  *
  * @throws MarketplaceWebServiceProducts_Exception
  */
 public function listMatchingProducts($request)
 {
     if (!$request instanceof MarketplaceWebServiceProducts_Model_ListMatchingProductsRequest) {
         require_once dirname(__FILE__) . '/Model/ListMatchingProductsRequest.php';
         $request = new MarketplaceWebServiceProducts_Model_ListMatchingProductsRequest($request);
     }
     $parameters = $request->toQueryParameterArray();
     $parameters['Action'] = 'ListMatchingProducts';
     $httpResponse = $this->_invoke($parameters);
     require_once dirname(__FILE__) . '/Model/ListMatchingProductsResponse.php';
     $response = MarketplaceWebServiceProducts_Model_ListMatchingProductsResponse::fromXML($httpResponse['ResponseBody']);
     $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
     return $response;
 }
Esempio n. 4
0
 /**
  * List Matching Products 
  * ListMatchingProducts can be used to
  * find products that match the given criteria.
  * 
  * @see http://docs.amazonwebservices.com/${docPath}ListMatchingProducts.html
  * @param mixed $request array of parameters for MarketplaceWebServiceProducts_Model_ListMatchingProductsRequest request
  * or MarketplaceWebServiceProducts_Model_ListMatchingProductsRequest object itself
  * @see MarketplaceWebServiceProducts_Model_ListMatchingProducts
  * @return MarketplaceWebServiceProducts_Model_ListMatchingProductsResponse MarketplaceWebServiceProducts_Model_ListMatchingProductsResponse
  *
  * @throws MarketplaceWebServiceProducts_Exception
  */
 public function listMatchingProducts($request)
 {
     if (!$request instanceof MarketplaceWebServiceProducts_Model_ListMatchingProductsRequest) {
         require_once 'MarketplaceWebServiceProducts/Model/ListMatchingProductsRequest.php';
         $request = new MarketplaceWebServiceProducts_Model_ListMatchingProductsRequest($request);
     }
     require_once 'MarketplaceWebServiceProducts/Model/ListMatchingProductsResponse.php';
     $httpResponse = $this->_invoke($this->_convertListMatchingProducts($request));
     $response = MarketplaceWebServiceProducts_Model_ListMatchingProductsResponse::fromXML($httpResponse['ResponseBody']);
     $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
     return $response;
 }