suggest(quote, fieldValuesMap)

Overrides the user suggestion input. Salesforce CPQ calls this method only when isSuggestCustom returns TRUE.

global List<PricebookEntry> suggest(SObject quote, Map<String,Object> fieldValuesMap)

quote

Type: SObject

The current quote.

fieldValuesMap

Type: Map<String,Object>

A map of the search criteria. The map key is a Product2 API name and the value is the desired search value. Contains only keys for non-null values.

Type: List<PricebookEntry>