Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIServer ¶
type APIServer struct {
// contains filtered or unexported fields
}
func NewTestAPIServer ¶
func NewTestAPIServer() *APIServer
NewTestAPIServer creates a Test API Server
don't forget to call Close method
func (*APIServer) GetURL ¶
GetURL returns url like http://localhost:randomPortNumber
type CreateCustomerReq ¶
type CreateCustomerReq struct {
Customer fortnox.Customer `json:"Customer"`
}
type CreateCustomerResp ¶
type CreateCustomerResp struct {
Customer fortnox.Customer `json:"Customer"`
}
type CreateInvoiceReq ¶
type CreateInvoiceReq struct {
Invoice fortnox.Invoice `json:"Invoice"`
}
type CreateInvoiceResp ¶
type CreateInvoiceResp struct {
Invoice fortnox.Invoice `json:"Invoice"`
}
type GetCustomerResp ¶
type GetCustomerResp struct {
Customer fortnox.Customer `json:"Customer"`
}
type GetInvoiceResp ¶
type GetInvoiceResp struct {
Invoice fortnox.Invoice `json:"Invoice"`
}
type UpdateCustomerReq ¶
type UpdateCustomerReq struct {
Customer fortnox.Customer `json:"Customer"`
}
type UpdateCustomerResp ¶
type UpdateCustomerResp struct {
Customer fortnox.Customer `json:"Customer"`
}
type UpdateInvoiceReq ¶
type UpdateInvoiceReq struct {
Invoice fortnox.Invoice `json:"Invoice"`
}
type UpdateInvoiceResp ¶
type UpdateInvoiceResp struct {
Invoice fortnox.Invoice `json:"Invoice"`
}
Click to show internal directories.
Click to hide internal directories.