Poq.SDK.Node

Home > @poq/sdk-sfcc > Suggestion > (constructor)

Suggestion.(constructor)

Constructs a new instance of the Suggestion class

Signature:

constructor(params?: {
        brands?: Array<string>;
        categories?: Array<SuggestedCategory>;
        content?: Array<SuggestedContent>;
        customSuggestions?: Array<string>;
        products?: Array<SuggestedProduct>;
        suggestedPhrases?: Array<SuggestedPhrase>;
        suggestedTerms?: Array<SuggestedTerms>;
    });

Parameters

Parameter Type Description
params { brands?: Array<string>; categories?: Array<SuggestedCategory>; content?: Array<SuggestedContent>; customSuggestions?: Array<string>; products?: Array<SuggestedProduct>; suggestedPhrases?: Array<SuggestedPhrase>; suggestedTerms?: Array<SuggestedTerms>; } (Optional)