public sealed class Promotion : IMessage<Promotion>, IEquatable<Promotion>, IDeepCloneable<Promotion>, IBufferMessage, IMessage
Promotion information.
Implements
IMessage<Promotion>, IEquatable<Promotion>, IDeepCloneable<Promotion>, IBufferMessage, IMessageNamespace
Google.Cloud.Retail.V2Assembly
Google.Cloud.Retail.V2.dll
Constructors
Promotion()
public Promotion()
Promotion(Promotion)
public Promotion(Promotion other)
Parameter | |
---|---|
Name | Description |
other | Promotion |
Properties
PromotionId
public string PromotionId { get; set; }
ID of the promotion. For example, "free gift".
The value value must be a UTF-8 encoded string with a length limit of 128 characters, and match the pattern: [a-zA-Z][a-zA-Z0-9_]*. For example, id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is returned.
Google Merchant Center property promotion.
Property Value | |
---|---|
Type | Description |
String |