Documentation
¶
Index ¶
- Variables
- func CheckResponse(r *http.Response) error
- type Account
- type Accounts
- type AccountsGet
- func (r *AccountsGet) Do() (AccountsGetResponseBody, error)
- func (r *AccountsGet) Method() string
- func (r AccountsGet) NewPathParams() *AccountsGetPathParams
- func (r AccountsGet) NewQueryParams() *AccountsGetQueryParams
- func (r AccountsGet) NewRequestBody() AccountsGetBody
- func (r *AccountsGet) NewResponseBody() *AccountsGetResponseBody
- func (r *AccountsGet) PathParams() *AccountsGetPathParams
- func (r *AccountsGet) PathParamsInterface() PathParams
- func (r *AccountsGet) QueryParams() QueryParams
- func (r *AccountsGet) RequestBody() *AccountsGetBody
- func (r *AccountsGet) RequestBodyInterface() interface{}
- func (r *AccountsGet) SetMethod(method string)
- func (r *AccountsGet) SetRequestBody(body AccountsGetBody)
- func (r *AccountsGet) URL() *url.URL
- type AccountsGetBody
- type AccountsGetPathParams
- type AccountsGetQueryParams
- type AccountsGetResponseBody
- type Article
- type ArticleAccountCoding
- type ArticleAccountCodings
- type ArticleAccountCodingsGet
- func (r *ArticleAccountCodingsGet) Do() (ArticleAccountCodingsGetResponseBody, error)
- func (r *ArticleAccountCodingsGet) Method() string
- func (r ArticleAccountCodingsGet) NewPathParams() *ArticleAccountCodingsGetPathParams
- func (r ArticleAccountCodingsGet) NewQueryParams() *ArticleAccountCodingsGetQueryParams
- func (r ArticleAccountCodingsGet) NewRequestBody() ArticleAccountCodingsGetBody
- func (r *ArticleAccountCodingsGet) NewResponseBody() *ArticleAccountCodingsGetResponseBody
- func (r *ArticleAccountCodingsGet) PathParams() *ArticleAccountCodingsGetPathParams
- func (r *ArticleAccountCodingsGet) PathParamsInterface() PathParams
- func (r *ArticleAccountCodingsGet) QueryParams() *ArticleAccountCodingsGetQueryParams
- func (r *ArticleAccountCodingsGet) RequestBody() *ArticleAccountCodingsGetBody
- func (r *ArticleAccountCodingsGet) RequestBodyInterface() interface{}
- func (r *ArticleAccountCodingsGet) SetMethod(method string)
- func (r *ArticleAccountCodingsGet) SetRequestBody(body ArticleAccountCodingsGetBody)
- func (r *ArticleAccountCodingsGet) URL() *url.URL
- type ArticleAccountCodingsGetBody
- type ArticleAccountCodingsGetPathParams
- type ArticleAccountCodingsGetQueryParams
- type ArticleAccountCodingsGetResponseBody
- type Articles
- type ArticlesGet
- func (r *ArticlesGet) Do() (ArticlesGetResponseBody, error)
- func (r *ArticlesGet) Method() string
- func (r ArticlesGet) NewPathParams() *ArticlesGetPathParams
- func (r ArticlesGet) NewQueryParams() *ArticlesGetQueryParams
- func (r ArticlesGet) NewRequestBody() ArticlesGetBody
- func (r *ArticlesGet) NewResponseBody() *ArticlesGetResponseBody
- func (r *ArticlesGet) PathParams() *ArticlesGetPathParams
- func (r *ArticlesGet) PathParamsInterface() PathParams
- func (r *ArticlesGet) QueryParams() *ArticlesGetQueryParams
- func (r *ArticlesGet) RequestBody() *ArticlesGetBody
- func (r *ArticlesGet) RequestBodyInterface() interface{}
- func (r *ArticlesGet) SetMethod(method string)
- func (r *ArticlesGet) SetRequestBody(body ArticlesGetBody)
- func (r *ArticlesGet) URL() *url.URL
- type ArticlesGetBody
- type ArticlesGetPathParams
- type ArticlesGetQueryParams
- type ArticlesGetResponseBody
- type ArticlesPost
- func (r *ArticlesPost) Do() (ArticlesPostResponseBody, error)
- func (r *ArticlesPost) Method() string
- func (r ArticlesPost) NewPathParams() *ArticlesPostPathParams
- func (r ArticlesPost) NewQueryParams() *ArticlesPostQueryParams
- func (r ArticlesPost) NewRequestBody() ArticlesPostBody
- func (r *ArticlesPost) NewResponseBody() *ArticlesPostResponseBody
- func (r *ArticlesPost) PathParams() *ArticlesPostPathParams
- func (r *ArticlesPost) PathParamsInterface() PathParams
- func (r *ArticlesPost) QueryParams() *ArticlesPostQueryParams
- func (r *ArticlesPost) RequestBody() *ArticlesPostBody
- func (r *ArticlesPost) RequestBodyInterface() interface{}
- func (r *ArticlesPost) SetMethod(method string)
- func (r *ArticlesPost) SetRequestBody(body ArticlesPostBody)
- func (r *ArticlesPost) URL() *url.URL
- type ArticlesPostBody
- type ArticlesPostPathParams
- type ArticlesPostQueryParams
- type ArticlesPostResponseBody
- type BeforeRequestDoCallback
- type Client
- func (c Client) BaseURL() url.URL
- func (c Client) Charset() string
- func (c Client) Debug() bool
- func (c *Client) Do(req *http.Request, body interface{}) (*http.Response, error)
- func (c *Client) GetEndpointURL(p string, pathParams PathParams) url.URL
- func (c Client) MediaType() string
- func (c *Client) NewAccountsGet() AccountsGet
- func (c *Client) NewArticleAccountCodingsGet() ArticleAccountCodingsGet
- func (c *Client) NewArticlesGet() ArticlesGet
- func (c *Client) NewArticlesPost() ArticlesPost
- func (c *Client) NewCompanysettingsGet() CompanysettingsGet
- func (c *Client) NewCostCentersGet() CostCenterGet
- func (c *Client) NewCustomerinvoicesGet() CustomerinvoicesGet
- func (c *Client) NewCustomerinvoicesPost() CustomerinvoicesPost
- func (c *Client) NewCustomerledgeritemsGet() CustomerledgeritemsGet
- func (c *Client) NewCustomerledgeritemsPost() CustomerledgeritemsPost
- func (c *Client) NewCustomerledgeritemswithvoucherPost() CustomerledgeritemswithvoucherPost
- func (c *Client) NewCustomersGet() CustomersGet
- func (c *Client) NewCustomersPost() CustomersPost
- func (c *Client) NewOrdersGet() OrdersGet
- func (c *Client) NewOrdersPost() OrdersPost
- func (c *Client) NewRequest(ctx context.Context, req Request) (*http.Request, error)
- func (c *Client) NewTermsofpaymentsGet() TermsofpaymentsGet
- func (c *Client) NewUnitsGet() UnitsGet
- func (c *Client) NewVatcodesGet() VatcodesGet
- func (c *Client) NewVouchersGet() VouchersGet
- func (c *Client) NewVouchersPost() VouchersPost
- func (c *Client) SetBaseURL(baseURL url.URL)
- func (c *Client) SetBeforeRequestDo(fun BeforeRequestDoCallback)
- func (c *Client) SetCharset(charset string)
- func (c *Client) SetDebug(debug bool)
- func (c *Client) SetDisallowUnknownFields(disallowUnknownFields bool)
- func (c *Client) SetHTTPClient(client *http.Client)
- func (c *Client) SetMediaType(mediaType string)
- func (c *Client) SetUserAgent(userAgent string)
- func (c *Client) Unmarshal(r io.Reader, vv ...interface{}) error
- func (c Client) UserAgent() string
- type Companysettings
- type CompanysettingsGet
- func (r *CompanysettingsGet) Do() (CompanysettingsGetResponseBody, error)
- func (r *CompanysettingsGet) Method() string
- func (r CompanysettingsGet) NewPathParams() *CompanysettingsGetPathParams
- func (r CompanysettingsGet) NewQueryParams() *CompanysettingsGetQueryParams
- func (r CompanysettingsGet) NewRequestBody() CompanysettingsGetBody
- func (r *CompanysettingsGet) NewResponseBody() *CompanysettingsGetResponseBody
- func (r *CompanysettingsGet) PathParams() *CompanysettingsGetPathParams
- func (r *CompanysettingsGet) PathParamsInterface() PathParams
- func (r *CompanysettingsGet) QueryParams() QueryParams
- func (r *CompanysettingsGet) RequestBody() *CompanysettingsGetBody
- func (r *CompanysettingsGet) RequestBodyInterface() interface{}
- func (r *CompanysettingsGet) SetMethod(method string)
- func (r *CompanysettingsGet) SetRequestBody(body CompanysettingsGetBody)
- func (r *CompanysettingsGet) URL() *url.URL
- type CompanysettingsGetBody
- type CompanysettingsGetPathParams
- type CompanysettingsGetQueryParams
- type CompanysettingsGetResponseBody
- type CostCenter
- type CostCenterGet
- func (r *CostCenterGet) Do() (CostCenterGetResponseBody, error)
- func (r *CostCenterGet) Method() string
- func (r CostCenterGet) NewPathParams() *CostCenterGetPathParams
- func (r CostCenterGet) NewQueryParams() *CostCenterGetQueryParams
- func (r CostCenterGet) NewRequestBody() CostCenterGetBody
- func (r *CostCenterGet) NewResponseBody() *CostCenterGetResponseBody
- func (r *CostCenterGet) PathParams() *CostCenterGetPathParams
- func (r *CostCenterGet) PathParamsInterface() PathParams
- func (r *CostCenterGet) QueryParams() *CostCenterGetQueryParams
- func (r *CostCenterGet) RequestBody() *CostCenterGetBody
- func (r *CostCenterGet) RequestBodyInterface() interface{}
- func (r *CostCenterGet) SetMethod(method string)
- func (r *CostCenterGet) SetRequestBody(body CostCenterGetBody)
- func (r *CostCenterGet) URL() *url.URL
- type CostCenterGetBody
- type CostCenterGetPathParams
- type CostCenterGetQueryParams
- type CostCenterGetResponseBody
- type CostCenterItem
- type CostCenterItems
- type CostCenters
- type Customer
- type CustomerInvoice
- type CustomerInvoiceRow
- type CustomerInvoiceRows
- type CustomerInvoices
- type CustomerLedgerItem
- type CustomerLedgerItems
- type CustomerinvoicesGet
- func (r *CustomerinvoicesGet) Do() (CustomerinvoicesGetResponseBody, error)
- func (r *CustomerinvoicesGet) Method() string
- func (r CustomerinvoicesGet) NewPathParams() *CustomerinvoicesGetPathParams
- func (r CustomerinvoicesGet) NewQueryParams() *CustomerinvoicesGetQueryParams
- func (r CustomerinvoicesGet) NewRequestBody() CustomerinvoicesGetBody
- func (r *CustomerinvoicesGet) NewResponseBody() *CustomerinvoicesGetResponseBody
- func (r *CustomerinvoicesGet) PathParams() *CustomerinvoicesGetPathParams
- func (r *CustomerinvoicesGet) PathParamsInterface() PathParams
- func (r *CustomerinvoicesGet) QueryParams() *CustomerinvoicesGetQueryParams
- func (r *CustomerinvoicesGet) RequestBody() *CustomerinvoicesGetBody
- func (r *CustomerinvoicesGet) RequestBodyInterface() interface{}
- func (r *CustomerinvoicesGet) SetMethod(method string)
- func (r *CustomerinvoicesGet) SetRequestBody(body CustomerinvoicesGetBody)
- func (r *CustomerinvoicesGet) URL() *url.URL
- type CustomerinvoicesGetBody
- type CustomerinvoicesGetPathParams
- type CustomerinvoicesGetQueryParams
- type CustomerinvoicesGetResponseBody
- type CustomerinvoicesPost
- func (r *CustomerinvoicesPost) Do() (CustomerinvoicesPostResponseBody, error)
- func (r *CustomerinvoicesPost) Method() string
- func (r CustomerinvoicesPost) NewPathParams() *CustomerinvoicesPostPathParams
- func (r CustomerinvoicesPost) NewQueryParams() *CustomerinvoicesPostQueryParams
- func (r CustomerinvoicesPost) NewRequestBody() CustomerinvoicesPostBody
- func (r *CustomerinvoicesPost) NewResponseBody() *CustomerinvoicesPostResponseBody
- func (r *CustomerinvoicesPost) PathParams() *CustomerinvoicesPostPathParams
- func (r *CustomerinvoicesPost) PathParamsInterface() PathParams
- func (r *CustomerinvoicesPost) QueryParams() *CustomerinvoicesPostQueryParams
- func (r *CustomerinvoicesPost) RequestBody() *CustomerinvoicesPostBody
- func (r *CustomerinvoicesPost) RequestBodyInterface() interface{}
- func (r *CustomerinvoicesPost) SetMethod(method string)
- func (r *CustomerinvoicesPost) SetRequestBody(body CustomerinvoicesPostBody)
- func (r *CustomerinvoicesPost) URL() *url.URL
- type CustomerinvoicesPostBody
- type CustomerinvoicesPostPathParams
- type CustomerinvoicesPostQueryParams
- type CustomerinvoicesPostResponseBody
- type CustomerledgeritemsGet
- func (r *CustomerledgeritemsGet) Do() (CustomerledgeritemsGetResponseBody, error)
- func (r *CustomerledgeritemsGet) Method() string
- func (r CustomerledgeritemsGet) NewPathParams() *CustomerledgeritemsGetPathParams
- func (r CustomerledgeritemsGet) NewQueryParams() *CustomerledgeritemsGetQueryParams
- func (r CustomerledgeritemsGet) NewRequestBody() CustomerledgeritemsGetBody
- func (r *CustomerledgeritemsGet) NewResponseBody() *CustomerledgeritemsGetResponseBody
- func (r *CustomerledgeritemsGet) PathParams() *CustomerledgeritemsGetPathParams
- func (r *CustomerledgeritemsGet) PathParamsInterface() PathParams
- func (r *CustomerledgeritemsGet) QueryParams() *CustomerledgeritemsGetQueryParams
- func (r *CustomerledgeritemsGet) RequestBody() *CustomerledgeritemsGetBody
- func (r *CustomerledgeritemsGet) RequestBodyInterface() interface{}
- func (r *CustomerledgeritemsGet) SetMethod(method string)
- func (r *CustomerledgeritemsGet) SetRequestBody(body CustomerledgeritemsGetBody)
- func (r *CustomerledgeritemsGet) URL() *url.URL
- type CustomerledgeritemsGetBody
- type CustomerledgeritemsGetPathParams
- type CustomerledgeritemsGetQueryParams
- type CustomerledgeritemsGetResponseBody
- type CustomerledgeritemsPost
- func (r *CustomerledgeritemsPost) Do() (CustomerledgeritemsPostResponseBody, error)
- func (r *CustomerledgeritemsPost) Method() string
- func (r CustomerledgeritemsPost) NewPathParams() *CustomerledgeritemsPostPathParams
- func (r CustomerledgeritemsPost) NewQueryParams() *CustomerledgeritemsPostQueryParams
- func (r CustomerledgeritemsPost) NewRequestBody() CustomerledgeritemsPostBody
- func (r *CustomerledgeritemsPost) NewResponseBody() *CustomerledgeritemsPostResponseBody
- func (r *CustomerledgeritemsPost) PathParams() *CustomerledgeritemsPostPathParams
- func (r *CustomerledgeritemsPost) PathParamsInterface() PathParams
- func (r *CustomerledgeritemsPost) QueryParams() *CustomerledgeritemsPostQueryParams
- func (r *CustomerledgeritemsPost) RequestBody() *CustomerledgeritemsPostBody
- func (r *CustomerledgeritemsPost) RequestBodyInterface() interface{}
- func (r *CustomerledgeritemsPost) SetMethod(method string)
- func (r *CustomerledgeritemsPost) SetRequestBody(body CustomerledgeritemsPostBody)
- func (r *CustomerledgeritemsPost) URL() *url.URL
- type CustomerledgeritemsPostBody
- type CustomerledgeritemsPostPathParams
- type CustomerledgeritemsPostQueryParams
- type CustomerledgeritemsPostResponseBody
- type CustomerledgeritemswithvoucherPost
- func (r *CustomerledgeritemswithvoucherPost) Do() (CustomerledgeritemswithvoucherPostResponseBody, error)
- func (r *CustomerledgeritemswithvoucherPost) Method() string
- func (r CustomerledgeritemswithvoucherPost) NewPathParams() *CustomerledgeritemswithvoucherPostPathParams
- func (r CustomerledgeritemswithvoucherPost) NewQueryParams() *CustomerledgeritemswithvoucherPostQueryParams
- func (r CustomerledgeritemswithvoucherPost) NewRequestBody() CustomerledgeritemswithvoucherPostBody
- func (r *CustomerledgeritemswithvoucherPost) NewResponseBody() *CustomerledgeritemswithvoucherPostResponseBody
- func (r *CustomerledgeritemswithvoucherPost) PathParams() *CustomerledgeritemswithvoucherPostPathParams
- func (r *CustomerledgeritemswithvoucherPost) PathParamsInterface() PathParams
- func (r *CustomerledgeritemswithvoucherPost) QueryParams() *CustomerledgeritemswithvoucherPostQueryParams
- func (r *CustomerledgeritemswithvoucherPost) RequestBody() *CustomerledgeritemswithvoucherPostBody
- func (r *CustomerledgeritemswithvoucherPost) RequestBodyInterface() interface{}
- func (r *CustomerledgeritemswithvoucherPost) SetMethod(method string)
- func (r *CustomerledgeritemswithvoucherPost) SetRequestBody(body CustomerledgeritemswithvoucherPostBody)
- func (r *CustomerledgeritemswithvoucherPost) URL() *url.URL
- type CustomerledgeritemswithvoucherPostBody
- type CustomerledgeritemswithvoucherPostPathParams
- type CustomerledgeritemswithvoucherPostQueryParams
- type CustomerledgeritemswithvoucherPostResponseBody
- type Customers
- type CustomersGet
- func (r *CustomersGet) Do() (CustomersGetResponseBody, error)
- func (r *CustomersGet) Method() string
- func (r CustomersGet) NewPathParams() *CustomersGetPathParams
- func (r CustomersGet) NewQueryParams() *CustomersGetQueryParams
- func (r CustomersGet) NewRequestBody() CustomersGetBody
- func (r *CustomersGet) NewResponseBody() *CustomersGetResponseBody
- func (r *CustomersGet) PathParams() *CustomersGetPathParams
- func (r *CustomersGet) PathParamsInterface() PathParams
- func (r *CustomersGet) QueryParams() *CustomersGetQueryParams
- func (r *CustomersGet) RequestBody() *CustomersGetBody
- func (r *CustomersGet) RequestBodyInterface() interface{}
- func (r *CustomersGet) SetMethod(method string)
- func (r *CustomersGet) SetRequestBody(body CustomersGetBody)
- func (r *CustomersGet) URL() *url.URL
- type CustomersGetBody
- type CustomersGetPathParams
- type CustomersGetQueryParams
- type CustomersGetResponseBody
- type CustomersPost
- func (r *CustomersPost) Do() (CustomersPostResponseBody, error)
- func (r *CustomersPost) Method() string
- func (r CustomersPost) NewPathParams() *CustomersPostPathParams
- func (r CustomersPost) NewQueryParams() *CustomersPostQueryParams
- func (r CustomersPost) NewRequestBody() CustomersPostBody
- func (r *CustomersPost) NewResponseBody() *CustomersPostResponseBody
- func (r *CustomersPost) PathParams() *CustomersPostPathParams
- func (r *CustomersPost) PathParamsInterface() PathParams
- func (r *CustomersPost) QueryParams() *CustomersPostQueryParams
- func (r *CustomersPost) RequestBody() *CustomersPostBody
- func (r *CustomersPost) RequestBodyInterface() interface{}
- func (r *CustomersPost) SetMethod(method string)
- func (r *CustomersPost) SetRequestBody(body CustomersPostBody)
- func (r *CustomersPost) URL() *url.URL
- type CustomersPostBody
- type CustomersPostPathParams
- type CustomersPostQueryParams
- type CustomersPostResponseBody
- type Date
- type DateTime
- type ErrorResponse
- type ExceptionResponse
- type Meta
- type Oauth2Config
- type Order
- type Orders
- type OrdersGet
- func (r *OrdersGet) Do() (OrdersGetResponseBody, error)
- func (r *OrdersGet) Method() string
- func (r OrdersGet) NewPathParams() *OrdersGetPathParams
- func (r OrdersGet) NewQueryParams() *OrdersGetQueryParams
- func (r OrdersGet) NewRequestBody() OrdersGetBody
- func (r *OrdersGet) NewResponseBody() *OrdersGetResponseBody
- func (r *OrdersGet) PathParams() *OrdersGetPathParams
- func (r *OrdersGet) PathParamsInterface() PathParams
- func (r *OrdersGet) QueryParams() *OrdersGetQueryParams
- func (r *OrdersGet) RequestBody() *OrdersGetBody
- func (r *OrdersGet) RequestBodyInterface() interface{}
- func (r *OrdersGet) SetMethod(method string)
- func (r *OrdersGet) SetRequestBody(body OrdersGetBody)
- func (r *OrdersGet) URL() *url.URL
- type OrdersGetBody
- type OrdersGetPathParams
- type OrdersGetQueryParams
- type OrdersGetResponseBody
- type OrdersPost
- func (r *OrdersPost) Do() (OrdersPostResponseBody, error)
- func (r *OrdersPost) Method() string
- func (r OrdersPost) NewPathParams() *OrdersPostPathParams
- func (r OrdersPost) NewQueryParams() *OrdersPostQueryParams
- func (r OrdersPost) NewRequestBody() OrdersPostBody
- func (r *OrdersPost) NewResponseBody() *OrdersPostResponseBody
- func (r *OrdersPost) PathParams() *OrdersPostPathParams
- func (r *OrdersPost) PathParamsInterface() PathParams
- func (r *OrdersPost) QueryParams() *OrdersPostQueryParams
- func (r *OrdersPost) RequestBody() *OrdersPostBody
- func (r *OrdersPost) RequestBodyInterface() interface{}
- func (r *OrdersPost) SetMethod(method string)
- func (r *OrdersPost) SetRequestBody(body OrdersPostBody)
- func (r *OrdersPost) URL() *url.URL
- type OrdersPostBody
- type OrdersPostPathParams
- type OrdersPostQueryParams
- type OrdersPostResponseBody
- type PathParams
- type QueryParams
- type Request
- type RequestCompletionCallback
- type TermsOfPayment
- type TermsOfPayments
- type TermsofpaymentsGet
- func (r *TermsofpaymentsGet) Do() (TermsofpaymentsGetResponseBody, error)
- func (r *TermsofpaymentsGet) Method() string
- func (r TermsofpaymentsGet) NewPathParams() *TermsofpaymentsGetPathParams
- func (r TermsofpaymentsGet) NewQueryParams() *TermsofpaymentsGetQueryParams
- func (r TermsofpaymentsGet) NewRequestBody() TermsofpaymentsGetBody
- func (r *TermsofpaymentsGet) NewResponseBody() *TermsofpaymentsGetResponseBody
- func (r *TermsofpaymentsGet) PathParams() *TermsofpaymentsGetPathParams
- func (r *TermsofpaymentsGet) PathParamsInterface() PathParams
- func (r *TermsofpaymentsGet) QueryParams() QueryParams
- func (r *TermsofpaymentsGet) RequestBody() *TermsofpaymentsGetBody
- func (r *TermsofpaymentsGet) RequestBodyInterface() interface{}
- func (r *TermsofpaymentsGet) SetMethod(method string)
- func (r *TermsofpaymentsGet) SetRequestBody(body TermsofpaymentsGetBody)
- func (r *TermsofpaymentsGet) URL() *url.URL
- type TermsofpaymentsGetBody
- type TermsofpaymentsGetPathParams
- type TermsofpaymentsGetQueryParams
- type TermsofpaymentsGetResponseBody
- type Unit
- type Units
- type UnitsGet
- func (r *UnitsGet) Do() (UnitsGetResponseBody, error)
- func (r *UnitsGet) Method() string
- func (r UnitsGet) NewPathParams() *UnitsGetPathParams
- func (r UnitsGet) NewQueryParams() *UnitsGetQueryParams
- func (r UnitsGet) NewRequestBody() UnitsGetBody
- func (r *UnitsGet) NewResponseBody() *UnitsGetResponseBody
- func (r *UnitsGet) PathParams() *UnitsGetPathParams
- func (r *UnitsGet) PathParamsInterface() PathParams
- func (r *UnitsGet) QueryParams() *UnitsGetQueryParams
- func (r *UnitsGet) RequestBody() *UnitsGetBody
- func (r *UnitsGet) RequestBodyInterface() interface{}
- func (r *UnitsGet) SetMethod(method string)
- func (r *UnitsGet) SetRequestBody(body UnitsGetBody)
- func (r *UnitsGet) URL() *url.URL
- type UnitsGetBody
- type UnitsGetPathParams
- type UnitsGetQueryParams
- type UnitsGetResponseBody
- type VATCode
- type VATCodes
- type VatcodesGet
- func (r *VatcodesGet) Do() (VatcodesGetResponseBody, error)
- func (r *VatcodesGet) Method() string
- func (r VatcodesGet) NewPathParams() *VatcodesGetPathParams
- func (r VatcodesGet) NewQueryParams() *VatcodesGetQueryParams
- func (r VatcodesGet) NewRequestBody() VatcodesGetBody
- func (r *VatcodesGet) NewResponseBody() *VatcodesGetResponseBody
- func (r *VatcodesGet) PathParams() *VatcodesGetPathParams
- func (r *VatcodesGet) PathParamsInterface() PathParams
- func (r *VatcodesGet) QueryParams() QueryParams
- func (r *VatcodesGet) RequestBody() *VatcodesGetBody
- func (r *VatcodesGet) RequestBodyInterface() interface{}
- func (r *VatcodesGet) SetMethod(method string)
- func (r *VatcodesGet) SetRequestBody(body VatcodesGetBody)
- func (r *VatcodesGet) URL() *url.URL
- type VatcodesGetBody
- type VatcodesGetPathParams
- type VatcodesGetQueryParams
- type VatcodesGetResponseBody
- type Voucher
- type VoucherRow
- type VoucherRows
- type Vouchers
- type VouchersGet
- func (r *VouchersGet) Do() (VouchersGetResponseBody, error)
- func (r *VouchersGet) Method() string
- func (r VouchersGet) NewPathParams() *VouchersGetPathParams
- func (r VouchersGet) NewQueryParams() *VouchersGetQueryParams
- func (r VouchersGet) NewRequestBody() VouchersGetBody
- func (r *VouchersGet) NewResponseBody() *VouchersGetResponseBody
- func (r *VouchersGet) PathParams() *VouchersGetPathParams
- func (r *VouchersGet) PathParamsInterface() PathParams
- func (r *VouchersGet) QueryParams() *VouchersGetQueryParams
- func (r *VouchersGet) RequestBody() *VouchersGetBody
- func (r *VouchersGet) RequestBodyInterface() interface{}
- func (r *VouchersGet) SetMethod(method string)
- func (r *VouchersGet) SetRequestBody(body VouchersGetBody)
- func (r *VouchersGet) URL() *url.URL
- type VouchersGetBody
- type VouchersGetPathParams
- type VouchersGetQueryParams
- type VouchersGetResponseBody
- type VouchersPost
- func (r *VouchersPost) Do() (VouchersPostResponseBody, error)
- func (r *VouchersPost) Method() string
- func (r VouchersPost) NewPathParams() *VouchersPostPathParams
- func (r VouchersPost) NewQueryParams() *VouchersPostQueryParams
- func (r VouchersPost) NewRequestBody() VouchersPostBody
- func (r *VouchersPost) NewResponseBody() *VouchersPostResponseBody
- func (r *VouchersPost) PathParams() *VouchersPostPathParams
- func (r *VouchersPost) PathParamsInterface() PathParams
- func (r *VouchersPost) QueryParams() *VouchersPostQueryParams
- func (r *VouchersPost) RequestBody() *VouchersPostBody
- func (r *VouchersPost) RequestBodyInterface() interface{}
- func (r *VouchersPost) SetMethod(method string)
- func (r *VouchersPost) SetRequestBody(body VouchersPostBody)
- func (r *VouchersPost) URL() *url.URL
- type VouchersPostBody
- type VouchersPostPathParams
- type VouchersPostQueryParams
- type VouchersPostResponseBody
Constants ¶
This section is empty.
Variables ¶
var (
BaseURL = url.URL{
Scheme: "https",
Host: "eaccountingapi.vismaonline.com",
Path: "/v2/",
}
)
Functions ¶
func CheckResponse ¶
CheckResponse checks the Client response for errors, and returns them if present. A response is considered an error if it has a status code outside the 200 range. Client error responses are expected to have either no response body, or a json response body that maps to ErrorResponse. Any other response body will be silently ignored.
Types ¶
type Account ¶
type Account struct {
Name string `json:"Name"`
Number string `json:"Number"`
VATCodeID int `json:"VatCodeId"`
VATCodeDescription string `json:"VatCodeDescription"`
FiscalYearID string `json:"FiscalYearId"`
ReferenceCode string `json:"ReferenceCode"`
Type int `json:"Type"`
TypeDescription string `json:"TypeDescription"`
ModifiedUTC DateTime `json:"ModifiedUTC"`
IsActive bool `json:"IsActive"`
IsProjectAllowed bool `json:"IsProjectAllowed"`
IsCostCenterAllowed bool `json:"IsCostCenterAllowed"`
IsBlockedForManualBooking bool `json:"IsBlockedForManualBooking"`
}
type AccountsGet ¶
type AccountsGet struct {
// contains filtered or unexported fields
}
func (*AccountsGet) Do ¶
func (r *AccountsGet) Do() (AccountsGetResponseBody, error)
func (*AccountsGet) Method ¶
func (r *AccountsGet) Method() string
func (AccountsGet) NewPathParams ¶
func (r AccountsGet) NewPathParams() *AccountsGetPathParams
func (AccountsGet) NewQueryParams ¶
func (r AccountsGet) NewQueryParams() *AccountsGetQueryParams
func (AccountsGet) NewRequestBody ¶
func (r AccountsGet) NewRequestBody() AccountsGetBody
func (*AccountsGet) NewResponseBody ¶
func (r *AccountsGet) NewResponseBody() *AccountsGetResponseBody
func (*AccountsGet) PathParams ¶
func (r *AccountsGet) PathParams() *AccountsGetPathParams
func (*AccountsGet) PathParamsInterface ¶
func (r *AccountsGet) PathParamsInterface() PathParams
func (*AccountsGet) QueryParams ¶
func (r *AccountsGet) QueryParams() QueryParams
func (*AccountsGet) RequestBody ¶
func (r *AccountsGet) RequestBody() *AccountsGetBody
func (*AccountsGet) RequestBodyInterface ¶
func (r *AccountsGet) RequestBodyInterface() interface{}
func (*AccountsGet) SetMethod ¶
func (r *AccountsGet) SetMethod(method string)
func (*AccountsGet) SetRequestBody ¶
func (r *AccountsGet) SetRequestBody(body AccountsGetBody)
func (*AccountsGet) URL ¶
func (r *AccountsGet) URL() *url.URL
type AccountsGetBody ¶
type AccountsGetBody struct {
}
type AccountsGetPathParams ¶
type AccountsGetPathParams struct {
}
func (*AccountsGetPathParams) Params ¶
func (p *AccountsGetPathParams) Params() map[string]string
type AccountsGetQueryParams ¶
type AccountsGetQueryParams struct {
}
func (AccountsGetQueryParams) ToURLValues ¶
func (p AccountsGetQueryParams) ToURLValues() (url.Values, error)
type AccountsGetResponseBody ¶
type Article ¶
type Article struct {
ID string `json:"Id,omitempty"`
IsActive bool `json:"IsActive"`
Number string `json:"Number"`
Name string `json:"Name"`
NameEnglish *string `json:"NameEnglish,omitempty"`
NetPrice float64 `json:"NetPrice"`
NetPriceWithDiscount float64 `json:"NetPriceWithDiscount"`
GrossPrice float64 `json:"GrossPrice"`
CodingID string `json:"CodingId"`
CodingName string `json:"CodingName"`
UnitID string `json:"UnitId"`
UnitName string `json:"UnitName"`
UnitAbbreviation string `json:"UnitAbbreviation"`
StockBalance float64 `json:"StockBalance"`
StockBalanceManuallyChangedUtc *DateTime `json:"StockBalanceManuallyChangedUtc,omitempty"`
StockBalanceReserved float64 `json:"StockBalanceReserved"`
StockBalanceAvailable float64 `json:"StockBalanceAvailable"`
CreatedUtc DateTime `json:"CreatedUtc"`
ChangedUtc DateTime `json:"ChangedUtc"`
HouseWorkType int `json:"HouseWorkType"`
PurchasePrice float64 `json:"PurchasePrice"`
PurchasePriceManuallyChangedUtc *DateTime `json:"PurchasePriceManuallyChangedUtc,omitempty"`
SendToWebshop bool `json:"SendToWebshop"`
UsesMoss bool `json:"UsesMoss"`
ArticleLabels []interface{} `json:"ArticleLabels"`
IsStock bool `json:"IsStock"`
IsServiceArticle bool `json:"IsServiceArticle"`
StockLocationReference string `json:"StockLocationReference"`
FreightCosts float64 `json:"FreightCosts"`
FreightCostsManuallyChangedUtc *DateTime `json:"FreightCostsManuallyChangedUtc,omitempty"`
UpdateStockPrices bool `json:"UpdateStockPrices"`
Barcodes []interface{} `json:"Barcodes,omitempty"`
StockValue float64 `json:"StockValue"`
GreenTechnologyType int `json:"GreenTechnologyType"`
MessageThreads []string `json:"MessageThreads,omitempty"`
Notes []string `json:"Notes,omitempty"`
Note string `json:"Note,omitempty"`
ShowStockInformation bool `json:"ShowStockInformation"`
DiscountPercentage float64 `json:"DiscountPercentage"`
CurrencyCode *string `json:"CurrencyCode"`
PurchasePriceWithCurrency float64 `json:"PurchasePriceWithCurrency"`
FreightCostWithCurrency float64 `json:"FreightCostWithCurrency"`
OrderingPoint *float64 `json:"OrderingPoint,omitempty"`
SupplierID *string `json:"SupplierId,omitempty"`
SupplierArticleNumber *string `json:"SupplierArticleNumber,omitempty"`
}
func (Article) MarshalJSON ¶
type ArticleAccountCoding ¶
type ArticleAccountCoding struct {
ID string `json:"Id"`
Name *string `json:"Name"`
NameEnglish *string `json:"NameEnglish"`
Type *string `json:"Type"`
VatRate *string `json:"VatRate"`
IsActive bool `json:"IsActive"`
VatRatePercent float64 `json:"VatRatePercent"`
DomesticSalesSubjectToReversedConstructionVatAccountNumber *int `json:"DomesticSalesSubjectToReversedConstructionVatAccountNumber"`
DomesticSalesSubjectToVatAccountNumber *int `json:"DomesticSalesSubjectToVatAccountNumber"`
DomesticSalesVatExemptAccountNumber *int `json:"DomesticSalesVatExemptAccountNumber"`
ForeignSalesSubjectToMossAccountNumber *int `json:"ForeignSalesSubjectToMossAccountNumber"`
ForeignSalesSubjectToThirdPartySalesAccountNumber *int `json:"ForeignSalesSubjectToThirdPartySalesAccountNumber"`
ForeignSalesSubjectToVatWithinEuAccountNumber *int `json:"ForeignSalesSubjectToVatWithinEuAccountNumber"`
ForeignSalesVatExemptOutsideEuAccountNumber *int `json:"ForeignSalesVatExemptOutsideEuAccountNumber"`
ForeignSalesVatExemptWithinEuAccountNumber *int `json:"ForeignSalesVatExemptWithinEuAccountNumber"`
DomesticSalesVatCodeExemptAccountNumber *int `json:"DomesticSalesVatCodeExemptAccountNumber"`
ChangedUtc DateTime `json:"ChangedUtc"`
}
type ArticleAccountCodings ¶
type ArticleAccountCodings []ArticleAccountCoding
type ArticleAccountCodingsGet ¶
type ArticleAccountCodingsGet struct {
// contains filtered or unexported fields
}
func (*ArticleAccountCodingsGet) Do ¶
func (r *ArticleAccountCodingsGet) Do() (ArticleAccountCodingsGetResponseBody, error)
func (*ArticleAccountCodingsGet) Method ¶
func (r *ArticleAccountCodingsGet) Method() string
func (ArticleAccountCodingsGet) NewPathParams ¶
func (r ArticleAccountCodingsGet) NewPathParams() *ArticleAccountCodingsGetPathParams
func (ArticleAccountCodingsGet) NewQueryParams ¶
func (r ArticleAccountCodingsGet) NewQueryParams() *ArticleAccountCodingsGetQueryParams
func (ArticleAccountCodingsGet) NewRequestBody ¶
func (r ArticleAccountCodingsGet) NewRequestBody() ArticleAccountCodingsGetBody
func (*ArticleAccountCodingsGet) NewResponseBody ¶
func (r *ArticleAccountCodingsGet) NewResponseBody() *ArticleAccountCodingsGetResponseBody
func (*ArticleAccountCodingsGet) PathParams ¶
func (r *ArticleAccountCodingsGet) PathParams() *ArticleAccountCodingsGetPathParams
func (*ArticleAccountCodingsGet) PathParamsInterface ¶
func (r *ArticleAccountCodingsGet) PathParamsInterface() PathParams
func (*ArticleAccountCodingsGet) QueryParams ¶
func (r *ArticleAccountCodingsGet) QueryParams() *ArticleAccountCodingsGetQueryParams
func (*ArticleAccountCodingsGet) RequestBody ¶
func (r *ArticleAccountCodingsGet) RequestBody() *ArticleAccountCodingsGetBody
func (*ArticleAccountCodingsGet) RequestBodyInterface ¶
func (r *ArticleAccountCodingsGet) RequestBodyInterface() interface{}
func (*ArticleAccountCodingsGet) SetMethod ¶
func (r *ArticleAccountCodingsGet) SetMethod(method string)
func (*ArticleAccountCodingsGet) SetRequestBody ¶
func (r *ArticleAccountCodingsGet) SetRequestBody(body ArticleAccountCodingsGetBody)
func (*ArticleAccountCodingsGet) URL ¶
func (r *ArticleAccountCodingsGet) URL() *url.URL
type ArticleAccountCodingsGetBody ¶
type ArticleAccountCodingsGetBody struct {
}
type ArticleAccountCodingsGetPathParams ¶
type ArticleAccountCodingsGetPathParams struct {
}
func (*ArticleAccountCodingsGetPathParams) Params ¶
func (p *ArticleAccountCodingsGetPathParams) Params() map[string]string
type ArticleAccountCodingsGetQueryParams ¶
type ArticleAccountCodingsGetQueryParams struct {
VatRateDate Date `schema:"vatRateDate,omitempty"`
Page int `schema:"$page,omitempty"`
PageSize int `schema:"$pagesize,omitempty"`
}
func (ArticleAccountCodingsGetQueryParams) ToURLValues ¶
func (p ArticleAccountCodingsGetQueryParams) ToURLValues() (url.Values, error)
type ArticleAccountCodingsGetResponseBody ¶
type ArticleAccountCodingsGetResponseBody struct {
Meta Meta `json:"Meta"`
Data ArticleAccountCodings `json:"Data"`
}
type ArticlesGet ¶
type ArticlesGet struct {
// contains filtered or unexported fields
}
func (*ArticlesGet) Do ¶
func (r *ArticlesGet) Do() (ArticlesGetResponseBody, error)
func (*ArticlesGet) Method ¶
func (r *ArticlesGet) Method() string
func (ArticlesGet) NewPathParams ¶
func (r ArticlesGet) NewPathParams() *ArticlesGetPathParams
func (ArticlesGet) NewQueryParams ¶
func (r ArticlesGet) NewQueryParams() *ArticlesGetQueryParams
func (ArticlesGet) NewRequestBody ¶
func (r ArticlesGet) NewRequestBody() ArticlesGetBody
func (*ArticlesGet) NewResponseBody ¶
func (r *ArticlesGet) NewResponseBody() *ArticlesGetResponseBody
func (*ArticlesGet) PathParams ¶
func (r *ArticlesGet) PathParams() *ArticlesGetPathParams
func (*ArticlesGet) PathParamsInterface ¶
func (r *ArticlesGet) PathParamsInterface() PathParams
func (*ArticlesGet) QueryParams ¶
func (r *ArticlesGet) QueryParams() *ArticlesGetQueryParams
func (*ArticlesGet) RequestBody ¶
func (r *ArticlesGet) RequestBody() *ArticlesGetBody
func (*ArticlesGet) RequestBodyInterface ¶
func (r *ArticlesGet) RequestBodyInterface() interface{}
func (*ArticlesGet) SetMethod ¶
func (r *ArticlesGet) SetMethod(method string)
func (*ArticlesGet) SetRequestBody ¶
func (r *ArticlesGet) SetRequestBody(body ArticlesGetBody)
func (*ArticlesGet) URL ¶
func (r *ArticlesGet) URL() *url.URL
type ArticlesGetBody ¶
type ArticlesGetBody struct {
}
type ArticlesGetPathParams ¶
type ArticlesGetPathParams struct {
}
func (*ArticlesGetPathParams) Params ¶
func (p *ArticlesGetPathParams) Params() map[string]string
type ArticlesGetQueryParams ¶
type ArticlesGetQueryParams struct {
Select *odata.Select `schema:"$select,omitempty"`
Expand *odata.Expand `schema:"$expand,omitempty"`
Filter *odata.Filter `schema:"$filter,omitempty"`
Top *odata.Top `schema:"$top,omitempty"`
Skip *odata.Skip `schema:"$skip,omitempty"`
}
func (ArticlesGetQueryParams) ToURLValues ¶
func (p ArticlesGetQueryParams) ToURLValues() (url.Values, error)
type ArticlesGetResponseBody ¶
type ArticlesPost ¶
type ArticlesPost struct {
// contains filtered or unexported fields
}
func (*ArticlesPost) Do ¶
func (r *ArticlesPost) Do() (ArticlesPostResponseBody, error)
func (*ArticlesPost) Method ¶
func (r *ArticlesPost) Method() string
func (ArticlesPost) NewPathParams ¶
func (r ArticlesPost) NewPathParams() *ArticlesPostPathParams
func (ArticlesPost) NewQueryParams ¶
func (r ArticlesPost) NewQueryParams() *ArticlesPostQueryParams
func (ArticlesPost) NewRequestBody ¶
func (r ArticlesPost) NewRequestBody() ArticlesPostBody
func (*ArticlesPost) NewResponseBody ¶
func (r *ArticlesPost) NewResponseBody() *ArticlesPostResponseBody
func (*ArticlesPost) PathParams ¶
func (r *ArticlesPost) PathParams() *ArticlesPostPathParams
func (*ArticlesPost) PathParamsInterface ¶
func (r *ArticlesPost) PathParamsInterface() PathParams
func (*ArticlesPost) QueryParams ¶
func (r *ArticlesPost) QueryParams() *ArticlesPostQueryParams
func (*ArticlesPost) RequestBody ¶
func (r *ArticlesPost) RequestBody() *ArticlesPostBody
func (*ArticlesPost) RequestBodyInterface ¶
func (r *ArticlesPost) RequestBodyInterface() interface{}
func (*ArticlesPost) SetMethod ¶
func (r *ArticlesPost) SetMethod(method string)
func (*ArticlesPost) SetRequestBody ¶
func (r *ArticlesPost) SetRequestBody(body ArticlesPostBody)
func (*ArticlesPost) URL ¶
func (r *ArticlesPost) URL() *url.URL
type ArticlesPostBody ¶
type ArticlesPostBody Article
func (ArticlesPostBody) MarshalJSON ¶
func (v ArticlesPostBody) MarshalJSON() ([]byte, error)
type ArticlesPostPathParams ¶
type ArticlesPostPathParams struct {
}
func (*ArticlesPostPathParams) Params ¶
func (p *ArticlesPostPathParams) Params() map[string]string
type ArticlesPostQueryParams ¶
type ArticlesPostQueryParams struct {
}
func (ArticlesPostQueryParams) ToURLValues ¶
func (p ArticlesPostQueryParams) ToURLValues() (url.Values, error)
type ArticlesPostResponseBody ¶
type ArticlesPostResponseBody Article
type BeforeRequestDoCallback ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client manages communication with Exact Globe Client
func (*Client) Do ¶
Do sends an Client request and returns the Client response. The Client response is json decoded and stored in the value pointed to by v, or returned as an error if an Client error has occurred. If v implements the io.Writer interface, the raw response will be written to v, without attempting to decode it.
func (*Client) GetEndpointURL ¶
func (c *Client) GetEndpointURL(p string, pathParams PathParams) url.URL
func (*Client) NewAccountsGet ¶
func (c *Client) NewAccountsGet() AccountsGet
func (*Client) NewArticleAccountCodingsGet ¶
func (c *Client) NewArticleAccountCodingsGet() ArticleAccountCodingsGet
func (*Client) NewArticlesGet ¶
func (c *Client) NewArticlesGet() ArticlesGet
func (*Client) NewArticlesPost ¶
func (c *Client) NewArticlesPost() ArticlesPost
func (*Client) NewCompanysettingsGet ¶
func (c *Client) NewCompanysettingsGet() CompanysettingsGet
func (*Client) NewCostCentersGet ¶
func (c *Client) NewCostCentersGet() CostCenterGet
func (*Client) NewCustomerinvoicesGet ¶
func (c *Client) NewCustomerinvoicesGet() CustomerinvoicesGet
func (*Client) NewCustomerinvoicesPost ¶
func (c *Client) NewCustomerinvoicesPost() CustomerinvoicesPost
func (*Client) NewCustomerledgeritemsGet ¶
func (c *Client) NewCustomerledgeritemsGet() CustomerledgeritemsGet
func (*Client) NewCustomerledgeritemsPost ¶
func (c *Client) NewCustomerledgeritemsPost() CustomerledgeritemsPost
func (*Client) NewCustomerledgeritemswithvoucherPost ¶
func (c *Client) NewCustomerledgeritemswithvoucherPost() CustomerledgeritemswithvoucherPost
func (*Client) NewCustomersGet ¶
func (c *Client) NewCustomersGet() CustomersGet
func (*Client) NewCustomersPost ¶
func (c *Client) NewCustomersPost() CustomersPost
func (*Client) NewOrdersGet ¶
func (*Client) NewOrdersPost ¶
func (c *Client) NewOrdersPost() OrdersPost
func (*Client) NewRequest ¶
func (*Client) NewTermsofpaymentsGet ¶
func (c *Client) NewTermsofpaymentsGet() TermsofpaymentsGet
func (*Client) NewUnitsGet ¶
func (*Client) NewVatcodesGet ¶
func (c *Client) NewVatcodesGet() VatcodesGet
func (*Client) NewVouchersGet ¶
func (c *Client) NewVouchersGet() VouchersGet
func (*Client) NewVouchersPost ¶
func (c *Client) NewVouchersPost() VouchersPost
func (*Client) SetBaseURL ¶
func (*Client) SetBeforeRequestDo ¶
func (c *Client) SetBeforeRequestDo(fun BeforeRequestDoCallback)
func (*Client) SetCharset ¶
func (*Client) SetDisallowUnknownFields ¶
func (*Client) SetHTTPClient ¶
func (*Client) SetMediaType ¶
func (*Client) SetUserAgent ¶
type Companysettings ¶
type Companysettings struct {
Name string `json:"Name"`
Email string `json:"Email"`
Phone string `json:"Phone"`
MobilePhone string `json:"MobilePhone"`
Address1 string `json:"Address1"`
Address2 string `json:"Address2"`
CountryCode string `json:"CountryCode"`
PostalCode string `json:"PostalCode"`
City string `json:"City"`
Website interface{} `json:"Website"`
OurReference interface{} `json:"OurReference"`
CurrencyCode string `json:"CurrencyCode"`
TermsOfPaymentID string `json:"TermsOfPaymentId"`
CorporateIdentityNumber string `json:"CorporateIdentityNumber"`
VATCode string `json:"VatCode"`
BankGiro string `json:"BankGiro"`
PlusGiro string `json:"PlusGiro"`
BankAccount interface{} `json:"BankAccount"`
Iban string `json:"Iban"`
AccountNumberDigits int `json:"AccountNumberDigits"`
AccountingLockedTo DateTime `json:"AccountingLockedTo"`
AccountingLockInterval int `json:"AccountingLockInterval"`
TaxDeclarationDate Date `json:"TaxDeclarationDate"`
Gln interface{} `json:"Gln"`
ProductVariant int `json:"ProductVariant"`
TypeOfBusiness int `json:"TypeOfBusiness"`
VatPeriod int `json:"VatPeriod"`
ActivatedModules []string `json:"ActivatedModules"`
CompanyText struct {
CustomerInvoiceTextDomestic interface{} `json:"CustomerInvoiceTextDomestic"`
CustomerInvoiceTextForeign interface{} `json:"CustomerInvoiceTextForeign"`
OrderTextDomestic interface{} `json:"OrderTextDomestic"`
OrderTextForeign interface{} `json:"OrderTextForeign"`
OverDueTextDomestic string `json:"OverDueTextDomestic"`
OverDueTextForeign string `json:"OverDueTextForeign"`
} `json:"CompanyText"`
NextCustomerNumber int `json:"NextCustomerNumber"`
NextSupplierNumber int `json:"NextSupplierNumber"`
NextCustomerInvoiceNumber int `json:"NextCustomerInvoiceNumber"`
NextQuoteNumber int `json:"NextQuoteNumber"`
ShowPricesExclVatPC bool `json:"ShowPricesExclVatPC"`
IsPayslipActivated bool `json:"IsPayslipActivated"`
UsesMoss bool `json:"UsesMoss"`
UsesPaymentReferenceNumber bool `json:"UsesPaymentReferenceNumber"`
DomesticCurrencyRounding int `json:"DomesticCurrencyRounding"`
AutoInvoice struct {
AutoInvoiceActivationStatus int `json:"AutoInvoiceActivationStatus"`
AutoInvoiceB2CStatus int `json:"AutoInvoiceB2CStatus"`
AutoInvoiceInboundStatus int `json:"AutoInvoiceInboundStatus"`
} `json:"AutoInvoice"`
ApprovalSettings struct {
UsesSupplierInvoiceApproval bool `json:"UsesSupplierInvoiceApproval"`
UsesVatReportApproval bool `json:"UsesVatReportApproval"`
} `json:"ApprovalSettings"`
UsesReverseConstructionVat bool `json:"UsesReverseConstructionVat"`
UsesRotReducedInvoicing bool `json:"UsesRotReducedInvoicing"`
CompanyRotRutSettings struct {
RutMaxAmountForPersBelow65Year float64 `json:"RutMaxAmountForPersBelow65Year"`
RutMaxAmountForPersOver65Year float64 `json:"RutMaxAmountForPersOver65Year"`
RutReducedInvoicingPercent float64 `json:"RutReducedInvoicingPercent"`
RotReducedInvoicingMaxAmount float64 `json:"RotReducedInvoicingMaxAmount"`
RotReducedInvoicingPercent float64 `json:"RotReducedInvoicingPercent"`
} `json:"CompanyRotRutSettings"`
CompanyStatus int `json:"CompanyStatus"`
CompanyIdentifier string `json:"CompanyIdentifier"`
BankgiroNumberPrint interface{} `json:"BankgiroNumberPrint"`
KeepOriginalDraftDate Date `json:"KeepOriginalDraftDate"`
UsePaymentFilesForOutgoingPayments bool `json:"UsePaymentFilesForOutgoingPayments"`
UseAutomaticVatCalculation bool `json:"UseAutomaticVatCalculation"`
ShowCostCenterReminder bool `json:"ShowCostCenterReminder"`
ShowProjectReminder bool `json:"ShowProjectReminder"`
}
type CompanysettingsGet ¶
type CompanysettingsGet struct {
// contains filtered or unexported fields
}
func (*CompanysettingsGet) Do ¶
func (r *CompanysettingsGet) Do() (CompanysettingsGetResponseBody, error)
func (*CompanysettingsGet) Method ¶
func (r *CompanysettingsGet) Method() string
func (CompanysettingsGet) NewPathParams ¶
func (r CompanysettingsGet) NewPathParams() *CompanysettingsGetPathParams
func (CompanysettingsGet) NewQueryParams ¶
func (r CompanysettingsGet) NewQueryParams() *CompanysettingsGetQueryParams
func (CompanysettingsGet) NewRequestBody ¶
func (r CompanysettingsGet) NewRequestBody() CompanysettingsGetBody
func (*CompanysettingsGet) NewResponseBody ¶
func (r *CompanysettingsGet) NewResponseBody() *CompanysettingsGetResponseBody
func (*CompanysettingsGet) PathParams ¶
func (r *CompanysettingsGet) PathParams() *CompanysettingsGetPathParams
func (*CompanysettingsGet) PathParamsInterface ¶
func (r *CompanysettingsGet) PathParamsInterface() PathParams
func (*CompanysettingsGet) QueryParams ¶
func (r *CompanysettingsGet) QueryParams() QueryParams
func (*CompanysettingsGet) RequestBody ¶
func (r *CompanysettingsGet) RequestBody() *CompanysettingsGetBody
func (*CompanysettingsGet) RequestBodyInterface ¶
func (r *CompanysettingsGet) RequestBodyInterface() interface{}
func (*CompanysettingsGet) SetMethod ¶
func (r *CompanysettingsGet) SetMethod(method string)
func (*CompanysettingsGet) SetRequestBody ¶
func (r *CompanysettingsGet) SetRequestBody(body CompanysettingsGetBody)
func (*CompanysettingsGet) URL ¶
func (r *CompanysettingsGet) URL() *url.URL
type CompanysettingsGetBody ¶
type CompanysettingsGetBody struct {
}
type CompanysettingsGetPathParams ¶
type CompanysettingsGetPathParams struct {
}
func (*CompanysettingsGetPathParams) Params ¶
func (p *CompanysettingsGetPathParams) Params() map[string]string
type CompanysettingsGetQueryParams ¶
type CompanysettingsGetQueryParams struct {
}
func (CompanysettingsGetQueryParams) ToURLValues ¶
func (p CompanysettingsGetQueryParams) ToURLValues() (url.Values, error)
type CompanysettingsGetResponseBody ¶
type CompanysettingsGetResponseBody Companysettings
type CostCenter ¶
type CostCenter struct {
ID string `json:"Id"`
Name string `json:"Name"`
Number int `json:"Number"`
IsActive bool `json:"IsActive"`
Items CostCenterItems `json:"Items,omitempty"`
}
type CostCenterGet ¶
type CostCenterGet struct {
// contains filtered or unexported fields
}
func (*CostCenterGet) Do ¶
func (r *CostCenterGet) Do() (CostCenterGetResponseBody, error)
func (*CostCenterGet) Method ¶
func (r *CostCenterGet) Method() string
func (CostCenterGet) NewPathParams ¶
func (r CostCenterGet) NewPathParams() *CostCenterGetPathParams
func (CostCenterGet) NewQueryParams ¶
func (r CostCenterGet) NewQueryParams() *CostCenterGetQueryParams
func (CostCenterGet) NewRequestBody ¶
func (r CostCenterGet) NewRequestBody() CostCenterGetBody
func (*CostCenterGet) NewResponseBody ¶
func (r *CostCenterGet) NewResponseBody() *CostCenterGetResponseBody
func (*CostCenterGet) PathParams ¶
func (r *CostCenterGet) PathParams() *CostCenterGetPathParams
func (*CostCenterGet) PathParamsInterface ¶
func (r *CostCenterGet) PathParamsInterface() PathParams
func (*CostCenterGet) QueryParams ¶
func (r *CostCenterGet) QueryParams() *CostCenterGetQueryParams
func (*CostCenterGet) RequestBody ¶
func (r *CostCenterGet) RequestBody() *CostCenterGetBody
func (*CostCenterGet) RequestBodyInterface ¶
func (r *CostCenterGet) RequestBodyInterface() interface{}
func (*CostCenterGet) SetMethod ¶
func (r *CostCenterGet) SetMethod(method string)
func (*CostCenterGet) SetRequestBody ¶
func (r *CostCenterGet) SetRequestBody(body CostCenterGetBody)
func (*CostCenterGet) URL ¶
func (r *CostCenterGet) URL() *url.URL
type CostCenterGetBody ¶
type CostCenterGetBody struct {
}
type CostCenterGetPathParams ¶
type CostCenterGetPathParams struct {
}
func (*CostCenterGetPathParams) Params ¶
func (p *CostCenterGetPathParams) Params() map[string]string
type CostCenterGetQueryParams ¶
type CostCenterGetQueryParams struct {
Page int `schema:"$page,omitempty"`
PageSize int `schema:"$pagesize:omitempty"`
}
func (CostCenterGetQueryParams) ToURLValues ¶
func (p CostCenterGetQueryParams) ToURLValues() (url.Values, error)
type CostCenterGetResponseBody ¶
type CostCenterGetResponseBody struct {
Meta Meta `json:"Meta"`
Data CostCenters `json:"Data"`
}
type CostCenterItem ¶
type CostCenterItems ¶
type CostCenterItems []CostCenterItem
type CostCenters ¶
type CostCenters []CostCenter
type Customer ¶
type Customer struct {
ID string `json:"Id,omitempty"`
CustomerNumber string `json:"CustomerNumber,omitempty"`
CorporateIdentityNumber string `json:"CorporateIdentityNumber,omitempty"`
ContactPersonEmail string `json:"ContactPersonEmail,omitempty"`
ContactPersonMobile string `json:"ContactPersonMobile,omitempty"`
ContactPersonName string `json:"ContactPersonName,omitempty"`
ContactPersonPhone string `json:"ContactPersonPhone,omitempty"`
CurrencyCode string `json:"CurrencyCode,omitempty"`
GLN interface{} `json:"GLN,omitempty"`
EmailAddress string `json:"EmailAddress,omitempty"`
InvoiceAddress1 string `json:"InvoiceAddress1,omitempty"`
InvoiceAddress2 string `json:"InvoiceAddress2,omitempty"`
InvoiceCity string `json:"InvoiceCity,omitempty"`
InvoiceCountryCode string `json:"InvoiceCountryCode,omitempty"`
InvoicePostalCode string `json:"InvoicePostalCode,omitempty"`
DeliveryCustomerName interface{} `json:"DeliveryCustomerName,omitempty"`
DeliveryAddress1 interface{} `json:"DeliveryAddress1,omitempty"`
DeliveryAddress2 interface{} `json:"DeliveryAddress2,omitempty"`
DeliveryCity interface{} `json:"DeliveryCity,omitempty"`
DeliveryCountryCode interface{} `json:"DeliveryCountryCode,omitempty"`
DeliveryPostalCode interface{} `json:"DeliveryPostalCode,omitempty"`
DeliveryMethodID interface{} `json:"DeliveryMethodId,omitempty"`
DeliveryTermID interface{} `json:"DeliveryTermId,omitempty"`
PayToAccountID string `json:"PayToAccountId,omitempty"`
Name string `json:"Name,omitempty"`
Note string `json:"Note,omitempty"`
ReverseChargeOnConstructionServices bool `json:"ReverseChargeOnConstructionServices,omitempty"`
WebshopCustomerNumber interface{} `json:"WebshopCustomerNumber,omitempty"`
MobilePhone string `json:"MobilePhone,omitempty"`
Telephone string `json:"Telephone,omitempty"`
TermsOfPaymentID string `json:"TermsOfPaymentId,omitempty"`
TermsOfPayment TermsOfPayment `json:"TermsOfPayment,omitempty"`
VatNumber string `json:"VatNumber,omitempty"`
WwwAddress string `json:"WwwAddress,omitempty"`
LastInvoiceDate Date `json:"LastInvoiceDate,omitempty"`
IsPrivatePerson bool `json:"IsPrivatePerson"`
IsNorthernIreland bool `json:"IsNorthernIreland,omitempty"`
DiscountPercentage float64 `json:"DiscountPercentage,omitempty"`
PropertyReference string `json:"PropertyReference,omitempty"`
ChangedUtc DateTime `json:"ChangedUtc,omitempty"`
IsActive bool `json:"IsActive,omitempty"`
ForceBookkeepVat bool `json:"ForceBookkeepVat,omitempty"`
EdiGlnNumber string `json:"EdiGlnNumber,omitempty"`
SalesDocumentLanguage string `json:"SalesDocumentLanguage,omitempty"`
ElectronicAddress interface{} `json:"ElectronicAddress,omitempty"`
ElectronicReference interface{} `json:"ElectronicReference,omitempty"`
EdiServiceDelivererID interface{} `json:"EdiServiceDelivererId,omitempty"`
AutoInvoiceActivationEmailSentDate interface{} `json:"AutoInvoiceActivationEmailSentDate,omitempty"`
AutoInvoiceRegistrationRequestSentDate interface{} `json:"AutoInvoiceRegistrationRequestSentDate,omitempty"`
EmailAddresses []interface{} `json:"EmailAddresses,omitempty"`
CustomerLabels interface{} `json:"CustomerLabels,omitempty"`
IsFutureInvoiceDateAllowed bool `json:"IsFutureInvoiceDateAllowed,omitempty"`
DeliveryBasedVat bool `json:"DeliveryBasedVat,omitempty"`
}
func (Customer) MarshalJSON ¶
type CustomerInvoice ¶
type CustomerInvoice struct {
ID string `json:"Id,omitempty"`
EuThirdParty bool `json:"EuThirdParty"`
IsCreditInvoice bool `json:"IsCreditInvoice,omitempty"`
CurrencyCode string `json:"CurrencyCode,omitempty"`
CurrencyRate float64 `json:"CurrencyRate,omitempty"`
CreatedByUserID string `json:"CreatedByUserId,omitempty"`
TotalAmount float64 `json:"TotalAmount,omitempty"`
TotalVatAmount float64 `json:"TotalVatAmount,omitempty"`
TotalRoundings float64 `json:"TotalRoundings,omitempty"`
TotalAmountInvoiceCurrency float64 `json:"TotalAmountInvoiceCurrency,omitempty"`
TotalVatAmountInvoiceCurrency float64 `json:"TotalVatAmountInvoiceCurrency,omitempty"`
SetOffAmountInvoiceCurrency float64 `json:"SetOffAmountInvoiceCurrency,omitempty"`
CustomerID string `json:"CustomerId,omitempty"`
Rows CustomerInvoiceRows `json:"Rows,omitempty"`
VatSpecification []struct {
AmountInvoiceCurrency float64 `json:"AmountInvoiceCurrency,omitempty"`
VatAmountInvoiceCurrency float64 `json:"VatAmountInvoiceCurrency,omitempty"`
VatPercent float64 `json:"VatPercent,omitempty"`
} `json:"VatSpecification,omitempty"`
InvoiceDate Date `json:"InvoiceDate,omitempty"`
DueDate Date `json:"DueDate,omitempty"`
DeliveryDate Date `json:"DeliveryDate,omitempty"`
RotReducedInvoicingType int `json:"RotReducedInvoicingType"`
RotReducedInvoicingAmount float64 `json:"RotReducedInvoicingAmount,omitempty"`
RotReducedInvoicingPercent float64 `json:"RotReducedInvoicingPercent,omitempty"`
RotReducedInvoicingPropertyName interface{} `json:"RotReducedInvoicingPropertyName,omitempty"`
RotReducedInvoicingOrgNumber interface{} `json:"RotReducedInvoicingOrgNumber,omitempty"`
Persons []interface{} `json:"Persons,omitempty"`
RotReducedInvoicingAutomaticDistribution bool `json:"RotReducedInvoicingAutomaticDistribution,omitempty"`
ElectronicReference interface{} `json:"ElectronicReference,omitempty"`
ElectronicAddress interface{} `json:"ElectronicAddress,omitempty"`
EdiServiceDelivererID interface{} `json:"EdiServiceDelivererId,omitempty"`
OurReference interface{} `json:"OurReference,omitempty"`
YourReference string `json:"YourReference,omitempty"`
BuyersOrderReference string `json:"BuyersOrderReference,omitempty"`
InvoiceCustomerName string `json:"InvoiceCustomerName,omitempty"`
InvoiceAddress1 string `json:"InvoiceAddress1,omitempty"`
InvoiceAddress2 string `json:"InvoiceAddress2,omitempty"`
InvoicePostalCode string `json:"InvoicePostalCode,omitempty"`
InvoiceCity string `json:"InvoiceCity,omitempty"`
InvoiceCountryCode string `json:"InvoiceCountryCode,omitempty"`
DeliveryCustomerName interface{} `json:"DeliveryCustomerName,omitempty"`
DeliveryAddress1 interface{} `json:"DeliveryAddress1,omitempty"`
DeliveryAddress2 interface{} `json:"DeliveryAddress2,omitempty"`
DeliveryPostalCode interface{} `json:"DeliveryPostalCode,omitempty"`
DeliveryCity interface{} `json:"DeliveryCity,omitempty"`
DeliveryCountryCode interface{} `json:"DeliveryCountryCode,omitempty"`
DeliveryMethodName interface{} `json:"DeliveryMethodName,omitempty"`
DeliveryTermName interface{} `json:"DeliveryTermName,omitempty"`
DeliveryMethodCode interface{} `json:"DeliveryMethodCode,omitempty"`
DeliveryTermCode interface{} `json:"DeliveryTermCode,omitempty"`
CustomerIsPrivatePerson bool `json:"CustomerIsPrivatePerson,omitempty"`
TermsOfPaymentID string `json:"TermsOfPaymentId,omitempty"`
CustomerEmail string `json:"CustomerEmail,omitempty"`
InvoiceNumber int `json:"InvoiceNumber,omitempty"`
CustomerNumber string `json:"CustomerNumber,omitempty"`
PaymentReferenceNumber interface{} `json:"PaymentReferenceNumber,omitempty"`
RotPropertyType interface{} `json:"RotPropertyType,omitempty"`
SalesDocumentAttachments []interface{} `json:"SalesDocumentAttachments,omitempty"`
MessageThreads []interface{} `json:"MessageThreads,omitempty"`
Notes []interface{} `json:"Notes,omitempty"`
HasAutoInvoiceError bool `json:"HasAutoInvoiceError,omitempty"`
IsNotDelivered bool `json:"IsNotDelivered,omitempty"`
ReverseChargeOnConstructionServices bool `json:"ReverseChargeOnConstructionServices,omitempty"`
WorkHouseOtherCosts interface{} `json:"WorkHouseOtherCosts,omitempty"`
RemainingAmount float64 `json:"RemainingAmount,omitempty"`
RemainingAmountInvoiceCurrency float64 `json:"RemainingAmountInvoiceCurrency,omitempty"`
ReferringInvoiceID interface{} `json:"ReferringInvoiceId,omitempty"`
CreatedFromOrderID interface{} `json:"CreatedFromOrderId,omitempty"`
CreatedFromDraftID interface{} `json:"CreatedFromDraftId,omitempty"`
VoucherNumber string `json:"VoucherNumber,omitempty"`
VoucherID string `json:"VoucherId,omitempty"`
CreatedUtc DateTime `json:"CreatedUtc,omitempty"`
ModifiedUtc DateTime `json:"ModifiedUtc,omitempty"`
ReversedConstructionVatInvoicing bool `json:"ReversedConstructionVatInvoicing,omitempty"`
IncludesVat bool `json:"IncludesVat,omitempty"`
SendType interface{} `json:"SendType,omitempty"`
PaymentReminderIssued bool `json:"PaymentReminderIssued,omitempty"`
UsesGreenTechnology bool `json:"UsesGreenTechnology,omitempty"`
IsSold bool `json:"IsSold,omitempty"`
FactoringInvoiceStatus int `json:"FactoringInvoiceStatus,omitempty"`
PaymentDate interface{} `json:"PaymentDate,omitempty"`
PaymentStatus int `json:"PaymentStatus,omitempty"`
CreditedBy []interface{} `json:"CreditedBy,omitempty"`
}
func (CustomerInvoice) IsEmpty ¶
func (c CustomerInvoice) IsEmpty() bool
func (CustomerInvoice) MarshalJSON ¶
func (c CustomerInvoice) MarshalJSON() ([]byte, error)
type CustomerInvoiceRow ¶
type CustomerInvoiceRow struct {
ID string `json:"Id,omitempty"`
ArticleNumber string `json:"ArticleNumber,omitempty"`
ArticleID string `json:"ArticleId,omitempty"`
IsServiceArticle bool `json:"IsServiceArticle,omitempty"`
AmountNoVat float64 `json:"AmountNoVat,omitempty"`
PercentVat float64 `json:"PercentVat,omitempty"`
LineNumber int `json:"LineNumber,omitempty"`
IsTextRow bool `json:"IsTextRow"`
Text string `json:"Text,omitempty"`
UnitPrice float64 `json:"UnitPrice,omitempty"`
UnitAbbreviation string `json:"UnitAbbreviation,omitempty"`
UnitAbbreviationEnglish string `json:"UnitAbbreviationEnglish,omitempty"`
DiscountPercentage float64 `json:"DiscountPercentage,omitempty"`
Quantity float64 `json:"Quantity,omitempty"`
IsWorkCost bool `json:"IsWorkCost,omitempty"`
IsVatFree bool `json:"IsVatFree,omitempty"`
CostCenterItemID1 interface{} `json:"CostCenterItemId1,omitempty"`
CostCenterItemID2 interface{} `json:"CostCenterItemId2,omitempty"`
CostCenterItemID3 interface{} `json:"CostCenterItemId3,omitempty"`
UnitID string `json:"UnitId,omitempty"`
ProjectID interface{} `json:"ProjectId,omitempty"`
WorkCostType int `json:"WorkCostType,omitempty"`
WorkHours float64 `json:"WorkHours,omitempty"`
MaterialCosts float64 `json:"MaterialCosts,omitempty"`
GreenTechnologyType int `json:"GreenTechnologyType,omitempty"`
}
func (CustomerInvoiceRow) IsEmpty ¶
func (r CustomerInvoiceRow) IsEmpty() bool
func (CustomerInvoiceRow) MarshalJSON ¶
func (r CustomerInvoiceRow) MarshalJSON() ([]byte, error)
type CustomerInvoiceRows ¶
type CustomerInvoiceRows []CustomerInvoiceRow
type CustomerInvoices ¶
type CustomerInvoices []CustomerInvoice
type CustomerLedgerItem ¶
type CustomerLedgerItem struct {
CurrencyCode string `json:"CurrencyCode"`
CurrencyRate float64 `json:"CurrencyRate"`
CurrencyRateUnit float64 `json:"CurrencyRateUnit"`
CustomerID string `json:"CustomerId"`
DueDate Date `json:"DueDate"`
ID string `json:"Id,omitempty"`
InvoiceDate Date `json:"InvoiceDate"`
InvoiceNumber int `json:"InvoiceNumber"`
IsCreditInvoice bool `json:"IsCreditInvoice"`
PaymentReferenceNumber string `json:"PaymentReferenceNumber"`
RemainingAmountInvoiceCurrency float64 `json:"RemainingAmountInvoiceCurrency"`
RoundingsAmountInvoiceCurrency float64 `json:"RoundingsAmountInvoiceCurrency"`
TotalAmountInvoiceCurrency float64 `json:"TotalAmountInvoiceCurrency"`
VATAmountInvoiceCurrency float64 `json:"VATAmountInvoiceCurrency"`
VoucherID string `json:"VoucherId,omitempty"`
ModifiedUTC DateTime `json:"ModifiedUtc,omitempty"`
Voucher Voucher `json:"Voucher,omitempty"`
}
func (CustomerLedgerItem) IsEmpty ¶
func (i CustomerLedgerItem) IsEmpty() bool
func (CustomerLedgerItem) MarshalJSON ¶
func (i CustomerLedgerItem) MarshalJSON() ([]byte, error)
type CustomerLedgerItems ¶
type CustomerLedgerItems []CustomerLedgerItem
type CustomerinvoicesGet ¶
type CustomerinvoicesGet struct {
// contains filtered or unexported fields
}
func (*CustomerinvoicesGet) Do ¶
func (r *CustomerinvoicesGet) Do() (CustomerinvoicesGetResponseBody, error)
func (*CustomerinvoicesGet) Method ¶
func (r *CustomerinvoicesGet) Method() string
func (CustomerinvoicesGet) NewPathParams ¶
func (r CustomerinvoicesGet) NewPathParams() *CustomerinvoicesGetPathParams
func (CustomerinvoicesGet) NewQueryParams ¶
func (r CustomerinvoicesGet) NewQueryParams() *CustomerinvoicesGetQueryParams
func (CustomerinvoicesGet) NewRequestBody ¶
func (r CustomerinvoicesGet) NewRequestBody() CustomerinvoicesGetBody
func (*CustomerinvoicesGet) NewResponseBody ¶
func (r *CustomerinvoicesGet) NewResponseBody() *CustomerinvoicesGetResponseBody
func (*CustomerinvoicesGet) PathParams ¶
func (r *CustomerinvoicesGet) PathParams() *CustomerinvoicesGetPathParams
func (*CustomerinvoicesGet) PathParamsInterface ¶
func (r *CustomerinvoicesGet) PathParamsInterface() PathParams
func (*CustomerinvoicesGet) QueryParams ¶
func (r *CustomerinvoicesGet) QueryParams() *CustomerinvoicesGetQueryParams
func (*CustomerinvoicesGet) RequestBody ¶
func (r *CustomerinvoicesGet) RequestBody() *CustomerinvoicesGetBody
func (*CustomerinvoicesGet) RequestBodyInterface ¶
func (r *CustomerinvoicesGet) RequestBodyInterface() interface{}
func (*CustomerinvoicesGet) SetMethod ¶
func (r *CustomerinvoicesGet) SetMethod(method string)
func (*CustomerinvoicesGet) SetRequestBody ¶
func (r *CustomerinvoicesGet) SetRequestBody(body CustomerinvoicesGetBody)
func (*CustomerinvoicesGet) URL ¶
func (r *CustomerinvoicesGet) URL() *url.URL
type CustomerinvoicesGetBody ¶
type CustomerinvoicesGetBody struct {
}
type CustomerinvoicesGetPathParams ¶
type CustomerinvoicesGetPathParams struct {
}
func (*CustomerinvoicesGetPathParams) Params ¶
func (p *CustomerinvoicesGetPathParams) Params() map[string]string
type CustomerinvoicesGetQueryParams ¶
type CustomerinvoicesGetQueryParams struct {
Select *odata.Select `schema:"$select,omitempty"`
Expand *odata.Expand `schema:"$expand,omitempty"`
Filter *odata.Filter `schema:"$filter,omitempty"`
Top *odata.Top `schema:"$top,omitempty"`
Skip *odata.Skip `schema:"$skip,omitempty"`
}
func (CustomerinvoicesGetQueryParams) ToURLValues ¶
func (p CustomerinvoicesGetQueryParams) ToURLValues() (url.Values, error)
type CustomerinvoicesGetResponseBody ¶
type CustomerinvoicesGetResponseBody struct {
Meta Meta `json:"Meta"`
Data CustomerInvoices `json:"Data"`
}
type CustomerinvoicesPost ¶
type CustomerinvoicesPost struct {
// contains filtered or unexported fields
}
func (*CustomerinvoicesPost) Do ¶
func (r *CustomerinvoicesPost) Do() (CustomerinvoicesPostResponseBody, error)
func (*CustomerinvoicesPost) Method ¶
func (r *CustomerinvoicesPost) Method() string
func (CustomerinvoicesPost) NewPathParams ¶
func (r CustomerinvoicesPost) NewPathParams() *CustomerinvoicesPostPathParams
func (CustomerinvoicesPost) NewQueryParams ¶
func (r CustomerinvoicesPost) NewQueryParams() *CustomerinvoicesPostQueryParams
func (CustomerinvoicesPost) NewRequestBody ¶
func (r CustomerinvoicesPost) NewRequestBody() CustomerinvoicesPostBody
func (*CustomerinvoicesPost) NewResponseBody ¶
func (r *CustomerinvoicesPost) NewResponseBody() *CustomerinvoicesPostResponseBody
func (*CustomerinvoicesPost) PathParams ¶
func (r *CustomerinvoicesPost) PathParams() *CustomerinvoicesPostPathParams
func (*CustomerinvoicesPost) PathParamsInterface ¶
func (r *CustomerinvoicesPost) PathParamsInterface() PathParams
func (*CustomerinvoicesPost) QueryParams ¶
func (r *CustomerinvoicesPost) QueryParams() *CustomerinvoicesPostQueryParams
func (*CustomerinvoicesPost) RequestBody ¶
func (r *CustomerinvoicesPost) RequestBody() *CustomerinvoicesPostBody
func (*CustomerinvoicesPost) RequestBodyInterface ¶
func (r *CustomerinvoicesPost) RequestBodyInterface() interface{}
func (*CustomerinvoicesPost) SetMethod ¶
func (r *CustomerinvoicesPost) SetMethod(method string)
func (*CustomerinvoicesPost) SetRequestBody ¶
func (r *CustomerinvoicesPost) SetRequestBody(body CustomerinvoicesPostBody)
func (*CustomerinvoicesPost) URL ¶
func (r *CustomerinvoicesPost) URL() *url.URL
type CustomerinvoicesPostBody ¶
type CustomerinvoicesPostBody CustomerInvoice
func (CustomerinvoicesPostBody) MarshalJSON ¶
func (v CustomerinvoicesPostBody) MarshalJSON() ([]byte, error)
type CustomerinvoicesPostPathParams ¶
type CustomerinvoicesPostPathParams struct {
}
func (*CustomerinvoicesPostPathParams) Params ¶
func (p *CustomerinvoicesPostPathParams) Params() map[string]string
type CustomerinvoicesPostQueryParams ¶
type CustomerinvoicesPostQueryParams struct {
}
func (CustomerinvoicesPostQueryParams) ToURLValues ¶
func (p CustomerinvoicesPostQueryParams) ToURLValues() (url.Values, error)
type CustomerinvoicesPostResponseBody ¶
type CustomerinvoicesPostResponseBody CustomerInvoice
type CustomerledgeritemsGet ¶
type CustomerledgeritemsGet struct {
// contains filtered or unexported fields
}
func (*CustomerledgeritemsGet) Do ¶
func (r *CustomerledgeritemsGet) Do() (CustomerledgeritemsGetResponseBody, error)
func (*CustomerledgeritemsGet) Method ¶
func (r *CustomerledgeritemsGet) Method() string
func (CustomerledgeritemsGet) NewPathParams ¶
func (r CustomerledgeritemsGet) NewPathParams() *CustomerledgeritemsGetPathParams
func (CustomerledgeritemsGet) NewQueryParams ¶
func (r CustomerledgeritemsGet) NewQueryParams() *CustomerledgeritemsGetQueryParams
func (CustomerledgeritemsGet) NewRequestBody ¶
func (r CustomerledgeritemsGet) NewRequestBody() CustomerledgeritemsGetBody
func (*CustomerledgeritemsGet) NewResponseBody ¶
func (r *CustomerledgeritemsGet) NewResponseBody() *CustomerledgeritemsGetResponseBody
func (*CustomerledgeritemsGet) PathParams ¶
func (r *CustomerledgeritemsGet) PathParams() *CustomerledgeritemsGetPathParams
func (*CustomerledgeritemsGet) PathParamsInterface ¶
func (r *CustomerledgeritemsGet) PathParamsInterface() PathParams
func (*CustomerledgeritemsGet) QueryParams ¶
func (r *CustomerledgeritemsGet) QueryParams() *CustomerledgeritemsGetQueryParams
func (*CustomerledgeritemsGet) RequestBody ¶
func (r *CustomerledgeritemsGet) RequestBody() *CustomerledgeritemsGetBody
func (*CustomerledgeritemsGet) RequestBodyInterface ¶
func (r *CustomerledgeritemsGet) RequestBodyInterface() interface{}
func (*CustomerledgeritemsGet) SetMethod ¶
func (r *CustomerledgeritemsGet) SetMethod(method string)
func (*CustomerledgeritemsGet) SetRequestBody ¶
func (r *CustomerledgeritemsGet) SetRequestBody(body CustomerledgeritemsGetBody)
func (*CustomerledgeritemsGet) URL ¶
func (r *CustomerledgeritemsGet) URL() *url.URL
type CustomerledgeritemsGetBody ¶
type CustomerledgeritemsGetBody struct {
}
type CustomerledgeritemsGetPathParams ¶
type CustomerledgeritemsGetPathParams struct {
}
func (*CustomerledgeritemsGetPathParams) Params ¶
func (p *CustomerledgeritemsGetPathParams) Params() map[string]string
type CustomerledgeritemsGetQueryParams ¶
type CustomerledgeritemsGetQueryParams struct {
Select *odata.Select `schema:"$select,omitempty"`
Expand *odata.Expand `schema:"$expand,omitempty"`
Filter *odata.Filter `schema:"$filter,omitempty"`
Top *odata.Top `schema:"$top,omitempty"`
Skip *odata.Skip `schema:"$skip,omitempty"`
}
func (CustomerledgeritemsGetQueryParams) ToURLValues ¶
func (p CustomerledgeritemsGetQueryParams) ToURLValues() (url.Values, error)
type CustomerledgeritemsGetResponseBody ¶
type CustomerledgeritemsGetResponseBody struct {
Meta Meta `json:"Meta"`
Data CustomerLedgerItems `json:"Data"`
}
type CustomerledgeritemsPost ¶
type CustomerledgeritemsPost struct {
// contains filtered or unexported fields
}
func (*CustomerledgeritemsPost) Do ¶
func (r *CustomerledgeritemsPost) Do() (CustomerledgeritemsPostResponseBody, error)
func (*CustomerledgeritemsPost) Method ¶
func (r *CustomerledgeritemsPost) Method() string
func (CustomerledgeritemsPost) NewPathParams ¶
func (r CustomerledgeritemsPost) NewPathParams() *CustomerledgeritemsPostPathParams
func (CustomerledgeritemsPost) NewQueryParams ¶
func (r CustomerledgeritemsPost) NewQueryParams() *CustomerledgeritemsPostQueryParams
func (CustomerledgeritemsPost) NewRequestBody ¶
func (r CustomerledgeritemsPost) NewRequestBody() CustomerledgeritemsPostBody
func (*CustomerledgeritemsPost) NewResponseBody ¶
func (r *CustomerledgeritemsPost) NewResponseBody() *CustomerledgeritemsPostResponseBody
func (*CustomerledgeritemsPost) PathParams ¶
func (r *CustomerledgeritemsPost) PathParams() *CustomerledgeritemsPostPathParams
func (*CustomerledgeritemsPost) PathParamsInterface ¶
func (r *CustomerledgeritemsPost) PathParamsInterface() PathParams
func (*CustomerledgeritemsPost) QueryParams ¶
func (r *CustomerledgeritemsPost) QueryParams() *CustomerledgeritemsPostQueryParams
func (*CustomerledgeritemsPost) RequestBody ¶
func (r *CustomerledgeritemsPost) RequestBody() *CustomerledgeritemsPostBody
func (*CustomerledgeritemsPost) RequestBodyInterface ¶
func (r *CustomerledgeritemsPost) RequestBodyInterface() interface{}
func (*CustomerledgeritemsPost) SetMethod ¶
func (r *CustomerledgeritemsPost) SetMethod(method string)
func (*CustomerledgeritemsPost) SetRequestBody ¶
func (r *CustomerledgeritemsPost) SetRequestBody(body CustomerledgeritemsPostBody)
func (*CustomerledgeritemsPost) URL ¶
func (r *CustomerledgeritemsPost) URL() *url.URL
type CustomerledgeritemsPostBody ¶
type CustomerledgeritemsPostBody CustomerLedgerItem
func (CustomerledgeritemsPostBody) MarshalJSON ¶
func (v CustomerledgeritemsPostBody) MarshalJSON() ([]byte, error)
type CustomerledgeritemsPostPathParams ¶
type CustomerledgeritemsPostPathParams struct {
}
func (*CustomerledgeritemsPostPathParams) Params ¶
func (p *CustomerledgeritemsPostPathParams) Params() map[string]string
type CustomerledgeritemsPostQueryParams ¶
type CustomerledgeritemsPostQueryParams struct {
}
func (CustomerledgeritemsPostQueryParams) ToURLValues ¶
func (p CustomerledgeritemsPostQueryParams) ToURLValues() (url.Values, error)
type CustomerledgeritemsPostResponseBody ¶
type CustomerledgeritemsPostResponseBody CustomerLedgerItem
type CustomerledgeritemswithvoucherPost ¶
type CustomerledgeritemswithvoucherPost struct {
// contains filtered or unexported fields
}
func (*CustomerledgeritemswithvoucherPost) Method ¶
func (r *CustomerledgeritemswithvoucherPost) Method() string
func (CustomerledgeritemswithvoucherPost) NewPathParams ¶
func (r CustomerledgeritemswithvoucherPost) NewPathParams() *CustomerledgeritemswithvoucherPostPathParams
func (CustomerledgeritemswithvoucherPost) NewQueryParams ¶
func (r CustomerledgeritemswithvoucherPost) NewQueryParams() *CustomerledgeritemswithvoucherPostQueryParams
func (CustomerledgeritemswithvoucherPost) NewRequestBody ¶
func (r CustomerledgeritemswithvoucherPost) NewRequestBody() CustomerledgeritemswithvoucherPostBody
func (*CustomerledgeritemswithvoucherPost) NewResponseBody ¶
func (r *CustomerledgeritemswithvoucherPost) NewResponseBody() *CustomerledgeritemswithvoucherPostResponseBody
func (*CustomerledgeritemswithvoucherPost) PathParams ¶
func (r *CustomerledgeritemswithvoucherPost) PathParams() *CustomerledgeritemswithvoucherPostPathParams
func (*CustomerledgeritemswithvoucherPost) PathParamsInterface ¶
func (r *CustomerledgeritemswithvoucherPost) PathParamsInterface() PathParams
func (*CustomerledgeritemswithvoucherPost) QueryParams ¶
func (r *CustomerledgeritemswithvoucherPost) QueryParams() *CustomerledgeritemswithvoucherPostQueryParams
func (*CustomerledgeritemswithvoucherPost) RequestBody ¶
func (r *CustomerledgeritemswithvoucherPost) RequestBody() *CustomerledgeritemswithvoucherPostBody
func (*CustomerledgeritemswithvoucherPost) RequestBodyInterface ¶
func (r *CustomerledgeritemswithvoucherPost) RequestBodyInterface() interface{}
func (*CustomerledgeritemswithvoucherPost) SetMethod ¶
func (r *CustomerledgeritemswithvoucherPost) SetMethod(method string)
func (*CustomerledgeritemswithvoucherPost) SetRequestBody ¶
func (r *CustomerledgeritemswithvoucherPost) SetRequestBody(body CustomerledgeritemswithvoucherPostBody)
func (*CustomerledgeritemswithvoucherPost) URL ¶
func (r *CustomerledgeritemswithvoucherPost) URL() *url.URL
type CustomerledgeritemswithvoucherPostBody ¶
type CustomerledgeritemswithvoucherPostBody CustomerLedgerItem
func (CustomerledgeritemswithvoucherPostBody) MarshalJSON ¶
func (v CustomerledgeritemswithvoucherPostBody) MarshalJSON() ([]byte, error)
type CustomerledgeritemswithvoucherPostPathParams ¶
type CustomerledgeritemswithvoucherPostPathParams struct {
}
func (*CustomerledgeritemswithvoucherPostPathParams) Params ¶
func (p *CustomerledgeritemswithvoucherPostPathParams) Params() map[string]string
type CustomerledgeritemswithvoucherPostQueryParams ¶
type CustomerledgeritemswithvoucherPostQueryParams struct {
UseAutomaticVATCalculation bool `schema:"useAutomaticVatCalculation"`
UseDefaultVATCodes bool `schema:"useDefaultVatCodes"`
UseDefaultVoucherSeries bool `schema:"useDefaultVoucherSeries"`
}
func (CustomerledgeritemswithvoucherPostQueryParams) ToURLValues ¶
func (p CustomerledgeritemswithvoucherPostQueryParams) ToURLValues() (url.Values, error)
type CustomerledgeritemswithvoucherPostResponseBody ¶
type CustomerledgeritemswithvoucherPostResponseBody CustomerLedgerItem
type CustomersGet ¶
type CustomersGet struct {
// contains filtered or unexported fields
}
func (*CustomersGet) Do ¶
func (r *CustomersGet) Do() (CustomersGetResponseBody, error)
func (*CustomersGet) Method ¶
func (r *CustomersGet) Method() string
func (CustomersGet) NewPathParams ¶
func (r CustomersGet) NewPathParams() *CustomersGetPathParams
func (CustomersGet) NewQueryParams ¶
func (r CustomersGet) NewQueryParams() *CustomersGetQueryParams
func (CustomersGet) NewRequestBody ¶
func (r CustomersGet) NewRequestBody() CustomersGetBody
func (*CustomersGet) NewResponseBody ¶
func (r *CustomersGet) NewResponseBody() *CustomersGetResponseBody
func (*CustomersGet) PathParams ¶
func (r *CustomersGet) PathParams() *CustomersGetPathParams
func (*CustomersGet) PathParamsInterface ¶
func (r *CustomersGet) PathParamsInterface() PathParams
func (*CustomersGet) QueryParams ¶
func (r *CustomersGet) QueryParams() *CustomersGetQueryParams
func (*CustomersGet) RequestBody ¶
func (r *CustomersGet) RequestBody() *CustomersGetBody
func (*CustomersGet) RequestBodyInterface ¶
func (r *CustomersGet) RequestBodyInterface() interface{}
func (*CustomersGet) SetMethod ¶
func (r *CustomersGet) SetMethod(method string)
func (*CustomersGet) SetRequestBody ¶
func (r *CustomersGet) SetRequestBody(body CustomersGetBody)
func (*CustomersGet) URL ¶
func (r *CustomersGet) URL() *url.URL
type CustomersGetBody ¶
type CustomersGetBody struct {
}
type CustomersGetPathParams ¶
type CustomersGetPathParams struct {
}
func (*CustomersGetPathParams) Params ¶
func (p *CustomersGetPathParams) Params() map[string]string
type CustomersGetQueryParams ¶
type CustomersGetQueryParams struct {
Select *odata.Select `schema:"$select,omitempty"`
Expand *odata.Expand `schema:"$expand,omitempty"`
Filter *odata.Filter `schema:"$filter,omitempty"`
Top *odata.Top `schema:"$top,omitempty"`
Skip *odata.Skip `schema:"$skip,omitempty"`
}
func (CustomersGetQueryParams) ToURLValues ¶
func (p CustomersGetQueryParams) ToURLValues() (url.Values, error)
type CustomersPost ¶
type CustomersPost struct {
// contains filtered or unexported fields
}
func (*CustomersPost) Do ¶
func (r *CustomersPost) Do() (CustomersPostResponseBody, error)
func (*CustomersPost) Method ¶
func (r *CustomersPost) Method() string
func (CustomersPost) NewPathParams ¶
func (r CustomersPost) NewPathParams() *CustomersPostPathParams
func (CustomersPost) NewQueryParams ¶
func (r CustomersPost) NewQueryParams() *CustomersPostQueryParams
func (CustomersPost) NewRequestBody ¶
func (r CustomersPost) NewRequestBody() CustomersPostBody
func (*CustomersPost) NewResponseBody ¶
func (r *CustomersPost) NewResponseBody() *CustomersPostResponseBody
func (*CustomersPost) PathParams ¶
func (r *CustomersPost) PathParams() *CustomersPostPathParams
func (*CustomersPost) PathParamsInterface ¶
func (r *CustomersPost) PathParamsInterface() PathParams
func (*CustomersPost) QueryParams ¶
func (r *CustomersPost) QueryParams() *CustomersPostQueryParams
func (*CustomersPost) RequestBody ¶
func (r *CustomersPost) RequestBody() *CustomersPostBody
func (*CustomersPost) RequestBodyInterface ¶
func (r *CustomersPost) RequestBodyInterface() interface{}
func (*CustomersPost) SetMethod ¶
func (r *CustomersPost) SetMethod(method string)
func (*CustomersPost) SetRequestBody ¶
func (r *CustomersPost) SetRequestBody(body CustomersPostBody)
func (*CustomersPost) URL ¶
func (r *CustomersPost) URL() *url.URL
type CustomersPostBody ¶
type CustomersPostBody Customer
func (CustomersPostBody) MarshalJSON ¶
func (v CustomersPostBody) MarshalJSON() ([]byte, error)
type CustomersPostPathParams ¶
type CustomersPostPathParams struct {
}
func (*CustomersPostPathParams) Params ¶
func (p *CustomersPostPathParams) Params() map[string]string
type CustomersPostQueryParams ¶
type CustomersPostQueryParams struct {
}
func (CustomersPostQueryParams) ToURLValues ¶
func (p CustomersPostQueryParams) ToURLValues() (url.Values, error)
type CustomersPostResponseBody ¶
type CustomersPostResponseBody Customer
type DateTime ¶
func (DateTime) MarshalSchema ¶
type ErrorResponse ¶
type ErrorResponse struct {
// HTTP response that caused this error
Response *http.Response
ErrorCode int `json:"ErrorCode"`
DeveloperErrorMessage string `json:"DeveloperErrorMessage"`
ErrorID string `json:"ErrorId"`
Errors interface{} `json:"Errors"`
}
func (*ErrorResponse) Error ¶
func (r *ErrorResponse) Error() string
type ExceptionResponse ¶
type ExceptionResponse struct {
// HTTP response that caused this error
Response *http.Response
ExceptionType string `json:"ExceptionType"`
ExceptionMessage string `json:"ExceptionMessage"`
ExceptionFaultCode string `json:"ExceptionFaultCode"`
ExceptionMessageID string `json:"ExceptionMessageID"`
ExceptionDetails string `json:"ExceptionDetails"`
}
func (*ExceptionResponse) Error ¶
func (r *ExceptionResponse) Error() string
type Oauth2Config ¶
func NewOauth2Config ¶
func NewOauth2Config() *Oauth2Config
type Order ¶
type Order struct {
ID string `json:"Id,omitempty"`
Amount float64 `json:"Amount,omitempty"`
CustomerID string `json:"CustomerId,omitempty"`
CurrencyCode string `json:"CurrencyCode,omitempty"`
CreatedUtc DateTime `json:"CreatedUtc,omitempty"`
VatAmount float64 `json:"VatAmount,omitempty"`
RoundingsAmount float64 `json:"RoundingsAmount,omitempty"`
DeliveredAmount float64 `json:"DeliveredAmount,omitempty"`
DeliveredVatAmount float64 `json:"DeliveredVatAmount,omitempty"`
DeliveredRoundingsAmount float64 `json:"DeliveredRoundingsAmount,omitempty"`
DeliveryCustomerName *string `json:"DeliveryCustomerName,omitempty"`
DeliveryAddress1 *string `json:"DeliveryAddress1,omitempty"`
DeliveryAddress2 *string `json:"DeliveryAddress2,omitempty"`
DeliveryPostalCode *string `json:"DeliveryPostalCode,omitempty"`
DeliveryCity *string `json:"DeliveryCity,omitempty"`
DeliveryCountryCode *string `json:"DeliveryCountryCode,omitempty"`
YourReference string `json:"YourReference,omitempty"`
OurReference string `json:"OurReference,omitempty"`
BuyersOrderReference string `json:"BuyersOrderReference,omitempty"`
InvoiceAddress1 string `json:"InvoiceAddress1,omitempty"`
InvoiceAddress2 string `json:"InvoiceAddress2,omitempty"`
InvoiceCity string `json:"InvoiceCity,omitempty"`
InvoiceCountryCode string `json:"InvoiceCountryCode,omitempty"`
InvoiceCustomerName string `json:"InvoiceCustomerName,omitempty"`
CustomerNumber string `json:"CustomerNumber,omitempty"`
CustomerName string `json:"CustomerName,omitempty"`
InvoicePostalCode string `json:"InvoicePostalCode,omitempty"`
DeliveryMethodName *string `json:"DeliveryMethodName,omitempty"`
DeliveryMethodCode *string `json:"DeliveryMethodCode,omitempty"`
DeliveryTermName *string `json:"DeliveryTermName,omitempty"`
DeliveryTermID *string `json:"DeliveryTermId,omitempty"`
DeliveryMethodID *string `json:"DeliveryMethodId,omitempty"`
DeliveryTermCode *string `json:"DeliveryTermCode,omitempty"`
TermsOfPaymentID string `json:"TermsOfPaymentId,omitempty"`
EuThirdParty bool `json:"EuThirdParty"`
CustomerIsPrivatePerson bool `json:"CustomerIsPrivatePerson"`
IncludesVat bool `json:"IncludesVat"`
OrderDate string `json:"OrderDate,omitempty"`
Status int `json:"Status,omitempty"`
Number *int `json:"Number,omitempty"`
ModifiedUtc DateTime `json:"ModifiedUtc,omitempty"`
DeliveryDate Date `json:"DeliveryDate,omitempty"`
HouseWorkAmount float64 `json:"HouseWorkAmount,omitempty"`
HouseWorkAutomaticDistribution bool `json:"HouseWorkAutomaticDistribution"`
HouseWorkCorporateIdentityNumber *string `json:"HouseWorkCorporateIdentityNumber,omitempty"`
HouseWorkPropertyName *string `json:"HouseWorkPropertyName,omitempty"`
SalesDocumentAttachments []interface{} `json:"SalesDocumentAttachments,omitempty"`
MessageThreads []interface{} `json:"MessageThreads,omitempty"`
Notes []interface{} `json:"Notes,omitempty"`
Rows []struct {
ID string `json:"Id,omitempty"`
LineNumber int `json:"LineNumber,omitempty"`
DeliveredQuantity float64 `json:"DeliveredQuantity,omitempty"`
ArticleID string `json:"ArticleId,omitempty"`
IsServiceArticle bool `json:"IsServiceArticle,omitempty"`
UnitID string `json:"UnitId,omitempty"`
ArticleNumber string `json:"ArticleNumber,omitempty"`
IsTextRow bool `json:"IsTextRow,omitempty"`
Text string `json:"Text,omitempty"`
UnitPrice float64 `json:"UnitPrice,omitempty"`
Amount float64 `json:"Amount,omitempty"`
IsDiscountInFixedAmount bool `json:"IsDiscountInFixedAmount"`
DiscountFixedAmount float64 `json:"DiscountFixedAmount,omitempty"`
DiscountPercentage float64 `json:"DiscountPercentage,omitempty"`
Quantity float64 `json:"Quantity,omitempty"`
WorkCostType int `json:"WorkCostType,omitempty"`
IsWorkCost bool `json:"IsWorkCost"`
WorkHours *float64 `json:"WorkHours,omitempty"`
MaterialCosts *float64 `json:"MaterialCosts,omitempty"`
EligibleForReverseChargeOnVat bool `json:"EligibleForReverseChargeOnVat"`
VatRate float64 `json:"VatRate,omitempty"`
CostCenterItemID1 *string `json:"CostCenterItemId1,omitempty"`
CostCenterItemID2 *string `json:"CostCenterItemId2,omitempty"`
CostCenterItemID3 *string `json:"CostCenterItemId3,omitempty"`
ProjectID *string `json:"ProjectId,omitempty"`
GreenTechnologyType int `json:"GreenTechnologyType,omitempty"`
ContributionMargin *struct {
Amount *float64 `json:"Amount,omitempty"`
Percentage *float64 `json:"Percentage,omitempty"`
} `json:"ContributionMargin,omitempty"`
PurchasePrice float64 `json:"PurchasePrice,omitempty"`
FreightCosts float64 `json:"FreightCosts,omitempty"`
} `json:"Rows,omitempty"`
ShippedDateTime *DateTime `json:"ShippedDateTime,omitempty"`
RotReducedInvoicingType int `json:"RotReducedInvoicingType,omitempty"`
MaxAllowedTaxReductionAmount float64 `json:"MaxAllowedTaxReductionAmount,omitempty"`
RotReducedInvoicingPercent float64 `json:"RotReducedInvoicingPercent,omitempty"`
RotPropertyType *int `json:"RotPropertyType,omitempty"`
Persons []interface{} `json:"Persons,omitempty"`
ReverseChargeOnConstructionServices bool `json:"ReverseChargeOnConstructionServices"`
UsesGreenTechnology bool `json:"UsesGreenTechnology"`
IsNotDelivered bool `json:"IsNotDelivered"`
ContributionMargin *struct {
Amount *float64 `json:"Amount,omitempty"`
Percentage *float64 `json:"Percentage,omitempty"`
} `json:"ContributionMargin,omitempty"`
CreatedFromQuoteID *string `json:"CreatedFromQuoteId,omitempty"`
BackgroundID *string `json:"BackgroundId,omitempty"`
}
type OrdersGet ¶
type OrdersGet struct {
// contains filtered or unexported fields
}
func (*OrdersGet) Do ¶
func (r *OrdersGet) Do() (OrdersGetResponseBody, error)
func (OrdersGet) NewPathParams ¶
func (r OrdersGet) NewPathParams() *OrdersGetPathParams
func (OrdersGet) NewQueryParams ¶
func (r OrdersGet) NewQueryParams() *OrdersGetQueryParams
func (OrdersGet) NewRequestBody ¶
func (r OrdersGet) NewRequestBody() OrdersGetBody
func (*OrdersGet) NewResponseBody ¶
func (r *OrdersGet) NewResponseBody() *OrdersGetResponseBody
func (*OrdersGet) PathParams ¶
func (r *OrdersGet) PathParams() *OrdersGetPathParams
func (*OrdersGet) PathParamsInterface ¶
func (r *OrdersGet) PathParamsInterface() PathParams
func (*OrdersGet) QueryParams ¶
func (r *OrdersGet) QueryParams() *OrdersGetQueryParams
func (*OrdersGet) RequestBody ¶
func (r *OrdersGet) RequestBody() *OrdersGetBody
func (*OrdersGet) RequestBodyInterface ¶
func (r *OrdersGet) RequestBodyInterface() interface{}
func (*OrdersGet) SetRequestBody ¶
func (r *OrdersGet) SetRequestBody(body OrdersGetBody)
type OrdersGetBody ¶
type OrdersGetBody struct {
}
type OrdersGetPathParams ¶
type OrdersGetPathParams struct {
}
func (*OrdersGetPathParams) Params ¶
func (p *OrdersGetPathParams) Params() map[string]string
type OrdersGetQueryParams ¶
type OrdersGetQueryParams struct {
Select *odata.Select `schema:"$select,omitempty"`
Expand *odata.Expand `schema:"$expand,omitempty"`
Filter *odata.Filter `schema:"$filter,omitempty"`
Top *odata.Top `schema:"$top,omitempty"`
Skip *odata.Skip `schema:"$skip,omitempty"`
}
func (OrdersGetQueryParams) ToURLValues ¶
func (p OrdersGetQueryParams) ToURLValues() (url.Values, error)
type OrdersGetResponseBody ¶
type OrdersPost ¶
type OrdersPost struct {
// contains filtered or unexported fields
}
func (*OrdersPost) Do ¶
func (r *OrdersPost) Do() (OrdersPostResponseBody, error)
func (*OrdersPost) Method ¶
func (r *OrdersPost) Method() string
func (OrdersPost) NewPathParams ¶
func (r OrdersPost) NewPathParams() *OrdersPostPathParams
func (OrdersPost) NewQueryParams ¶
func (r OrdersPost) NewQueryParams() *OrdersPostQueryParams
func (OrdersPost) NewRequestBody ¶
func (r OrdersPost) NewRequestBody() OrdersPostBody
func (*OrdersPost) NewResponseBody ¶
func (r *OrdersPost) NewResponseBody() *OrdersPostResponseBody
func (*OrdersPost) PathParams ¶
func (r *OrdersPost) PathParams() *OrdersPostPathParams
func (*OrdersPost) PathParamsInterface ¶
func (r *OrdersPost) PathParamsInterface() PathParams
func (*OrdersPost) QueryParams ¶
func (r *OrdersPost) QueryParams() *OrdersPostQueryParams
func (*OrdersPost) RequestBody ¶
func (r *OrdersPost) RequestBody() *OrdersPostBody
func (*OrdersPost) RequestBodyInterface ¶
func (r *OrdersPost) RequestBodyInterface() interface{}
func (*OrdersPost) SetMethod ¶
func (r *OrdersPost) SetMethod(method string)
func (*OrdersPost) SetRequestBody ¶
func (r *OrdersPost) SetRequestBody(body OrdersPostBody)
func (*OrdersPost) URL ¶
func (r *OrdersPost) URL() *url.URL
type OrdersPostBody ¶
type OrdersPostBody Order
type OrdersPostPathParams ¶
type OrdersPostPathParams struct {
}
func (*OrdersPostPathParams) Params ¶
func (p *OrdersPostPathParams) Params() map[string]string
type OrdersPostQueryParams ¶
type OrdersPostQueryParams struct {
}
func (OrdersPostQueryParams) ToURLValues ¶
func (p OrdersPostQueryParams) ToURLValues() (url.Values, error)
type OrdersPostResponseBody ¶
type OrdersPostResponseBody Order
type PathParams ¶
type QueryParams ¶
type Request ¶
type Request interface {
Method() string
// QueryParams() QueryParams
PathParamsInterface() PathParams
RequestBodyInterface() interface{}
URL() *url.URL
}
type RequestCompletionCallback ¶
RequestCompletionCallback defines the type of the request callback function
type TermsOfPayment ¶
type TermsOfPayment struct {
ID string `json:"Id"`
Name string `json:"Name"`
NameEnglish string `json:"NameEnglish"`
NumberOfDays int `json:"NumberOfDays"`
TermsOfPaymentTypeID int `json:"TermsOfPaymentTypeId"`
TermsOfPaymentTypeText interface{} `json:"TermsOfPaymentTypeText"`
AvailableForSales bool `json:"AvailableForSales"`
AvailableForPurchase bool `json:"AvailableForPurchase"`
}
func (TermsOfPayment) IsEmpty ¶
func (t TermsOfPayment) IsEmpty() bool
func (TermsOfPayment) MarshalJSON ¶
func (t TermsOfPayment) MarshalJSON() ([]byte, error)
type TermsOfPayments ¶
type TermsOfPayments []TermsOfPayment
type TermsofpaymentsGet ¶
type TermsofpaymentsGet struct {
// contains filtered or unexported fields
}
func (*TermsofpaymentsGet) Do ¶
func (r *TermsofpaymentsGet) Do() (TermsofpaymentsGetResponseBody, error)
func (*TermsofpaymentsGet) Method ¶
func (r *TermsofpaymentsGet) Method() string
func (TermsofpaymentsGet) NewPathParams ¶
func (r TermsofpaymentsGet) NewPathParams() *TermsofpaymentsGetPathParams
func (TermsofpaymentsGet) NewQueryParams ¶
func (r TermsofpaymentsGet) NewQueryParams() *TermsofpaymentsGetQueryParams
func (TermsofpaymentsGet) NewRequestBody ¶
func (r TermsofpaymentsGet) NewRequestBody() TermsofpaymentsGetBody
func (*TermsofpaymentsGet) NewResponseBody ¶
func (r *TermsofpaymentsGet) NewResponseBody() *TermsofpaymentsGetResponseBody
func (*TermsofpaymentsGet) PathParams ¶
func (r *TermsofpaymentsGet) PathParams() *TermsofpaymentsGetPathParams
func (*TermsofpaymentsGet) PathParamsInterface ¶
func (r *TermsofpaymentsGet) PathParamsInterface() PathParams
func (*TermsofpaymentsGet) QueryParams ¶
func (r *TermsofpaymentsGet) QueryParams() QueryParams
func (*TermsofpaymentsGet) RequestBody ¶
func (r *TermsofpaymentsGet) RequestBody() *TermsofpaymentsGetBody
func (*TermsofpaymentsGet) RequestBodyInterface ¶
func (r *TermsofpaymentsGet) RequestBodyInterface() interface{}
func (*TermsofpaymentsGet) SetMethod ¶
func (r *TermsofpaymentsGet) SetMethod(method string)
func (*TermsofpaymentsGet) SetRequestBody ¶
func (r *TermsofpaymentsGet) SetRequestBody(body TermsofpaymentsGetBody)
func (*TermsofpaymentsGet) URL ¶
func (r *TermsofpaymentsGet) URL() *url.URL
type TermsofpaymentsGetBody ¶
type TermsofpaymentsGetBody struct {
}
type TermsofpaymentsGetPathParams ¶
type TermsofpaymentsGetPathParams struct {
}
func (*TermsofpaymentsGetPathParams) Params ¶
func (p *TermsofpaymentsGetPathParams) Params() map[string]string
type TermsofpaymentsGetQueryParams ¶
type TermsofpaymentsGetQueryParams struct {
}
func (TermsofpaymentsGetQueryParams) ToURLValues ¶
func (p TermsofpaymentsGetQueryParams) ToURLValues() (url.Values, error)
type TermsofpaymentsGetResponseBody ¶
type TermsofpaymentsGetResponseBody struct {
Meta Meta `json:"Meta"`
Data TermsOfPayments `json:"Data"`
}
type UnitsGet ¶
type UnitsGet struct {
// contains filtered or unexported fields
}
func (*UnitsGet) Do ¶
func (r *UnitsGet) Do() (UnitsGetResponseBody, error)
func (UnitsGet) NewPathParams ¶
func (r UnitsGet) NewPathParams() *UnitsGetPathParams
func (UnitsGet) NewQueryParams ¶
func (r UnitsGet) NewQueryParams() *UnitsGetQueryParams
func (UnitsGet) NewRequestBody ¶
func (r UnitsGet) NewRequestBody() UnitsGetBody
func (*UnitsGet) NewResponseBody ¶
func (r *UnitsGet) NewResponseBody() *UnitsGetResponseBody
func (*UnitsGet) PathParams ¶
func (r *UnitsGet) PathParams() *UnitsGetPathParams
func (*UnitsGet) PathParamsInterface ¶
func (r *UnitsGet) PathParamsInterface() PathParams
func (*UnitsGet) QueryParams ¶
func (r *UnitsGet) QueryParams() *UnitsGetQueryParams
func (*UnitsGet) RequestBody ¶
func (r *UnitsGet) RequestBody() *UnitsGetBody
func (*UnitsGet) RequestBodyInterface ¶
func (r *UnitsGet) RequestBodyInterface() interface{}
func (*UnitsGet) SetRequestBody ¶
func (r *UnitsGet) SetRequestBody(body UnitsGetBody)
type UnitsGetBody ¶
type UnitsGetBody struct {
}
type UnitsGetPathParams ¶
type UnitsGetPathParams struct {
}
func (*UnitsGetPathParams) Params ¶
func (p *UnitsGetPathParams) Params() map[string]string
type UnitsGetQueryParams ¶
type UnitsGetQueryParams struct {
Page int `schema:"$page,omitempty"`
PageSize int `schema:"$pagesize,omitempty"`
}
func (UnitsGetQueryParams) ToURLValues ¶
func (p UnitsGetQueryParams) ToURLValues() (url.Values, error)
type UnitsGetResponseBody ¶
type VATCode ¶
type VATCode struct {
ID string `json:"Id"`
Code string `json:"Code"`
Description string `json:"Description"`
VatRate float64 `json:"VatRate"`
OssCodeType int `json:"OssCodeType"`
RelatedAccounts struct {
AccountNumber1 int `json:"AccountNumber1"`
AccountNumber2 interface{} `json:"AccountNumber2"`
AccountNumber3 interface{} `json:"AccountNumber3"`
} `json:"RelatedAccounts"`
}
type VatcodesGet ¶
type VatcodesGet struct {
// contains filtered or unexported fields
}
func (*VatcodesGet) Do ¶
func (r *VatcodesGet) Do() (VatcodesGetResponseBody, error)
func (*VatcodesGet) Method ¶
func (r *VatcodesGet) Method() string
func (VatcodesGet) NewPathParams ¶
func (r VatcodesGet) NewPathParams() *VatcodesGetPathParams
func (VatcodesGet) NewQueryParams ¶
func (r VatcodesGet) NewQueryParams() *VatcodesGetQueryParams
func (VatcodesGet) NewRequestBody ¶
func (r VatcodesGet) NewRequestBody() VatcodesGetBody
func (*VatcodesGet) NewResponseBody ¶
func (r *VatcodesGet) NewResponseBody() *VatcodesGetResponseBody
func (*VatcodesGet) PathParams ¶
func (r *VatcodesGet) PathParams() *VatcodesGetPathParams
func (*VatcodesGet) PathParamsInterface ¶
func (r *VatcodesGet) PathParamsInterface() PathParams
func (*VatcodesGet) QueryParams ¶
func (r *VatcodesGet) QueryParams() QueryParams
func (*VatcodesGet) RequestBody ¶
func (r *VatcodesGet) RequestBody() *VatcodesGetBody
func (*VatcodesGet) RequestBodyInterface ¶
func (r *VatcodesGet) RequestBodyInterface() interface{}
func (*VatcodesGet) SetMethod ¶
func (r *VatcodesGet) SetMethod(method string)
func (*VatcodesGet) SetRequestBody ¶
func (r *VatcodesGet) SetRequestBody(body VatcodesGetBody)
func (*VatcodesGet) URL ¶
func (r *VatcodesGet) URL() *url.URL
type VatcodesGetBody ¶
type VatcodesGetBody struct {
}
type VatcodesGetPathParams ¶
type VatcodesGetPathParams struct {
}
func (*VatcodesGetPathParams) Params ¶
func (p *VatcodesGetPathParams) Params() map[string]string
type VatcodesGetQueryParams ¶
type VatcodesGetQueryParams struct {
}
func (VatcodesGetQueryParams) ToURLValues ¶
func (p VatcodesGetQueryParams) ToURLValues() (url.Values, error)
type VatcodesGetResponseBody ¶
type Voucher ¶
type Voucher struct {
ID string `json:"Id,omitempty,omitempty"`
VoucherDate Date `json:"VoucherDate,omitempty"`
VoucherText string `json:"VoucherText,omitempty"`
Rows VoucherRows `json:"Rows,omitempty"`
NumberAndNumberSeries string `json:"NumberAndNumberSeries,omitempty"`
NumberSeries string `json:"NumberSeries,omitempty"`
Attachments interface{} `json:"Attachments,omitempty"`
ModifiedUTC DateTime `json:"ModifiedUTC,omitempty"`
VoucherType int `json:"VoucherType,omitempty"`
SourceID string `json:"SourceId,omitempty"`
CreatedUTC DateTime `json:"CreatedUTC,omitempty"`
}
func (Voucher) MarshalJSON ¶
type VoucherRow ¶
type VoucherRow struct {
AccountNumber int `json:"AccountNumber,omitempty"`
AccountDescription string `json:"AccountDescription,omitempty"`
DebitAmount float64 `json:"DebitAmount,omitempty"`
CreditAmount float64 `json:"CreditAmount,omitempty"`
TransactionText string `json:"TransactionText,omitempty"`
CostCenterItemID1 interface{} `json:"CostCenterItemId1,omitempty"`
CostCenterItemID2 interface{} `json:"CostCenterItemId2,omitempty"`
CostCenterItemID3 interface{} `json:"CostCenterItemId3,omitempty"`
VATCodeID string `json:"VatCodeId,omitempty"`
VATCodeAndPercent string `json:"VatCodeAndPercent,omitempty"`
VATAmount float64 `json:"VatAmount,omitempty"`
Quantity int `json:"Quantity,omitempty"`
Weight float64 `json:"Weight,omitempty"`
DeliveryDate Date `json:"DeliveryDate,omitempty"`
HarvestYear interface{} `json:"HarvestYear,omitempty"`
ProjectID interface{} `json:"ProjectId,omitempty"`
}
func (VoucherRow) MarshalJSON ¶
func (v VoucherRow) MarshalJSON() ([]byte, error)
type VoucherRows ¶
type VoucherRows []VoucherRow
type VouchersGet ¶
type VouchersGet struct {
// contains filtered or unexported fields
}
func (*VouchersGet) Do ¶
func (r *VouchersGet) Do() (VouchersGetResponseBody, error)
func (*VouchersGet) Method ¶
func (r *VouchersGet) Method() string
func (VouchersGet) NewPathParams ¶
func (r VouchersGet) NewPathParams() *VouchersGetPathParams
func (VouchersGet) NewQueryParams ¶
func (r VouchersGet) NewQueryParams() *VouchersGetQueryParams
func (VouchersGet) NewRequestBody ¶
func (r VouchersGet) NewRequestBody() VouchersGetBody
func (*VouchersGet) NewResponseBody ¶
func (r *VouchersGet) NewResponseBody() *VouchersGetResponseBody
func (*VouchersGet) PathParams ¶
func (r *VouchersGet) PathParams() *VouchersGetPathParams
func (*VouchersGet) PathParamsInterface ¶
func (r *VouchersGet) PathParamsInterface() PathParams
func (*VouchersGet) QueryParams ¶
func (r *VouchersGet) QueryParams() *VouchersGetQueryParams
func (*VouchersGet) RequestBody ¶
func (r *VouchersGet) RequestBody() *VouchersGetBody
func (*VouchersGet) RequestBodyInterface ¶
func (r *VouchersGet) RequestBodyInterface() interface{}
func (*VouchersGet) SetMethod ¶
func (r *VouchersGet) SetMethod(method string)
func (*VouchersGet) SetRequestBody ¶
func (r *VouchersGet) SetRequestBody(body VouchersGetBody)
func (*VouchersGet) URL ¶
func (r *VouchersGet) URL() *url.URL
type VouchersGetBody ¶
type VouchersGetBody struct {
}
type VouchersGetPathParams ¶
type VouchersGetPathParams struct {
}
func (*VouchersGetPathParams) Params ¶
func (p *VouchersGetPathParams) Params() map[string]string
type VouchersGetQueryParams ¶
type VouchersGetQueryParams struct {
Select *odata.Select `schema:"$select,omitempty"`
Expand *odata.Expand `schema:"$expand,omitempty"`
Filter *odata.Filter `schema:"$filter,omitempty"`
Top *odata.Top `schema:"$top,omitempty"`
Skip *odata.Skip `schema:"$skip,omitempty"`
}
func (VouchersGetQueryParams) ToURLValues ¶
func (p VouchersGetQueryParams) ToURLValues() (url.Values, error)
type VouchersGetResponseBody ¶
type VouchersPost ¶
type VouchersPost struct {
// contains filtered or unexported fields
}
func (*VouchersPost) Do ¶
func (r *VouchersPost) Do() (VouchersPostResponseBody, error)
func (*VouchersPost) Method ¶
func (r *VouchersPost) Method() string
func (VouchersPost) NewPathParams ¶
func (r VouchersPost) NewPathParams() *VouchersPostPathParams
func (VouchersPost) NewQueryParams ¶
func (r VouchersPost) NewQueryParams() *VouchersPostQueryParams
func (VouchersPost) NewRequestBody ¶
func (r VouchersPost) NewRequestBody() VouchersPostBody
func (*VouchersPost) NewResponseBody ¶
func (r *VouchersPost) NewResponseBody() *VouchersPostResponseBody
func (*VouchersPost) PathParams ¶
func (r *VouchersPost) PathParams() *VouchersPostPathParams
func (*VouchersPost) PathParamsInterface ¶
func (r *VouchersPost) PathParamsInterface() PathParams
func (*VouchersPost) QueryParams ¶
func (r *VouchersPost) QueryParams() *VouchersPostQueryParams
func (*VouchersPost) RequestBody ¶
func (r *VouchersPost) RequestBody() *VouchersPostBody
func (*VouchersPost) RequestBodyInterface ¶
func (r *VouchersPost) RequestBodyInterface() interface{}
func (*VouchersPost) SetMethod ¶
func (r *VouchersPost) SetMethod(method string)
func (*VouchersPost) SetRequestBody ¶
func (r *VouchersPost) SetRequestBody(body VouchersPostBody)
func (*VouchersPost) URL ¶
func (r *VouchersPost) URL() *url.URL
type VouchersPostBody ¶
type VouchersPostBody Voucher
func (VouchersPostBody) MarshalJSON ¶
func (v VouchersPostBody) MarshalJSON() ([]byte, error)
type VouchersPostPathParams ¶
type VouchersPostPathParams struct {
}
func (*VouchersPostPathParams) Params ¶
func (p *VouchersPostPathParams) Params() map[string]string
type VouchersPostQueryParams ¶
type VouchersPostQueryParams struct {
UseAutomaticVATCalculation bool `schema:"useAutomaticVatCalculation"`
UseDefaultVATCodes bool `schema:"useDefaultVatCodes"`
UseDefaultVoucherSeries bool `schema:"useDefaultVoucherSeries"`
}
func (VouchersPostQueryParams) ToURLValues ¶
func (p VouchersPostQueryParams) ToURLValues() (url.Values, error)
type VouchersPostResponseBody ¶
type VouchersPostResponseBody Voucher
Source Files
¶
- accounts_get.go
- articleaccountcodings_get.go
- articles_get.go
- articles_post.go
- client.go
- companysettings_get.go
- costcenters_get.go
- customerinvoices_get.go
- customerinvoices_post.go
- customerledgeritems_get.go
- customerledgeritems_post.go
- customerledgeritemswithvoucher_post.go
- customers_get.go
- customers_post.go
- json_types.go
- oauth.go
- orders_get.go
- orders_post.go
- request.go
- termsofpayments_get.go
- types.go
- units_get.go
- vatcodes_get.go
- vouchers_get.go
- vouchers_post.go