-
Home
-
Checkout Mestres do WP for WooCommerce
-
6.4
-
Code
-
Classes
- WC_OpenPix_Pix_Gateway
Total Complexity |
124 |
Dependencies |
4 |
Dependents |
0 |
Total lines |
1,284 |
Lines of code |
1,027 |
Logical lines of code |
374 |
Comment lines |
36 |
Methods |
31 |
Properties |
0 |
Methods 31
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
ipn_handler() |
C |
28 |
19 |
172 |
openpix_configure_webhook() |
B |
29 |
11 |
179 |
process_payment() |
B |
31 |
12 |
129 |
init_form_fields() |
A |
32 |
3 |
155 |
validateOrderFields() |
A |
49 |
9 |
29 |
getTaxID() |
A |
53 |
8 |
24 |
getCustomerData() |
S |
49 |
4 |
31 |
get_available_status() |
S |
61 |
5 |
13 |
getGiftbackData() |
S |
55 |
4 |
20 |
shouldApplyGiftback() |
S |
63 |
4 |
11 |
ceHandlerWooCommerceNewOrder() |
S |
53 |
3 |
22 |
get_order_id_by_correlation_id() |
S |
58 |
3 |
17 |
validateRequest() |
S |
59 |
3 |
15 |
isPixDetachedPayload() |
S |
65 |
4 |
9 |
afterOrderDetailHook() |
S |
63 |
3 |
11 |
__construct() |
S |
48 |
1 |
38 |
getPayload() |
S |
54 |
2 |
22 |
getHasCustomer() |
S |
65 |
3 |
9 |
isValidWebhookPayload() |
S |
66 |
3 |
9 |
checkout_scripts() |
S |
61 |
2 |
12 |
getCorrelationID() |
S |
62 |
2 |
12 |
registerHooks() |
S |
63 |
2 |
11 |
getPluginSrc() |
S |
56 |
1 |
19 |
thankyou_page() |
S |
57 |
1 |
18 |
payment_fields() |
S |
64 |
2 |
9 |
is_available() |
S |
78 |
2 |
3 |
getErrorFromResponse() |
S |
68 |
2 |
7 |
isValidTestWebhookPayload() |
S |
71 |
2 |
6 |
formatPhone() |
S |
68 |
2 |
7 |
get_wc_amount() |
S |
79 |
1 |
3 |
get_openpix_amount() |
S |
73 |
1 |
5 |