public sealed class Rule.Types.TwowaySynonymsAction : IMessage<Rule.Types.TwowaySynonymsAction>, IEquatable<Rule.Types.TwowaySynonymsAction>, IDeepCloneable<Rule.Types.TwowaySynonymsAction>, IBufferMessage, IMessage
Reference documentation and code samples for the Retail v2 API class Rule.Types.TwowaySynonymsAction.
Creates a set of terms that will be treated as synonyms of each other.
Example: synonyms of "sneakers" and "shoes":
[[["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."],[[["This webpage provides documentation for the `Rule.Types.TwowaySynonymsAction` class within the Retail v2 API, available across multiple versions, from 1.0.0 to the latest 2.12.0."],["The `Rule.Types.TwowaySynonymsAction` class creates sets of terms that function as synonyms, meaning they will be treated interchangeably, such as \"sneakers\" and \"shoes\"."],["This class implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from `object`."],["The `TwowaySynonymsAction` class features a `Synonyms` property that is a `RepeatedField` of strings, allowing for the definition of up to 100 synonyms, with a minimum of two."],["The webpage outlines two constructors for the `TwowaySynonymsAction` class, one default and one that accepts another instance of `TwowaySynonymsAction` as a parameter."]]],[]]