-
Home
-
Sunshine Photo Cart: Free Client Photo Galleries for Photographers
-
3.4.11 (latest)
-
Code
-
Classes
- SPC_Payment_Method_Square
Total Complexity |
137 |
Dependencies |
1 |
Dependents |
0 |
Total lines |
891 |
Lines of code |
684 |
Logical lines of code |
361 |
Comment lines |
21 |
Methods |
38 |
Properties |
3 |
Methods 38
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
options() |
A |
33 |
10 |
121 |
square_connect_return() |
A |
46 |
11 |
35 |
process_refund() |
A |
42 |
9 |
52 |
init_order() |
A |
44 |
7 |
48 |
square_disconnect() |
A |
46 |
7 |
35 |
refresh_token() |
S |
49 |
5 |
29 |
get_locations() |
S |
50 |
5 |
27 |
process_payment() |
S |
54 |
5 |
21 |
setup() |
S |
59 |
5 |
14 |
get_location_id() |
S |
61 |
5 |
13 |
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 |
mode() |
S |
70 |
3 |
6 |
square_refresh_locations() |
S |
65 |
3 |
9 |
get_idempotency_key() |
S |
68 |
3 |
6 |
square_refresh_token() |
S |
66 |
3 |
8 |
is_allowed() |
S |
70 |
3 |
6 |
get_access_token() |
S |
64 |
3 |
10 |
admin_order_tab_content_square() |
S |
59 |
2 |
13 |
order_actions_options() |
S |
57 |
1 |
26 |
get_merchant_id() |
S |
69 |
2 |
7 |
get_application_id() |
S |
71 |
2 |
6 |
create_order_status() |
S |
71 |
2 |
6 |
init_setup() |
S |
72 |
2 |
6 |
admin_order_tab() |
S |
70 |
2 |
6 |
order_actions() |
S |
68 |
2 |
7 |
get_refresh_token() |
S |
67 |
2 |
8 |
get_application_fee_percent() |
S |
79 |
1 |
3 |
get_transaction_id() |
S |
80 |
1 |
3 |
get_app_fee() |
S |
80 |
1 |
3 |
get_mode() |
S |
80 |
1 |
3 |