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 Summary 

PropertyDescription
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.

Constructor Summary 

This class does not have a constructor, so you cannot create it directly.

Method Summary 

MethodDescription
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.

Methods inherited from class Object 

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

Property Details 

channel 

channel: String (read-only)

Returns the channel type for this consent status entry.


contactPointValue 

contactPointValue: String (read-only)

Returns the contact point value (email address or phone number) for this consent entry.


status 

status: String (read-only)

Returns the consent status.


Method Details 

getChannel() 

getChannel(): String

Returns the channel type for this consent status entry.

Returns:

  • The channel type (e.g., "EMAIL", "SMS", "WHATSAPP").

getContactPointValue() 

getContactPointValue(): String

Returns the contact point value (email address or phone number) for this consent entry.

Returns:

  • The contact point value.

getStatus() 

getStatus(): String

Returns the consent status.

Returns:

  • The consent status (e.g., "OPT_IN", "OPT_OUT").