PluginProbe ʕ •ᴥ•ʔ
Booking for Appointments and Events Calendar – Amelia / trunk
Booking for Appointments and Events Calendar – Amelia vtrunk
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 6 months ago GoogleMeetSettings.php 6 months ago LessonSpaceSettings.php 6 months ago MicrosoftTeamsSettings.php 6 months ago PaymentLinksSettings.php 6 months ago PaymentMollieSettings.php 6 months ago PaymentPayPalSettings.php 6 months ago PaymentSettings.php 6 months ago PaymentSquareSettings.php 6 months ago PaymentStripeSettings.php 6 months ago PaymentWooCommerceSettings.php 6 months ago Settings.php 6 months ago ZoomSettings.php 6 months ago
Settings.php
144 lines
1 <?php
2
3 /**
4 * @copyright © Melograno Ventures. 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 private $featuresIntegrationsSettings;
36
37 /**
38 * @return GeneralSettings
39 */
40 public function getGeneralSettings()
41 {
42 return $this->generalSettings;
43 }
44
45 /**
46 * @param GeneralSettings $generalSettings
47 */
48 public function setGeneralSettings($generalSettings)
49 {
50 $this->generalSettings = $generalSettings;
51 }
52
53 /**
54 * @return PaymentSettings
55 */
56 public function getPaymentSettings()
57 {
58 return $this->paymentSettings;
59 }
60
61 /**
62 * @param PaymentSettings $paymentSettings
63 */
64 public function setPaymentSettings($paymentSettings)
65 {
66 $this->paymentSettings = $paymentSettings;
67 }
68
69 /**
70 * @return ZoomSettings
71 */
72 public function getZoomSettings()
73 {
74 return $this->zoomSettings;
75 }
76
77 /**
78 * @param ZoomSettings $zoomSettings
79 */
80 public function setZoomSettings($zoomSettings)
81 {
82 $this->zoomSettings = $zoomSettings;
83 }
84
85 /**
86 * @return LessonSpaceSettings
87 */
88 public function getLessonSpaceSettings()
89 {
90 return $this->lessonSpaceSettings;
91 }
92
93 /**
94 * @param LessonSpaceSettings $lessonSpaceSettings
95 */
96 public function setLessonSpaceSettings($lessonSpaceSettings)
97 {
98 $this->lessonSpaceSettings = $lessonSpaceSettings;
99 }
100
101 /**
102 * @return GoogleMeetSettings
103 */
104 public function getGoogleMeetSettings()
105 {
106 return $this->googleMeetSettings;
107 }
108
109 /**
110 * @param GoogleMeetSettings $googleMeetSettings
111 */
112 public function setGoogleMeetSettings($googleMeetSettings)
113 {
114 $this->googleMeetSettings = $googleMeetSettings;
115 }
116
117 /**
118 * @return MicrosoftTeamsSettings
119 */
120 public function getMicrosoftTeamsSettings()
121 {
122 return $this->microsoftTeamsSettings;
123 }
124
125 /**
126 * @param MicrosoftTeamsSettings $microsoftTeamsSettings
127 */
128 public function setMicrosoftTeamsSettings($microsoftTeamsSettings)
129 {
130 $this->microsoftTeamsSettings = $microsoftTeamsSettings;
131 }
132
133 /**
134 * @return array
135 */
136 public function toArray()
137 {
138 return [
139 'general' => $this->getGeneralSettings() ? $this->getGeneralSettings()->toArray() : null,
140 'payments' => $this->getPaymentSettings() ? $this->getPaymentSettings()->toArray() : null,
141 ];
142 }
143 }
144