WC_QuickPay_Order_Payments_Utils S

Total Complexity 37
Dependencies 7
Dependents 11
Total lines 292
Lines of code 157
Logical lines of code 74
Comment lines 97
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
get_order_number_for_api()
A
45 13 40
prepare_transaction_params()
S
55 4 18
add_order_item_transaction_fee()
S
57 2 17
is_order_using_quickpay()
S
55 1 23
get_transaction_order_id()
S
79 2 3
get_payment_link()
S
79 2 3
get_payment_id()
S
79 2 3
set_payment_link()
S
76 1 4
delete_payment_link()
S
77 1 4
set_transaction_order_id()
S
76 1 4
set_payment_id()
S
76 1 4
prepare_transaction_link_params()
S
66 1 8
delete_payment_id()
S
77 1 4
get_failed_payment_count()
S
79 1 3
increase_failed_payment_count()
S
70 1 6
reset_failed_payment_count()
S
77 1 4
get_payment_method_change_count()
S
79 1 3
increase_payment_method_change_count()
S
70 1 6