WC_emerchantpay_Method D

Total Complexity 347
Dependencies 35
Dependents 5
Total lines 3,685
Lines of code 2,411
Logical lines of code 679
Comment lines 716
Methods 111
Properties 5

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
34 19 90
updateOrderStatus()
B
37 19 80
capture()
A
38 11 70
void()
A
37 10 81
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
handle_return()
A
46 8 39
process_capture()
A
42 6 56
handle_notification()
S
50 7 30
displayTransactionsListForOrder()
S
46 6 40
is_available()
S
56 7 20
addWPSimpleActions()
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
59 6 15
enqueueTransactionsListAssets()
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
populateGateRequestData()
S
49 3 32
process_after_init_recurring_payment()
S
58 4 16
get_products_custom_attributes()
S
58 4 16
displayAdminOrderAfterTotals()
S
54 3 24
refund()
S
53 3 23
process_subscription_payment()
S
49 2 37
get_item_description()
S
56 3 20
getIsSettingsCheckoutPage()
S
73 4 4
getIsWooCommerceAdminOrder()
S
67 4 7
meet_subscription_requirements()
S
66 4 9
build_redirect_form_fields()
S
52 2 29
addSubscriptionSupport()
S
55 2 25
get_business_attributes_setting_keys()
S
53 1 39
cancelOrderSubscriptions()
S
58 2 19
get_trx_id()
S
66 3 8
getOrderShippingAddress()
S
58 2 15
registerHelpers()
S
68 3 7
getIsSettingsCheckoutModulePage()
S
69 3 6
get_method_transaction_setting_key()
S
65 3 10
isShippingAddressMissing()
S
73 3 5
get_business_attributes_mapping()
S
64 3 10
update_order_status_approved()
S
59 2 14
set_credentials()
S
62 2 12
build_3dsv2_attributes_form_fields()
S
52 1 27
create_response()
S
63 2 11
addWPAction()
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
add_sca_exemption_parameters()
S
67 2 8
build_iframe_url()
S
70 2 6
get_refund_trx_type()
S
68 2 7
get_cart()
S
69 2 7
getPostBoolSettingValue()
S
72 2 5
update_order_status_cancelled()
S
65 2 10
is_iframe_blocks()
S
73 2 4
get_trx_list()
S
69 2 7
getHasOrderValidMeta()
S
64 2 10
process_payment()
S
71 2 6
admin_notices()
S
67 2 9
allow_partial_refund()
S
76 2 3
allow_partial_capture()
S
76 2 3
admin_options()
S
65 1 13
getOrderBillingAddress()
S
61 1 12
enqueue_woocommerce_payment_settings_assets()
S
64 1 12
update_order_status_error()
S
68 1 9
get_method_selected_transaction_types()
S
80 1 3
fetchTemplate()
S
74 1 4
getMethodAdminSettingPostParamName()
S
71 1 7
get_available_redirect_pages()
S
72 1 6
is_3dsv2_enabled()
S
80 1 3
get_sca_exemption_values()
S
71 1 6
get_allowed_challenge_indicators()
S
67 1 8
get_method_code()
S
81 1 3
getIsValidNotification()
S
79 1 3
getRequiredApiSettingKeys()
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
getTranslatedText()
S
79 1 3
getMethodHasSetting()
S
79 1 3
getRecurringToken()
S
80 1 3
generateTransactionId()
S
63 1 10
getCheckoutTransactionIdMetaKey()
S
100 1 0
set_terminal_token()
S
82 1 3
process_init_recurring_reconciliation()
S
79 1 3
process_refund()
S
78 1 3
callback_handler()
S
70 1 7
is_ssl_required()
S
82 1 3
process_scheduled_subscription_payment()
S
73 1 5
is_applicable()
S
80 1 3
canRefund()
S
73 1 5
isSubscriptionEnabled()
S
80 1 3
canVoid()
S
70 1 6
get_one_time_token()
S
73 1 6
set_one_time_token()
S
71 1 7
canCapture()
S
73 1 5
is_iframe_enabled()
S
82 1 3
getMethodBoolSetting()
S
79 1 3
getMethodSetting()
S
80 1 3
update_order_status_declined()
S
68 1 9
getModuleTitle()
S
100 1 0