WC_emerchantpay_Method D

Total Complexity 342
Dependencies 35
Dependents 5
Total lines 3,643
Lines of code 2,390
Logical lines of code 670
Comment lines 702
Methods 109
Properties 5

Methods 109

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
get_products_custom_attributes()
S
58 4 16
process_after_init_recurring_payment()
S
58 4 16
displayAdminOrderAfterTotals()
S
54 3 24
refund()
S
53 3 23
get_item_description()
S
56 3 20
process_subscription_payment()
S
51 2 33
getIsWooCommerceAdminOrder()
S
67 4 7
meet_subscription_requirements()
S
66 4 9
getIsSettingsCheckoutPage()
S
73 4 4
populateGateRequestData()
S
50 2 30
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
getOrderShippingAddress()
S
58 2 15
isShippingAddressMissing()
S
73 3 5
get_business_attributes_mapping()
S
64 3 10
get_trx_id()
S
66 3 8
get_method_transaction_setting_key()
S
65 3 10
getIsSettingsCheckoutModulePage()
S
69 3 6
registerHelpers()
S
68 3 7
update_order_status_approved()
S
59 2 14
set_credentials()
S
62 2 12
build_3dsv2_attributes_form_fields()
S
52 1 27
build_subscription_form_fields()
S
53 1 26
addWPAction()
S
64 2 11
build_sca_exemption_options_form_fields()
S
53 1 25
registerStaticActions()
S
57 1 23
update_order_status_cancelled()
S
65 2 10
get_refund_trx_type()
S
68 2 7
get_trx_list()
S
69 2 7
build_iframe_url()
S
70 2 6
getHasOrderValidMeta()
S
64 2 10
admin_notices()
S
67 2 9
allow_partial_refund()
S
76 2 3
allow_partial_capture()
S
76 2 3
add_sca_exemption_parameters()
S
67 2 8
getPostBoolSettingValue()
S
72 2 5
get_cart()
S
69 2 7
process_payment()
S
71 2 6
admin_options()
S
65 1 13
getOrderBillingAddress()
S
61 1 12
enqueue_woocommerce_payment_settings_assets()
S
64 1 12
getMethodHasSetting()
S
79 1 3
set_notification_terminal_token()
S
82 1 3
get_frame_handler()
S
80 1 3
getMethodSetting()
S
80 1 3
get_sca_exemption_values()
S
71 1 6
isSubscriptionEnabled()
S
80 1 3
getRecurringToken()
S
80 1 3
get_method_code()
S
81 1 3
get_allowed_challenge_indicators()
S
67 1 8
is_3dsv2_enabled()
S
80 1 3
get_available_redirect_pages()
S
72 1 6
getMethodBoolSetting()
S
79 1 3
getModuleTitle()
S
100 1 0
process_init_recurring_reconciliation()
S
79 1 3
is_iframe_enabled()
S
82 1 3
canRefund()
S
73 1 5
process_order_payment()
S
100 1 0
process_init_subscription_payment()
S
100 1 0
getRequiredApiSettingKeys()
S
73 1 6
getIsValidNotification()
S
79 1 3
get_method_selected_transaction_types()
S
80 1 3
getMethodAdminSettingPostParamName()
S
71 1 7
fetchTemplate()
S
74 1 4
getTranslatedText()
S
79 1 3
canCapture()
S
73 1 5
canVoid()
S
70 1 6
is_applicable()
S
80 1 3
set_one_time_token()
S
71 1 7
is_ssl_required()
S
82 1 3
callback_handler()
S
70 1 7
getCheckoutTransactionIdMetaKey()
S
100 1 0
update_order_status_error()
S
68 1 9
update_order_status_declined()
S
68 1 9
set_terminal_token()
S
82 1 3
process_refund()
S
78 1 3
process_scheduled_subscription_payment()
S
73 1 5
generateTransactionId()
S
63 1 10
get_one_time_token()
S
73 1 6
init_recurring_token()
S
75 1 5