Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
Stripe | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
132 | |
0.00% |
0 / 1 |
createCharge | n/a |
0 / 0 |
n/a |
0 / 0 |
1 | |||||
refundCharge | n/a |
0 / 0 |
n/a |
0 / 0 |
1 | |||||
listCharges | n/a |
0 / 0 |
n/a |
0 / 0 |
1 | |||||
addPaymentMethod | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
removePaymentMethod | n/a |
0 / 0 |
n/a |
0 / 0 |
1 | |||||
modifyPaymentMethod | n/a |
0 / 0 |
n/a |
0 / 0 |
1 | |||||
listPaymentMethods | n/a |
0 / 0 |
n/a |
0 / 0 |
1 | |||||
addSubscription | n/a |
0 / 0 |
n/a |
0 / 0 |
1 | |||||
removeSubscription | n/a |
0 / 0 |
n/a |
0 / 0 |
1 | |||||
modifySubscription | n/a |
0 / 0 |
n/a |
0 / 0 |
1 | |||||
listSubscriptions | n/a |
0 / 0 |
n/a |
0 / 0 |
1 |
1 | <?php |
2 | /** |
3 | * Jingga |
4 | * |
5 | * PHP Version 8.1 |
6 | * |
7 | * @package phpOMS\Api\Payment |
8 | * @copyright Dennis Eichhorn |
9 | * @license OMS License 2.0 |
10 | * @version 1.0.0 |
11 | * @link https://jingga.app |
12 | */ |
13 | declare(strict_types=1); |
14 | |
15 | namespace phpOMS\Api\Payment; |
16 | |
17 | /** |
18 | * Strip generator. |
19 | * |
20 | * @package phpOMS\Api\Payment |
21 | * @license OMS License 2.0 |
22 | * @link https://jingga.app |
23 | * @since 1.0.0 |
24 | */ |
25 | final class Stripe extends PaymentAbstract |
26 | { |
27 | /** |
28 | * {@inheritdoc} |
29 | */ |
30 | public function createCharge(int $customer, Charge $charge) : void {} |
31 | |
32 | /** |
33 | * {@inheritdoc} |
34 | */ |
35 | public function refundCharge(int $customer, Charge $charge) : void {} |
36 | |
37 | /** |
38 | * {@inheritdoc} |
39 | */ |
40 | public function listCharges(int $customer, \DateTime $start, \DateTime $end) : void {} |
41 | |
42 | /** |
43 | * {@inheritdoc} |
44 | */ |
45 | public function addPaymentMethod(int $customer, mixed $paymentMethod) : void |
46 | { |
47 | } |
48 | |
49 | /** |
50 | * {@inheritdoc} |
51 | */ |
52 | public function removePaymentMethod(int $customer, mixed $paymentMethod) : void {} |
53 | |
54 | /** |
55 | * {@inheritdoc} |
56 | */ |
57 | public function modifyPaymentMethod(int $customer, mixed $paymentMethod) : void {} |
58 | |
59 | /** |
60 | * {@inheritdoc} |
61 | */ |
62 | public function listPaymentMethods(int $customer) : void {} |
63 | |
64 | /** |
65 | * {@inheritdoc} |
66 | */ |
67 | public function addSubscription(int $customer, mixed $subscription) : void {} |
68 | |
69 | /** |
70 | * {@inheritdoc} |
71 | */ |
72 | public function removeSubscription(int $customer, mixed $subscription) : void {} |
73 | |
74 | /** |
75 | * {@inheritdoc} |
76 | */ |
77 | public function modifySubscription(int $customer, mixed $subscription) : void {} |
78 | |
79 | /** |
80 | * {@inheritdoc} |
81 | */ |
82 | public function listSubscriptions(int $customer) : void {} |
83 | } |