CampaignRequest¶
-
public class
CampaignRequest
¶ This is the document to enroll an entity into a campaign
Constructors¶
CampaignRequest¶
-
public
CampaignRequest
(String externalId, String campaignName, LocalDate referenceDate, Time startTime)¶ Creates a request for enrollment into a campaign. Holds all fields required for the enrollment.
Parameters: - externalId – a client defined id to identify the enrollment
- campaignName – the campaign into which the entity should be enrolled
- referenceDate – the date the campaign has started for this enrollment. It can be a past date resulting in a delayed enrollment.
- startTime – time of the day at which the alert must be raised. This overrides the campaign’s deliverTime.