Fortnox_API D

Total Complexity 139
Dependencies 4
Dependents 1
Total lines 889
Lines of code 650
Logical lines of code 268
Comment lines 29
Methods 75
Properties 0

Methods 75

Method Rating Maintainability Complexity Lines of code
apiCall()
B
37 18 66
get_access_token()
A
42 9 49
getAllCustomers()
A
51 8 23
get_all_articles()
A
51 8 23
get_customers_by_organisation_number()
S
62 4 10
get_customers_by_email()
S
62 4 10
get_financial_years()
S
60 3 14
get_all_invoices()
S
61 3 11
outbound_delivery()
S
68 3 7
inbound_delivery()
S
68 3 7
get_customers_by_name()
S
63 3 9
get_first_customer_by_email()
S
78 2 3
getInvoicePayments()
S
66 2 8
getInvoicePaymentsByInvoiceNumber()
S
66 2 8
get_first_customer_by_organisation_number()
S
75 2 4
getAllAccounts()
S
63 2 10
warehouse_item_summary()
S
77 2 3
__construct()
S
78 2 3
get_print_templates()
S
66 2 8
ratelimiter()
S
66 2 8
cancel_invoice()
S
71 1 6
updateCustomer()
S
66 1 9
get_modes_of_payments()
S
69 1 7
get_terms_of_deliveries()
S
69 1 7
get_way_of_deliveries()
S
69 1 7
create_invoice()
S
66 1 9
update_invoice()
S
66 1 9
send_nox_invoice()
S
66 1 9
external_print_invoice()
S
72 1 6
book_invoice()
S
72 1 6
credit_invoice()
S
72 1 6
email_invoice()
S
72 1 6
createInvoicePayment()
S
66 1 9
delete_invoice_payment()
S
72 1 6
get_order()
S
69 1 7
addCustomer()
S
66 1 9
bookkeepInvoicePayment()
S
74 1 4
getCustomer()
S
69 1 7
update_price()
S
67 1 8
create_price()
S
75 1 4
get_prices()
S
73 1 4
get_pricelists()
S
74 1 4
get_customer_by_id()
S
69 1 7
get_company_information()
S
79 1 3
warehouse_stockpoints()
S
79 1 3
get_terms_of_payments()
S
69 1 7
get_invoice()
S
69 1 7
set_order_warehouseready()
S
69 1 7
updateInvoice()
S
66 1 9
set_invoice_warehouseready()
S
69 1 7
finish_order()
S
69 1 7
getOrderPDF()
S
71 1 6
getInvoicePDF()
S
71 1 6
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
cancel_order()
S
71 1 6
update_order()
S
66 1 9
getInvoicesByExternalInvoiceReference1()
S
75 1 4
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
get_service_url()
S
80 1 3
get_projects()
S
69 1 7
update_article()
S
66 1 9
create_article()
S
66 1 9
get_voucher()
S
68 1 7
create_voucher()
S
66 1 9
create_order()
S
66 1 9
getOrder()
S
69 1 7
getOrdersByExternalInvoiceReference1()
S
75 1 4
warehouse_activated()
S
79 1 3