-
Home
-
Payment forms, Buy now buttons, and Invoicing System | GetPaid
-
2.8.25
-
Code
-
Classes
- WPInv_Legacy_Invoice
| Total Complexity |
255 |
| Dependencies |
1 |
| Dependents |
1 |
| Total lines |
1,351 |
| Lines of code |
819 |
| Logical lines of code |
460 |
| Comment lines |
175 |
| Methods |
116 |
| Properties |
49 |
Methods 116
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| setup_user_info() |
A |
39 |
14 |
65 |
| add_note() |
A |
42 |
10 |
50 |
| remove_fee_by() |
A |
46 |
10 |
41 |
| setup_invoice() |
A |
39 |
6 |
60 |
| get_invoice_date() |
S |
60 |
8 |
12 |
| get_discount() |
S |
54 |
7 |
19 |
| get_recurring() |
S |
57 |
7 |
17 |
| get_fees() |
S |
58 |
7 |
14 |
| is_recurring() |
S |
58 |
6 |
16 |
| update_status() |
S |
52 |
5 |
22 |
| setup_subtotal() |
S |
58 |
5 |
16 |
| get_meta() |
S |
58 |
5 |
15 |
| setup_total() |
S |
59 |
5 |
14 |
| setup_tax() |
S |
63 |
5 |
10 |
| is_free_trial() |
S |
64 |
5 |
9 |
| setup_invoice_number() |
S |
60 |
4 |
14 |
| set() |
S |
61 |
4 |
12 |
| setup_completed_date() |
S |
65 |
4 |
8 |
| get_fees_total() |
S |
62 |
4 |
10 |
| has_status() |
S |
75 |
4 |
3 |
| get_total() |
S |
62 |
3 |
11 |
| add_fee() |
S |
54 |
2 |
22 |
| setup_due_date() |
S |
62 |
3 |
10 |
| setup_gateway() |
S |
68 |
3 |
7 |
| setup_transaction_id() |
S |
66 |
3 |
8 |
| get_discounts() |
S |
67 |
3 |
7 |
| get_tax() |
S |
63 |
3 |
10 |
| __construct() |
S |
72 |
2 |
6 |
| get() |
S |
67 |
2 |
8 |
| _isset() |
S |
68 |
2 |
7 |
| setup_cart_details() |
S |
74 |
2 |
4 |
| setup_items() |
S |
74 |
2 |
4 |
| setup_fees() |
S |
75 |
2 |
4 |
| setup_currency() |
S |
73 |
2 |
4 |
| setup_discount() |
S |
66 |
2 |
8 |
| setup_discount_code() |
S |
74 |
2 |
4 |
| setup_discounts() |
S |
74 |
2 |
4 |
| remove_fee() |
S |
69 |
2 |
7 |
| decrease_subtotal() |
S |
66 |
2 |
9 |
| decrease_fees() |
S |
66 |
2 |
9 |
| decrease_tax() |
S |
68 |
2 |
8 |
| get_description() |
S |
71 |
2 |
5 |
| get_status() |
S |
66 |
2 |
8 |
| get_subtotal() |
S |
67 |
2 |
7 |
| get_final_tax() |
S |
67 |
2 |
7 |
| get_due_date() |
S |
68 |
2 |
7 |
| generate_key() |
S |
72 |
2 |
4 |
| is_free() |
S |
74 |
2 |
4 |
| setup_status_nicename() |
S |
82 |
1 |
3 |
| setup_post_name() |
S |
81 |
1 |
3 |
| array_convert() |
S |
80 |
1 |
3 |
| setup_is_taxable() |
S |
79 |
1 |
3 |
| setup_mode() |
S |
80 |
1 |
3 |
| setup_gateway_title() |
S |
76 |
1 |
4 |
| setup_ip() |
S |
76 |
1 |
4 |
| setup_first_name() |
S |
76 |
1 |
4 |
| setup_last_name() |
S |
76 |
1 |
4 |
| setup_company() |
S |
76 |
1 |
4 |
| setup_vat_number() |
S |
76 |
1 |
4 |
| setup_vat_rate() |
S |
76 |
1 |
4 |
| setup_adddress_confirmed() |
S |
76 |
1 |
4 |
| setup_phone() |
S |
76 |
1 |
4 |
| setup_address() |
S |
75 |
1 |
4 |
| setup_city() |
S |
75 |
1 |
4 |
| setup_country() |
S |
75 |
1 |
4 |
| setup_state() |
S |
75 |
1 |
4 |
| setup_zip() |
S |
75 |
1 |
4 |
| setup_invoice_key() |
S |
75 |
1 |
4 |
| save() |
S |
98 |
1 |
1 |
| increase_subtotal() |
S |
71 |
1 |
6 |
| increase_fees() |
S |
71 |
1 |
6 |
| recalculate_total() |
S |
70 |
1 |
6 |
| increase_tax() |
S |
74 |
1 |
5 |
| refund() |
S |
71 |
1 |
6 |
| update_meta() |
S |
98 |
1 |
1 |
| get_cart_details() |
S |
78 |
1 |
3 |
| get_recurring_details() |
S |
98 |
1 |
1 |
| get_discount_code() |
S |
82 |
1 |
3 |
| is_taxable() |
S |
80 |
1 |
3 |
| get_user_id() |
S |
78 |
1 |
3 |
| get_first_name() |
S |
78 |
1 |
3 |
| get_last_name() |
S |
78 |
1 |
3 |
| get_user_full_name() |
S |
78 |
1 |
3 |
| get_user_info() |
S |
78 |
1 |
3 |
| get_email() |
S |
78 |
1 |
3 |
| get_address() |
S |
78 |
1 |
3 |
| get_phone() |
S |
78 |
1 |
3 |
| get_number() |
S |
78 |
1 |
3 |
| get_items() |
S |
78 |
1 |
3 |
| get_key() |
S |
78 |
1 |
3 |
| get_transaction_id() |
S |
78 |
1 |
3 |
| get_gateway() |
S |
78 |
1 |
3 |
| get_gateway_title() |
S |
98 |
1 |
1 |
| get_currency() |
S |
78 |
1 |
3 |
| get_created_date() |
S |
78 |
1 |
3 |
| get_completed_date() |
S |
78 |
1 |
3 |
| get_ip() |
S |
78 |
1 |
3 |
| add_item() |
S |
98 |
1 |
1 |
| remove_item() |
S |
98 |
1 |
1 |
| update_items() |
S |
98 |
1 |
1 |
| recalculate_totals() |
S |
98 |
1 |
1 |
| needs_payment() |
S |
98 |
1 |
1 |
| get_checkout_payment_url() |
S |
98 |
1 |
1 |
| get_view_url() |
S |
98 |
1 |
1 |
| is_initial_free() |
S |
98 |
1 |
1 |
| get_subscription_name() |
S |
98 |
1 |
1 |
| get_subscription_id() |
S |
98 |
1 |
1 |
| is_parent() |
S |
80 |
1 |
3 |
| is_renewal() |
S |
98 |
1 |
1 |
| get_parent_payment() |
S |
98 |
1 |
1 |
| is_paid() |
S |
98 |
1 |
1 |
| is_quote() |
S |
98 |
1 |
1 |
| is_refunded() |
S |
98 |
1 |
1 |
| has_vat() |
S |
98 |
1 |
1 |
| refresh_item_ids() |
S |
98 |
1 |
1 |
| get_invoice_quote_type() |
S |
98 |
1 |
1 |