public sealed class Rule.Types.ReplacementAction : IMessage<Rule.Types.ReplacementAction>, IEquatable<Rule.Types.ReplacementAction>, IDeepCloneable<Rule.Types.ReplacementAction>, IBufferMessage, IMessage
Reference documentation and code samples for the Retail v2 API class Rule.Types.ReplacementAction.
Replaces a term in the query. Multiple replacement candidates can be
specified. All query_terms will be replaced with the replacement term.
Example: Replace "gShoe" with "google shoe".
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The `Rule.Types.ReplacementAction` class in the Retail v2 API allows for the replacement of terms in a search query, such as replacing \"gShoe\" with \"google shoe\"."],["The latest version of this class is 2.12.0, and the documentation provides access to previous versions down to version 1.0.0."],["This class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, enabling various functionalities."],["The `ReplacementAction` class has properties like `QueryTerms` (an array of strings to be replaced) and `ReplacementTerm` (the term that replaces the specified `QueryTerms`)."],["There are two constructors for creating instances of `ReplacementAction`, either as an empty object or by copying an existing `ReplacementAction` object."]]],[]]