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 / 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 1 year ago EventPlaceholderService.php 1 year ago PlaceholderService.php 1 year ago PlaceholderServiceInterface.php 1 year ago
PlaceholderServiceInterface.php
85 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 $data
35 * @param int $bookingKey
36 * @param string $type
37 * @param AbstractUser $customer
38 * @param array $allBookings
39 * @param bool $invoice
40 * @param string $notificationType
41 *
42 * @return array
43 *
44 * @throws InvalidArgumentException
45 * @throws ContainerValueNotFoundException
46 * @throws NotFoundException
47 * @throws QueryExecutionException
48 * @throws ContainerException
49 * @throws Exception
50 */
51 public function getPlaceholdersData(
52 $data,
53 $bookingKey = null,
54 $type = null,
55 $customer = null,
56 $allBookings = null,
57 $invoice = false,
58 $notificationType = null
59 );
60
61 /**
62 * @param array $bookingArray
63 * @param array $entity
64 * @param boolean $invoice
65 *
66 * @return array
67 */
68 public function getAmountData(&$bookingArray, $entity, $invoice = false);
69
70
71 /**
72 * @param array $reservationData
73 *
74 * @return array
75 *
76 * @throws InvalidArgumentException
77 * @throws ContainerValueNotFoundException
78 * @throws NotFoundException
79 * @throws QueryExecutionException
80 * @throws ContainerException
81 * @throws Exception
82 */
83 public function getInvoicePlaceholdersData($reservationData);
84 }
85