AbstractInvoiceApplicationService.php
8 months ago
StarterInvoiceApplicationService.php
8 months ago
StarterInvoiceApplicationService.php
36 lines
| 1 | <?php |
| 2 | |
| 3 | namespace AmeliaBooking\Application\Services\Invoice; |
| 4 | |
| 5 | use AmeliaBooking\Application\Common\Exceptions\AccessDeniedException; |
| 6 | use AmeliaBooking\Domain\Common\Exceptions\InvalidArgumentException; |
| 7 | use AmeliaBooking\Infrastructure\Common\Exceptions\NotFoundException; |
| 8 | use AmeliaBooking\Infrastructure\Common\Exceptions\QueryExecutionException; |
| 9 | use Interop\Container\Exception\ContainerException; |
| 10 | |
| 11 | /** |
| 12 | * Class StarterInvoiceApplicationService |
| 13 | * |
| 14 | * @package AmeliaBooking\Application\Services\Invoice |
| 15 | */ |
| 16 | class StarterInvoiceApplicationService extends AbstractInvoiceApplicationService |
| 17 | { |
| 18 | /** |
| 19 | * @param int $paymentId |
| 20 | * @param int|null $customerId |
| 21 | * @param string $format |
| 22 | * |
| 23 | * @return array |
| 24 | * |
| 25 | * @throws InvalidArgumentException |
| 26 | * @throws NotFoundException |
| 27 | * @throws QueryExecutionException |
| 28 | * @throws ContainerException |
| 29 | * @throws AccessDeniedException |
| 30 | */ |
| 31 | public function generateInvoice($paymentId, int $customerId = null, $format = null) |
| 32 | { |
| 33 | return []; |
| 34 | } |
| 35 | } |
| 36 |