PluginProbe ʕ •ᴥ•ʔ
Booking for Appointments and Events Calendar – Amelia / 1.2.32
Booking for Appointments and Events Calendar – Amelia v1.2.32
2.4.9 2.4.8 2.4.7 2.4.6 2.4.5 2.4.4 2.4.3 2.4.2 2.4.1 2.4 trunk 1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.18 1.2.19 1.2.2 1.2.20 1.2.21 1.2.22 1.2.23 1.2.24 1.2.25 1.2.26 1.2.27 1.2.28 1.2.29 1.2.3 1.2.30 1.2.31 1.2.32 1.2.33 1.2.34 1.2.35 1.2.36 1.2.37 1.2.38 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.1.3 2.2 2.2.1 2.3
ameliabooking / src / Domain / Entity / Settings / Settings.php
ameliabooking / src / Domain / Entity / Settings Last commit date
GeneralSettings.php 1 year ago GoogleMeetSettings.php 1 year ago LessonSpaceSettings.php 1 year ago MicrosoftTeamsSettings.php 1 year ago PaymentLinksSettings.php 1 year ago PaymentMollieSettings.php 1 year ago PaymentPayPalSettings.php 1 year ago PaymentSettings.php 1 year ago PaymentSquareSettings.php 1 year ago PaymentStripeSettings.php 1 year ago PaymentWooCommerceSettings.php 1 year ago Settings.php 1 year ago ZoomSettings.php 1 year ago
Settings.php
142 lines
1 <?php
2
3 /**
4 * @copyright © TMS-Plugins. All rights reserved.
5 * @licence See LICENCE.md for license details.
6 */
7
8 namespace AmeliaBooking\Domain\Entity\Settings;
9
10 /**
11 * Class Settings
12 *
13 * @package AmeliaBooking\Domain\Entity\Settings
14 */
15 class Settings
16 {
17 /** @var GeneralSettings */
18 private $generalSettings;
19
20 /** @var PaymentSettings */
21 private $paymentSettings;
22
23 /** @var ZoomSettings */
24 private $zoomSettings;
25
26 /** @var LessonSpaceSettings */
27 private $lessonSpaceSettings;
28
29 /** @var GoogleMeetSettings */
30 private $googleMeetSettings;
31
32 /** @var MicrosoftTeamsSettings */
33 private $microsoftTeamsSettings;
34
35 /**
36 * @return GeneralSettings
37 */
38 public function getGeneralSettings()
39 {
40 return $this->generalSettings;
41 }
42
43 /**
44 * @param GeneralSettings $generalSettings
45 */
46 public function setGeneralSettings($generalSettings)
47 {
48 $this->generalSettings = $generalSettings;
49 }
50
51 /**
52 * @return PaymentSettings
53 */
54 public function getPaymentSettings()
55 {
56 return $this->paymentSettings;
57 }
58
59 /**
60 * @param PaymentSettings $paymentSettings
61 */
62 public function setPaymentSettings($paymentSettings)
63 {
64 $this->paymentSettings = $paymentSettings;
65 }
66
67 /**
68 * @return ZoomSettings
69 */
70 public function getZoomSettings()
71 {
72 return $this->zoomSettings;
73 }
74
75 /**
76 * @param ZoomSettings $zoomSettings
77 */
78 public function setZoomSettings($zoomSettings)
79 {
80 $this->zoomSettings = $zoomSettings;
81 }
82
83 /**
84 * @return LessonSpaceSettings
85 */
86 public function getLessonSpaceSettings()
87 {
88 return $this->lessonSpaceSettings;
89 }
90
91 /**
92 * @param LessonSpaceSettings $lessonSpaceSettings
93 */
94 public function setLessonSpaceSettings($lessonSpaceSettings)
95 {
96 $this->lessonSpaceSettings = $lessonSpaceSettings;
97 }
98
99 /**
100 * @return GoogleMeetSettings
101 */
102 public function getGoogleMeetSettings()
103 {
104 return $this->googleMeetSettings;
105 }
106
107 /**
108 * @param GoogleMeetSettings $googleMeetSettings
109 */
110 public function setGoogleMeetSettings($googleMeetSettings)
111 {
112 $this->googleMeetSettings = $googleMeetSettings;
113 }
114
115 /**
116 * @return MicrosoftTeamsSettings
117 */
118 public function getMicrosoftTeamsSettings()
119 {
120 return $this->microsoftTeamsSettings;
121 }
122
123 /**
124 * @param MicrosoftTeamsSettings $microsoftTeamsSettings
125 */
126 public function setMicrosoftTeamsSettings($microsoftTeamsSettings)
127 {
128 $this->microsoftTeamsSettings = $microsoftTeamsSettings;
129 }
130
131 /**
132 * @return array
133 */
134 public function toArray()
135 {
136 return [
137 'general' => $this->getGeneralSettings() ? $this->getGeneralSettings()->toArray() : null,
138 'payments' => $this->getPaymentSettings() ? $this->getPaymentSettings()->toArray() : null,
139 ];
140 }
141 }
142