|
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.AddItemCall
public class AddItemCall
Wrapper class of the AddItem call of eBay SOAP API.
Title: SOAP API wrapper library.
Description: Contains wrapper classes for eBay SOAP APIs.
Copyright: Copyright (c) 2007
Company: eBay Inc.
Item - Child elements hold the values that define the new item. Item is a
required input.
Also applicable to Half.com.
ReturnedItemID - Unique item ID for the new listing.
Also applicable to Half.com.
ReturnedStartTime - Starting date and time for the new listing.
Also returned for Half.com (for Half.com, the start time is always the time the item was listed).
ReturnedEndTime - Date and time when the new listing ends. This is the starting time
plus the listing duration.
Also returned for Half.com, but for Half.com the actual end time is GTC
(not the end time returned in the response).
ReturnedFees - Child elements contain the estimated listing fees for the new item listing.
The fees do not include the Final Value Fee (FVF), which cannot be determined
until an item is sold.
Also returned for Half.com, but the values are not applicable to Half.com listings.
ReturnedCategoryID - ID of the primary category in which the item was listed.
Only returned if you set Item.CategoryMappingAllowed to true in the request
and the ID you passed in PrimaryCategory was mapped to a new ID by eBay.
If the primary category has not changed or it has expired with no replacement,
CategoryID does not return a value.
Not applicable to Half.com.
ReturnedCategory2ID - ID of the secondary category in which the item was listed.
Only returned if you set Item.CategoryMappingAllowed to true in the request
and the ID you passed in SecondaryCategory was mapped to a new ID by eBay.
If the secondary category has not changed or it has expired with no replacement,
Category2ID does not return a value.
Not applicable to Half.com.
| Field Summary |
|---|
| Fields inherited from class com.ebay.sdk.ApiCall |
|---|
apiException, fullCredentials, sendReqListeners |
| Constructor Summary | |
|---|---|
AddItemCall()
Constructor. |
|
AddItemCall(ApiContext apiContext)
Constructor. |
|
| Method Summary | |
|---|---|
FeesType |
addItem()
Defines a single new item and lists it on a specified eBay site. |
boolean |
getAutoSetItemUUID()
Returns AutoSetItemUUID property. |
ItemType |
getItem()
Gets the AddItemRequestType.item. |
String[] |
getPictureFiles()
Gets list of picture files for the item. |
PictureService |
getPictureService()
Gets the PictureService object that will be used to upload picture files specified in setPictureFiles(). |
String |
getReturnedCategory2ID()
Valid after executing the API. |
String |
getReturnedCategoryID()
Valid after executing the API. |
Calendar |
getReturnedEndTime()
Valid after executing the API. |
FeesType |
getReturnedFees()
Valid after executing the API. |
ItemIDType |
getReturnedItemID()
Valid after executing the API. |
Calendar |
getReturnedStartTime()
Valid after executing the API. |
static UUIDType |
newUUID()
Generates a UUID. |
static void |
resetItemUUID(ItemType item)
Reset the UUID property of eBay item object. |
void |
setAutoSetItemUUID(boolean autoSetItemUUID)
Sets AutoSetItemUUID property. |
void |
setItem(ItemType item)
Sets the AddItemRequestType.item. |
void |
setPictureFiles(String[] pictureFiles)
Sets list of picture files for the item. |
void |
setPictureService(PictureService pictureService)
Set the PictureService object that will be used to upload picture files specified in setPictureFiles(). |
| Methods inherited from class com.ebay.sdk.ApiCall |
|---|
addDetailLevel, addSendRequestListener, execute, executeByApiName, getApiContext, getApiException, getCallRetry, getDetailLevel, getEnableCompression, getRequestXml, getResponseObject, getResponseXml, getSite, hasError, hasWarning, removeSendRequestListener, setApiContext, setCallRetry, setDetailLevel, setEnableCompression, setSite |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AddItemCall()
public AddItemCall(ApiContext apiContext)
apiContext - The ApiContext object to be used to make the call.| Method Detail |
|---|
public FeesType addItem()
throws ApiException,
SdkException,
Exception
ApiException
SdkException
Exceptionpublic ItemType getItem()
public void setItem(ItemType item)
item - ItemTypepublic boolean getAutoSetItemUUID()
public String[] getPictureFiles()
public PictureService getPictureService()
public static UUIDType newUUID()
public static void resetItemUUID(ItemType item)
item - The ItemType object whose UUID property will be reset.public void setAutoSetItemUUID(boolean autoSetItemUUID)
autoSetItemUUID - booleanpublic void setPictureFiles(String[] pictureFiles)
pictureFiles - String[]public void setPictureService(PictureService pictureService)
pictureService - the PictureService object.public String getReturnedCategory2ID()
public String getReturnedCategoryID()
public Calendar getReturnedEndTime()
public FeesType getReturnedFees()
public ItemIDType getReturnedItemID()
public Calendar getReturnedStartTime()
|
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-2006 eBay Inc. All rights reserved.