src/MWSRecommendationsSectionService/Client.php
public function listRecommendations($request)
    {
        if (!($request instanceof MWSRecommendationsSectionService_Model_ListRecommendationsRequest)) {
            require_once (dirname(__FILE__) . '/Model/ListRecommendationsRequest.php');
            $request = new MWSRecommendationsSectionService_Model_ListRecommendationsRequest($request);
        }
        $parameters = $request->toQueryParameterArray();
        $parameters['Action'] = 'ListRecommendations';
        $httpResponse = $this->_invoke($parameters);

        require_once (dirname(__FILE__) . '/Model/ListRecommendationsResponse.php');
        $response = MWSRecommendationsSectionService_Model_ListRecommendationsResponse::fromXML($httpResponse['ResponseBody']);
        $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
        return $response;
    }
public function listRecommendations($request)
    {
        if (!($request instanceof MWSRecommendationsSectionService_Model_ListRecommendationsRequest)) {
            require_once (dirname(__FILE__) . '/Model/ListRecommendationsRequest.php');
            $request = new MWSRecommendationsSectionService_Model_ListRecommendationsRequest($request);
        }
        $parameters = $request->toQueryParameterArray();
        $parameters['Action'] = 'ListRecommendations';
        $httpResponse = $this->_invoke($parameters);

        require_once (dirname(__FILE__) . '/Model/ListRecommendationsResponse.php');
        $response = MWSRecommendationsSectionService_Model_ListRecommendationsResponse::fromXML($httpResponse['ResponseBody']);
        $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
        return $response;
    }
public function listRecommendations ( $ request ) { if ( ! ( $ request instanceof MWSRecommendationsSectionService_Model_ListRecommendationsRequest ) ) { require_once ( dirname ( __FILE__ ) . '/Model/ListRecommendationsRequest.php' ) ; $ request = new MWSRecommendationsSectionService_Model_ListRecommendationsRequest ( $ request ) ; } $ parameters = $ request -> toQueryParameterArray ( ) ; $ parameters [ 'Action' ] = 'ListRecommendations' ; $ httpResponse = $ this -> _invoke ( $ parameters ) ; require_once ( dirname ( __FILE__ ) . '/Model/ListRecommendationsResponse.php' ) ; $ response = MWSRecommendationsSectionService_Model_ListRecommendationsResponse :: fromXML ( $ httpResponse [ 'ResponseBody' ] ) ; $ response -> setResponseHeaderMetadata ( $ httpResponse [ 'ResponseHeaderMetadata' ] ) ; return $ response ; }
List Recommendations
Retrieving first batch of recommendations.

@param mixed $request array of parameters for MWSRecommendationsSectionService_Model_ListRecommendations request or MWSRecommendationsSectionService_Model_ListRecommendations object itself
@see MWSRecommendationsSectionService_Model_ListRecommendationsRequest
@return MWSRecommendationsSectionService_Model_ListRecommendationsResponse

@throws MWSRecommendationsSectionService_Exception
List Recommendations Retrieving first batch of recommendations .