/** * List Registered Destinations * List all the destinations for the specified seller created by the developer. * * @param mixed $request array of parameters for MWSSubscriptionsService_Model_ListRegisteredDestinations request or MWSSubscriptionsService_Model_ListRegisteredDestinations object itself * @see MWSSubscriptionsService_Model_ListRegisteredDestinationsInput * @return MWSSubscriptionsService_Model_ListRegisteredDestinationsResponse * * @throws MWSSubscriptionsService_Exception */ public function listRegisteredDestinations($request) { if (!$request instanceof MWSSubscriptionsService_Model_ListRegisteredDestinationsInput) { require_once dirname(__FILE__) . '/Model/ListRegisteredDestinationsInput.php'; $request = new MWSSubscriptionsService_Model_ListRegisteredDestinationsInput($request); } $parameters = $request->toQueryParameterArray(); $parameters['Action'] = 'ListRegisteredDestinations'; $httpResponse = $this->_invoke($parameters); require_once dirname(__FILE__) . '/Model/ListRegisteredDestinationsResponse.php'; $response = MWSSubscriptionsService_Model_ListRegisteredDestinationsResponse::fromXML($httpResponse['ResponseBody']); $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']); return $response; }
/** * List Registered Destinations * List all the destinations for the specified seller created by the developer. * * @param mixed $request array of parameters for MWSSubscriptionsService_Model_ListRegisteredDestinations request or MWSSubscriptionsService_Model_ListRegisteredDestinations object itself * @see MWSSubscriptionsService_Model_ListRegisteredDestinations * @return MWSSubscriptionsService_Model_ListRegisteredDestinationsResponse * * @throws MWSSubscriptionsService_Exception */ public function listRegisteredDestinations($request) { require_once dirname(__FILE__) . '/Model/ListRegisteredDestinationsResponse.php'; return MWSSubscriptionsService_Model_ListRegisteredDestinationsResponse::fromXML($this->_invoke('ListRegisteredDestinations')); }