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
InstallationApplication.php
106 lines
| 1 | <?php |
| 2 | |
| 3 | namespace WonderPush\Obj; |
| 4 | |
| 5 | if (count(get_included_files()) === 1) { http_response_code(403); exit(); } // Prevent direct access |
| 6 | |
| 7 | /** |
| 8 | * DTO part for `installation.application`. |
| 9 | * @see Installation |
| 10 | * @codeCoverageIgnore |
| 11 | */ |
| 12 | class InstallationApplication extends BaseObject { |
| 13 | |
| 14 | /** @var string */ |
| 15 | private $id; |
| 16 | /** @var string */ |
| 17 | private $version; |
| 18 | /** @var string */ |
| 19 | private $sdkVersion; |
| 20 | /** @var string */ |
| 21 | private $domain; |
| 22 | /** @var InstallationApplicationApple */ |
| 23 | private $apple; |
| 24 | |
| 25 | /** |
| 26 | * @return string |
| 27 | */ |
| 28 | public function getId() { |
| 29 | return $this->id; |
| 30 | } |
| 31 | |
| 32 | /** |
| 33 | * @param string $id |
| 34 | * @return InstallationApplication |
| 35 | */ |
| 36 | public function setId($id) { |
| 37 | $this->id = $id; |
| 38 | return $this; |
| 39 | } |
| 40 | |
| 41 | /** |
| 42 | * @return string |
| 43 | */ |
| 44 | public function getVersion() { |
| 45 | return $this->version; |
| 46 | } |
| 47 | |
| 48 | /** |
| 49 | * @param string $version |
| 50 | * @return InstallationApplication |
| 51 | */ |
| 52 | public function setVersion($version) { |
| 53 | $this->version = $version; |
| 54 | return $this; |
| 55 | } |
| 56 | |
| 57 | /** |
| 58 | * @return string |
| 59 | */ |
| 60 | public function getSdkVersion() { |
| 61 | return $this->sdkVersion; |
| 62 | } |
| 63 | |
| 64 | /** |
| 65 | * @param string $sdkVersion |
| 66 | * @return InstallationApplication |
| 67 | */ |
| 68 | public function setSdkVersion($sdkVersion) { |
| 69 | $this->sdkVersion = $sdkVersion; |
| 70 | return $this; |
| 71 | } |
| 72 | |
| 73 | /** |
| 74 | * @return string |
| 75 | */ |
| 76 | public function getDomain() { |
| 77 | return $this->domain; |
| 78 | } |
| 79 | |
| 80 | /** |
| 81 | * @param string $domain |
| 82 | * @return InstallationApplication |
| 83 | */ |
| 84 | public function setDomain($domain) { |
| 85 | $this->domain = $domain; |
| 86 | return $this; |
| 87 | } |
| 88 | |
| 89 | /** |
| 90 | * @return InstallationApplicationApple |
| 91 | */ |
| 92 | public function getApple() { |
| 93 | return $this->apple; |
| 94 | } |
| 95 | |
| 96 | /** |
| 97 | * @param InstallationApplicationApple $apple |
| 98 | * @return InstallationApplication |
| 99 | */ |
| 100 | public function setApple($apple) { |
| 101 | $this->apple = BaseObject::instantiateForSetter('\WonderPush\Obj\InstallationApplicationApple', $apple); |
| 102 | return $this; |
| 103 | } |
| 104 | |
| 105 | } |
| 106 |