Changes since
the last release

com.ebay.sdk.call
Class AddItemsCall

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

public class AddItemsCall
extends ApiCall

Wrapper class of the AddItems 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: AddItemRequestContainer - Defines a single item to be listed on eBay. This container is similar to an AddItem request. Up to five of these containers can be included in one AddItems request.
Output property: ReturnedAddItemResponseContainer - One AddItemResponseContainer container is returned for each listing that is being created with the AddItems call. Each container includes the ItemID of each newly created listings, the eBay category each item is listed under, the seller-defined SKUs of the items (if any), the listing recommendations for each item (if applicable), the start and end time of each listing, and the estimated fees that each listing will incur.

Version:
1.0
Author:
Ron Murphy

Field Summary
 
Fields inherited from class com.ebay.sdk.ApiCall
apiException, sendReqListeners
 
Constructor Summary
AddItemsCall()
          Constructor.
AddItemsCall(ApiContext apiContext)
          Constructor.
 
Method Summary
 AddItemResponseContainerType[] addItems()
          Defines from one to five items and lists them on a specified eBay site.
 AddItemRequestContainerType[] getAddItemRequestContainer()
          Gets the AddItemsRequestType.addItemRequestContainer.
 AddItemResponseContainerType[] getReturnedAddItemResponseContainer()
          Valid after executing the API.
 void setAddItemRequestContainer(AddItemRequestContainerType[] addItemRequestContainer)
          Sets the AddItemsRequestType.addItemRequestContainer.
 
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

AddItemsCall

public AddItemsCall()
Constructor.


AddItemsCall

public AddItemsCall(ApiContext apiContext)
Constructor.

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

addItems

public AddItemResponseContainerType[] addItems()
                                        throws ApiException,
                                               SdkException,
                                               Exception
Defines from one to five items and lists them on a specified eBay site.

Returns:
The AddItemResponseContainerType[] object.
Throws:
ApiException
SdkException
Exception

getAddItemRequestContainer

public AddItemRequestContainerType[] getAddItemRequestContainer()
Gets the AddItemsRequestType.addItemRequestContainer.

Returns:
AddItemRequestContainerType[]

setAddItemRequestContainer

public void setAddItemRequestContainer(AddItemRequestContainerType[] addItemRequestContainer)
Sets the AddItemsRequestType.addItemRequestContainer.

Parameters:
addItemRequestContainer - AddItemRequestContainerType[]

getReturnedAddItemResponseContainer

public AddItemResponseContainerType[] getReturnedAddItemResponseContainer()
Valid after executing the API. Gets the returned AddItemsResponseType.returnedAddItemResponseContainer.

Returns:
AddItemResponseContainerType[]

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.