WC_Stripe_Order B

Total Complexity 94
Dependencies 4
Dependents 18
Total lines 900
Lines of code 312
Logical lines of code 153
Comment lines 444
Methods 60
Properties 0

Methods 60

Method Rating Maintainability Complexity Lines of code
lock_payment()
A
56 8 16
get_by_meta()
S
50 7 27
get_owner_details()
S
52 4 24
lock_refund()
S
60 3 14
get_net()
S
64 3 10
get_status_before_hold()
S
65 3 8
set_status_before_hold()
S
67 3 7
get_fee()
S
65 3 10
add_payment_intent_to_order()
S
61 2 14
query()
S
63 2 12
create()
S
69 2 7
remove_payment_awaiting_action()
S
72 2 6
set_payment_awaiting_action()
S
71 2 6
to_instance()
S
78 2 3
validate_minimum_amount()
S
71 2 5
get_by_id()
S
69 2 7
get_intent_id()
S
80 1 3
unlock_payment()
S
77 1 4
set_lock_payment()
S
80 1 3
get_lock_payment()
S
80 1 3
set_refund_id()
S
80 1 3
get_refund_id()
S
80 1 3
set_multibanco_data()
S
80 1 3
get_multibanco_data()
S
80 1 3
set_intent_id()
S
80 1 3
delete_fee()
S
77 1 4
set_upe_payment_type()
S
80 1 3
get_mandate_id()
S
80 1 3
set_source_id()
S
80 1 3
get_source_id()
S
80 1 3
set_stripe_customer_id()
S
80 1 3
get_stripe_customer_id()
S
80 1 3
set_charge_captured()
S
80 1 3
is_charge_captured()
S
80 1 3
set_status_final()
S
80 1 3
is_status_final()
S
80 1 3
get_upe_payment_type()
S
80 1 3
set_mandate_id()
S
80 1 3
set_fee()
S
80 1 3
get_by_intent_id()
S
79 1 3
set_net()
S
80 1 3
delete_net()
S
77 1 4
get_stripe_currency()
S
80 1 3
set_stripe_currency()
S
80 1 3
is_payment_awaiting_action()
S
80 1 3
get_by_setup_intent_id()
S
79 1 3
set_card_brand()
S
80 1 3
get_card_brand()
S
80 1 3
unlock_refund()
S
77 1 4
is_upe_waiting_for_redirect()
S
80 1 3
set_lock_refund()
S
80 1 3
get_lock_refund()
S
80 1 3
set_setup_intent()
S
80 1 3
get_by_refund_id()
S
79 1 3
set_upe_redirect_processed()
S
80 1 3
is_upe_redirect_processed()
S
80 1 3
get_by_charge_id()
S
79 1 3
get_by_source_id()
S
79 1 3
set_upe_waiting_for_redirect()
S
80 1 3
get_setup_intent()
S
80 1 3