Class Promotion (1.3.0)

public sealed class Promotion : IMessage<Promotion>, IEquatable<Promotion>, IDeepCloneable<Promotion>, IBufferMessage, IMessage

Promotion information.

Inheritance

Object > Promotion

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

Promotion()

public Promotion()

Promotion(Promotion)

public Promotion(Promotion other)
Parameter
NameDescription
otherPromotion

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
TypeDescription
String