Changes since
the last release

com.ebay.sdk.call
Class ReviseInventoryStatusCall

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

public class ReviseInventoryStatusCall
extends ApiCall

Wrapper class of the ReviseInventoryStatus 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: InventoryStatus - One InventoryStatus container is required for each item or item variation that is being revised. Whether updating the price and/or quantity of a single-variation listing or a specific variation within a multiple-variation listing, the limit of items or item variations that can be modified with one call is four.
Output property: ReturnedInventoryStatus - One InventoryStatus container is returned for each item or item variation that was revised. Whether updating the price and/or quantity of a single-variation listing or a specific variation within a multiple-variation listing, the limit of items or item variations that can be modified with one call is four.

Note that all four elements of this container are returned even if these fields would not supplied in the call request. The SKU field is returned as an empty tag if it is not defined for a single-variation listing.
Output property: ReturnedFees - A Fees container is returned for each fixed-price listing that was modified with the ReviseInventoryStatus call. This container consists of the estimated listing fees for the revised listing, and the listing is identified in the ItemID field. 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. Note that these fees are at the listing level, so if multiple variations within a multiple-variation listing were modified, the fees in this container would be cumulative totals, and would not single out the fees associated with each modified item variation.

Please note that since fees are returned at the listing level, it is possible that the response will include one Fees container and four InventoryStatus containers if you made revisions to four different item variations within the same multiple-variation listing.

Version:
1.0
Author:
Ron Murphy

Field Summary
 
Fields inherited from class com.ebay.sdk.ApiCall
apiException, sendReqListeners
 
Constructor Summary
ReviseInventoryStatusCall()
          Constructor.
ReviseInventoryStatusCall(ApiContext apiContext)
          Constructor.
 
Method Summary
 InventoryStatusType[] getInventoryStatus()
          Gets the ReviseInventoryStatusRequestType.inventoryStatus.
 InventoryFeesType[] getReturnedFees()
          Valid after executing the API.
 InventoryStatusType[] getReturnedInventoryStatus()
          Valid after executing the API.
 InventoryStatusType[] reviseInventoryStatus()
          Enables a seller to change the price and/or quantity of one to four active, fixed-price listings.
 void setInventoryStatus(InventoryStatusType[] inventoryStatus)
          Sets the ReviseInventoryStatusRequestType.inventoryStatus.
 
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

ReviseInventoryStatusCall

public ReviseInventoryStatusCall()
Constructor.


ReviseInventoryStatusCall

public ReviseInventoryStatusCall(ApiContext apiContext)
Constructor.

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

reviseInventoryStatus

public InventoryStatusType[] reviseInventoryStatus()
                                            throws ApiException,
                                                   SdkException,
                                                   java.lang.Exception
Enables a seller to change the price and/or quantity of one to four active, fixed-price listings. The fixed-price listing to modify is identified with the ItemID of the listing and/or the SKU value of the item (if a seller-defined SKU value exists for the listing). If the seller is modifying one or more variations within a multiple-variation listing, the ItemID and SKU fields in the InventoryStatus container become required, with the ItemID value identifying the listing, and the SKU value identifying the specific product variation within that multiple-variation listing. Each variation within a multiple-variation listing requires a seller-defined SKU value.

Whether updating the price and/or quantity of a single-variation listing or a specific variation within a multiple-variation listing, the limit of items or item variations that can be modified with one call is four.

Returns:
The InventoryStatusType[] object.
Throws:
ApiException
SdkException
java.lang.Exception

getInventoryStatus

public InventoryStatusType[] getInventoryStatus()
Gets the ReviseInventoryStatusRequestType.inventoryStatus.

Returns:
InventoryStatusType[]

setInventoryStatus

public void setInventoryStatus(InventoryStatusType[] inventoryStatus)
Sets the ReviseInventoryStatusRequestType.inventoryStatus.

Parameters:
inventoryStatus - InventoryStatusType[]

getReturnedFees

public InventoryFeesType[] getReturnedFees()
Valid after executing the API. Gets the returned ReviseInventoryStatusResponseType.returnedFees.

Returns:
InventoryFeesType[]

getReturnedInventoryStatus

public InventoryStatusType[] getReturnedInventoryStatus()
Valid after executing the API. Gets the returned ReviseInventoryStatusResponseType.returnedInventoryStatus.

Returns:
InventoryStatusType[]

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.