Skip to content

/AWS1/CL_CUSSUBSCREVENTITEM

Represents a single segment membership event.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_profileid TYPE /AWS1/CUSUUID /AWS1/CUSUUID

The unique identifier of a customer profile.

iv_updatedat TYPE /AWS1/CUSTIMESTAMP /AWS1/CUSTIMESTAMP

The timestamp of when the membership change was detected.

iv_eventtype TYPE /AWS1/CUSSUBSCRIPTIONEVENTTYPE /AWS1/CUSSUBSCRIPTIONEVENTTYPE

The type of event that triggered the membership change. The following are valid values:

  • LIVE: Real-time event triggered by a profile or calculated attribute change (Classic segments only).

  • SCHEDULE: Event generated during a scheduled execution.

iv_event TYPE /AWS1/CUSSUBSCRIPTIONEVENT /AWS1/CUSSUBSCRIPTIONEVENT

Whether the profile joined or left the segment. The following are valid values:

  • JOINED: The profile joined the segment.

  • LEFT: The profile left the segment.


Queryable Attributes

ProfileId

The unique identifier of a customer profile.

Accessible with the following methods

Method Description
GET_PROFILEID() Getter for PROFILEID, with configurable default
ASK_PROFILEID() Getter for PROFILEID w/ exceptions if field has no value
HAS_PROFILEID() Determine if PROFILEID has a value

UpdatedAt

The timestamp of when the membership change was detected.

Accessible with the following methods

Method Description
GET_UPDATEDAT() Getter for UPDATEDAT, with configurable default
ASK_UPDATEDAT() Getter for UPDATEDAT w/ exceptions if field has no value
HAS_UPDATEDAT() Determine if UPDATEDAT has a value

EventType

The type of event that triggered the membership change. The following are valid values:

  • LIVE: Real-time event triggered by a profile or calculated attribute change (Classic segments only).

  • SCHEDULE: Event generated during a scheduled execution.

Accessible with the following methods

Method Description
GET_EVENTTYPE() Getter for EVENTTYPE, with configurable default
ASK_EVENTTYPE() Getter for EVENTTYPE w/ exceptions if field has no value
HAS_EVENTTYPE() Determine if EVENTTYPE has a value

Event

Whether the profile joined or left the segment. The following are valid values:

  • JOINED: The profile joined the segment.

  • LEFT: The profile left the segment.

Accessible with the following methods

Method Description
GET_EVENT() Getter for EVENT, with configurable default
ASK_EVENT() Getter for EVENT w/ exceptions if field has no value
HAS_EVENT() Determine if EVENT has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_SUBSCRIPTIONEVENTSLIST

TYPES TT_SUBSCRIPTIONEVENTSLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_CUSSUBSCREVENTITEM WITH DEFAULT KEY
.