WC_QuickPay_Order C

Total Complexity 108
Dependencies 8
Dependents 9
Total lines 877
Lines of code 430
Logical lines of code 211
Comment lines 328
Methods 43
Properties 0

Methods 43

Method Rating Maintainability Complexity Lines of code
get_order_number_for_api()
A
45 13 40
get_autocapture_setting()
A
51 8 30
get_custom_variables()
A
49 8 30
get_transaction_basket_params_line_helper()
S
53 5 22
get_transaction_params()
S
55 4 18
get_transaction_id()
S
60 4 14
add_transaction_fee()
S
53 3 22
get_transaction_invoice_address_params()
S
54 3 21
get_transaction_shipping_address_params()
S
54 3 21
get_transaction_shipping_params()
S
56 3 18
get_subscription_id_from_callback()
S
66 4 8
is_request_to_change_payment()
S
63 4 10
get_order_id_from_callback()
S
62 4 10
get_transaction_link_params()
S
60 3 13
subscription_is_renewal_failure()
S
68 3 7
has_quickpay_payment()
S
55 1 22
note()
S
74 2 5
contains_subscription()
S
69 2 7
get_cancellation_url()
S
64 2 9
get_continue_url()
S
69 2 6
get_transaction_basket_params()
S
68 2 7
get_failed_quickpay_payment_count()
S
67 2 8
order_contains_switch()
S
71 2 6
get_payment_method_change_count()
S
66 2 8
get_transaction_order_id()
S
79 1 3
set_payment_id()
S
79 1 3
increase_payment_method_change_count()
S
70 1 6
set_transaction_order_id()
S
79 1 3
get_payment_id()
S
79 1 3
get_clean_order_number()
S
79 1 3
reset_failed_quickpay_payment_count()
S
75 1 4
increase_failed_quickpay_payment_count()
S
70 1 6
get_transaction_shopsystem_params()
S
68 1 7
delete_payment_link()
S
80 1 3
delete_payment_id()
S
80 1 3
get_billing_house_extension()
S
80 1 3
get_billing_house_number()
S
80 1 3
get_payment_link()
S
79 1 3
get_shipping_house_extension()
S
80 1 3
get_shipping_house_number()
S
80 1 3
get_shipping_street_name()
S
80 1 3
set_payment_link()
S
79 1 3
get_billing_street_name()
S
80 1 3