Changes since
the last release

com.ebay.sdk.call
Class AddSellingManagerProductCall

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

public class AddSellingManagerProductCall
extends ApiCall

Wrapper class of the AddSellingManagerProduct 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: SellingManagerProductDetails - This container is used to provide details about the Selling Manager product, such as product name, quantity available, and unit price.
Input property: FolderID - This is the unique identifier of the folder in which the new product will be placed. This folder can be a new folder or a folder that already exists for the seller in Selling Manager Pro. If no folder is specified through this field, the new product is place into the My Products folder by default.
Input property: SellingManagerProductSpecifics - This container allows the seller to specify item specifics for a product, to create a product variation group and variation specifics, and/or to specify a listing category for the product or product variation group. A product variation group can be transferred into a listing template that can create a multiple-variation listing. The listing category can either be provided through the PrimaryCategoryID value of this call, or through the Item.PrimaryCategory.CategoryID field of the subsequent AddSellingManagerTemplate call.
Output property: ReturnedSellingManagerProductDetails - This container includes the same information that was passed into the SellingManagerProductDetails container in the request, as well as a new ProductID value if the new product was successfully created.

Version:
1.0
Author:
Ron Murphy

Field Summary
 
Fields inherited from class com.ebay.sdk.ApiCall
apiException, sendReqListeners
 
Constructor Summary
AddSellingManagerProductCall()
          Constructor.
AddSellingManagerProductCall(ApiContext apiContext)
          Constructor.
 
Method Summary
 SellingManagerProductDetailsType addSellingManagerProduct()
          The base request type of the AddSellingManagerProduct call, which is used to create a product or a group of product variations within the Selling Manager Pro system.
 java.lang.Long getFolderID()
          Gets the AddSellingManagerProductRequestType.folderID.
 SellingManagerProductDetailsType getReturnedSellingManagerProductDetails()
          Valid after executing the API.
 SellingManagerProductDetailsType getSellingManagerProductDetails()
          Gets the AddSellingManagerProductRequestType.sellingManagerProductDetails.
 SellingManagerProductSpecificsType getSellingManagerProductSpecifics()
          Gets the AddSellingManagerProductRequestType.sellingManagerProductSpecifics.
 void setFolderID(java.lang.Long folderID)
          Sets the AddSellingManagerProductRequestType.folderID.
 void setSellingManagerProductDetails(SellingManagerProductDetailsType sellingManagerProductDetails)
          Sets the AddSellingManagerProductRequestType.sellingManagerProductDetails.
 void setSellingManagerProductSpecifics(SellingManagerProductSpecificsType sellingManagerProductSpecifics)
          Sets the AddSellingManagerProductRequestType.sellingManagerProductSpecifics.
 
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

AddSellingManagerProductCall

public AddSellingManagerProductCall()
Constructor.


AddSellingManagerProductCall

public AddSellingManagerProductCall(ApiContext apiContext)
Constructor.

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

addSellingManagerProduct

public SellingManagerProductDetailsType addSellingManagerProduct()
                                                          throws ApiException,
                                                                 SdkException,
                                                                 java.lang.Exception
The base request type of the AddSellingManagerProduct call, which is used to create a product or a group of product variations within the Selling Manager Pro system. Once a Selling Manager Pro product or production variation group is created, the product settings and product specifics can be transferred over into a Selling Manager Pro listing template with the AddSellingManagerTemplate call.

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

getFolderID

public java.lang.Long getFolderID()
Gets the AddSellingManagerProductRequestType.folderID.

Returns:
Long

setFolderID

public void setFolderID(java.lang.Long folderID)
Sets the AddSellingManagerProductRequestType.folderID.

Parameters:
folderID - Long

getSellingManagerProductDetails

public SellingManagerProductDetailsType getSellingManagerProductDetails()
Gets the AddSellingManagerProductRequestType.sellingManagerProductDetails.

Returns:
SellingManagerProductDetailsType

setSellingManagerProductDetails

public void setSellingManagerProductDetails(SellingManagerProductDetailsType sellingManagerProductDetails)
Sets the AddSellingManagerProductRequestType.sellingManagerProductDetails.

Parameters:
sellingManagerProductDetails - SellingManagerProductDetailsType

getSellingManagerProductSpecifics

public SellingManagerProductSpecificsType getSellingManagerProductSpecifics()
Gets the AddSellingManagerProductRequestType.sellingManagerProductSpecifics.

Returns:
SellingManagerProductSpecificsType

setSellingManagerProductSpecifics

public void setSellingManagerProductSpecifics(SellingManagerProductSpecificsType sellingManagerProductSpecifics)
Sets the AddSellingManagerProductRequestType.sellingManagerProductSpecifics.

Parameters:
sellingManagerProductSpecifics - SellingManagerProductSpecificsType

getReturnedSellingManagerProductDetails

public SellingManagerProductDetailsType getReturnedSellingManagerProductDetails()
Valid after executing the API. Gets the returned AddSellingManagerProductResponseType.returnedSellingManagerProductDetails.

Returns:
SellingManagerProductDetailsType

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.