NAME

eBay::API::XML::DataType::SpellingSuggestionType

DESCRIPTION

Suggested spelling of mispelled search terms, along with the number of matching items that would have been returned if the suggestions had been used.

SYNOPSIS

INHERITANCE

eBay::API::XML::DataType::SpellingSuggestionType inherits from the eBay::API::XML::BaseDataType class

Subroutines:

setMatchingItemCount()

The number of matching items if the suggested spelling of the search term or terms had been used. If multiple terms are used, MatchingItemCount applies to the terms taken as a unit.

# Argument: 'xs:int'

getMatchingItemCount()

Calls: GetSearchResults
Returned: Conditionally
Details: DetailLevel: ItemReturnAttributes, ItemReturnCategories, none, ReturnAll

# Returns: 'xs:int'

setText()

Suggestion for a different spelling of the search term or terms. The suggestions are given in Text tags and the suggestion for the first word is given before the suggestion for subsequent words. Suggestions are based on correctly-spelled terms in items, so suggestions vary over time and depend on whether a word or word combination is in one or more items.

# Argument: reference to an array of 'xs:string'

getText()

Calls: GetSearchResults
Returned: Conditionally
Details: DetailLevel: ItemReturnAttributes, ItemReturnCategories, none, ReturnAll

# Returns: reference to an array of 'xs:string'