WC_Emerchantpay_Method_Base D

Total Complexity 361
Dependencies 37
Dependents 5
Total lines 3,898
Lines of code 2,456
Logical lines of code 710
Comment lines 882
Methods 111
Properties 4

Methods 111

Method Rating Maintainability Complexity Lines of code
build_business_attributes_form_fields()
C
19
1 470
do_refund()
C
31 20 130
update_order_status_refunded()
B
35 19 90
update_order_status()
B
37 19 80
capture()
B
36 15 82
void()
A
35 13 90
append_to_url()
A
49 10 31
add_3dsv2_parameters_to_gateway_request()
A
41 8 59
get_is_woocommerce_admin_settings()
A
59 10 12
admin_notices_api_credentials()
A
52 9 26
refund()
A
46 8 39
handle_return()
A
46 8 39
process_capture()
A
42 6 56
handle_notification()
S
50 7 30
display_transactions_list_for_order()
S
46 6 40
is_available()
S
56 7 20
add_wp_simple_actions()
S
60 7 12
save_approved_order_meta_data()
S
48 5 38
admin_notices_subscriptions()
S
57 6 18
should_show_admin_notices()
S
58 6 17
get_capture_trx_type()
S
58 6 15
enqueue_transactions_list_assets()
S
42 2 73
init_form_fields()
S
39 1 82
add_business_data_to_gateway_request()
S
54 5 21
register_admin_actions()
S
51 4 36
__construct()
S
48 4 35
supports()
S
63 5 11
admin_notices_genesis_requirements()
S
56 4 22
populate_gate_request_data()
S
49 3 32
get_products_custom_attributes()
S
58 4 16
process_after_init_recurring_payment()
S
58 4 16
display_admin_order_after_totals()
S
54 3 24
process_subscription_payment()
S
49 2 37
get_item_description()
S
56 3 20
generate_transaction_id()
S
56 3 17
get_is_woocommerce_admin_order()
S
67 4 7
meet_subscription_requirements()
S
66 4 9
get_is_settings_checkout_page()
S
73 4 4
build_redirect_form_fields()
S
52 2 29
add_subscription_support()
S
55 2 25
get_business_attributes_setting_keys()
S
53 1 39
cancel_order_subscriptions()
S
58 2 19
get_business_attributes_mapping()
S
64 3 10
get_trx_id()
S
67 3 8
get_is_settings_checkout_module_page()
S
69 3 6
get_order_shipping_address()
S
58 2 15
get_method_transaction_setting_key()
S
65 3 10
is_shipping_address_missing()
S
73 3 5
register_helpers()
S
68 3 7
update_order_status_approved()
S
59 2 14
build_3dsv2_attributes_form_fields()
S
52 1 27
set_credentials()
S
62 2 12
create_response()
S
63 2 11
add_wp_action()
S
64 2 11
build_subscription_form_fields()
S
53 1 26
build_sca_exemption_options_form_fields()
S
53 1 25
registerStaticActions()
S
57 1 23
build_iframe_url()
S
70 2 6
get_refund_trx_type()
S
68 2 7
update_order_status_cancelled()
S
65 2 10
get_cart()
S
69 2 7
add_sca_exemption_parameters()
S
67 2 8
get_post_bool_setting_value()
S
74 2 4
is_iframe_blocks()
S
73 2 4
get_trx_list()
S
69 2 7
get_has_order_valid_meta()
S
64 2 10
admin_notices()
S
67 2 9
process_payment()
S
71 2 6
allow_partial_refund()
S
78 2 3
allow_partial_capture()
S
78 2 3
enqueue_woocommerce_payment_settings_assets()
S
63 1 13
admin_options()
S
65 1 13
get_order_billing_address()
S
61 1 12
update_order_status_declined()
S
68 1 9
get_method_admin_setting_post_param_name()
S
71 1 7
get_available_redirect_pages()
S
72 1 6
is_3dsv2_enabled()
S
80 1 3
get_method_selected_transaction_types()
S
80 1 3
get_is_valid_notification()
S
79 1 3
get_allowed_challenge_indicators()
S
67 1 8
get_sca_exemption_values()
S
71 1 6
get_translated_text()
S
79 1 3
get_required_api_setting_keys()
S
73 1 6
get_frame_handler()
S
80 1 3
process_init_subscription_payment()
S
100 1 0
set_notification_terminal_token()
S
82 1 3
init_recurring_token()
S
75 1 5
process_order_payment()
S
100 1 0
fetch_template()
S
73 1 4
get_method_has_setting()
S
79 1 3
get_method_code()
S
81 1 3
can_refund()
S
73 1 5
set_terminal_token()
S
82 1 3
get_checkout_transaction_id_meta_key()
S
100 1 0
process_refund()
S
78 1 3
process_init_recurring_reconciliation()
S
79 1 3
callback_handler()
S
70 1 7
process_scheduled_subscription_payment()
S
73 1 5
is_ssl_required()
S
82 1 3
is_applicable()
S
80 1 3
can_void()
S
69 1 7
get_recurring_token()
S
80 1 3
get_one_time_token()
S
73 1 6
set_one_time_token()
S
71 1 7
can_capture()
S
73 1 5
is_iframe_enabled()
S
82 1 3
get_method_bool_setting()
S
79 1 3
get_method_setting()
S
80 1 3
update_order_status_error()
S
68 1 9
is_subscription_enabled()
S
80 1 3
get_module_title()
S
100 1 0