Class ConsentStatusEntry
Represents the consent status for a specific channel and contact point.
This class provides information about the shopper’s consent status (OPT_IN, OPT_OUT) for a particular marketing communication channel.
| Property | Description |
|---|---|
channel: String (read-only) | Returns the channel type for this consent status entry. |
contactPointValue: String (read-only) | Returns the contact point value (email address or phone number) for this consent entry. |
status: String (read-only) | Returns the consent status. |
This class does not have a constructor, so you cannot create it directly.
| Method | Description |
|---|---|
| getChannel() | Returns the channel type for this consent status entry. |
| getContactPointValue() | Returns the contact point value (email address or phone number) for this consent entry. |
| getStatus() | Returns the consent status. |
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values
- channel: String
(read-only) Returns the channel type for this consent status entry.
- contactPointValue: String
(read-only) Returns the contact point value (email address or phone number) for this consent entry.
- status: String
(read-only) Returns the consent status.
- getChannel(): String
Returns the channel type for this consent status entry.
Returns:
- The channel type (e.g., "EMAIL", "SMS", "WHATSAPP").
- getContactPointValue(): String
Returns the contact point value (email address or phone number) for this consent entry.
Returns:
- The contact point value.
- getStatus(): String
Returns the consent status.
Returns:
- The consent status (e.g., "OPT_IN", "OPT_OUT").