-
Home
-
NetPay Checkout
-
1.3.2.1
-
Code
-
Classes
- NetPay_Payment
Total Complexity |
53 |
Dependencies |
7 |
Dependents |
0 |
Total lines |
506 |
Lines of code |
247 |
Logical lines of code |
119 |
Comment lines |
175 |
Methods |
20 |
Properties |
7 |
Methods 20
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
sync_payment() |
B |
38 |
15 |
76 |
process_refund() |
S |
46 |
4 |
41 |
deprecated_get_charge_id_from_post() |
S |
53 |
5 |
23 |
get_charge_id_from_order() |
S |
62 |
4 |
11 |
process_payment() |
S |
58 |
3 |
15 |
load_order() |
S |
64 |
3 |
11 |
payment_failed() |
S |
62 |
2 |
11 |
is_currency_support() |
S |
71 |
2 |
6 |
is_country_support() |
S |
68 |
2 |
7 |
netpay_checkout_assets() |
S |
67 |
2 |
8 |
set_order_transaction_id() |
S |
67 |
2 |
8 |
attach_charge_id_to_order() |
S |
81 |
1 |
3 |
invalid_order() |
S |
65 |
1 |
10 |
__construct() |
S |
72 |
1 |
5 |
result() |
S |
100 |
1 |
0 |
secret_key() |
S |
81 |
1 |
3 |
public_key() |
S |
81 |
1 |
3 |
is_test() |
S |
81 |
1 |
3 |
order() |
S |
82 |
1 |
3 |
charge() |
S |
100 |
1 |
0 |