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
PaymentSquareSettings.php
37 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 PaymentSquareSettings |
| 11 | * |
| 12 | * @package AmeliaBooking\Domain\Entity\Settings |
| 13 | */ |
| 14 | class PaymentSquareSettings |
| 15 | { |
| 16 | /** @var bool */ |
| 17 | private $enabled; |
| 18 | |
| 19 | /** |
| 20 | * @return int |
| 21 | */ |
| 22 | public function getEnabled() |
| 23 | { |
| 24 | return $this->enabled; |
| 25 | } |
| 26 | |
| 27 | /** |
| 28 | * @return array |
| 29 | */ |
| 30 | public function toArray() |
| 31 | { |
| 32 | return [ |
| 33 | 'enabled' => $this->enabled, |
| 34 | ]; |
| 35 | } |
| 36 | } |
| 37 |