Salesforce B2C Commerce 23.6 > B2C Commerce API > B2C Commerce Script > dw.suggest
dw.suggest
Class SuggestedPhrase
Object
dw.suggest.SuggestedPhrase
This class represents a suggested phrase. Use getPhrase() method to get access to the phrase.
Properties
exactMatch  :  boolean  (Read Only)
This method returns a flag signaling whether this phrase is a exact match.
phrase  :  String  (Read Only)
This method returns the actual phrase as a string value.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getPhrase() : String
This method returns the actual phrase as a string value.
isExactMatch() : boolean
This method returns a flag signaling whether this phrase is a exact match.
Methods inherited from class Object
Method Detail
getPhrase
getPhrase() : String
This method returns the actual phrase as a string value.
Returns:
the phrase

isExactMatch
isExactMatch() : boolean
This method returns a flag signaling whether this phrase is a exact match.
Returns:
true if this phrase is a exact match, false otherwise

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.