|
Changes since the last release |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ebay.sdk.ApiCall
com.ebay.sdk.call.AddSellingManagerTemplateCall
public class AddSellingManagerTemplateCall
Wrapper class of the AddSellingManagerTemplate 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.
Item - Contains the data in your template, i.e. the data needed to
list an item. The item data you specify will be used
when you list items from the template you are adding.
SaleTemplateName - The name you provide for the template. If you don't specify
a name, then Item.Title is used as the name.
ProductID - The ID of the product with which the template will be associated.
Before calling AddSellingManagerTemplate, you can obtain a product ID
from the response of an AddSellingManagerProduct call.
That is, after you add a product using AddSellingManagerProduct, a product ID is
returned in the SellingManagerProductDetails.ProductID field.
The GetSellingManagerTemplates
call also returns product IDs.
Alternatively, you can obtain information about a user's existing
products, including the product IDs, by calling GetSellingManagerInventory.
ReturnedCategoryID - ID of the primary category in which the item would be listed.
ReturnedCategory2ID - ID of the secondary category (if any) in which the item would be listed.
ReturnedSaleTemplateID - The ID of the Selling Manager template. Store this value, for use in
other Selling Manager calls.
ReturnedSaleTemplateGroupID - Ignore this value. For the output value that indicates the
ID of the product associated with the template,
use SellingManagerProductDetails.ProductID.
ReturnedSaleTemplateName - The name of the template, as it will appear in Selling Manager Pro.
This name is the input value you provided in the SaleTemplateName field.
If you didn't specify a value for
SaleTemplateName, then Item.Title is used as the name.
ReturnedSellingManagerProductDetails - The details of the product with which the template is associated.
ReturnedFees - Child elements contain the estimated listing fees for the new listing template.
Note that the fee will only be charged when an item is created from the template.
The fees do not include the Final Value Fee (FVF), which cannot be determined
until an item is sold.
| Field Summary |
|---|
| Fields inherited from class com.ebay.sdk.ApiCall |
|---|
apiException, sendReqListeners |
| Constructor Summary | |
|---|---|
AddSellingManagerTemplateCall()
Constructor. |
|
AddSellingManagerTemplateCall(ApiContext apiContext)
Constructor. |
|
| Method Summary | |
|---|---|
Long |
addSellingManagerTemplate()
Adds a Selling Manager template. |
ItemType |
getItem()
Gets the AddSellingManagerTemplateRequestType.item. |
Long |
getProductID()
Gets the AddSellingManagerTemplateRequestType.productID. |
Long |
getReturnedCategory2ID()
Valid after executing the API. |
Long |
getReturnedCategoryID()
Valid after executing the API. |
FeesType |
getReturnedFees()
Valid after executing the API. |
Long |
getReturnedSaleTemplateGroupID()
Valid after executing the API. |
Long |
getReturnedSaleTemplateID()
Valid after executing the API. |
String |
getReturnedSaleTemplateName()
Valid after executing the API. |
SellingManagerProductDetailsType |
getReturnedSellingManagerProductDetails()
Valid after executing the API. |
String |
getSaleTemplateName()
Gets the AddSellingManagerTemplateRequestType.saleTemplateName. |
void |
setItem(ItemType item)
Sets the AddSellingManagerTemplateRequestType.item. |
void |
setProductID(Long productID)
Sets the AddSellingManagerTemplateRequestType.productID. |
void |
setSaleTemplateName(String saleTemplateName)
Sets the AddSellingManagerTemplateRequestType.saleTemplateName. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AddSellingManagerTemplateCall()
public AddSellingManagerTemplateCall(ApiContext apiContext)
apiContext - The ApiContext object to be used to make the call.| Method Detail |
|---|
public Long addSellingManagerTemplate()
throws ApiException,
SdkException,
Exception
ApiException
SdkException
Exceptionpublic ItemType getItem()
public void setItem(ItemType item)
item - ItemTypepublic Long getProductID()
public void setProductID(Long productID)
productID - Longpublic String getSaleTemplateName()
public void setSaleTemplateName(String saleTemplateName)
saleTemplateName - Stringpublic Long getReturnedCategory2ID()
public Long getReturnedCategoryID()
public FeesType getReturnedFees()
public Long getReturnedSaleTemplateGroupID()
public Long getReturnedSaleTemplateID()
public String getReturnedSaleTemplateName()
public SellingManagerProductDetailsType getReturnedSellingManagerProductDetails()
|
Changes since the last release |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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.