WC_Stripe_Payment_Gateway_Voucher S

Total Complexity 41
Dependencies 6
Dependents 0
Total lines 407
Lines of code 177
Logical lines of code 88
Comment lines 153
Methods 13
Properties 11

Methods 13

Method Rating Maintainability Complexity Lines of code
__construct()
A
47 9 33
update_payment_intent_ajax()
A
46 7 39
process_payment()
S
47 4 37
create_or_update_payment_intent()
S
51 4 27
payment_scripts()
S
70 5 6
javascript_params()
S
65 3 8
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