Changes since
the last release

com.ebay.sdk.call
Class EndFixedPriceItemCall

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

public class EndFixedPriceItemCall
extends ApiCall

Wrapper class of the EndFixedPriceItem 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: ItemID - Unique identifier of the listing that you want to end.

In the EndFixedPriceItem request, either ItemID or SKU value is required. If both are passed in and they don't refer to the same listing, eBay ignores SKU and considers only the ItemID.
Input property: EndingReason - The seller's reason for ending the listing early is input into this required field. The seller is not allowed to use the ProductDeleted value, as this ending reason can only be used internally by eBay to administratively end a listing due to the associated Catalog product being removed from the eBay Catalog.
Input property: SKU - The seller-defined SKU (stock keeping unit) value of the item in the listing being ended. The SKU field can only be used to end a listing if that listing was created or relisted with an AddFixedPriceItem or RelistFixedPriceItem call, and the Item.InventoryTrackingMethod was included in the call and set to SKU.

In the EndFixedPriceItem request, either ItemID or SKU is required. If both are passed in and they don't refer to the same listing, eBay ignores SKU and considers only the lt;b>ItemID.
Output property: ReturnedEndTime - Timestamp that indicates the date and time (GMT) that the specified listing was ended.
Output property: ReturnedSKU - If a SKU (stock-keeping unit) exists for the item in the listing, it is returned in the response.

Version:
1.0
Author:
Ron Murphy

Field Summary
 
Fields inherited from class com.ebay.sdk.ApiCall
apiException, sendReqListeners
 
Constructor Summary
EndFixedPriceItemCall()
          Constructor.
EndFixedPriceItemCall(ApiContext apiContext)
          Constructor.
 
Method Summary
 java.util.Calendar endFixedPriceItem()
          Ends the specified fixed-price listing before the date and time at which it would normally end (per the listing duration).
 EndReasonCodeType getEndingReason()
          Gets the EndFixedPriceItemRequestType.endingReason.
 java.lang.String getItemID()
          Gets the EndFixedPriceItemRequestType.itemID.
 java.util.Calendar getReturnedEndTime()
          Valid after executing the API.
 java.lang.String getReturnedSKU()
          Valid after executing the API.
 java.lang.String getSKU()
          Gets the EndFixedPriceItemRequestType.sKU.
 void setEndingReason(EndReasonCodeType endingReason)
          Sets the EndFixedPriceItemRequestType.endingReason.
 void setItemID(java.lang.String itemID)
          Sets the EndFixedPriceItemRequestType.itemID.
 void setSKU(java.lang.String sKU)
          Sets the EndFixedPriceItemRequestType.sKU.
 
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, isEnableoAuthTokenHTTPHeader, removeSendRequestListener, setApiContext, setBotBlock, setCallRetry, setDetailLevel, setEnableCompression, setEnableoAuthTokenHTTPHeader, 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

EndFixedPriceItemCall

public EndFixedPriceItemCall()
Constructor.


EndFixedPriceItemCall

public EndFixedPriceItemCall(ApiContext apiContext)
Constructor.

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

endFixedPriceItem

public java.util.Calendar endFixedPriceItem()
                                     throws ApiException,
                                            SdkException,
                                            java.lang.Exception
Ends the specified fixed-price listing before the date and time at which it would normally end (per the listing duration).

Returns:
The Calendar object.
Throws:
ApiException
SdkException
java.lang.Exception

getEndingReason

public EndReasonCodeType getEndingReason()
Gets the EndFixedPriceItemRequestType.endingReason.

Returns:
EndReasonCodeType

setEndingReason

public void setEndingReason(EndReasonCodeType endingReason)
Sets the EndFixedPriceItemRequestType.endingReason.

Parameters:
endingReason - EndReasonCodeType

getItemID

public java.lang.String getItemID()
Gets the EndFixedPriceItemRequestType.itemID.

Returns:
String

setItemID

public void setItemID(java.lang.String itemID)
Sets the EndFixedPriceItemRequestType.itemID.

Parameters:
itemID - String

getSKU

public java.lang.String getSKU()
Gets the EndFixedPriceItemRequestType.sKU.

Returns:
String

setSKU

public void setSKU(java.lang.String sKU)
Sets the EndFixedPriceItemRequestType.sKU.

Parameters:
sKU - String

getReturnedEndTime

public java.util.Calendar getReturnedEndTime()
Valid after executing the API. Gets the returned EndFixedPriceItemResponseType.returnedEndTime.

Returns:
Calendar

getReturnedSKU

public java.lang.String getReturnedSKU()
Valid after executing the API. Gets the returned EndFixedPriceItemResponseType.returnedSKU.

Returns:
String

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.