|
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.GetSuggestedCategoriesCall
public class GetSuggestedCategoriesCall
Wrapper class of the GetSuggestedCategories 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.
Query
- This field is used to specify the search query, consisting of one or
more keywords to search for in listing titles and descriptions.
The words "and" and "or" are treated like any other
word.
ReturnedSuggestedCategoryArray
- This container consists of an array of suggested listing categories for an item based on the keywords that were specified in the Query field of the call request. Up to 10 suggested categories may be returned. This container will always be returned unless the query in the request exceeds the maximum allowed characters. The quality/accuracy of the results may depend on the quality of the query string.
ReturnedCategoryCount
- This integer value indicates the number of suggested categories that were found that matched the keywords.
Field Summary |
---|
Fields inherited from class com.ebay.sdk.ApiCall |
---|
apiException, sendReqListeners |
Constructor Summary | |
---|---|
GetSuggestedCategoriesCall()
Constructor. |
|
GetSuggestedCategoriesCall(ApiContext apiContext)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getQuery()
Gets the GetSuggestedCategoriesRequestType.query. |
java.lang.Integer |
getReturnedCategoryCount()
Valid after executing the API. |
SuggestedCategoryType[] |
getReturnedSuggestedCategoryArray()
Valid after executing the API. |
SuggestedCategoryType[] |
getSuggestedCategories()
This call returns a list of up to 10 eBay categories that have the highest percentage of listings whose listing titles or descriptions contain the keywords you specify. |
void |
setQuery(java.lang.String query)
Sets the GetSuggestedCategoriesRequestType.query. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GetSuggestedCategoriesCall()
public GetSuggestedCategoriesCall(ApiContext apiContext)
apiContext
- The ApiContext object to be used to make the call.Method Detail |
---|
public SuggestedCategoryType[] getSuggestedCategories() throws ApiException, SdkException, java.lang.Exception
ApiException
SdkException
java.lang.Exception
public java.lang.String getQuery()
public void setQuery(java.lang.String query)
query
- Stringpublic java.lang.Integer getReturnedCategoryCount()
public SuggestedCategoryType[] getReturnedSuggestedCategoryArray()
|
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.