Changes since
the last release

com.ebay.sdk.call
Class GetUserCall

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

public class GetUserCall
extends ApiCall

Wrapper class of the GetUser 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: ItemID - Specify the ItemID value for a successfully concluded listing in which the requestor and target user were participants (one as seller and the other as buyer). Necessary to return certain data (like an email address). Not necessary if the requestor is retrieving their own data.
Input property: UserID - Specify the user whose data you want returned by the call. If not specified, eBay returns data pertaining to the requesting user (as specified with the eBayAuthToken value).
Input property: IncludeExpressRequirements - This field is deprecated.
Input property: IncludeFeatureEligibility - If the IncludeFeatureEligibility flag is included and set to 'true', the call response will include a QualifiesForSelling flag which indicates if the eBay user is eligible to sell on eBay, and a IncludeFeatureEligibility container which indicates which selling features are available to the user.
Output property: ReturnedUser - This container consists of detailed information about the user specified in the call request (through the UserID field) or the eBay user account that is tied to the eBayAuthToken value that is passed in the call request.

Some sensitive data will be masked/omitted if the returned eBay user is not the person making the GetUser call. More information on another eBay user will be revealed to the person making the call if that person has an order relationship for an eBay listing specified in the ItemID field of the call request.

Version:
1.0
Author:
Ron Murphy

Field Summary
 
Fields inherited from class com.ebay.sdk.ApiCall
apiException, sendReqListeners
 
Constructor Summary
GetUserCall()
          Constructor.
GetUserCall(ApiContext apiContext)
          Constructor.
 
Method Summary
 java.lang.Boolean getIncludeExpressRequirements()
          Gets the GetUserRequestType.includeExpressRequirements.
 java.lang.Boolean getIncludeFeatureEligibility()
          Gets the GetUserRequestType.includeFeatureEligibility.
 java.lang.String getItemID()
          Gets the GetUserRequestType.itemID.
 UserType getReturnedUser()
          Valid after executing the API.
 UserType getUser()
          Retrieves data pertaining to a single eBay user.
 java.lang.String getUserID()
          Gets the GetUserRequestType.userID.
 void setIncludeExpressRequirements(java.lang.Boolean includeExpressRequirements)
          Sets the GetUserRequestType.includeExpressRequirements.
 void setIncludeFeatureEligibility(java.lang.Boolean includeFeatureEligibility)
          Sets the GetUserRequestType.includeFeatureEligibility.
 void setItemID(java.lang.String itemID)
          Sets the GetUserRequestType.itemID.
 void setUserID(java.lang.String userID)
          Sets the GetUserRequestType.userID.
 
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

GetUserCall

public GetUserCall()
Constructor.


GetUserCall

public GetUserCall(ApiContext apiContext)
Constructor.

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

getUser

public UserType getUser()
                 throws ApiException,
                        SdkException,
                        java.lang.Exception
Retrieves data pertaining to a single eBay user. Callers can use this call to return their own user data or the data of another eBay user. Unless the caller passes in an ItemID value that identifies a current or past common order, not all data (like email addresses) will be returned in the response.

Returns:
The UserType object.
Throws:
ApiException
SdkException
java.lang.Exception

getIncludeExpressRequirements

public java.lang.Boolean getIncludeExpressRequirements()
Gets the GetUserRequestType.includeExpressRequirements.

Returns:
Boolean

setIncludeExpressRequirements

public void setIncludeExpressRequirements(java.lang.Boolean includeExpressRequirements)
Sets the GetUserRequestType.includeExpressRequirements.

Parameters:
includeExpressRequirements - Boolean

getIncludeFeatureEligibility

public java.lang.Boolean getIncludeFeatureEligibility()
Gets the GetUserRequestType.includeFeatureEligibility.

Returns:
Boolean

setIncludeFeatureEligibility

public void setIncludeFeatureEligibility(java.lang.Boolean includeFeatureEligibility)
Sets the GetUserRequestType.includeFeatureEligibility.

Parameters:
includeFeatureEligibility - Boolean

getItemID

public java.lang.String getItemID()
Gets the GetUserRequestType.itemID.

Returns:
String

setItemID

public void setItemID(java.lang.String itemID)
Sets the GetUserRequestType.itemID.

Parameters:
itemID - String

getUserID

public java.lang.String getUserID()
Gets the GetUserRequestType.userID.

Returns:
String

setUserID

public void setUserID(java.lang.String userID)
Sets the GetUserRequestType.userID.

Parameters:
userID - String

getReturnedUser

public UserType getReturnedUser()
Valid after executing the API. Gets the returned GetUserResponseType.returnedUser.

Returns:
UserType

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.