PPCP_Paypal_Checkout_For_Woocommerce_Request D

Total Complexity 610
Dependencies 5
Dependents 5
Total lines 2,963
Lines of code 2,767
Logical lines of code 1,605
Comment lines 15
Methods 72
Properties 47

Methods 72

Method Rating Maintainability Complexity Lines of code
ppcp_regular_create_order_request()
D
17
55 228
wpg_ppcp_capture_order_using_payment_method_token()
D
17
51 227
ppcp_create_order_request()
D
20
45 206
ppcp_order_capture_request()
C
31 25 100
ppcp_capture_authorized_payment()
C
30 22 112
ppcp_update_order()
B
29
18 136
ppcp_set_payer_details()
B
37 21 74
ppcp_get_details()
B
40 18 60
wpg_ppcp_add_payment_source()
B
41 17 59
ppcp_paypal_create_payment_token_sub_change_payment()
B
34 15 85
ppcp_update_order_status()
B
45 18 39
ppcp_shipping_preference()
A
49 17 28
ppcp_order_auth_request()
A
38 14 64
ppcp_get_readable_message()
A
46 15 38
ppcp_refund_order()
A
38 12 65
ppcp_get_paypal_line_items_from_cart()
A
43 12 44
ppcp_create_webhooks_request()
A
40 11 56
ppcp_paypal_setup_tokens_sub_change_payment()
A
38 9 69
ppcp_add_tracking_api_info()
A
45 9 40
ppcp_get_paypal_line_items_from_order()
A
46 9 35
get_genrate_token()
A
46 8 38
ppcp_regular_capture()
A
48 8 32
ppcp_validate_webhook_event()
A
45 7 41
ppcp_handle_webhook_request_handler()
A
52 8 24
__construct()
A
34 3 94
ppcp_add_payment_source_parameter()
S
50 7 29
ppcp_get_id_token()
S
44 6 44
ppcp_delete_exiting_webhook()
S
48 7 29
ppcp_get_access_token()
S
44 6 43
wpg_ppcp_get_all_payment_tokens_for_renewal()
S
49 7 27
ppcp_get_order_total()
S
55 7 20
save_payment_token()
S
55 7 19
wpg_register_apple_domain()
S
45 5 41
ppcp_get_paypal_order()
S
54 6 21
ppcp_delete_first_webhook()
S
49 5 28
request()
S
52 5 24
ppcp_get_address_from_customer()
S
47 4 37
payment_status_completed()
S
56 5 17
ppcp_get_checkout_details()
S
48 4 32
ppcp_show_details_authorized_payment()
S
48 4 31
handle_card_payment()
S
48 3 35
ppcp_application_context()
S
54 4 19
applyStoredCredentialParameter()
S
58 4 16
generate_request_id()
S
58 4 15
valid_bcp47_code()
S
59 4 14
getallheaders_custome()
S
60 4 12
handle_paypal_payment()
S
54 3 21
is_valid_for_use()
S
66 4 9
ppcp_get_rounded_total_in_order()
S
60 3 12
ppcp_get_rounded_total_in_cart()
S
61 3 11
ppcp_get_details_from_cart()
S
57 2 16
ppcp_get_details_from_order()
S
58 2 15
ppcp_get_number_of_decimal_digits()
S
71 3 6
ppcp_log()
S
67 3 8
getallheaders_value()
S
65 3 10
ppcp_prepare_webhook_validate_request()
S
59 2 14
ppcp_get_extra_offset_line_item()
S
63 2 11
instance()
S
72 2 6
ppcp_get_currency()
S
64 2 10
payment_status_on_hold()
S
74 2 5
payment_status_refunded()
S
74 2 5
payment_status_failed()
S
74 2 5
payment_status_pending()
S
72 2 5
payment_on_hold()
S
72 2 5
payment_complete()
S
66 2 8
ppcp_add_log_details()
S
67 2 7
ppcp_is_currency_supports_zero_decimal()
S
70 2 6
ppcp_paypalauthassertion()
S
61 1 13
payment_status_voided()
S
81 1 3
payment_status_denied()
S
81 1 3
localize_button_text()
S
79 1 3
payment_status_expired()
S
81 1 3