-
Home
-
Sunshine Photo Cart: Free Client Photo Galleries for Photographers
-
3.2.5
-
Code
-
Classes
- SPC_Payment_Method_Square
| Total Complexity |
132 |
| Dependencies |
2 |
| Dependents |
0 |
| Total lines |
881 |
| Lines of code |
672 |
| Logical lines of code |
351 |
| Comment lines |
23 |
| Methods |
37 |
| Properties |
5 |
Methods 37
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| options() |
A |
33 |
10 |
121 |
| process_refund() |
A |
43 |
8 |
48 |
| square_connect_return() |
A |
47 |
8 |
35 |
| init_order() |
A |
44 |
7 |
46 |
| create_order() |
A |
51 |
8 |
25 |
| square_disconnect() |
S |
47 |
6 |
35 |
| refresh_token() |
S |
49 |
5 |
29 |
| setup() |
S |
59 |
5 |
14 |
| get_location_id() |
S |
61 |
5 |
13 |
| get_locations() |
S |
52 |
4 |
23 |
| checkout_validation() |
S |
66 |
5 |
7 |
| init() |
S |
49 |
3 |
28 |
| get_transaction_url() |
S |
61 |
4 |
12 |
| enqueue_scripts() |
S |
54 |
3 |
21 |
| square_connect_display() |
S |
56 |
3 |
18 |
| api_request() |
S |
56 |
3 |
17 |
| get_application_fee_amount() |
S |
59 |
3 |
15 |
| secure_token() |
S |
59 |
3 |
13 |
| get_fields() |
S |
59 |
2 |
16 |
| square_refresh_locations() |
S |
65 |
3 |
9 |
| square_refresh_token() |
S |
66 |
3 |
8 |
| get_access_token() |
S |
64 |
3 |
10 |
| is_allowed() |
S |
70 |
3 |
6 |
| get_idempotency_key() |
S |
68 |
3 |
6 |
| mode() |
S |
70 |
3 |
6 |
| admin_order_tab_content_square() |
S |
59 |
2 |
13 |
| order_actions_options() |
S |
57 |
1 |
26 |
| init_setup() |
S |
72 |
2 |
6 |
| get_merchant_id() |
S |
69 |
2 |
7 |
| get_refresh_token() |
S |
67 |
2 |
8 |
| get_application_id() |
S |
71 |
2 |
6 |
| admin_order_tab() |
S |
70 |
2 |
6 |
| order_actions() |
S |
68 |
2 |
7 |
| get_mode() |
S |
80 |
1 |
3 |
| get_application_fee_percent() |
S |
79 |
1 |
3 |
| get_transaction_id() |
S |
80 |
1 |
3 |
| get_app_fee() |
S |
80 |
1 |
3 |