Total Complexity | 13 |
Total Lines | 57 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class Bogus extends Gateway |
||
17 | { |
||
18 | protected function purchase(Purchase $transaction): mixed |
||
19 | { |
||
20 | } |
||
21 | |||
22 | protected function authorize(Authorize $transaction): mixed |
||
23 | { |
||
24 | } |
||
25 | |||
26 | protected function capture(Capture $transaction): mixed |
||
27 | { |
||
28 | } |
||
29 | |||
30 | protected function refund(Refund $transaction): mixed |
||
31 | { |
||
32 | } |
||
33 | |||
34 | protected function cancel(Cancel $transaction): mixed |
||
36 | } |
||
37 | |||
38 | protected function retrieve(Retrieve $transaction): mixed |
||
39 | { |
||
40 | } |
||
41 | |||
42 | protected function initiate(Initial $transaction): mixed |
||
43 | { |
||
44 | } |
||
45 | |||
46 | protected function query(Query $transaction): mixed |
||
47 | { |
||
48 | } |
||
49 | |||
50 | protected function success(array $response): bool |
||
53 | } |
||
54 | |||
55 | protected function message(array $response): string |
||
56 | { |
||
57 | return ''; |
||
58 | } |
||
59 | |||
60 | protected function transactionId(array $response): ?string |
||
63 | } |
||
64 | |||
65 | protected function errorCode(array $response): ?string |
||
66 | { |
||
67 | return null; |
||
68 | } |
||
69 | |||
70 | protected function responseCode(array $response): ?string |
||
73 | } |
||
74 | } |
||
75 |