Changes since
the last release

com.ebay.sdk.call
Class EndItemsCall

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

public class EndItemsCall
extends ApiCall

Wrapper class of the EndItems 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: EndItemRequestContainer - An EndItemRequestContainer container is required for each eBay listing that the seller plans to end through the EndItems call. Up to 10 eBay listings can be ended with one EndItems call.
Output property: ReturnedEndItemResponseContainer - Returns a response for an individually ended item. Mutiple containers will be listed if multiple items are ended.

Version:
1.0
Author:
Ron Murphy

Field Summary
 
Fields inherited from class com.ebay.sdk.ApiCall
apiException, sendReqListeners
 
Constructor Summary
EndItemsCall()
          Constructor.
EndItemsCall(ApiContext apiContext)
          Constructor.
 
Method Summary
 EndItemResponseContainerType[] endItems()
          The EndItems call is used to end up to 10 specified eBay listings before the date and time at which those listings would normally end per the listing duration.
 EndItemRequestContainerType[] getEndItemRequestContainer()
          Gets the EndItemsRequestType.endItemRequestContainer.
 EndItemResponseContainerType[] getReturnedEndItemResponseContainer()
          Valid after executing the API.
 void setEndItemRequestContainer(EndItemRequestContainerType[] endItemRequestContainer)
          Sets the EndItemsRequestType.endItemRequestContainer.
 
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, isEnableoAuthTokenHTTPHeader, removeSendRequestListener, setApiContext, setBotBlock, setCallRetry, setDetailLevel, setEnableCompression, setEnableoAuthTokenHTTPHeader, 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

EndItemsCall

public EndItemsCall()
Constructor.


EndItemsCall

public EndItemsCall(ApiContext apiContext)
Constructor.

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

endItems

public EndItemResponseContainerType[] endItems()
                                        throws ApiException,
                                               SdkException,
                                               java.lang.Exception
The EndItems call is used to end up to 10 specified eBay listings before the date and time at which those listings would normally end per the listing duration.

Returns:
The EndItemResponseContainerType[] object.
Throws:
ApiException
SdkException
java.lang.Exception

getEndItemRequestContainer

public EndItemRequestContainerType[] getEndItemRequestContainer()
Gets the EndItemsRequestType.endItemRequestContainer.

Returns:
EndItemRequestContainerType[]

setEndItemRequestContainer

public void setEndItemRequestContainer(EndItemRequestContainerType[] endItemRequestContainer)
Sets the EndItemsRequestType.endItemRequestContainer.

Parameters:
endItemRequestContainer - EndItemRequestContainerType[]

getReturnedEndItemResponseContainer

public EndItemResponseContainerType[] getReturnedEndItemResponseContainer()
Valid after executing the API. Gets the returned EndItemsResponseType.returnedEndItemResponseContainer.

Returns:
EndItemResponseContainerType[]

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.