/** * Get Last Updated Time For Recommendations * Retrieving last updated time for all recommendation categories for the given marketplace and seller. * If last updated time for a category is null, it indicates no active recommendations for this seller in the given marketplace for this category. * * @param mixed $request array of parameters for MWSRecommendations_Model_GetLastUpdatedTimeForRecommendations request or MWSRecommendations_Model_GetLastUpdatedTimeForRecommendations object itself * @see MWSRecommendations_Model_GetLastUpdatedTimeForRecommendationsRequest * @return MWSRecommendations_Model_GetLastUpdatedTimeForRecommendationsResponse * * @throws Recommendations_Exception */ public function getLastUpdatedTimeForRecommendations($request) { if (!$request instanceof Model\MWSRecommendations_Model_GetLastUpdatedTimeForRecommendationsRequest) { //require_once (dirname(__FILE__) . '/Model/GetLastUpdatedTimeForRecommendationsRequest.php'); $request = new MWSRecommendations_Model_GetLastUpdatedTimeForRecommendationsRequest($request); } $parameters = $request->toQueryParameterArray(); $parameters['Action'] = 'GetLastUpdatedTimeForRecommendations'; $httpResponse = $this->_invoke($parameters); //require_once (dirname(__FILE__) . '/Model/GetLastUpdatedTimeForRecommendationsResponse.php'); $response = Model\MWSRecommendations_Model_GetLastUpdatedTimeForRecommendationsResponse::fromXML($httpResponse['ResponseBody']); $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']); return $response; }