src/MWSSubscriptionsService/Client.php
public function updateSubscription($request)
    {
        if (!($request instanceof MWSSubscriptionsService_Model_UpdateSubscriptionInput)) {
            require_once (dirname(__FILE__) . '/Model/UpdateSubscriptionInput.php');
            $request = new MWSSubscriptionsService_Model_UpdateSubscriptionInput($request);
        }
        $parameters = $request->toQueryParameterArray();
        $parameters['Action'] = 'UpdateSubscription';
        $httpResponse = $this->_invoke($parameters);

        require_once (dirname(__FILE__) . '/Model/UpdateSubscriptionResponse.php');
        $response = MWSSubscriptionsService_Model_UpdateSubscriptionResponse::fromXML($httpResponse['ResponseBody']);
        $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
        return $response;
    }
public function updateSubscription($request)
    {
        if (!($request instanceof MWSSubscriptionsService_Model_UpdateSubscriptionInput)) {
            require_once (dirname(__FILE__) . '/Model/UpdateSubscriptionInput.php');
            $request = new MWSSubscriptionsService_Model_UpdateSubscriptionInput($request);
        }
        $parameters = $request->toQueryParameterArray();
        $parameters['Action'] = 'UpdateSubscription';
        $httpResponse = $this->_invoke($parameters);

        require_once (dirname(__FILE__) . '/Model/UpdateSubscriptionResponse.php');
        $response = MWSSubscriptionsService_Model_UpdateSubscriptionResponse::fromXML($httpResponse['ResponseBody']);
        $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
        return $response;
    }
public function updateSubscription ( $ request ) { if ( ! ( $ request instanceof MWSSubscriptionsService_Model_UpdateSubscriptionInput ) ) { require_once ( dirname ( __FILE__ ) . '/Model/UpdateSubscriptionInput.php' ) ; $ request = new MWSSubscriptionsService_Model_UpdateSubscriptionInput ( $ request ) ; } $ parameters = $ request -> toQueryParameterArray ( ) ; $ parameters [ 'Action' ] = 'UpdateSubscription' ; $ httpResponse = $ this -> _invoke ( $ parameters ) ; require_once ( dirname ( __FILE__ ) . '/Model/UpdateSubscriptionResponse.php' ) ; $ response = MWSSubscriptionsService_Model_UpdateSubscriptionResponse :: fromXML ( $ httpResponse [ 'ResponseBody' ] ) ; $ response -> setResponseHeaderMetadata ( $ httpResponse [ 'ResponseHeaderMetadata' ] ) ; return $ response ; }
Update Subscription
Update a subscription.

@param mixed $request array of parameters for MWSSubscriptionsService_Model_UpdateSubscription request or MWSSubscriptionsService_Model_UpdateSubscription object itself
@see MWSSubscriptionsService_Model_UpdateSubscriptionInput
@return MWSSubscriptionsService_Model_UpdateSubscriptionResponse

@throws MWSSubscriptionsService_Exception
Update Subscription Update a subscription .