PluginProbe ʕ •ᴥ•ʔ
Brevo – Email, SMS, Web Push, Chat, and more. / 3.3.4
Brevo – Email, SMS, Web Push, Chat, and more. v3.3.4
2.9.13 2.9.14 2.9.15 2.9.16 2.9.17 2.9.18 2.9.4 2.9.5 2.9.6 2.9.7 2.9.8 2.9.9 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.9 3.1.0 3.1.1 3.1.10 3.1.11 3.1.12 3.1.13 3.1.14 3.1.15 3.1.16 3.1.2 3.1.20 3.1.21 3.1.22 3.1.23 3.1.24 3.1.25 3.1.26 3.1.27 3.1.28 3.1.29 3.1.3 3.1.30 3.1.31 3.1.32 3.1.33 3.1.34 3.1.35 3.1.36 3.1.37 3.1.38 3.1.39 3.1.4 3.1.40 3.1.41 3.1.42 3.1.43 3.1.44 3.1.45 3.1.46 3.1.47 3.1.48 3.1.49 3.1.5 3.1.50 3.1.51 3.1.52 3.1.53 3.1.54 3.1.55 3.1.56 3.1.57 3.1.58 3.1.59 3.1.6 3.1.60 3.1.61 3.1.62 3.1.63 3.1.64 3.1.65 3.1.66 3.1.67 3.1.68 3.1.69 3.1.7 3.1.70 3.1.71 3.1.72 3.1.73 3.1.74 3.1.75 3.1.76 3.1.77 3.1.78 3.1.79 3.1.8 3.1.80 3.1.81 3.1.82 3.1.83 3.1.84 3.1.85 3.1.86 3.1.87 3.1.88 3.1.89 3.1.9 3.1.90 3.1.91 3.1.92 3.1.93 3.1.94 3.1.95 3.1.96 3.1.97 3.1.98 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 3.2.9 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 trunk 1.0 1.5 2.0.8 2.9.10 2.9.11 2.9.12
mailin / wonderpush-php-lib / lib / Obj / Campaign.php
mailin / wonderpush-php-lib / lib / Obj Last commit date
Application.php 11 months ago ApplicationBrevoContactSync.php 11 months ago ApplicationCollection.php 1 year ago BaseObject.php 1 year ago Campaign.php 11 months ago CampaignCapping.php 1 year ago CampaignCollection.php 1 year ago CampaignSchedule.php 1 year ago CampaignSchedulePressure.php 1 year ago CampaignScheduleUrlCriterion.php 1 year ago CampaignStats.php 1 year ago CampaignSuccessResponse.php 1 year ago CampaignUrlFilters.php 1 year ago Collection.php 1 year ago DeliveriesCreateResponse.php 1 year ago Event.php 1 year ago FrequentFieldValues.php 1 year ago GeoLocation.php 1 year ago Installation.php 1 year ago InstallationApplication.php 1 year ago InstallationApplicationApple.php 1 year ago InstallationCollection.php 1 year ago InstallationDevice.php 1 year ago InstallationDeviceCapabilities.php 1 year ago InstallationDeviceConfiguration.php 1 year ago InstallationPreferences.php 1 year ago InstallationPushToken.php 1 year ago Notification.php 1 year ago NotificationAlert.php 1 year ago NotificationAlertAndroid.php 1 year ago NotificationAlertAndroidButton.php 1 year ago NotificationAlertIos.php 1 year ago NotificationAlertIosAttachment.php 1 year ago NotificationAlertIosForeground.php 1 year ago NotificationAlertWeb.php 1 year ago NotificationAlertWebButton.php 1 year ago NotificationButton.php 1 year ago NotificationButtonAction.php 1 year ago NotificationButtonActionEvent.php 1 year ago NotificationInApp.php 1 year ago NotificationInAppButton.php 1 year ago NotificationInAppMap.php 1 year ago NotificationInAppMapPlace.php 1 year ago NotificationPush.php 1 year ago NotificationPushAndroid.php 1 year ago NotificationPushIos.php 1 year ago NotificationPushWeb.php 1 year ago NullObject.php 1 year ago Pagination.php 1 year ago Segment.php 1 year ago SegmentCollection.php 1 year ago SuccessResponse.php 1 year ago User.php 1 year ago WebDomain.php 5 months ago WebDomainSdkConfig.php 5 months ago WebSdkInitOptions.php 1 year ago
Campaign.php
386 lines
1 <?php
2
3 namespace WonderPush\Obj;
4
5 class Campaign extends BaseObject {
6 const CAMPAIGN_BUILDER_BREVO_WORDPRESS_PLUGIN = 'brevoWordPressPlugin';
7 /** @var string */
8 private $id;
9 /** @var string */
10 private $applicationId;
11 /** @var integer */
12 private $creationDate;
13 /** @var string */
14 private $name;
15 /** @var string[] */
16 private $notificationIds;
17 /** @var string[] */
18 private $channels;
19 /** @var string */
20 private $viewId;
21 /** @var string */
22 private $deliverySpeed;
23 /** @var CampaignSchedule */
24 private $scheduling;
25 /** @var CampaignCapping */
26 private $capping;
27 /** @var string */
28 private $segmentId;
29 /** @var string */
30 private $state;
31 /** @var integer */
32 private $updateDate;
33 /** @var integer */
34 private $editionDate;
35 /** @var CampaignStats */
36 private $stats;
37 /** @var Notification[] */
38 private $notifications;
39 /** @var Segment */
40 private $segment;
41 /** @var CampaignUrlFilters */
42 private $urlFilters;
43 /** @var string */
44 private $editorStaffId;
45 /** @var string */
46 private $inheritUrlParameters;
47 /** @var string */
48 private $campaignBuilder;
49
50 /**
51 * @return string
52 */
53 public function getId() {
54 return $this->id;
55 }
56
57 /**
58 * @param string $id
59 * @return Campaign
60 */
61 public function setId($id) {
62 $this->id = $id;
63 return $this;
64 }
65
66 /**
67 * @return string
68 */
69 public function getApplicationId() {
70 return $this->applicationId;
71 }
72
73 /**
74 * @param string $applicationId
75 * @return Campaign
76 */
77 public function setApplicationId($applicationId) {
78 $this->applicationId = $applicationId;
79 return $this;
80 }
81
82 /**
83 * @return int
84 */
85 public function getCreationDate() {
86 return $this->creationDate;
87 }
88
89 /**
90 * @param int $creationDate
91 * @return Campaign
92 */
93 public function setCreationDate($creationDate) {
94 $this->creationDate = $creationDate;
95 return $this;
96 }
97
98 /**
99 * @return string
100 */
101 public function getName() {
102 return $this->name;
103 }
104
105 /**
106 * @param string $name
107 * @return Campaign
108 */
109 public function setName($name) {
110 $this->name = $name;
111 return $this;
112 }
113
114 /**
115 * @return string[]
116 */
117 public function getNotificationIds() {
118 return $this->notificationIds;
119 }
120
121 /**
122 * @param string[] $notificationIds
123 * @return Campaign
124 */
125 public function setNotificationIds($notificationIds) {
126 $this->notificationIds = $notificationIds;
127 return $this;
128 }
129
130 /**
131 * @return string[]
132 */
133 public function getChannels() {
134 return $this->channels;
135 }
136
137 /**
138 * @param string[] $channels
139 * @return Campaign
140 */
141 public function setChannels($channels) {
142 $this->channels = $channels;
143 return $this;
144 }
145
146 /**
147 * @return string
148 */
149 public function getViewId() {
150 return $this->viewId;
151 }
152
153 /**
154 * @param string $viewId
155 * @return Campaign
156 */
157 public function setViewId($viewId) {
158 $this->viewId = $viewId;
159 return $this;
160 }
161
162 /**
163 * @return string
164 */
165 public function getDeliverySpeed() {
166 return $this->deliverySpeed;
167 }
168
169 /**
170 * @param string $deliverySpeed
171 * @return Campaign
172 */
173 public function setDeliverySpeed($deliverySpeed) {
174 $this->deliverySpeed = $deliverySpeed;
175 return $this;
176 }
177
178 /**
179 * @return CampaignSchedule
180 */
181 public function getScheduling() {
182 return $this->scheduling;
183 }
184
185 /**
186 * @param CampaignSchedule $scheduling
187 * @return Campaign
188 */
189 public function setScheduling($scheduling) {
190 $this->scheduling = BaseObject::instantiateForSetter('\WonderPush\Obj\CampaignSchedule', $scheduling);
191 return $this;
192 }
193
194 /**
195 * @return CampaignCapping
196 */
197 public function getCapping() {
198 return $this->capping;
199 }
200
201 /**
202 * @param CampaignCapping $capping
203 * @return Campaign
204 */
205 public function setCapping($capping) {
206 $this->capping = BaseObject::instantiateForSetter('\WonderPush\Obj\CampaignCapping', $capping);
207 return $this;
208 }
209
210 /**
211 * @return string
212 */
213 public function getSegmentId() {
214 return $this->segmentId;
215 }
216
217 /**
218 * @param string $segmentId
219 * @return Campaign
220 */
221 public function setSegmentId($segmentId) {
222 $this->segmentId = $segmentId;
223 return $this;
224 }
225
226 /**
227 * @return string
228 */
229 public function getState() {
230 return $this->state;
231 }
232
233 /**
234 * @param string $state
235 * @return Campaign
236 */
237 public function setState($state) {
238 $this->state = $state;
239 return $this;
240 }
241
242 /**
243 * @return int
244 */
245 public function getUpdateDate() {
246 return $this->updateDate;
247 }
248
249 /**
250 * @param int $updateDate
251 * @return Campaign
252 */
253 public function setUpdateDate($updateDate) {
254 $this->updateDate = $updateDate;
255 return $this;
256 }
257
258 /**
259 * @return int
260 */
261 public function getEditionDate() {
262 return $this->editionDate;
263 }
264
265 /**
266 * @param int $editionDate
267 * @return Campaign
268 */
269 public function setEditionDate($editionDate) {
270 $this->editionDate = $editionDate;
271 return $this;
272 }
273
274 /**
275 * @return CampaignStats
276 */
277 public function getStats() {
278 return $this->stats;
279 }
280
281 /**
282 * @param CampaignStats $stats
283 * @return Campaign
284 */
285 public function setStats($stats) {
286 $this->stats = BaseObject::instantiateForSetter('\WonderPush\Obj\CampaignStats', $stats);
287 return $this;
288 }
289
290 /**
291 * @return Notification[]
292 */
293 public function getNotifications() {
294 return $this->notifications;
295 }
296
297 /**
298 * @param Notification[] $notifications
299 * @return Campaign
300 */
301 public function setNotifications($notifications) {
302 $this->notifications = BaseObject::instantiateForSetter('\WonderPush\Obj\Notification[]', $notifications);
303 return $this;
304 }
305
306 /**
307 * @return Segment
308 */
309 public function getSegment() {
310 return $this->segment;
311 }
312
313 /**
314 * @param Segment $segment
315 * @return Campaign
316 */
317 public function setSegment($segment) {
318 $this->segment = BaseObject::instantiateForSetter('\WonderPush\Obj\Segment', $segment);
319 return $this;
320 }
321
322 /**
323 * @return CampaignUrlFilters
324 */
325 public function getUrlFilters() {
326 return $this->urlFilters;
327 }
328
329 /**
330 * @param CampaignUrlFilters $urlFilters
331 * @return Campaign
332 */
333 public function setUrlFilters($urlFilters) {
334 $this->urlFilters = BaseObject::instantiateForSetter('\WonderPush\Obj\CampaignUrlFilters', $urlFilters);
335 return $this;
336 }
337
338 /**
339 * @return string
340 */
341 public function getEditorStaffId() {
342 return $this->editorStaffId;
343 }
344
345 /**
346 * @param string $editorStaffId
347 * @return Campaign
348 */
349 public function setEditorStaffId($editorStaffId) {
350 $this->editorStaffId = $editorStaffId;
351 return $this;
352 }
353
354 /**
355 * @return string
356 */
357 public function getInheritUrlParameters() {
358 return $this->inheritUrlParameters;
359 }
360
361 /**
362 * @param string $inheritUrlParameters
363 * @return Campaign
364 */
365 public function setInheritUrlParameters($inheritUrlParameters) {
366 $this->inheritUrlParameters = $inheritUrlParameters;
367 return $this;
368 }
369
370 /**
371 * @return string
372 */
373 public function getCampaignBuilder() {
374 return $this->campaignBuilder;
375 }
376
377 /**
378 * @param string $inheritUrlParameters
379 * @return Campaign
380 */
381 public function setCampaignBuilder($campaignBuilder) {
382 $this->campaignBuilder = $campaignBuilder;
383 return $this;
384 }
385
386 }