Changes since
the last release

com.ebay.sdk.call
Class VerifyRelistItemCall

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

public class VerifyRelistItemCall
extends ApiCall

Wrapper class of the VerifyRelistItem 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: Item - Child elements hold the values for item properties that change for the item re-list. Item is a required input. At a minimum, the Item.ItemID property must be set to the ID of the listing being re-listed (a listing that ended in the past 90 days). By default, the new listing's Item object properties are the same as those of the original (ended) listing. By setting a new value in the Item object, the new listing uses the new value rather than the corresponding value from the old listing.
Input property: DeletedField - Specifies the name of the field to delete from a listing. See the eBay Features Guide for rules on deleting values when relisting items. Also see the relevant field descriptions to determine when to use DeletedField (and potential consequences). The request can contain zero, one, or many instances of DeletedField (one for each field to be deleted).

Case-sensitivity must be taken into account when using a DeletedField tag to delete a field. The value passed into a DeletedField tag must either match the case of the schema element names in the full field path (Item.PictureDetails.GalleryURL), or the initial letter of each schema element name in the full field path must be lowercase (item.pictureDetails.galleryURL). Do not change the case of letters in the middle of a field name. For example, item.picturedetails.galleryUrl is not allowed.

To delete a listing enhancement like 'BoldTitle', specify the value you are deleting; for example, Item.ListingEnhancement[BoldTitle].
Output property: ReturnedItemID - Unique item ID for the new listing. As VerifyRelistItem does not actually relist an item, returns 0 instead of a normal item ID.
Output property: 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.
Output property: ReturnedStartTime - Date and time the new listing became active on the eBay site.
Output property: ReturnedEndTime - Date and time when the new listing ends. This is the starting time plus the listing duration.
Output property: ReturnedDiscountReason - The nature of the discount, if a discount would have applied had this actually been listed at this time.
Output property: ReturnedProductSuggestions - Provides a list of products recommended by eBay which match the item information provided by the seller.
Output property: 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.

This container is only returned if the IncludeRecommendations flag was included and set to 'true' in the VerifyRelistItem request, and if at least one listing recommendation exists for the item about to be relisted. If one or more listing recommendations are returned, it will be at the seller's discretion about whether to revise the item based on eBay's listing recommendation(s) before actually relisting the item through a RelistItem call.

Version:
1.0
Author:
Ron Murphy

Field Summary
 
Fields inherited from class com.ebay.sdk.ApiCall
apiException, sendReqListeners
 
Constructor Summary
VerifyRelistItemCall()
          Constructor.
VerifyRelistItemCall(ApiContext apiContext)
          Constructor.
 
Method Summary
 String[] getDeletedField()
          Gets the VerifyRelistItemRequestType.deletedField.
 ItemType getItem()
          Gets the VerifyRelistItemRequestType.item.
 DiscountReasonCodeType[] getReturnedDiscountReason()
          Valid after executing the API.
 Calendar getReturnedEndTime()
          Valid after executing the API.
 FeesType getReturnedFees()
          Valid after executing the API.
 String getReturnedItemID()
          Valid after executing the API.
 ListingRecommendationsType getReturnedListingRecommendations()
          Valid after executing the API.
 ProductSuggestionsType getReturnedProductSuggestions()
          Valid after executing the API.
 Calendar getReturnedStartTime()
          Valid after executing the API.
 void setDeletedField(String[] deletedField)
          Sets the VerifyRelistItemRequestType.deletedField.
 void setItem(ItemType item)
          Sets the VerifyRelistItemRequestType.item.
 String verifyRelistItem()
          Enable the seller to verify that the data they plan to pass into a RelistItem call will produce the results that you are expecting, including a successful call with no errors.
 
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

VerifyRelistItemCall

public VerifyRelistItemCall()
Constructor.


VerifyRelistItemCall

public VerifyRelistItemCall(ApiContext apiContext)
Constructor.

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

verifyRelistItem

public String verifyRelistItem()
                        throws ApiException,
                               SdkException,
                               Exception
Enable the seller to verify that the data they plan to pass into a RelistItem call will produce the results that you are expecting, including a successful call with no errors.

Returns:
The String object.
Throws:
ApiException
SdkException
Exception

getDeletedField

public String[] getDeletedField()
Gets the VerifyRelistItemRequestType.deletedField.

Returns:
String[]

setDeletedField

public void setDeletedField(String[] deletedField)
Sets the VerifyRelistItemRequestType.deletedField.

Parameters:
deletedField - String[]

getItem

public ItemType getItem()
Gets the VerifyRelistItemRequestType.item.

Returns:
ItemType

setItem

public void setItem(ItemType item)
Sets the VerifyRelistItemRequestType.item.

Parameters:
item - ItemType

getReturnedDiscountReason

public DiscountReasonCodeType[] getReturnedDiscountReason()
Valid after executing the API. Gets the returned VerifyRelistItemResponseType.returnedDiscountReason.

Returns:
DiscountReasonCodeType[]

getReturnedEndTime

public Calendar getReturnedEndTime()
Valid after executing the API. Gets the returned VerifyRelistItemResponseType.returnedEndTime.

Returns:
Calendar

getReturnedFees

public FeesType getReturnedFees()
Valid after executing the API. Gets the returned VerifyRelistItemResponseType.returnedFees.

Returns:
FeesType

getReturnedItemID

public String getReturnedItemID()
Valid after executing the API. Gets the returned VerifyRelistItemResponseType.returnedItemID.

Returns:
String

getReturnedListingRecommendations

public ListingRecommendationsType getReturnedListingRecommendations()
Valid after executing the API. Gets the returned VerifyRelistItemResponseType.returnedListingRecommendations.

Returns:
ListingRecommendationsType

getReturnedProductSuggestions

public ProductSuggestionsType getReturnedProductSuggestions()
Valid after executing the API. Gets the returned VerifyRelistItemResponseType.returnedProductSuggestions.

Returns:
ProductSuggestionsType

getReturnedStartTime

public Calendar getReturnedStartTime()
Valid after executing the API. Gets the returned VerifyRelistItemResponseType.returnedStartTime.

Returns:
Calendar

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.