Changes since
the last release

com.ebay.sdk.call
Class SaveItemToSellingManagerTemplateCall

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

public class SaveItemToSellingManagerTemplateCall
extends ApiCall

Wrapper class of the SaveItemToSellingManagerTemplate 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 - ItemID which should be created as a template and saved to inventory.
Input property: ProductID - Associates the new template with a product.
Input property: TemplateName - Name associated with the template. If no name is submitted, the template will be named automatically.
Output property: ReturnedTemplateID - Template ID that is newly created.

Version:
1.0
Author:
Ron Murphy

Field Summary
 
Fields inherited from class com.ebay.sdk.ApiCall
apiException, sendReqListeners
 
Constructor Summary
SaveItemToSellingManagerTemplateCall()
          Constructor.
SaveItemToSellingManagerTemplateCall(ApiContext apiContext)
          Constructor.
 
Method Summary
 String getItemID()
          Gets the SaveItemToSellingManagerTemplateRequestType.itemID.
 Long getProductID()
          Gets the SaveItemToSellingManagerTemplateRequestType.productID.
 Long getReturnedTemplateID()
          Valid after executing the API.
 String getTemplateName()
          Gets the SaveItemToSellingManagerTemplateRequestType.templateName.
 Long saveItemToSellingManagerTemplate()
          Creates a Selling Manager listing template that is similar to an item.
 void setItemID(String itemID)
          Sets the SaveItemToSellingManagerTemplateRequestType.itemID.
 void setProductID(Long productID)
          Sets the SaveItemToSellingManagerTemplateRequestType.productID.
 void setTemplateName(String templateName)
          Sets the SaveItemToSellingManagerTemplateRequestType.templateName.
 
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

SaveItemToSellingManagerTemplateCall

public SaveItemToSellingManagerTemplateCall()
Constructor.


SaveItemToSellingManagerTemplateCall

public SaveItemToSellingManagerTemplateCall(ApiContext apiContext)
Constructor.

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

saveItemToSellingManagerTemplate

public Long saveItemToSellingManagerTemplate()
                                      throws ApiException,
                                             SdkException,
                                             Exception
Creates a Selling Manager listing template that is similar to an item. This call is subject to change without notice; the deprecation process is inapplicable to this call.

Returns:
The Long object.
Throws:
ApiException
SdkException
Exception

getItemID

public String getItemID()
Gets the SaveItemToSellingManagerTemplateRequestType.itemID.

Returns:
String

setItemID

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

Parameters:
itemID - String

getProductID

public Long getProductID()
Gets the SaveItemToSellingManagerTemplateRequestType.productID.

Returns:
Long

setProductID

public void setProductID(Long productID)
Sets the SaveItemToSellingManagerTemplateRequestType.productID.

Parameters:
productID - Long

getTemplateName

public String getTemplateName()
Gets the SaveItemToSellingManagerTemplateRequestType.templateName.

Returns:
String

setTemplateName

public void setTemplateName(String templateName)
Sets the SaveItemToSellingManagerTemplateRequestType.templateName.

Parameters:
templateName - String

getReturnedTemplateID

public Long getReturnedTemplateID()
Valid after executing the API. Gets the returned SaveItemToSellingManagerTemplateResponseType.returnedTemplateID.

Returns:
Long

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.