-
Home
-
Razorpay for WooCommerce
-
4.5.1
-
Code
-
Classes
- RZP_Webhook
| Total Complexity |
77 |
| Dependencies |
5 |
| Dependents |
1 |
| Total lines |
605 |
| Lines of code |
314 |
| Logical lines of code |
196 |
| Comment lines |
120 |
| Methods |
15 |
| Properties |
3 |
Methods 15
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| process() |
B |
35 |
19 |
80 |
| paymentAuthorized() |
A |
42 |
12 |
51 |
| virtualAccountCredited() |
A |
44 |
11 |
42 |
| paymentPending() |
A |
47 |
10 |
32 |
| refundedCreated() |
A |
42 |
8 |
52 |
| shouldConsumeWebhook() |
S |
64 |
5 |
8 |
| 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 |