public interface PromotionOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getPromotionId()
public abstract String getPromotionId()
ID of the promotion. For example, "free gift".
The value must be a UTF-8 encoded string with a length limit of 128
characters, and match the pattern: a-zA-Z*
. For example,
id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is
returned.
Google Merchant Center property promotion.
string promotion_id = 1;
Returns | |
---|---|
Type | Description |
String | The promotionId. |
getPromotionIdBytes()
public abstract ByteString getPromotionIdBytes()
ID of the promotion. For example, "free gift".
The value must be a UTF-8 encoded string with a length limit of 128
characters, and match the pattern: a-zA-Z*
. For example,
id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is
returned.
Google Merchant Center property promotion.
string promotion_id = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for promotionId. |