CampaignEnrollment¶
-
public class
CampaignEnrollment
¶ Domain representation of an enrollment for the message campaign.
Constructors¶
Methods¶
copyFrom¶
-
public CampaignEnrollment
copyFrom
(CampaignEnrollment enrollment)¶ Updates this campaign enrollment with the values taken from the other campaign enrollment. All of the fields of this class will be replaced, except of the
id
andcampaignName
.Parameters: - enrollment – a campaign enrollment to update the values from
getStatus¶
-
public CampaignEnrollmentStatus
getStatus
()¶
isActive¶
-
public boolean
isActive
()¶ Returns: true, if the status of this enrollment is ACTIVE; false otherwise
setStatus¶
-
public void
setStatus
(CampaignEnrollmentStatus status)¶