|
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.ReviseItemCall
public class ReviseItemCall
Wrapper class of the ReviseItem 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.
ItemToBeRevised
- The Item container is used to make changes to the active listing. The seller must pass in the ItemID value for the listing that is being revised. For anything else that the seller wishes to change, such as quantity or price, the seller should include this field in the call request and give it a new value.
DeletedField
- Specifies the name of a field to delete from a listing. The request can
contain zero, one, or many instances of DeletedField (one for each field
to be deleted). See the relevant field descriptions to determine when to
use DeletedField (and potential consequences).
VerifyOnly
- When the VerifyOnly is included and set as true
, the active listing is not actually revised, but the same response is returned and the seller gets to see the expected fees based on the changes made, and can also view any listing recommendations if the Item.IncludeRecommedations boolean field is included and set to true
.
ReturnedItemID
- The unique identifier for the revised listing. Note that the ItemID value does not change when a listing is revised, so this will be the same ItemID value that was passed in the call request.
ReturnedStartTime
- This timestamp indicates the date and time when the listing was created on the eBay site. This value doesn't change when a listing is revised.
ReturnedEndTime
- Date and time when the revised listing is scheduled to end based on the listing's start time and the listing duration value that was set for the listing. If the listing duration is 'GTC' (Good 'Til Cancelled), this value will be updated to 30 days in the future if the listing is automatically renewed after 30 days. GTC listings are automatically renewed if quantity still exists for the item. Note that GTC is not applicable to auction listings.
ListingFees
- This container consists of the estimated listing fees for the revised listing. Each type of fee is returned even if it is not appplicable (has a value of 0.0
. The Final Value Fee (FVF) is not in this container, as this value cannot be determined until a sale is made.
ReturnedCategoryID
- Unique identifier of the primary eBay category for the revised listing. This field is returned if the primary category was changed with the revision, and the primary category can only be changed if a fixed-price listing has no sales/auction listing has no bids, and the listing does not end within 12 hours.
true
in the request and the category ID passed in the Item.PrimaryCategory field was mapped to a new category ID by eBay. If the primary category has not changed or it has expired with no replacement, this field is not returned.
ReturnedCategory2ID
- Unique identifier of the secondary eBay category for the revised listing. This field is returned if the secondary category was changed with the revision, and the secondary category can only be changed if a fixed-price listing has no sales/auction listing has no bids, and the listing does not end within 12 hours.
true
in the request and the category ID passed in the Item.PrimaryCategory field was mapped to a new category ID by eBay. If the primary category has not changed or it has expired with no replacement, this field is not returned.
ReturnedVerifyOnly
- This field is returned if the VerifyOnly field was included in the call request and set to true
.
true
.
ReturnedDiscountReason
- This field is returned if an eBay special offer or promotion is applicable to the listing.
ReturnedProductSuggestions
- Provides a list of products recommended by eBay which match the item information
provided by the seller.
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 | |
---|---|
ReviseItemCall()
Constructor. |
|
ReviseItemCall(ApiContext apiContext)
Constructor. |
Method Summary | |
---|---|
java.lang.String[] |
getDeletedField()
Gets the ReviseItemRequestType.deletedField. |
ItemType |
getItemToBeRevised()
Gets the ReviseItemRequestType.itemToBeRevised. |
TimeFilter |
getListingDuration()
|
FeesType |
getListingFees()
Valid after executing the API. |
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. |
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. |
java.lang.Boolean |
getReturnedVerifyOnly()
Valid after executing the API. |
java.lang.Boolean |
getVerifyOnly()
Gets the ReviseItemRequestType.verifyOnly. |
FeesType |
reviseItem()
Enables a seller to revise a listing on a specified eBay site. |
void |
setDeletedField(java.lang.String[] deletedField)
Sets the ReviseItemRequestType.deletedField. |
void |
setItemToBeRevised(ItemType itemToBeRevised)
Sets the ReviseItemRequestType.itemToBeRevised. |
void |
setVerifyOnly(java.lang.Boolean verifyOnly)
Sets the ReviseItemRequestType.verifyOnly. |
void |
uploadPictures(PictureInfo[] pictureInfoArray,
PictureDetailsType pictureDetails)
|
void |
uploadPictures(java.lang.String[] pictureFiles,
PictureDetailsType pictureDetails)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReviseItemCall()
public ReviseItemCall(ApiContext apiContext)
apiContext
- The ApiContext object to be used to make the call.Method Detail |
---|
public FeesType reviseItem() throws ApiException, SdkException, java.lang.Exception
ApiException
SdkException
java.lang.Exception
public java.lang.String[] getDeletedField()
public void setDeletedField(java.lang.String[] deletedField)
deletedField
- String[]public ItemType getItemToBeRevised()
public void setItemToBeRevised(ItemType itemToBeRevised)
itemToBeRevised
- ItemTypepublic java.lang.Boolean getVerifyOnly()
public void setVerifyOnly(java.lang.Boolean verifyOnly)
verifyOnly
- Booleanpublic TimeFilter getListingDuration()
public void uploadPictures(java.lang.String[] pictureFiles, PictureDetailsType pictureDetails) throws SdkException
SdkException
public void uploadPictures(PictureInfo[] pictureInfoArray, PictureDetailsType pictureDetails) throws SdkException
SdkException
public FeesType getListingFees()
public java.lang.String getReturnedCategory2ID()
public java.lang.String getReturnedCategoryID()
public DiscountReasonCodeType[] getReturnedDiscountReason()
public java.util.Calendar getReturnedEndTime()
public java.lang.String getReturnedItemID()
public ListingRecommendationsType getReturnedListingRecommendations()
public ProductSuggestionsType getReturnedProductSuggestions()
public java.util.Calendar getReturnedStartTime()
public java.lang.Boolean getReturnedVerifyOnly()
|
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.