-
Home
-
Klarna for WooCommerce
-
3.5.4
-
Code
-
Classes
- KP_Api
| Total Complexity |
15 |
| Dependencies |
11 |
| Dependents |
1 |
| Total lines |
236 |
| Lines of code |
122 |
| Logical lines of code |
38 |
| Comment lines |
87 |
| Methods |
11 |
| Properties |
0 |
Methods 11
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| check_for_api_error() |
S |
64 |
4 |
9 |
| get_session() |
S |
61 |
2 |
13 |
| place_order() |
S |
61 |
1 |
13 |
| update_session() |
S |
62 |
1 |
12 |
| create_session() |
S |
63 |
1 |
11 |
| create_hpp() |
S |
63 |
1 |
11 |
| create_customer_token() |
S |
63 |
1 |
11 |
| create_recurring_order() |
S |
63 |
1 |
11 |
| upsell_klarna_order() |
S |
63 |
1 |
11 |
| cancel_recurring_order() |
S |
65 |
1 |
10 |
| get_klarna_om_order() |
S |
65 |
1 |
10 |