-
Home
-
GiveWP – Donation Plugin and Fundraising Platform
-
2.10.0
-
Code
-
Classes
- Give_Stripe_Customer
| Total Complexity |
69 |
| Dependencies |
7 |
| Dependents |
5 |
| Total lines |
615 |
| Lines of code |
284 |
| Logical lines of code |
149 |
| Comment lines |
236 |
| Methods |
14 |
| Properties |
7 |
Methods 14
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| create_customer() |
B |
38 |
19 |
64 |
| attach_source() |
B |
38 |
15 |
69 |
| attach_payment_method() |
A |
44 |
10 |
44 |
| get_or_create_customer() |
A |
46 |
10 |
38 |
| set_default_payment_method() |
S |
53 |
3 |
24 |
| is_no_such_customer_error() |
S |
68 |
3 |
7 |
| update_customer() |
S |
61 |
2 |
13 |
| __construct() |
S |
69 |
1 |
7 |
| get_id() |
S |
82 |
1 |
3 |
| set_id() |
S |
80 |
1 |
3 |
| set_customer_data() |
S |
81 |
1 |
3 |
| is_card() |
S |
79 |
1 |
3 |
| is_source() |
S |
79 |
1 |
3 |
| is_bank_account() |
S |
79 |
1 |
3 |