| Total Complexity | 55 |
| Dependencies | 1 |
| Dependents | 0 |
| Total lines | 337 |
| Lines of code | 215 |
| Logical lines of code | 114 |
| Comment lines | 73 |
| Methods | 11 |
| Properties | 0 |
| Method | Rating | Maintainability | Complexity | Lines of code |
|---|---|---|---|---|
| process_payment() | 42 | 12 | 51 | |
| get_payment_intent_args() | 51 | 9 | 25 | |
| can_update_payment_intent() | 51 | 6 | 28 | |
| can_use_payment_intent() | 58 | 6 | 16 | |
| scheduled_subscription_payment() | 51 | 5 | 27 | |
| process_pre_order_payment() | 51 | 5 | 27 | |
| void_charge() | 58 | 5 | 14 | |
| capture_charge() | 57 | 3 | 15 | |
| add_order_payment_method() | 71 | 2 | 6 | |
| get_payment_method_from_charge() | 82 | 1 | 3 | |
| can_void_order() | 80 | 1 | 3 |