Fortnox_API D

Total Complexity 128
Dependencies 4
Dependents 1
Total lines 839
Lines of code 620
Logical lines of code 255
Comment lines 28
Methods 70
Properties 0

Methods 70

Method Rating Maintainability Complexity Lines of code
apiCall()
B
37 18 66
get_access_token()
A
43 7 47
get_all_articles()
A
51 8 23
getAllCustomers()
A
51 8 23
get_financial_years()
S
60 3 14
get_all_invoices()
S
61 3 11
get_customers_by_organisation_number()
S
65 3 9
get_customers_by_email()
S
64 3 9
outbound_delivery()
S
68 3 7
inbound_delivery()
S
68 3 7
__construct()
S
78 2 3
getInvoicePaymentsByInvoiceNumber()
S
66 2 8
getAllAccounts()
S
63 2 10
get_print_templates()
S
66 2 8
ratelimiter()
S
66 2 8
get_customers_by_name()
S
66 2 8
get_first_customer_by_organisation_number()
S
75 2 4
get_first_customer_by_email()
S
78 2 3
getInvoicePayments()
S
66 2 8
delete_invoice_payment()
S
72 1 6
get_invoice()
S
69 1 7
bookkeepInvoicePayment()
S
74 1 4
getOrder()
S
69 1 7
getOrdersByExternalInvoiceReference1()
S
75 1 4
getInvoicesByExternalInvoiceReference1()
S
75 1 4
get_order()
S
69 1 7
createInvoicePayment()
S
66 1 9
get_terms_of_payments()
S
69 1 7
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
create_article()
S
66 1 9
book_invoice()
S
72 1 6
credit_invoice()
S
72 1 6
email_invoice()
S
72 1 6
external_print_invoice()
S
72 1 6
get_article_by_description()
S
71 1 6
update_article()
S
66 1 9
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
get_projects()
S
69 1 7
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
get_article_by_manufacturer_article_number()
S
71 1 6
get_service_url()
S
80 1 3
get_cost_centers()
S
69 1 7
get_company_information()
S
79 1 3