* responses without calling MWSRecommendationsSectionService service. * * Responses are loaded from local XML files. You can tweak XML files to * experiment with various outputs during development * * XML files available under MWSRecommendationsSectionService/Mock tree * ***********************************************************************/ // $service = new MWSRecommendationsSectionService_Mock(); /************************************************************************ * Setup request parameters and uncomment invoke to try out * sample for Get Last Updated Time For Recommendations Action ***********************************************************************/ // @TODO: set request. Action can be passed as MWSRecommendations_Model_GetLastUpdatedTimeForRecommendations $request = new MWSRecommendations_Model_GetLastUpdatedTimeForRecommendationsRequest(); $request->setSellerId(MERCHANT_ID); // object or array of parameters invokeGetLastUpdatedTimeForRecommendations($service, $request); /** * Get Get Last Updated Time For Recommendations Action Sample * Gets competitive pricing and related information for a product identified by * the MarketplaceId and ASIN. * * @param MWSRecommendationsSectionService_Interface $service instance of MWSRecommendationsSectionService_Interface * @param mixed $request MWSRecommendations_Model_GetLastUpdatedTimeForRecommendations or array of parameters */ function invokeGetLastUpdatedTimeForRecommendations(MWSRecommendationsSectionService_Interface $service, $request) { try { $response = $service->GetLastUpdatedTimeForRecommendations($request); echo "Service Response\n";