Changes since
the last release

com.ebay.sdk.call
Class GetUserContactDetailsCall

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

public class GetUserContactDetailsCall
extends ApiCall

Wrapper class of the GetUserContactDetails 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 - An eBay item ID that uniquely identifies a currently active item.
Input property: ContactID - An eBay ID that uniquely identifies a given user for whom the caller is seeking information. This is the user's eBay username. Either a seller's or bidder's username can be specified here, as long as a bidding relationship exists between the requester and the user specified by this field. That is, a bidder must be bidding on the seller's active item, or have made an offer on the item via Best Offer.
Input property: RequesterID - An eBay ID that uniquely identifies the person who is making the call. This is the requester's eBay username. Either a seller's or bidder's username can be specified here, as long as a bidding relationship exists between the requester and the user for whom information is being requested.
Output property: ReturnedUserID - An eBay ID that uniquely identifies a given user. The eBay username of the requested contact.
Output property: ReturnedContactAddress - Contact information for the requested contact. Note that the email address is NOT returned.
Output property: ReturnedRegistrationDate - The date and time that the requested contact registered with eBay.

Version:
1.0
Author:
Ron Murphy

Field Summary
 
Fields inherited from class com.ebay.sdk.ApiCall
apiException, sendReqListeners
 
Constructor Summary
GetUserContactDetailsCall()
          Constructor.
GetUserContactDetailsCall(ApiContext apiContext)
          Constructor.
 
Method Summary
 String getContactID()
          Gets the GetUserContactDetailsRequestType.contactID.
 String getItemID()
          Gets the GetUserContactDetailsRequestType.itemID.
 String getRequesterID()
          Gets the GetUserContactDetailsRequestType.requesterID.
 AddressType getReturnedContactAddress()
          Valid after executing the API.
 Calendar getReturnedRegistrationDate()
          Valid after executing the API.
 String getReturnedUserID()
          Valid after executing the API.
 String getUserContactDetails()
          Returns contact information for a specified user, given that a bidding relationship (as either a buyer or seller) exists between the caller and the user.
 void setContactID(String contactID)
          Sets the GetUserContactDetailsRequestType.contactID.
 void setItemID(String itemID)
          Sets the GetUserContactDetailsRequestType.itemID.
 void setRequesterID(String requesterID)
          Sets the GetUserContactDetailsRequestType.requesterID.
 
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

GetUserContactDetailsCall

public GetUserContactDetailsCall()
Constructor.


GetUserContactDetailsCall

public GetUserContactDetailsCall(ApiContext apiContext)
Constructor.

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

getUserContactDetails

public String getUserContactDetails()
                             throws ApiException,
                                    SdkException,
                                    Exception
Returns contact information for a specified user, given that a bidding relationship (as either a buyer or seller) exists between the caller and the user.

Returns:
The String object.
Throws:
ApiException
SdkException
Exception

getContactID

public String getContactID()
Gets the GetUserContactDetailsRequestType.contactID.

Returns:
String

setContactID

public void setContactID(String contactID)
Sets the GetUserContactDetailsRequestType.contactID.

Parameters:
contactID - String

getItemID

public String getItemID()
Gets the GetUserContactDetailsRequestType.itemID.

Returns:
String

setItemID

public void setItemID(String itemID)
Sets the GetUserContactDetailsRequestType.itemID.

Parameters:
itemID - String

getRequesterID

public String getRequesterID()
Gets the GetUserContactDetailsRequestType.requesterID.

Returns:
String

setRequesterID

public void setRequesterID(String requesterID)
Sets the GetUserContactDetailsRequestType.requesterID.

Parameters:
requesterID - String

getReturnedContactAddress

public AddressType getReturnedContactAddress()
Valid after executing the API. Gets the returned GetUserContactDetailsResponseType.returnedContactAddress.

Returns:
AddressType

getReturnedRegistrationDate

public Calendar getReturnedRegistrationDate()
Valid after executing the API. Gets the returned GetUserContactDetailsResponseType.returnedRegistrationDate.

Returns:
Calendar

getReturnedUserID

public String getReturnedUserID()
Valid after executing the API. Gets the returned GetUserContactDetailsResponseType.returnedUserID.

Returns:
String

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.