|
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) 2009
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 ItemID fields can be specified. A separate error node will be
returned for each item that fails.VariationKey - A variation (or set of variations) that you want to watch.
Use this to watch a particular variation (not the entire item).
Either the top-level ItemID or VariationKey is required
(but do not pass in both).
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, 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. |
VariationKeyType[] |
getVariationKey()
Gets the AddToWatchListRequestType.variationKey. |
void |
setItemIDs(String[] itemIDs)
Sets the AddToWatchListRequestType.itemIDs. |
void |
setVariationKey(VariationKeyType[] variationKey)
Sets the AddToWatchListRequestType.variationKey. |
| 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 VariationKeyType[] getVariationKey()
public void setVariationKey(VariationKeyType[] variationKey)
variationKey - VariationKeyType[]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-2009 eBay Inc. All rights reserved.