-
Home
-
Razorpay for WooCommerce
-
4.7.7
-
Code
-
Classes
- RZP_Webhook
| Total Complexity |
92 |
| Dependencies |
5 |
| Dependents |
2 |
| Total lines |
700 |
| Lines of code |
388 |
| Logical lines of code |
225 |
| Comment lines |
132 |
| Methods |
16 |
| Properties |
4 |
Methods 16
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| process() |
B |
35 |
20 |
82 |
| paymentAuthorized() |
B |
39 |
16 |
62 |
| virtualAccountCredited() |
A |
41 |
14 |
54 |
| paymentPending() |
A |
45 |
13 |
40 |
| refundedCreated() |
A |
40 |
10 |
60 |
| shouldConsumeWebhook() |
S |
65 |
5 |
8 |
| saveWebhookEvent() |
S |
49 |
2 |
33 |
| getPaymentEntity() |
S |
59 |
2 |
15 |
| getOrderAmountAsInteger() |
S |
69 |
2 |
6 |
| checkIsObject() |
S |
66 |
2 |
9 |
| __construct() |
S |
76 |
1 |
4 |
| paymentFailed() |
S |
83 |
1 |
3 |
| subscriptionCancelled() |
S |
83 |
1 |
3 |
| subscriptionPaused() |
S |
83 |
1 |
3 |
| subscriptionResumed() |
S |
83 |
1 |
3 |
| subscriptionCharged() |
S |
83 |
1 |
3 |