Application.php
1 year ago
ApplicationCollection.php
1 year ago
BaseObject.php
1 year ago
Campaign.php
1 year 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
WebSdkInitOptions.php
1 year ago
CampaignStats.php
121 lines
| 1 | <?php |
| 2 | |
| 3 | namespace WonderPush\Obj; |
| 4 | |
| 5 | class CampaignStats extends BaseObject { |
| 6 | |
| 7 | /** @var integer */ |
| 8 | private $lastTriggeredDate; |
| 9 | /** @var integer */ |
| 10 | private $lastPushDate; |
| 11 | /** @var integer */ |
| 12 | private $lastPushSize; |
| 13 | /** @var CampaignStatsAllTime */ |
| 14 | private $allTime; |
| 15 | |
| 16 | /** |
| 17 | * @return int |
| 18 | */ |
| 19 | public function getLastTriggeredDate() { |
| 20 | return $this->lastTriggeredDate; |
| 21 | } |
| 22 | |
| 23 | /** |
| 24 | * @param int $lastTriggeredDate |
| 25 | * @return CampaignStats |
| 26 | */ |
| 27 | public function setLastTriggeredDate($lastTriggeredDate) { |
| 28 | $this->lastTriggeredDate = $lastTriggeredDate; |
| 29 | return $this; |
| 30 | } |
| 31 | |
| 32 | /** |
| 33 | * @return int |
| 34 | */ |
| 35 | public function getLastPushDate() { |
| 36 | return $this->lastPushDate; |
| 37 | } |
| 38 | |
| 39 | /** |
| 40 | * @param int $lastPushDate |
| 41 | * @return CampaignStats |
| 42 | */ |
| 43 | public function setLastPushDate($lastPushDate) { |
| 44 | $this->lastPushDate = $lastPushDate; |
| 45 | return $this; |
| 46 | } |
| 47 | |
| 48 | /** |
| 49 | * @return int |
| 50 | */ |
| 51 | public function getLastPushSize() { |
| 52 | return $this->lastPushSize; |
| 53 | } |
| 54 | |
| 55 | /** |
| 56 | * @param int $lastPushSize |
| 57 | * @return CampaignStats |
| 58 | */ |
| 59 | public function setLastPushSize($lastPushSize) { |
| 60 | $this->lastPushSize = $lastPushSize; |
| 61 | return $this; |
| 62 | } |
| 63 | |
| 64 | /** |
| 65 | * @return CampaignStatsAllTime |
| 66 | */ |
| 67 | public function getAllTime() { |
| 68 | return $this->allTime; |
| 69 | } |
| 70 | |
| 71 | /** |
| 72 | * @param CampaignStatsAllTime $allTime |
| 73 | * @return CampaignStats |
| 74 | */ |
| 75 | public function setAllTime($allTime) { |
| 76 | $this->allTime = BaseObject::instantiateForSetter('\WonderPush\Obj\CampaignStatsAllTime', $allTime); |
| 77 | return $this; |
| 78 | } |
| 79 | |
| 80 | } |
| 81 | |
| 82 | class CampaignStatsAllTime extends BaseObject { |
| 83 | |
| 84 | /** @var integer */ |
| 85 | private $opened; |
| 86 | /** @var integer */ |
| 87 | private $received; |
| 88 | |
| 89 | /** |
| 90 | * @return int |
| 91 | */ |
| 92 | public function getOpened() { |
| 93 | return $this->opened; |
| 94 | } |
| 95 | |
| 96 | /** |
| 97 | * @param int $opened |
| 98 | * @return CampaignStatsAllTime |
| 99 | */ |
| 100 | public function setOpened($opened) { |
| 101 | $this->opened = $opened; |
| 102 | return $this; |
| 103 | } |
| 104 | |
| 105 | /** |
| 106 | * @return int |
| 107 | */ |
| 108 | public function getReceived() { |
| 109 | return $this->received; |
| 110 | } |
| 111 | |
| 112 | /** |
| 113 | * @param int $received |
| 114 | * @return CampaignStatsAllTime |
| 115 | */ |
| 116 | public function setReceived($received) { |
| 117 | $this->received = $received; |
| 118 | return $this; |
| 119 | } |
| 120 | |
| 121 | } |