PluginProbe ʕ •ᴥ•ʔ
Booking for Appointments and Events Calendar – Amelia / 1.2.11
Booking for Appointments and Events Calendar – Amelia v1.2.11
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 5 years ago GoogleMeetSettings.php 2 years ago LessonSpaceSettings.php 4 years 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 2 years ago ZoomSettings.php 6 years ago
Settings.php
122 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 /**
32 * @return GeneralSettings
33 */
34 public function getGeneralSettings()
35 {
36 return $this->generalSettings;
37 }
38
39 /**
40 * @param GeneralSettings $generalSettings
41 */
42 public function setGeneralSettings($generalSettings)
43 {
44 $this->generalSettings = $generalSettings;
45 }
46
47 /**
48 * @return PaymentSettings
49 */
50 public function getPaymentSettings()
51 {
52 return $this->paymentSettings;
53 }
54
55 /**
56 * @param PaymentSettings $paymentSettings
57 */
58 public function setPaymentSettings($paymentSettings)
59 {
60 $this->paymentSettings = $paymentSettings;
61 }
62
63 /**
64 * @return ZoomSettings
65 */
66 public function getZoomSettings()
67 {
68 return $this->zoomSettings;
69 }
70
71 /**
72 * @param ZoomSettings $zoomSettings
73 */
74 public function setZoomSettings($zoomSettings)
75 {
76 $this->zoomSettings = $zoomSettings;
77 }
78
79 /**
80 * @return LessonSpaceSettings
81 */
82 public function getLessonSpaceSettings()
83 {
84 return $this->lessonSpaceSettings;
85 }
86
87 /**
88 * @param LessonSpaceSettings $lessonSpaceSettings
89 */
90 public function setLessonSpaceSettings($lessonSpaceSettings)
91 {
92 $this->lessonSpaceSettings = $lessonSpaceSettings;
93 }
94
95 /**
96 * @return GoogleMeetSettings
97 */
98 public function getGoogleMeetSettings()
99 {
100 return $this->googleMeetSettings;
101 }
102
103 /**
104 * @param GoogleMeetSettings $googleMeetSettings
105 */
106 public function setGoogleMeetSettings($googleMeetSettings)
107 {
108 $this->googleMeetSettings = $googleMeetSettings;
109 }
110
111 /**
112 * @return array
113 */
114 public function toArray()
115 {
116 return [
117 'general' => $this->getGeneralSettings() ? $this->getGeneralSettings()->toArray() : null,
118 'payments' => $this->getPaymentSettings() ? $this->getPaymentSettings()->toArray() : null,
119 ];
120 }
121 }
122