-
Home
-
Client Invoicing by Sprout Invoices – Easy Estimates and Invoices for WordPress
-
20.5.5
-
Code
-
Classes
- SI_Payment
Total Complexity |
63 |
Dependencies |
2 |
Dependents |
22 |
Total lines |
404 |
Lines of code |
275 |
Logical lines of code |
117 |
Comment lines |
76 |
Methods |
35 |
Properties |
2 |
Methods 35
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
new_payment() |
S |
46 |
5 |
40 |
get_instance() |
S |
62 |
6 |
11 |
is_active() |
S |
59 |
5 |
16 |
get_payments() |
S |
58 |
4 |
16 |
maybe_paid_deposit() |
S |
63 |
4 |
10 |
get_client() |
S |
63 |
3 |
11 |
register_post_statuses() |
S |
54 |
2 |
20 |
get_pending_payments() |
S |
55 |
2 |
20 |
cancel() |
S |
64 |
2 |
10 |
is_recurring() |
S |
71 |
2 |
6 |
set_type() |
S |
67 |
2 |
8 |
set_tracking() |
S |
67 |
2 |
8 |
set_data() |
S |
67 |
2 |
8 |
init() |
S |
63 |
1 |
11 |
set_payment_method() |
S |
73 |
1 |
5 |
__construct() |
S |
80 |
1 |
3 |
get_payments_for_purchase() |
S |
74 |
1 |
4 |
get_status() |
S |
82 |
1 |
3 |
set_status() |
S |
73 |
1 |
5 |
set_purchase() |
S |
73 |
1 |
5 |
get_purchase() |
S |
79 |
1 |
3 |
get_type() |
S |
79 |
1 |
3 |
get_tracking() |
S |
79 |
1 |
3 |
set_amount() |
S |
73 |
1 |
5 |
get_amount() |
S |
79 |
1 |
3 |
set_shipping_address() |
S |
73 |
1 |
5 |
get_transaction_id() |
S |
79 |
1 |
3 |
set_transaction_id() |
S |
73 |
1 |
5 |
get_source() |
S |
79 |
1 |
3 |
set_source() |
S |
73 |
1 |
5 |
get_data() |
S |
79 |
1 |
3 |
get_payment_method() |
S |
79 |
1 |
3 |
get_invoice_id() |
S |
79 |
1 |
3 |
set_invoice_id() |
S |
73 |
1 |
5 |
get_shipping_address() |
S |
79 |
1 |
3 |