WC_Stripe_Payment_Gateway_Voucher S

Total Complexity 35
Dependencies 6
Dependents 0
Total lines 379
Lines of code 161
Logical lines of code 77
Comment lines 148
Methods 12
Properties 11

Methods 12

Method Rating Maintainability Complexity Lines of code
__construct()
A
47 9 33
update_payment_intent_ajax()
S
47 5 35
process_payment()
S
47 4 37
payment_scripts()
S
69 5 6
create_or_update_payment_intent()
S
53 3 23
is_available()
S
71 2 6
get_icon()
S
69 2 6
can_refund_order()
S
82 1 3
get_supported_currency()
S
71 1 6
init_form_fields()
S
78 1 3
validate_amount_limits()
S
100 1 0
get_confirm_payment_data()
S
82 1 3