예제 #1
0
 /**
  * Get Lowest Offer Listings For SKU
  * Gets some of the lowest prices based on the product identified by the given
  * SellerId and SKU.
  *
  * @param mixed $request array of parameters for MarketplaceWebServiceProducts_Model_GetLowestOfferListingsForSKU request or MarketplaceWebServiceProducts_Model_GetLowestOfferListingsForSKU object itself
  * @see MarketplaceWebServiceProducts_Model_GetLowestOfferListingsForSKU
  * @return MarketplaceWebServiceProducts_Model_GetLowestOfferListingsForSKUResponse
  *
  * @throws Products_Exception
  */
 public function getLowestOfferListingsForSKU($request)
 {
     //require_once (dirname(__FILE__) . '/Model/GetLowestOfferListingsForSKUResponse.php');
     return MarketplaceWebServiceProducts_Model_GetLowestOfferListingsForSKUResponse::fromXML($this->_invoke('GetLowestOfferListingsForSKU'));
 }
예제 #2
0
파일: Mock.php 프로젝트: stephlanj/mws
 /**
  * Get Lowest Offer Listings For SKU
  * Gets some of the lowest prices based on the product identified by the given
  * SellerId and SKU.
  *
  * @param mixed $request array of parameters for MarketplaceWebServiceProducts_Model_GetLowestOfferListingsForSKU request or MarketplaceWebServiceProducts_Model_GetLowestOfferListingsForSKU object itself
  * @see MarketplaceWebServiceProducts_Model_GetLowestOfferListingsForSKU
  * @return MarketplaceWebServiceProducts_Model_GetLowestOfferListingsForSKUResponse
  *
  * @throws MarketplaceWebServiceProducts_Exception
  */
 public function getLowestOfferListingsForSKU($request)
 {
     return MarketplaceWebServiceProducts_Model_GetLowestOfferListingsForSKUResponse::fromXML($this->_invoke('GetLowestOfferListingsForSKU'));
 }
예제 #3
0
 /**
  * Get Lowest Offer Listings For SKU
  * Gets some of the lowest prices based on the product identified by the given
  * SellerId and SKU.
  *
  * @param mixed $request array of parameters for MarketplaceWebServiceProducts_Model_GetLowestOfferListingsForSKU request or MarketplaceWebServiceProducts_Model_GetLowestOfferListingsForSKU object itself
  * @see MarketplaceWebServiceProducts_Model_GetLowestOfferListingsForSKURequest
  * @return MarketplaceWebServiceProducts_Model_GetLowestOfferListingsForSKUResponse
  *
  * @throws MarketplaceWebServiceProducts_Exception
  */
 public function getLowestOfferListingsForSKU($request)
 {
     if (!$request instanceof MarketplaceWebServiceProducts_Model_GetLowestOfferListingsForSKURequest) {
         require_once dirname(__FILE__) . '/Model/GetLowestOfferListingsForSKURequest.php';
         $request = new MarketplaceWebServiceProducts_Model_GetLowestOfferListingsForSKURequest($request);
     }
     $parameters = $request->toQueryParameterArray();
     $parameters['Action'] = 'GetLowestOfferListingsForSKU';
     $httpResponse = $this->_invoke($parameters);
     require_once dirname(__FILE__) . '/Model/GetLowestOfferListingsForSKUResponse.php';
     $response = MarketplaceWebServiceProducts_Model_GetLowestOfferListingsForSKUResponse::fromXML($httpResponse['ResponseBody']);
     $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
     return $response;
 }
예제 #4
0
 /**
  * Get Lowest Offer Listings For SKU 
  * Gets some of the lowest prices based on the product identified by the given
  * SellerId and SKU.
  * 
  * @see http://docs.amazonwebservices.com/${docPath}GetLowestOfferListingsForSKU.html
  * @param mixed $request array of parameters for MarketplaceWebServiceProducts_Model_GetLowestOfferListingsForSKURequest request
  * or MarketplaceWebServiceProducts_Model_GetLowestOfferListingsForSKURequest object itself
  * @see MarketplaceWebServiceProducts_Model_GetLowestOfferListingsForSKU
  * @return MarketplaceWebServiceProducts_Model_GetLowestOfferListingsForSKUResponse MarketplaceWebServiceProducts_Model_GetLowestOfferListingsForSKUResponse
  *
  * @throws MarketplaceWebServiceProducts_Exception
  */
 public function getLowestOfferListingsForSKU($request)
 {
     if (!$request instanceof MarketplaceWebServiceProducts_Model_GetLowestOfferListingsForSKURequest) {
         require_once 'MarketplaceWebServiceProducts/Model/GetLowestOfferListingsForSKURequest.php';
         $request = new MarketplaceWebServiceProducts_Model_GetLowestOfferListingsForSKURequest($request);
     }
     require_once 'MarketplaceWebServiceProducts/Model/GetLowestOfferListingsForSKUResponse.php';
     $httpResponse = $this->_invoke($this->_convertGetLowestOfferListingsForSKU($request));
     $response = MarketplaceWebServiceProducts_Model_GetLowestOfferListingsForSKUResponse::fromXML($httpResponse['ResponseBody']);
     $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
     return $response;
 }