A message that will be displayed with a Valuable
JSON representation |
---|
{ "kind": string, "header": string, "body": string, "displayInterval": { object ( |
Fields | |
---|---|
kind |
Identifies what kind of resource this is. Value: the fixed string |
header |
The message header. |
body |
The message body. |
displayInterval |
The period of time that the message will be displayed to users. You can define both a |
id |
The ID associated with a message. This field is here to enable ease of management of messages. Notice ID values could possibly duplicate across multiple messages in the same class/instance, and care must be taken to select a reasonable ID for each message. |
messageType |
The type of the message. Currently, this can only be set for offers. |
localizedHeader |
Translated strings for the message header. |
localizedBody |
Translated strings for the message body. |
MessageType
Enums | |
---|---|
MESSAGE_TYPE_UNSPECIFIED |
|
TEXT |
Renders the message as text on the card details screen. This is the default message type. |
text |
Legacy alias for |
EXPIRATION_NOTIFICATION |
Notification to display for an offer expiration. The displayInterval.start.date sets the time the notification will appear. It can be set up to 30 days prior to the expiration date. If a time span greater than this is specified, then the notification will trigger at the 30 day mark. |
expirationNotification |
Legacy alias for |