WC_Payments_Invoice_Service S

Total Complexity 50
Dependencies 17
Dependents 4
Total lines 457
Lines of code 213
Logical lines of code 109
Comment lines 178
Methods 18
Properties 3

Methods 18

Method Rating Maintainability Complexity Lines of code
maybe_record_invoice_payment()
A
49 10 27
get_repair_data_for_wcpay_items()
A
46 7 39
get_repair_data_for_wcpay_discounts()
S
57 6 17
update_transaction_details()
S
56 4 18
validate_invoice()
S
58 4 16
get_order_id_by_invoice_id()
S
51 2 28
record_subscription_payment_context()
S
67 3 8
get_and_attach_intent_info_to_order()
S
61 2 12
update_charge_details()
S
64 2 11
__construct()
S
63 2 10
set_subscription_invoice_id()
S
76 1 4
get_pending_invoice_id()
S
79 1 3
mark_pending_invoice_paid_for_subscription()
S
80 1 3
mark_pending_invoice_for_subscription()
S
80 1 3
get_subscription_invoice_id()
S
79 1 3
set_pending_invoice_id()
S
76 1 4
get_order_invoice_id()
S
79 1 3
set_order_invoice_id()
S
76 1 4