Fortnox_API D

Total Complexity 192
Dependencies 3
Dependents 1
Total lines 1,143
Lines of code 833
Logical lines of code 383
Comment lines 45
Methods 78
Properties 1

Methods 78

Method Rating Maintainability Complexity Lines of code
apiCall()
D
28
36 119
get_access_token()
C
32 23 95
warehouse_stockbalance()
A
46 8 39
getAllCustomers()
A
51 8 23
get_all_articles()
A
51 8 23
set_dns_servers()
A
55 8 19
__construct()
S
67 4 7
get_customers_by_email()
S
62 4 10
get_customers_by_organisation_number()
S
62 4 10
get_financial_years()
S
60 3 14
get_all_invoices()
S
61 3 11
inbound_delivery()
S
68 3 7
warehouse_item_summary()
S
67 3 7
get_customers_by_name()
S
63 3 9
outbound_delivery()
S
68 3 7
getAllAccounts()
S
63 2 10
get_first_customer_by_organisation_number()
S
75 2 4
get_first_customer_by_email()
S
78 2 3
ratelimiter()
S
66 2 8
getInvoicePayments()
S
66 2 8
getInvoicePaymentsByInvoiceNumber()
S
66 2 8
get_service_url()
S
69 2 7
get_print_templates()
S
66 2 8
get_modes_of_payments()
S
69 1 7
get_customer_by_id()
S
69 1 7
get_terms_of_payments()
S
69 1 7
get_order()
S
69 1 7
warehouse_stockpoints()
S
79 1 3
getInvoicesByExternalInvoiceReference1()
S
75 1 4
get_invoice()
S
69 1 7
update_invoice()
S
66 1 9
get_terms_of_deliveries()
S
69 1 7
get_way_of_deliveries()
S
69 1 7
create_invoice()
S
66 1 9
send_nox_invoice()
S
66 1 9
external_print_invoice()
S
72 1 6
print_invoice()
S
71 1 6
book_invoice()
S
72 1 6
credit_invoice()
S
72 1 6
getOrdersByExternalInvoiceReference1()
S
75 1 4
delete_invoice_payment()
S
72 1 6
createInvoicePayment()
S
66 1 9
bookkeepInvoicePayment()
S
74 1 4
get_company_information()
S
79 1 3
email_invoice()
S
72 1 6
get_projects()
S
69 1 7
getOrder()
S
69 1 7
cancel_invoice()
S
71 1 6
get_pricelists()
S
74 1 4
get_prices()
S
73 1 4
create_price()
S
75 1 4
update_price()
S
67 1 8
getCustomer()
S
69 1 7
addCustomer()
S
66 1 9
updateCustomer()
S
66 1 9
create_order()
S
66 1 9
create_voucher()
S
66 1 9
get_voucher()
S
68 1 7
update_order()
S
66 1 9
updateInvoice()
S
66 1 9
cancel_order()
S
71 1 6
set_order_warehouseready()
S
69 1 7
create_article()
S
66 1 9
set_invoice_warehouseready()
S
69 1 7
finish_order()
S
69 1 7
getOrderPDF()
S
65 1 10
getInvoicePDF()
S
65 1 10
warehouseOrder()
S
72 1 6
get_article()
S
69 1 7
get_units()
S
69 1 7
get_unit()
S
69 1 7
create_unit()
S
66 1 9
get_voucher_series()
S
69 1 7
get_article_by_manufacturer_article_number()
S
71 1 6
get_article_by_description()
S
71 1 6
get_cost_centers()
S
69 1 7
update_article()
S
66 1 9
warehouse_activated()
S
79 1 3