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 / Application / Services / Placeholder / PlaceholderServiceInterface.php
ameliabooking / src / Application / Services / Placeholder Last commit date
AppointmentPlaceholderService.php 1 year ago AppointmentsPlaceholderService.php 1 year ago BasicPackagePlaceholderService.php 2 years ago EventPlaceholderService.php 1 year ago PlaceholderService.php 1 year ago PlaceholderServiceInterface.php 1 year ago
PlaceholderServiceInterface.php
75 lines
1 <?php
2 /**
3 * @copyright © TMS-Plugins. All rights reserved.
4 * @licence See LICENCE.md for license details.
5 */
6
7 namespace AmeliaBooking\Application\Services\Placeholder;
8
9 use AmeliaBooking\Domain\Common\Exceptions\InvalidArgumentException;
10 use AmeliaBooking\Domain\Entity\User\AbstractUser;
11 use AmeliaBooking\Infrastructure\Common\Exceptions\NotFoundException;
12 use AmeliaBooking\Infrastructure\Common\Exceptions\QueryExecutionException;
13 use Exception;
14 use Interop\Container\Exception\ContainerException;
15 use Slim\Exception\ContainerValueNotFoundException;
16
17 /**
18 * Interface PlaceholderServiceInterface
19 *
20 * @package AmeliaBooking\Application\Services\Placeholder
21 */
22 interface PlaceholderServiceInterface
23 {
24 /**
25 *
26 * @return array
27 *
28 * @throws ContainerException
29 */
30 public function getEntityPlaceholdersDummyData($type);
31
32 /** @noinspection MoreThanThreeArgumentsInspection */
33 /**
34 * @param array $appointment
35 * @param int $bookingKey
36 * @param string $type
37 * @param AbstractUser $customer
38 * @param array $allBookings
39 *
40 * @return array
41 *
42 * @throws InvalidArgumentException
43 * @throws ContainerValueNotFoundException
44 * @throws NotFoundException
45 * @throws QueryExecutionException
46 * @throws ContainerException
47 * @throws Exception
48 */
49 public function getPlaceholdersData($appointment, $bookingKey = null, $type = null, $customer = null, $allBookings = null);
50
51 /**
52 * @param array $bookingArray
53 * @param array $entity
54 * @param boolean $invoice
55 *
56 * @return array
57 */
58 public function getAmountData(&$bookingArray, $entity, $invoice = false);
59
60
61 /**
62 * @param array $reservationData
63 *
64 * @return array
65 *
66 * @throws InvalidArgumentException
67 * @throws ContainerValueNotFoundException
68 * @throws NotFoundException
69 * @throws QueryExecutionException
70 * @throws ContainerException
71 * @throws Exception
72 */
73 public function getInvoicePlaceholdersData($reservationData);
74 }
75