/** * Get Lowest Priced Offers For ASIN * Retrieves the lowest priced offers based on the product identified by the given * ASIN. * * @param mixed $request array of parameters for MarketplaceWebServiceProducts_Model_GetLowestPricedOffersForASIN request or MarketplaceWebServiceProducts_Model_GetLowestPricedOffersForASIN object itself * @see MarketplaceWebServiceProducts_Model_GetLowestPricedOffersForASINRequest * @return MarketplaceWebServiceProducts_Model_GetLowestPricedOffersForASINResponse * * @throws MarketplaceWebServiceProducts_Exception */ public function getLowestPricedOffersForASIN($request) { if (!$request instanceof MarketplaceWebServiceProducts_Model_GetLowestPricedOffersForASINRequest) { require_once dirname(__FILE__) . '/Model/GetLowestPricedOffersForASINRequest.php'; $request = new MarketplaceWebServiceProducts_Model_GetLowestPricedOffersForASINRequest($request); } $parameters = $request->toQueryParameterArray(); $parameters['Action'] = 'GetLowestPricedOffersForASIN'; $httpResponse = $this->_invoke($parameters); require_once dirname(__FILE__) . '/Model/GetLowestPricedOffersForASINResponse.php'; $response = MarketplaceWebServiceProducts_Model_GetLowestPricedOffersForASINResponse::fromXML($httpResponse['ResponseBody']); $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']); return $response; }
/** * Get Lowest Priced Offers For ASIN * Retrieves the lowest priced offers based on the product identified by the given * ASIN. * * @param mixed $request array of parameters for MarketplaceWebServiceProducts_Model_GetLowestPricedOffersForASIN request or MarketplaceWebServiceProducts_Model_GetLowestPricedOffersForASIN object itself * @see MarketplaceWebServiceProducts_Model_GetLowestPricedOffersForASIN * @return MarketplaceWebServiceProducts_Model_GetLowestPricedOffersForASINResponse * * @throws MarketplaceWebServiceProducts_Exception */ public function getLowestPricedOffersForASIN($request) { require_once dirname(__FILE__) . '/Model/GetLowestPricedOffersForASINResponse.php'; return MarketplaceWebServiceProducts_Model_GetLowestPricedOffersForASINResponse::fromXML($this->_invoke('GetLowestPricedOffersForASIN')); }