|
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 eBay user's Watch List. The item must be a currently active item, and the total number of items in the user's Watch List (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 was not successfully added to the Watch List.VariationKey
- This container is used to specify one or more item variations in a multi-variation, fixed-price listing that you want to add to the Watch List.
The listing is identified through the ItemID value and each item variation existing within that listing is identified through a VariationSpecifics.NameValueList container.
ReturnedWatchListCount
- This integer value indicates the total number of items in the user's Watch List (after those specified in the call request have been successfully added).
ReturnedWatchListMaximum
- This integer value indicates the maximum number of items allowed in a user's Watch List. This value can vary by site and is subject to change. Currently on the US site, up to 200 items can be on the user's Watch List at any given time.
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 order line items to the eBay user's Watch List. |
java.lang.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(java.lang.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, java.lang.Exception
ApiException
SdkException
java.lang.Exception
public java.lang.String[] getItemIDs()
public void setItemIDs(java.lang.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.