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 item ID that identifies the item listing that you want to end.

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 ItemID.
Input property: EndingReason - Indicates the seller's reason for ending the listing early. This field is required if the seller is ending the item early and the item did not successfully sell.
Input property: SKU - The unique SKU of the item being ended. A SKU (stock keeping unit) is an identifier defined by a seller. SKU can only be used to end an item if you listed the item by using AddFixedPriceItem or RelistFixedPriceItem, and you set Item.InventoryTrackingMethod to SKU at the time the item was listed. (These criteria are necessary to uniquely identify the listing by a 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 ItemID.

To remove a SKU when you revise or relist an item, use DeletedField in the revision or relist call.
Output property: ReturnedEndTime - Timestamp that indicates the date and time (GMT) that the specified item listing was ended.
Output property: ReturnedSKU - If a SKU (stock-keeping unit) exists for the item 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
 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.
 String getItemID()
          Gets the EndFixedPriceItemRequestType.itemID.
 Calendar getReturnedEndTime()
          Valid after executing the API.
 String getReturnedSKU()
          Valid after executing the API.
 String getSKU()
          Gets the EndFixedPriceItemRequestType.sKU.
 void setEndingReason(EndReasonCodeType endingReason)
          Sets the EndFixedPriceItemRequestType.endingReason.
 void setItemID(String itemID)
          Sets the EndFixedPriceItemRequestType.itemID.
 void setSKU(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, 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

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 Calendar endFixedPriceItem()
                           throws ApiException,
                                  SdkException,
                                  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
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 String getItemID()
Gets the EndFixedPriceItemRequestType.itemID.

Returns:
String

setItemID

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

Parameters:
itemID - String

getSKU

public String getSKU()
Gets the EndFixedPriceItemRequestType.sKU.

Returns:
String

setSKU

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

Parameters:
sKU - String

getReturnedEndTime

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

Returns:
Calendar

getReturnedSKU

public 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.