WC_Stripe_Helper D

Total Complexity 213
Dependencies 18
Dependents 44
Total lines 1,594
Lines of code 887
Logical lines of code 412
Comment lines 589
Methods 61
Properties 1

Methods 61

Method Rating Maintainability Complexity Lines of code
get_minimum_amount()
A
48 14 35
add_stripe_methods_in_woocommerce_gateway_order()
A
44 13 45
get_upe_individual_payment_method_settings()
A
49 10 31
filter_payment_methods_with_capabilities()
A
55 9 19
get_upe_ordered_payment_method_ids()
A
48 8 33
get_legacy_available_payment_method_ids()
A
48 7 36
convert_wc_locale_to_stripe_locale()
S
42 4 61
get_order_by_intent_id()
S
51 6 26
get_legacy_individual_payment_method_settings()
S
53 5 23
get_order_by_charge_id()
S
54 5 21
format_balance_fee()
S
58 5 15
get_order_by_refund_id()
S
53 4 23
get_order_by_setup_intent_id()
S
53 4 23
get_order_by_source_id()
S
53 4 23
get_klarna_preferred_locale()
S
45 3 37
is_webhook_url()
S
56 4 17
get_legacy_payment_methods()
S
57 4 17
should_enqueue_in_current_tab_section()
S
64 5 10
get_stripe_amount()
S
58 4 15
is_card_payment_method()
S
65 5 9
get_legacy_enabled_payment_method_ids()
S
58 4 14
add_payment_method_to_request_array()
S
60 4 13
get_stripe_net()
S
61 4 13
get_stripe_fee()
S
61 4 13
get_dynamic_statement_descriptor_suffix()
S
60 4 11
get_legacy_payment_method_classes()
S
56 3 19
get_localized_messages()
S
48 2 33
should_load_scripts_for_prb_location()
S
67 4 6
has_cart_or_checkout_on_current_page()
S
77 4 3
get_legacy_enabled_payment_methods()
S
63 3 11
get_european_economic_area_countries()
S
50 1 34
is_reusable_payment_method()
S
77 3 3
get_payment_method_from_intent()
S
67 3 9
get_stripe_settings()
S
67 3 7
add_payment_intent_to_order()
S
60 2 14
no_decimal_currencies()
S
58 1 19
is_payment_method_object()
S
78 2 3
set_payment_awaiting_action()
S
71 2 6
get_stripe_gateway_ids()
S
63 2 10
get_intent_id_from_order()
S
68 2 7
update_stripe_currency()
S
70 2 6
update_stripe_fee()
S
70 2 6
delete_stripe_fee()
S
69 2 7
update_stripe_net()
S
70 2 6
delete_stripe_net()
S
69 2 7
get_stripe_currency()
S
70 2 6
should_load_scripts_on_cart_page()
S
70 2 6
should_load_scripts_on_product_page()
S
70 2 6
get_settings()
S
68 2 7
get_legacy_payment_method()
S
68 2 7
get_transaction_url()
S
72 2 6
remove_payment_awaiting_action()
S
72 2 6
payment_method_allows_manual_capture()
S
77 1 3
is_wallet_payment_method()
S
78 1 3
delete_main_stripe_settings()
S
80 1 3
get_webhook_url()
S
69 1 7
update_main_stripe_settings()
S
79 1 3
three_decimal_currencies()
S
67 1 9
clean_statement_descriptor()
S
63 1 9
get_upe_settings_enabled_payment_method_ids()
S
76 1 4
is_wc_lt()
S
78 1 3