Changes since
the last release

com.ebay.sdk.call
Class RevokeTokenCall

java.lang.Object
  extended by com.ebay.sdk.ApiCall
      extended by com.ebay.sdk.call.RevokeTokenCall

public class RevokeTokenCall
extends ApiCall

Wrapper class of the RevokeToken call of eBay SOAP API.

Title: SOAP API wrapper library.

Description: Contains wrapper classes for eBay SOAP APIs.

Copyright: Copyright (c) 2009

Company: eBay Inc.


Input property: UnsubscribeNotification - Cancels notification subscriptions for the user/application if set to true. Default value is false.

Version:
1.0
Author:
Ron Murphy

Field Summary
 
Fields inherited from class com.ebay.sdk.ApiCall
apiException, sendReqListeners
 
Constructor Summary
RevokeTokenCall()
          Constructor.
RevokeTokenCall(ApiContext apiContext)
          Constructor.
 
Method Summary
 Boolean getUnsubscribeNotification()
          Gets the RevokeTokenRequestType.unsubscribeNotification.
 void revokeToken()
          Revokes a token before it would otherwise expire.
 void setUnsubscribeNotification(Boolean unsubscribeNotification)
          Sets the RevokeTokenRequestType.unsubscribeNotification.
 
Methods inherited from class com.ebay.sdk.ApiCall
addDetailLevel, addSendRequestListener, execute, executeByApiName, getApiContext, getApiException, getBotBlock, getCallRetry, getDetailLevel, getEnableCompression, getEndUserIP, getErrorHandling, getInvocationID, getMessageID, getOutputSelector, getRequestXml, getResponseObject, getResponseXml, getSite, getWarningLevel, hasError, hasWarning, removeSendRequestListener, setApiContext, setBotBlock, setCallRetry, setDetailLevel, setEnableCompression, setEndUserIP, setErrorHandling, setInvocationID, setMessageID, setOutputSelector, setSite, setWarningLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RevokeTokenCall

public RevokeTokenCall()
Constructor.


RevokeTokenCall

public RevokeTokenCall(ApiContext apiContext)
Constructor.

Parameters:
apiContext - The ApiContext object to be used to make the call.
Method Detail

revokeToken

public void revokeToken()
                 throws ApiException,
                        SdkException,
                        Exception
Revokes a token before it would otherwise expire.

Throws:
ApiException
SdkException
Exception

getUnsubscribeNotification

public Boolean getUnsubscribeNotification()
Gets the RevokeTokenRequestType.unsubscribeNotification.

Returns:
Boolean

setUnsubscribeNotification

public void setUnsubscribeNotification(Boolean unsubscribeNotification)
Sets the RevokeTokenRequestType.unsubscribeNotification.

Parameters:
unsubscribeNotification - Boolean

Changes since
the last release

The information contained in this document is proprietary and confidential. Use of this information and the eBay API requires a Non-Disclosure Agreement (NDA) between the user and eBay Inc. For information regarding a qualifying NDA, contact Developer Relations: developer-relations@ebay.com
© 2004-2009 eBay Inc. All rights reserved.