|
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) 2009
Company: eBay Inc.
Item
- This container is used to specify all of the values and settings that define a new listing.
ReturnedItemID
- Unique identifier for the new listing. This field is returned as long as the listing was successfully created.
ReturnedStartTime
- Starting date and time for the new listing. This value is based on the time the listing was received and processed, or the time the item will be listed if the seller included the Item.ScheduleTime field in the request and set a custom start time of the listing (in the future).
ReturnedEndTime
- Date and time when the new listing is scheduled to end based on the start time and the listing duration value that was set in the ListingDuration field at listing time. If the value of ListingDuration was set to GTC
(Good 'Til Cancelled) this value will be set 30 days ahead of the start time, although this value will be updated if the GTC listing is still alive and automatically renewed 30 days after start time. Note that GTC is not an option with auction listings.
ReturnedFees
- This container is an array of fees associated with the creation of the listing. The fees do not include the Final Value Fee (FVF), which cannot be determined until an item is sold.
ReturnedCategoryID
- The unique identifier of the primary category in which the item was listed. This field is only returned if the Item.CategoryMappingAllowed boolean field is included and set to true
in the request and the Category ID passed in as the primary listing category was mapped to a new Category ID by eBay. If the primary category has not changed, or if it has expired with no replacement, this field is not returned.
ReturnedCategory2ID
- Unique identifier of the secondary category in which the item was listed. This field is only returned if a secondary category was used, the Item.CategoryMappingAllowed boolean field is included and set to true
in the request, and the Category ID passed in as the secondary listing category was mapped to a new Category ID by eBay. If the secondary category has not changed or it has expired with no replacement, this field is not returned.
ReturnedDiscountReason
- This container is an array of one or more listing fee/upgrade discount types being offered by eBay to the seller.
ReturnedProductSuggestions
- This container holds an array of one or more products in the eBay product catalog that appear to match the product being listed, just based on the information in the listing. This container will not be returned if no similar products were found in the eBay product catalog.
ReturnedListingRecommendations
- Container consisting of one or more Recommendation containers. Each Recommendation container provides a message to the seller on how a listing can be improved or brought up to standard in regards to top-rated seller/listing requirements, mandated or recommended Item Specifics, picture quality requirements, pricing and/or listing format recommendations, recommended keywords and/or Item Specifics in a Title, and/or a recommendation to offer fast handling (same-day handling or handling time of 1 day) and/or a free shipping option in order to qualify the listing for a Fast 'N Free badge.
Field Summary |
---|
Fields inherited from class com.ebay.sdk.ApiCall |
---|
apiException, sendReqListeners |
Constructor Summary | |
---|---|
AddItemCall()
Constructor. |
|
AddItemCall(ApiContext apiContext)
Constructor. |
Method Summary | |
---|---|
FeesType |
addItem()
Base request type for the AddItem call, which is used to create a fixed-price, auction, or classified ad listing. |
boolean |
getAutoSetItemUUID()
Returns AutoSetItemUUID property. |
ItemType |
getItem()
Gets the AddItemRequestType.item. |
java.lang.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(). |
java.lang.String |
getReturnedCategory2ID()
Valid after executing the API. |
java.lang.String |
getReturnedCategoryID()
Valid after executing the API. |
DiscountReasonCodeType[] |
getReturnedDiscountReason()
Valid after executing the API. |
java.util.Calendar |
getReturnedEndTime()
Valid after executing the API. |
FeesType |
getReturnedFees()
Valid after executing the API. |
java.lang.String |
getReturnedItemID()
Valid after executing the API. |
ListingRecommendationsType |
getReturnedListingRecommendations()
Valid after executing the API. |
ProductSuggestionsType |
getReturnedProductSuggestions()
Valid after executing the API. |
java.util.Calendar |
getReturnedStartTime()
Valid after executing the API. |
static java.lang.String |
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(java.lang.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 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, java.lang.Exception
ApiException
SdkException
java.lang.Exception
public ItemType getItem()
public void setItem(ItemType item)
item
- ItemTypepublic boolean getAutoSetItemUUID()
public java.lang.String[] getPictureFiles()
public PictureService getPictureService()
public static java.lang.String 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(java.lang.String[] pictureFiles)
pictureFiles
- String[]public void setPictureService(PictureService pictureService)
pictureService
- the PictureService object.public java.lang.String getReturnedCategory2ID()
public java.lang.String getReturnedCategoryID()
public DiscountReasonCodeType[] getReturnedDiscountReason()
public java.util.Calendar getReturnedEndTime()
public FeesType getReturnedFees()
public java.lang.String getReturnedItemID()
public ListingRecommendationsType getReturnedListingRecommendations()
public ProductSuggestionsType getReturnedProductSuggestions()
public java.util.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-2009 eBay Inc. All rights reserved.