Changes since
the last release

com.ebay.sdk.call
Class GetTokenStatusCall

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

public class GetTokenStatusCall
extends ApiCall

Wrapper class of the GetTokenStatus 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.


Output property: ReturnedTokenStatus - Returns token status and details. For example, if revoked, whether by eBay, the user, or the application, and also when revoked.

Version:
1.0
Author:
Ron Murphy

Field Summary
 
Fields inherited from class com.ebay.sdk.ApiCall
apiException, sendReqListeners
 
Constructor Summary
GetTokenStatusCall()
          Constructor.
GetTokenStatusCall(ApiContext apiContext)
          Constructor.
 
Method Summary
 TokenStatusType getReturnedTokenStatus()
          Valid after executing the API.
 TokenStatusType getTokenStatus()
          Requests current status of user token.
 
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

GetTokenStatusCall

public GetTokenStatusCall()
Constructor.


GetTokenStatusCall

public GetTokenStatusCall(ApiContext apiContext)
Constructor.

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

getTokenStatus

public TokenStatusType getTokenStatus()
                               throws ApiException,
                                      SdkException,
                                      Exception
Requests current status of user token.

Returns:
The TokenStatusType object.
Throws:
ApiException
SdkException
Exception

getReturnedTokenStatus

public TokenStatusType getReturnedTokenStatus()
Valid after executing the API. Gets the returned GetTokenStatusResponseType.returnedTokenStatus.

Returns:
TokenStatusType

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.