Changes since
the last release

com.ebay.sdk.call
Class RemoveFromWatchListCall

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

public class RemoveFromWatchListCall
extends ApiCall

Wrapper class of the RemoveFromWatchList 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: ItemIDs - The ID of the item to be removed from the watch list. Either ItemID, RemoveAllItems, or VariationKey must be specified, but NOT more than one of these. Multiple ItemID fields can be specified in the same request.
Input property: RemoveAllItems - If true, then all the items in the user's watch list are removed. Either ItemID, RemoveAllItems, or VariationKey must be specified, but NOT more than one of these.
Input property: VariationKey - A variation (or set of variations) that you want to remove from the watch list. Either ItemID, RemoveAllItems, or VariationKey must be specified, but NOT more than one of these.
Output property: ReturnedWatchListCount - The current number of items in the user's watch list (after those specified in the call request have been removed)
Output property: ReturnedWatchListMaximum - The maximum number of items allowed in watch lists. Currently this value is 200, and is the same for all sites and all users.

Version:
1.0
Author:
Ron Murphy

Field Summary
 
Fields inherited from class com.ebay.sdk.ApiCall
apiException, sendReqListeners
 
Constructor Summary
RemoveFromWatchListCall()
          Constructor.
RemoveFromWatchListCall(ApiContext apiContext)
          Constructor.
 
Method Summary
 String[] getItemIDs()
          Gets the RemoveFromWatchListRequestType.itemIDs.
 Boolean getRemoveAllItems()
          Gets the RemoveFromWatchListRequestType.removeAllItems.
 int getReturnedWatchListCount()
          Valid after executing the API.
 int getReturnedWatchListMaximum()
          Valid after executing the API.
 VariationKeyType[] getVariationKey()
          Gets the RemoveFromWatchListRequestType.variationKey.
 void removeFromWatchList()
          Enables a user to remove one or more items from their My eBay watch list.
 void setItemIDs(String[] itemIDs)
          Sets the RemoveFromWatchListRequestType.itemIDs.
 void setRemoveAllItems(Boolean removeAllItems)
          Sets the RemoveFromWatchListRequestType.removeAllItems.
 void setVariationKey(VariationKeyType[] variationKey)
          Sets the RemoveFromWatchListRequestType.variationKey.
 
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

RemoveFromWatchListCall

public RemoveFromWatchListCall()
Constructor.


RemoveFromWatchListCall

public RemoveFromWatchListCall(ApiContext apiContext)
Constructor.

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

removeFromWatchList

public void removeFromWatchList()
                         throws ApiException,
                                SdkException,
                                Exception
Enables a user to remove one or more items from their My eBay watch list.

Throws:
ApiException
SdkException
Exception

getItemIDs

public String[] getItemIDs()
Gets the RemoveFromWatchListRequestType.itemIDs.

Returns:
String[]

setItemIDs

public void setItemIDs(String[] itemIDs)
Sets the RemoveFromWatchListRequestType.itemIDs.

Parameters:
itemIDs - String[]

getRemoveAllItems

public Boolean getRemoveAllItems()
Gets the RemoveFromWatchListRequestType.removeAllItems.

Returns:
Boolean

setRemoveAllItems

public void setRemoveAllItems(Boolean removeAllItems)
Sets the RemoveFromWatchListRequestType.removeAllItems.

Parameters:
removeAllItems - Boolean

getVariationKey

public VariationKeyType[] getVariationKey()
Gets the RemoveFromWatchListRequestType.variationKey.

Returns:
VariationKeyType[]

setVariationKey

public void setVariationKey(VariationKeyType[] variationKey)
Sets the RemoveFromWatchListRequestType.variationKey.

Parameters:
variationKey - VariationKeyType[]

getReturnedWatchListCount

public int getReturnedWatchListCount()
Valid after executing the API. Gets the returned RemoveFromWatchListResponseType.returnedWatchListCount.

Returns:
int

getReturnedWatchListMaximum

public int getReturnedWatchListMaximum()
Valid after executing the API. Gets the returned RemoveFromWatchListResponseType.returnedWatchListMaximum.

Returns:
int

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.