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 / PaymentLinksSettings.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
PaymentLinksSettings.php
58 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 PaymentLinksSettings
12 *
13 * @package AmeliaBooking\Domain\Entity\Settings
14 */
15 class PaymentLinksSettings
16 {
17 /** @var bool */
18 private $enabled;
19
20 /** @var bool */
21 private $changeBookingStatus;
22
23 /**
24 * @return bool
25 */
26 public function getEnabled()
27 {
28 return $this->enabled;
29 }
30
31 /**
32 * @return bool
33 */
34 public function isChangeBookingStatus()
35 {
36 return $this->changeBookingStatus;
37 }
38
39 /**
40 * @param bool $changeBookingStatus
41 */
42 public function setChangeBookingStatus($changeBookingStatus)
43 {
44 $this->changeBookingStatus = $changeBookingStatus;
45 }
46
47 /**
48 * @return array
49 */
50 public function toArray()
51 {
52 return [
53 'enabled' => $this->enabled,
54 'changeBookingStatus' => $this->changeBookingStatus
55 ];
56 }
57 }
58