CurrencyService.php
2 years ago
SquareMiddlewareService.php
1 year ago
SquareService.php
1 year ago
StarterPaymentService.php
2 years ago
StarterPaymentService.php
68 lines
| 1 | <?php |
| 2 | /** |
| 3 | * @copyright © TMS-Plugins. All rights reserved. |
| 4 | * @licence See LICENCE.md for license details. |
| 5 | */ |
| 6 | |
| 7 | namespace AmeliaBooking\Infrastructure\Services\Payment; |
| 8 | |
| 9 | use AmeliaBooking\Domain\Services\Payment\AbstractPaymentService; |
| 10 | use AmeliaBooking\Domain\Services\Payment\PaymentServiceInterface; |
| 11 | use Exception; |
| 12 | |
| 13 | /** |
| 14 | * Class StarterPaymentService |
| 15 | */ |
| 16 | class StarterPaymentService extends AbstractPaymentService implements PaymentServiceInterface |
| 17 | { |
| 18 | /** |
| 19 | * @param array $data |
| 20 | * @param array $transfers |
| 21 | * |
| 22 | * @return mixed |
| 23 | */ |
| 24 | public function execute($data, &$transfers) |
| 25 | { |
| 26 | return []; |
| 27 | } |
| 28 | |
| 29 | /** |
| 30 | * @param array $data |
| 31 | * |
| 32 | * @return mixed |
| 33 | */ |
| 34 | public function complete($data) |
| 35 | { |
| 36 | return null; |
| 37 | } |
| 38 | |
| 39 | /** |
| 40 | * @param array $data |
| 41 | * |
| 42 | * @return array |
| 43 | */ |
| 44 | public function getPaymentLink($data) |
| 45 | { |
| 46 | return []; |
| 47 | } |
| 48 | |
| 49 | /** |
| 50 | * @param array $data |
| 51 | * |
| 52 | * @return array |
| 53 | * @throws Exception |
| 54 | */ |
| 55 | public function refund($data) |
| 56 | { |
| 57 | return []; |
| 58 | } |
| 59 | |
| 60 | /** |
| 61 | * @return mixed|null |
| 62 | */ |
| 63 | public function getTransactionAmount($id, $transfers) |
| 64 | { |
| 65 | return null; |
| 66 | } |
| 67 | } |
| 68 |