|
Changes since the last release |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ebay.sdk.ApiCall
com.ebay.sdk.call.AddToWatchListCall
public class AddToWatchListCall
Wrapper class of the AddToWatchList call of eBay SOAP API.
Title: SOAP API wrapper library.
Description: Contains wrapper classes for eBay SOAP APIs.
Copyright: Copyright (c) 2007
Company: eBay Inc.
ItemIDs - The ItemID of the item that is to be added to the watch list. The item
must be a currently active item, and the total number of items in the
watchlist (after the items in the request have been added) cannot exceed
the maximum allowed number of watch list items. One or more ItemIDs can be
specified, each in its own ItemID container. A separate error node will be
returned for each item that fails.
ReturnedWatchListCount - The number of items in the user's watch list (after those specified
in the call request have been added)
ReturnedWatchListMaximum - The maximum number of items allowed in watch lists. Currently this
value is the same for all sites and all users.
| Field Summary |
|---|
| Fields inherited from class com.ebay.sdk.ApiCall |
|---|
apiException, fullCredentials, sendReqListeners |
| Constructor Summary | |
|---|---|
AddToWatchListCall()
Constructor. |
|
AddToWatchListCall(ApiContext apiContext)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addToWatchList()
Adds one or more items to the user's My eBay watch list. |
String[] |
getItemIDs()
Gets the AddToWatchListRequestType.itemIDs. |
int |
getReturnedWatchListCount()
Valid after executing the API. |
int |
getReturnedWatchListMaximum()
Valid after executing the API. |
void |
setItemIDs(String[] itemIDs)
Sets the AddToWatchListRequestType.itemIDs. |
static ItemIDType[] |
stringListToItemIDList(String[] strList)
|
| Methods inherited from class com.ebay.sdk.ApiCall |
|---|
addDetailLevel, addSendRequestListener, execute, executeByApiName, getApiContext, getApiException, getCallRetry, getDetailLevel, getEnableCompression, getRequestXml, getResponseObject, getResponseXml, getSite, hasError, hasWarning, removeSendRequestListener, setApiContext, setCallRetry, setDetailLevel, setEnableCompression, setSite |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AddToWatchListCall()
public AddToWatchListCall(ApiContext apiContext)
apiContext - The ApiContext object to be used to make the call.| Method Detail |
|---|
public void addToWatchList()
throws ApiException,
SdkException,
Exception
ApiException
SdkException
Exceptionpublic String[] getItemIDs()
public void setItemIDs(String[] itemIDs)
itemIDs - String[]public static ItemIDType[] stringListToItemIDList(String[] strList)
strList - String[]
public int getReturnedWatchListCount()
public int getReturnedWatchListMaximum()
|
Changes since the last release |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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-2006 eBay Inc. All rights reserved.