public function registerDestination($request)
    {
        if (!($request instanceof MWSSubscriptionsService_Model_RegisterDestinationInput)) {
            require_once (dirname(__FILE__) . '/Model/RegisterDestinationInput.php');
            $request = new MWSSubscriptionsService_Model_RegisterDestinationInput($request);
        }
        $parameters = $request->toQueryParameterArray();
        $parameters['Action'] = 'RegisterDestination';
        $httpResponse = $this->_invoke($parameters);

        require_once (dirname(__FILE__) . '/Model/RegisterDestinationResponse.php');
        $response = MWSSubscriptionsService_Model_RegisterDestinationResponse::fromXML($httpResponse['ResponseBody']);
        $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
        return $response;
    }
public function registerDestination($request)
    {
        if (!($request instanceof MWSSubscriptionsService_Model_RegisterDestinationInput)) {
            require_once (dirname(__FILE__) . '/Model/RegisterDestinationInput.php');
            $request = new MWSSubscriptionsService_Model_RegisterDestinationInput($request);
        }
        $parameters = $request->toQueryParameterArray();
        $parameters['Action'] = 'RegisterDestination';
        $httpResponse = $this->_invoke($parameters);

        require_once (dirname(__FILE__) . '/Model/RegisterDestinationResponse.php');
        $response = MWSSubscriptionsService_Model_RegisterDestinationResponse::fromXML($httpResponse['ResponseBody']);
        $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
        return $response;
    }
public function registerDestination ( $ request ) { if ( ! ( $ request instanceof MWSSubscriptionsService_Model_RegisterDestinationInput ) ) { require_once ( dirname ( __FILE__ ) . '/Model/RegisterDestinationInput.php' ) ; $ request = new MWSSubscriptionsService_Model_RegisterDestinationInput ( $ request ) ; } $ parameters = $ request -> toQueryParameterArray ( ) ; $ parameters [ 'Action' ] = 'RegisterDestination' ; $ httpResponse = $ this -> _invoke ( $ parameters ) ; require_once ( dirname ( __FILE__ ) . '/Model/RegisterDestinationResponse.php' ) ; $ response = MWSSubscriptionsService_Model_RegisterDestinationResponse :: fromXML ( $ httpResponse [ 'ResponseBody' ] ) ; $ response -> setResponseHeaderMetadata ( $ httpResponse [ 'ResponseHeaderMetadata' ] ) ; return $ response ; }
Register Destination
Create a new destination.

@param mixed $request array of parameters for MWSSubscriptionsService_Model_RegisterDestination request or MWSSubscriptionsService_Model_RegisterDestination object itself
@see MWSSubscriptionsService_Model_RegisterDestinationInput
@return MWSSubscriptionsService_Model_RegisterDestinationResponse

@throws MWSSubscriptionsService_Exception
Register Destination Create a new destination .