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 - This container value indicates the status and expiration date of a user token. If a user token was revoked, the date/time of the revocation is also returned under this container.

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()
          This call is used to get the current status of a 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, isEnableoAuthTokenHTTPHeader, removeSendRequestListener, setApiContext, setBotBlock, setCallRetry, setDetailLevel, setEnableCompression, setEnableoAuthTokenHTTPHeader, 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,
                                      java.lang.Exception
This call is used to get the current status of a user token. There are no call-specific fields in the request payload.

Returns:
The TokenStatusType object.
Throws:
ApiException
SdkException
java.lang.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.