PluginProbe ʕ •ᴥ•ʔ
Booking for Appointments and Events Calendar – Amelia / 1.2.20
Booking for Appointments and Events Calendar – Amelia v1.2.20
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 2 years ago LessonSpaceSettings.php 4 years ago MicrosoftTeamsSettings.php 1 year ago PaymentLinksSettings.php 3 years ago PaymentMollieSettings.php 5 years ago PaymentPayPalSettings.php 6 years ago PaymentSettings.php 1 year ago PaymentSquareSettings.php 1 year ago PaymentStripeSettings.php 6 years ago PaymentWooCommerceSettings.php 6 years ago Settings.php 1 year ago ZoomSettings.php 6 years ago
Settings.php
141 lines
1 <?php
2 /**
3 * @copyright © TMS-Plugins. All rights reserved.
4 * @licence See LICENCE.md for license details.
5 */
6
7 namespace AmeliaBooking\Domain\Entity\Settings;
8
9 /**
10 * Class Settings
11 *
12 * @package AmeliaBooking\Domain\Entity\Settings
13 */
14 class Settings
15 {
16 /** @var GeneralSettings */
17 private $generalSettings;
18
19 /** @var PaymentSettings */
20 private $paymentSettings;
21
22 /** @var ZoomSettings */
23 private $zoomSettings;
24
25 /** @var LessonSpaceSettings */
26 private $lessonSpaceSettings;
27
28 /** @var GoogleMeetSettings */
29 private $googleMeetSettings;
30
31 /** @var MicrosoftTeamsSettings */
32 private $microsoftTeamsSettings;
33
34 /**
35 * @return GeneralSettings
36 */
37 public function getGeneralSettings()
38 {
39 return $this->generalSettings;
40 }
41
42 /**
43 * @param GeneralSettings $generalSettings
44 */
45 public function setGeneralSettings($generalSettings)
46 {
47 $this->generalSettings = $generalSettings;
48 }
49
50 /**
51 * @return PaymentSettings
52 */
53 public function getPaymentSettings()
54 {
55 return $this->paymentSettings;
56 }
57
58 /**
59 * @param PaymentSettings $paymentSettings
60 */
61 public function setPaymentSettings($paymentSettings)
62 {
63 $this->paymentSettings = $paymentSettings;
64 }
65
66 /**
67 * @return ZoomSettings
68 */
69 public function getZoomSettings()
70 {
71 return $this->zoomSettings;
72 }
73
74 /**
75 * @param ZoomSettings $zoomSettings
76 */
77 public function setZoomSettings($zoomSettings)
78 {
79 $this->zoomSettings = $zoomSettings;
80 }
81
82 /**
83 * @return LessonSpaceSettings
84 */
85 public function getLessonSpaceSettings()
86 {
87 return $this->lessonSpaceSettings;
88 }
89
90 /**
91 * @param LessonSpaceSettings $lessonSpaceSettings
92 */
93 public function setLessonSpaceSettings($lessonSpaceSettings)
94 {
95 $this->lessonSpaceSettings = $lessonSpaceSettings;
96 }
97
98 /**
99 * @return GoogleMeetSettings
100 */
101 public function getGoogleMeetSettings()
102 {
103 return $this->googleMeetSettings;
104 }
105
106 /**
107 * @param GoogleMeetSettings $googleMeetSettings
108 */
109 public function setGoogleMeetSettings($googleMeetSettings)
110 {
111 $this->googleMeetSettings = $googleMeetSettings;
112 }
113
114 /**
115 * @return MicrosoftTeamsSettings
116 */
117 public function getMicrosoftTeamsSettings()
118 {
119 return $this->microsoftTeamsSettings;
120 }
121
122 /**
123 * @param MicrosoftTeamsSettings $microsoftTeamsSettings
124 */
125 public function setMicrosoftTeamsSettings($microsoftTeamsSettings)
126 {
127 $this->microsoftTeamsSettings = $microsoftTeamsSettings;
128 }
129
130 /**
131 * @return array
132 */
133 public function toArray()
134 {
135 return [
136 'general' => $this->getGeneralSettings() ? $this->getGeneralSettings()->toArray() : null,
137 'payments' => $this->getPaymentSettings() ? $this->getPaymentSettings()->toArray() : null,
138 ];
139 }
140 }
141