Fortnox_API D

Total Complexity 167
Dependencies 4
Dependents 1
Total lines 1,017
Lines of code 746
Logical lines of code 327
Comment lines 34
Methods 76
Properties 1

Methods 76

Method Rating Maintainability Complexity Lines of code
apiCall()
C
31 29 100
get_access_token()
B
33 22 89
get_all_articles()
A
51 8 23
getAllCustomers()
A
51 8 23
__construct()
S
67 4 7
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
getInvoicePaymentsByInvoiceNumber()
S
66 2 8
get_service_url()
S
69 2 7
get_print_templates()
S
66 2 8
getAllAccounts()
S
63 2 10
getInvoicePayments()
S
66 2 8
get_first_customer_by_organisation_number()
S
75 2 4
ratelimiter()
S
66 2 8
get_first_customer_by_email()
S
78 2 3
warehouse_item_summary()
S
77 2 3
getOrdersByExternalInvoiceReference1()
S
75 1 4
getInvoicesByExternalInvoiceReference1()
S
75 1 4
warehouse_stockpoints()
S
79 1 3
get_invoice()
S
69 1 7
get_order()
S
69 1 7
get_terms_of_payments()
S
69 1 7
get_company_information()
S
79 1 3
get_customer_by_id()
S
69 1 7
get_terms_of_deliveries()
S
69 1 7
get_modes_of_payments()
S
69 1 7
createInvoicePayment()
S
66 1 9
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
print_invoice()
S
71 1 6
book_invoice()
S
72 1 6
email_invoice()
S
72 1 6
bookkeepInvoicePayment()
S
74 1 4
delete_invoice_payment()
S
72 1 6
credit_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