Documentation ¶
Index ¶
- Variables
- func CheckResponse(r *http.Response) error
- func CreateFormFile(w *multipart.Writer, data io.Reader, fieldname, filename string) (io.Writer, error)
- func GetFileContentType(file io.Reader) (string, error)
- type AccountingDocumentTypesGetRequest
- func (r *AccountingDocumentTypesGetRequest) Do() (AccountingDocumentTypesGetResponseBody, error)
- func (r *AccountingDocumentTypesGetRequest) Method() string
- func (r AccountingDocumentTypesGetRequest) NewPathParams() *AccountingDocumentTypesGetRequestPathParams
- func (r AccountingDocumentTypesGetRequest) NewQueryParams() *AccountingDocumentTypesGetRequestQueryParams
- func (r AccountingDocumentTypesGetRequest) NewRequestBody() AccountingDocumentTypesGetRequestBody
- func (r *AccountingDocumentTypesGetRequest) NewResponseBody() *AccountingDocumentTypesGetResponseBody
- func (r *AccountingDocumentTypesGetRequest) PathParams() *AccountingDocumentTypesGetRequestPathParams
- func (r *AccountingDocumentTypesGetRequest) PathParamsInterface() PathParams
- func (r *AccountingDocumentTypesGetRequest) QueryParams() *AccountingDocumentTypesGetRequestQueryParams
- func (r *AccountingDocumentTypesGetRequest) RequestBody() *AccountingDocumentTypesGetRequestBody
- func (r *AccountingDocumentTypesGetRequest) RequestBodyInterface() interface{}
- func (r *AccountingDocumentTypesGetRequest) SetMethod(method string)
- func (r *AccountingDocumentTypesGetRequest) SetRequestBody(body AccountingDocumentTypesGetRequestBody)
- func (r *AccountingDocumentTypesGetRequest) URL() *url.URL
- type AccountingDocumentTypesGetRequestBody
- type AccountingDocumentTypesGetRequestPathParams
- type AccountingDocumentTypesGetRequestQueryParams
- type AccountingDocumentTypesGetResponseBody
- type AccountingDocumentsPutRequest
- func (r *AccountingDocumentsPutRequest) Do() (AccountingDocumentsPutResponseBody, error)
- func (r *AccountingDocumentsPutRequest) FormParams() *AccountingDocumentsPutRequestFormParams
- func (r *AccountingDocumentsPutRequest) FormParamsInterface() Form
- func (r *AccountingDocumentsPutRequest) Method() string
- func (r AccountingDocumentsPutRequest) NewFormParams() *AccountingDocumentsPutRequestFormParams
- func (r AccountingDocumentsPutRequest) NewPathParams() *AccountingDocumentsPutRequestPathParams
- func (r AccountingDocumentsPutRequest) NewQueryParams() *AccountingDocumentsPutRequestQueryParams
- func (r AccountingDocumentsPutRequest) NewRequestBody() AccountingDocumentsPutRequestBody
- func (r *AccountingDocumentsPutRequest) NewResponseBody() *AccountingDocumentsPutResponseBody
- func (r *AccountingDocumentsPutRequest) PathParams() *AccountingDocumentsPutRequestPathParams
- func (r *AccountingDocumentsPutRequest) PathParamsInterface() PathParams
- func (r *AccountingDocumentsPutRequest) QueryParams() *AccountingDocumentsPutRequestQueryParams
- func (r *AccountingDocumentsPutRequest) RequestBody() *AccountingDocumentsPutRequestBody
- func (r *AccountingDocumentsPutRequest) RequestBodyInterface() interface{}
- func (r *AccountingDocumentsPutRequest) SetMethod(method string)
- func (r *AccountingDocumentsPutRequest) SetRequestBody(body AccountingDocumentsPutRequestBody)
- func (r *AccountingDocumentsPutRequest) URL() *url.URL
- type AccountingDocumentsPutRequestBody
- type AccountingDocumentsPutRequestFormParams
- type AccountingDocumentsPutRequestPathParams
- type AccountingDocumentsPutRequestQueryParams
- type AccountingDocumentsPutResponseBody
- type AccountingExtfFilesUploadRequest
- func (r *AccountingExtfFilesUploadRequest) Do() (AccountingExtfFilesUploadResponseBody, error)
- func (r *AccountingExtfFilesUploadRequest) FormParams() *AccountingExtfFilesUploadRequestFormParams
- func (r *AccountingExtfFilesUploadRequest) Method() string
- func (r AccountingExtfFilesUploadRequest) NewFormParams() *AccountingExtfFilesUploadRequestFormParams
- func (r AccountingExtfFilesUploadRequest) NewPathParams() *AccountingExtfFilesUploadRequestPathParams
- func (r AccountingExtfFilesUploadRequest) NewQueryParams() *AccountingExtfFilesUploadRequestQueryParams
- func (r AccountingExtfFilesUploadRequest) NewRequestBody() AccountingExtfFilesUploadRequestBody
- func (r *AccountingExtfFilesUploadRequest) NewResponseBody() *AccountingExtfFilesUploadResponseBody
- func (r *AccountingExtfFilesUploadRequest) PathParams() *AccountingExtfFilesUploadRequestPathParams
- func (r *AccountingExtfFilesUploadRequest) PathParamsInterface() PathParams
- func (r *AccountingExtfFilesUploadRequest) QueryParams() *AccountingExtfFilesUploadRequestQueryParams
- func (r *AccountingExtfFilesUploadRequest) RequestBody() *AccountingExtfFilesUploadRequestBody
- func (r *AccountingExtfFilesUploadRequest) RequestBodyInterface() interface{}
- func (r *AccountingExtfFilesUploadRequest) SetMethod(method string)
- func (r *AccountingExtfFilesUploadRequest) SetRequestBody(body AccountingExtfFilesUploadRequestBody)
- func (r *AccountingExtfFilesUploadRequest) URL() *url.URL
- type AccountingExtfFilesUploadRequestBody
- type AccountingExtfFilesUploadRequestFormParams
- type AccountingExtfFilesUploadRequestPathParams
- type AccountingExtfFilesUploadRequestQueryParams
- type AccountingExtfFilesUploadResponseBody
- type AccountingExtfJobStatusRequest
- func (r *AccountingExtfJobStatusRequest) Do() (AccountingExtfJobStatusResponseBody, error)
- func (r *AccountingExtfJobStatusRequest) Method() string
- func (r AccountingExtfJobStatusRequest) NewPathParams() *AccountingExtfJobStatusRequestPathParams
- func (r AccountingExtfJobStatusRequest) NewQueryParams() *AccountingExtfJobStatusRequestQueryParams
- func (r AccountingExtfJobStatusRequest) NewRequestBody() AccountingExtfJobStatusRequestBody
- func (r *AccountingExtfJobStatusRequest) NewResponseBody() *AccountingExtfJobStatusResponseBody
- func (r *AccountingExtfJobStatusRequest) PathParams() *AccountingExtfJobStatusRequestPathParams
- func (r *AccountingExtfJobStatusRequest) PathParamsInterface() PathParams
- func (r *AccountingExtfJobStatusRequest) QueryParams() *AccountingExtfJobStatusRequestQueryParams
- func (r *AccountingExtfJobStatusRequest) RequestBody() *AccountingExtfJobStatusRequestBody
- func (r *AccountingExtfJobStatusRequest) RequestBodyInterface() interface{}
- func (r *AccountingExtfJobStatusRequest) SetMethod(method string)
- func (r *AccountingExtfJobStatusRequest) SetRequestBody(body AccountingExtfJobStatusRequestBody)
- func (r *AccountingExtfJobStatusRequest) URL() *url.URL
- type AccountingExtfJobStatusRequestBody
- type AccountingExtfJobStatusRequestPathParams
- type AccountingExtfJobStatusRequestQueryParams
- type AccountingExtfJobStatusResponseBody
- type AccountingExtfJobsRequest
- func (r *AccountingExtfJobsRequest) Do() (AccountingExtfJobsResponseBody, error)
- func (r *AccountingExtfJobsRequest) Method() string
- func (r AccountingExtfJobsRequest) NewPathParams() *AccountingExtfJobsRequestPathParams
- func (r AccountingExtfJobsRequest) NewQueryParams() *AccountingExtfJobsRequestQueryParams
- func (r AccountingExtfJobsRequest) NewRequestBody() AccountingExtfJobsRequestBody
- func (r *AccountingExtfJobsRequest) NewResponseBody() *AccountingExtfJobsResponseBody
- func (r *AccountingExtfJobsRequest) PathParams() *AccountingExtfJobsRequestPathParams
- func (r *AccountingExtfJobsRequest) PathParamsInterface() PathParams
- func (r *AccountingExtfJobsRequest) QueryParams() *AccountingExtfJobsRequestQueryParams
- func (r *AccountingExtfJobsRequest) RequestBody() *AccountingExtfJobsRequestBody
- func (r *AccountingExtfJobsRequest) RequestBodyInterface() interface{}
- func (r *AccountingExtfJobsRequest) SetMethod(method string)
- func (r *AccountingExtfJobsRequest) SetRequestBody(body AccountingExtfJobsRequestBody)
- func (r *AccountingExtfJobsRequest) URL() *url.URL
- type AccountingExtfJobsRequestBody
- type AccountingExtfJobsRequestPathParams
- type AccountingExtfJobsRequestQueryParams
- type AccountingExtfJobsResponseBody
- type BeforeRequestDoCallback
- type Client
- func (c Client) BaseURL() string
- func (c Client) Charset() string
- func (c Client) ClientID() string
- func (c Client) ClientSecret() string
- func (c Client) DatevClientID() 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) HTTPClient() *http.Client
- func (c Client) MediaType() string
- func (c *Client) NewAccountingDocumentTypesGetRequest() AccountingDocumentTypesGetRequest
- func (c *Client) NewAccountingDocumentsPutRequest() AccountingDocumentsPutRequest
- func (c *Client) NewAccountingExtfFilesUploadRequest() AccountingExtfFilesUploadRequest
- func (c *Client) NewAccountingExtfJobStatusRequest() AccountingExtfJobStatusRequest
- func (c *Client) NewAccountingExtfJobsRequest() AccountingExtfJobsRequest
- func (c *Client) NewClientsGetRequest() ClientsGetRequest
- func (c *Client) NewRequest(ctx context.Context, req Request) (*http.Request, error)
- func (c *Client) NewTokenRevocationRequest() TokenRevocationRequest
- func (c Client) Oauth() *Oauth2Config
- func (c Client) RevokeURL() string
- func (c *Client) SetBaseURL(baseURL string)
- func (c *Client) SetBeforeRequestDo(fun BeforeRequestDoCallback)
- func (c *Client) SetCharset(charset string)
- func (c *Client) SetClientID(clientID string)
- func (c *Client) SetClientSecret(clientSecret string)
- func (c *Client) SetDatevClientID(datevClientID 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) SetOauth(oauth *Oauth2Config)
- func (c *Client) SetRevokeURL(revokeURL string)
- func (c *Client) SetUserAgent(userAgent string)
- func (c *Client) Unmarshal(r io.Reader, vv ...interface{}) error
- func (c Client) UserAgent() string
- type ClientsGetRequest
- func (r *ClientsGetRequest) Do() (ClientsGetResponseBody, error)
- func (r *ClientsGetRequest) Method() string
- func (r ClientsGetRequest) NewPathParams() *ClientsGetRequestPathParams
- func (r ClientsGetRequest) NewQueryParams() *ClientsGetRequestQueryParams
- func (r ClientsGetRequest) NewRequestBody() ClientsGetRequestBody
- func (r *ClientsGetRequest) NewResponseBody() *ClientsGetResponseBody
- func (r *ClientsGetRequest) PathParams() *ClientsGetRequestPathParams
- func (r *ClientsGetRequest) PathParamsInterface() PathParams
- func (r *ClientsGetRequest) QueryParams() *ClientsGetRequestQueryParams
- func (r *ClientsGetRequest) RequestBody() *ClientsGetRequestBody
- func (r *ClientsGetRequest) RequestBodyInterface() interface{}
- func (r *ClientsGetRequest) SetMethod(method string)
- func (r *ClientsGetRequest) SetRequestBody(body ClientsGetRequestBody)
- func (r *ClientsGetRequest) URL() *url.URL
- type ClientsGetRequestBody
- type ClientsGetRequestPathParams
- type ClientsGetRequestQueryParams
- type ClientsGetResponseBody
- type Date
- type DocumentType
- type DocumentTypes
- type ErrorResponse
- type FileMetaData
- type Form
- type FormFile
- type Job
- type Jobs
- type Oauth2Config
- type PathParams
- type QueryParams
- type Request
- type RequestCompletionCallback
- type TokenRevocationRequest
- func (r *TokenRevocationRequest) Do() (TokenRevocationResponseBody, error)
- func (r *TokenRevocationRequest) FormParams() *TokenRevocationRequestFormparams
- func (r *TokenRevocationRequest) FormParamsInterface() Form
- func (r *TokenRevocationRequest) Method() string
- func (r TokenRevocationRequest) NewFormParams() *TokenRevocationRequestFormparams
- func (r TokenRevocationRequest) NewPathParams() *TokenRevocationRequestPathParams
- func (r TokenRevocationRequest) NewQueryParams() *TokenRevocationRequestQueryParams
- func (r TokenRevocationRequest) NewRequestBody() TokenRevocationRequestBody
- func (r *TokenRevocationRequest) NewResponseBody() *TokenRevocationResponseBody
- func (r *TokenRevocationRequest) PathParams() *TokenRevocationRequestPathParams
- func (r *TokenRevocationRequest) PathParamsInterface() PathParams
- func (r *TokenRevocationRequest) QueryParams() *TokenRevocationRequestQueryParams
- func (r *TokenRevocationRequest) RequestBody() *TokenRevocationRequestBody
- func (r *TokenRevocationRequest) RequestBodyInterface() interface{}
- func (r *TokenRevocationRequest) SetMethod(method string)
- func (r *TokenRevocationRequest) SetRequestBody(body TokenRevocationRequestBody)
- func (r *TokenRevocationRequest) URL() *url.URL
- type TokenRevocationRequestBody
- type TokenRevocationRequestFormparams
- type TokenRevocationRequestPathParams
- type TokenRevocationRequestQueryParams
- type TokenRevocationResponseBody
Constants ¶
This section is empty.
Variables ¶
var ( BaseURL = "https://{{.service}}.api.datev.de/platform/" RevokeURL = "https://api.datev.de/revoke" )
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.
func CreateFormFile ¶
Types ¶
type AccountingDocumentTypesGetRequest ¶
type AccountingDocumentTypesGetRequest struct {
// contains filtered or unexported fields
}
func (*AccountingDocumentTypesGetRequest) Do ¶
func (r *AccountingDocumentTypesGetRequest) Do() (AccountingDocumentTypesGetResponseBody, error)
func (*AccountingDocumentTypesGetRequest) Method ¶
func (r *AccountingDocumentTypesGetRequest) Method() string
func (AccountingDocumentTypesGetRequest) NewPathParams ¶
func (r AccountingDocumentTypesGetRequest) NewPathParams() *AccountingDocumentTypesGetRequestPathParams
func (AccountingDocumentTypesGetRequest) NewQueryParams ¶
func (r AccountingDocumentTypesGetRequest) NewQueryParams() *AccountingDocumentTypesGetRequestQueryParams
func (AccountingDocumentTypesGetRequest) NewRequestBody ¶
func (r AccountingDocumentTypesGetRequest) NewRequestBody() AccountingDocumentTypesGetRequestBody
func (*AccountingDocumentTypesGetRequest) NewResponseBody ¶
func (r *AccountingDocumentTypesGetRequest) NewResponseBody() *AccountingDocumentTypesGetResponseBody
func (*AccountingDocumentTypesGetRequest) PathParams ¶
func (r *AccountingDocumentTypesGetRequest) PathParams() *AccountingDocumentTypesGetRequestPathParams
func (*AccountingDocumentTypesGetRequest) PathParamsInterface ¶
func (r *AccountingDocumentTypesGetRequest) PathParamsInterface() PathParams
func (*AccountingDocumentTypesGetRequest) QueryParams ¶
func (r *AccountingDocumentTypesGetRequest) QueryParams() *AccountingDocumentTypesGetRequestQueryParams
func (*AccountingDocumentTypesGetRequest) RequestBody ¶
func (r *AccountingDocumentTypesGetRequest) RequestBody() *AccountingDocumentTypesGetRequestBody
func (*AccountingDocumentTypesGetRequest) RequestBodyInterface ¶
func (r *AccountingDocumentTypesGetRequest) RequestBodyInterface() interface{}
func (*AccountingDocumentTypesGetRequest) SetMethod ¶
func (r *AccountingDocumentTypesGetRequest) SetMethod(method string)
func (*AccountingDocumentTypesGetRequest) SetRequestBody ¶
func (r *AccountingDocumentTypesGetRequest) SetRequestBody(body AccountingDocumentTypesGetRequestBody)
func (*AccountingDocumentTypesGetRequest) URL ¶
func (r *AccountingDocumentTypesGetRequest) URL() *url.URL
type AccountingDocumentTypesGetRequestBody ¶
type AccountingDocumentTypesGetRequestBody struct { }
type AccountingDocumentTypesGetRequestPathParams ¶
type AccountingDocumentTypesGetRequestPathParams struct{}
func (*AccountingDocumentTypesGetRequestPathParams) Params ¶
func (p *AccountingDocumentTypesGetRequestPathParams) Params() map[string]string
type AccountingDocumentTypesGetRequestQueryParams ¶
type AccountingDocumentTypesGetRequestQueryParams struct{}
func (AccountingDocumentTypesGetRequestQueryParams) ToURLValues ¶
func (p AccountingDocumentTypesGetRequestQueryParams) ToURLValues() (url.Values, error)
type AccountingDocumentTypesGetResponseBody ¶
type AccountingDocumentTypesGetResponseBody DocumentTypes
type AccountingDocumentsPutRequest ¶
type AccountingDocumentsPutRequest struct {
// contains filtered or unexported fields
}
func (*AccountingDocumentsPutRequest) Do ¶
func (r *AccountingDocumentsPutRequest) Do() (AccountingDocumentsPutResponseBody, error)
func (*AccountingDocumentsPutRequest) FormParams ¶
func (r *AccountingDocumentsPutRequest) FormParams() *AccountingDocumentsPutRequestFormParams
func (*AccountingDocumentsPutRequest) FormParamsInterface ¶
func (r *AccountingDocumentsPutRequest) FormParamsInterface() Form
func (*AccountingDocumentsPutRequest) Method ¶
func (r *AccountingDocumentsPutRequest) Method() string
func (AccountingDocumentsPutRequest) NewFormParams ¶
func (r AccountingDocumentsPutRequest) NewFormParams() *AccountingDocumentsPutRequestFormParams
func (AccountingDocumentsPutRequest) NewPathParams ¶
func (r AccountingDocumentsPutRequest) NewPathParams() *AccountingDocumentsPutRequestPathParams
func (AccountingDocumentsPutRequest) NewQueryParams ¶
func (r AccountingDocumentsPutRequest) NewQueryParams() *AccountingDocumentsPutRequestQueryParams
func (AccountingDocumentsPutRequest) NewRequestBody ¶
func (r AccountingDocumentsPutRequest) NewRequestBody() AccountingDocumentsPutRequestBody
func (*AccountingDocumentsPutRequest) NewResponseBody ¶
func (r *AccountingDocumentsPutRequest) NewResponseBody() *AccountingDocumentsPutResponseBody
func (*AccountingDocumentsPutRequest) PathParams ¶
func (r *AccountingDocumentsPutRequest) PathParams() *AccountingDocumentsPutRequestPathParams
func (*AccountingDocumentsPutRequest) PathParamsInterface ¶
func (r *AccountingDocumentsPutRequest) PathParamsInterface() PathParams
func (*AccountingDocumentsPutRequest) QueryParams ¶
func (r *AccountingDocumentsPutRequest) QueryParams() *AccountingDocumentsPutRequestQueryParams
func (*AccountingDocumentsPutRequest) RequestBody ¶
func (r *AccountingDocumentsPutRequest) RequestBody() *AccountingDocumentsPutRequestBody
func (*AccountingDocumentsPutRequest) RequestBodyInterface ¶
func (r *AccountingDocumentsPutRequest) RequestBodyInterface() interface{}
func (*AccountingDocumentsPutRequest) SetMethod ¶
func (r *AccountingDocumentsPutRequest) SetMethod(method string)
func (*AccountingDocumentsPutRequest) SetRequestBody ¶
func (r *AccountingDocumentsPutRequest) SetRequestBody(body AccountingDocumentsPutRequestBody)
func (*AccountingDocumentsPutRequest) URL ¶
func (r *AccountingDocumentsPutRequest) URL() *url.URL
type AccountingDocumentsPutRequestBody ¶
type AccountingDocumentsPutRequestBody struct { }
type AccountingDocumentsPutRequestFormParams ¶
type AccountingDocumentsPutRequestFormParams struct { Metadata FileMetaData File FormFile }
func (AccountingDocumentsPutRequestFormParams) Files ¶
func (p AccountingDocumentsPutRequestFormParams) Files() map[string]FormFile
func (AccountingDocumentsPutRequestFormParams) IsMultiPart ¶
func (p AccountingDocumentsPutRequestFormParams) IsMultiPart() bool
func (AccountingDocumentsPutRequestFormParams) Values ¶
func (p AccountingDocumentsPutRequestFormParams) Values() url.Values
type AccountingDocumentsPutRequestPathParams ¶
type AccountingDocumentsPutRequestPathParams struct {
GUID string
}
func (*AccountingDocumentsPutRequestPathParams) Params ¶
func (p *AccountingDocumentsPutRequestPathParams) Params() map[string]string
type AccountingDocumentsPutRequestQueryParams ¶
type AccountingDocumentsPutRequestQueryParams struct{}
func (AccountingDocumentsPutRequestQueryParams) ToURLValues ¶
func (p AccountingDocumentsPutRequestQueryParams) ToURLValues() (url.Values, error)
type AccountingExtfFilesUploadRequest ¶
type AccountingExtfFilesUploadRequest struct {
// contains filtered or unexported fields
}
func (*AccountingExtfFilesUploadRequest) Do ¶
func (r *AccountingExtfFilesUploadRequest) Do() (AccountingExtfFilesUploadResponseBody, error)
func (*AccountingExtfFilesUploadRequest) FormParams ¶
func (r *AccountingExtfFilesUploadRequest) FormParams() *AccountingExtfFilesUploadRequestFormParams
func (*AccountingExtfFilesUploadRequest) Method ¶
func (r *AccountingExtfFilesUploadRequest) Method() string
func (AccountingExtfFilesUploadRequest) NewFormParams ¶
func (r AccountingExtfFilesUploadRequest) NewFormParams() *AccountingExtfFilesUploadRequestFormParams
func (AccountingExtfFilesUploadRequest) NewPathParams ¶
func (r AccountingExtfFilesUploadRequest) NewPathParams() *AccountingExtfFilesUploadRequestPathParams
func (AccountingExtfFilesUploadRequest) NewQueryParams ¶
func (r AccountingExtfFilesUploadRequest) NewQueryParams() *AccountingExtfFilesUploadRequestQueryParams
func (AccountingExtfFilesUploadRequest) NewRequestBody ¶
func (r AccountingExtfFilesUploadRequest) NewRequestBody() AccountingExtfFilesUploadRequestBody
func (*AccountingExtfFilesUploadRequest) NewResponseBody ¶
func (r *AccountingExtfFilesUploadRequest) NewResponseBody() *AccountingExtfFilesUploadResponseBody
func (*AccountingExtfFilesUploadRequest) PathParams ¶
func (r *AccountingExtfFilesUploadRequest) PathParams() *AccountingExtfFilesUploadRequestPathParams
func (*AccountingExtfFilesUploadRequest) PathParamsInterface ¶
func (r *AccountingExtfFilesUploadRequest) PathParamsInterface() PathParams
func (*AccountingExtfFilesUploadRequest) QueryParams ¶
func (r *AccountingExtfFilesUploadRequest) QueryParams() *AccountingExtfFilesUploadRequestQueryParams
func (*AccountingExtfFilesUploadRequest) RequestBody ¶
func (r *AccountingExtfFilesUploadRequest) RequestBody() *AccountingExtfFilesUploadRequestBody
func (*AccountingExtfFilesUploadRequest) RequestBodyInterface ¶
func (r *AccountingExtfFilesUploadRequest) RequestBodyInterface() interface{}
func (*AccountingExtfFilesUploadRequest) SetMethod ¶
func (r *AccountingExtfFilesUploadRequest) SetMethod(method string)
func (*AccountingExtfFilesUploadRequest) SetRequestBody ¶
func (r *AccountingExtfFilesUploadRequest) SetRequestBody(body AccountingExtfFilesUploadRequestBody)
func (*AccountingExtfFilesUploadRequest) URL ¶
func (r *AccountingExtfFilesUploadRequest) URL() *url.URL
type AccountingExtfFilesUploadRequestBody ¶
type AccountingExtfFilesUploadRequestBody struct { }
type AccountingExtfFilesUploadRequestFormParams ¶
type AccountingExtfFilesUploadRequestFormParams struct {
ExtfFile FormFile
}
func (AccountingExtfFilesUploadRequestFormParams) Files ¶
func (p AccountingExtfFilesUploadRequestFormParams) Files() map[string]FormFile
func (AccountingExtfFilesUploadRequestFormParams) Values ¶
func (p AccountingExtfFilesUploadRequestFormParams) Values() url.Values
type AccountingExtfFilesUploadRequestPathParams ¶
type AccountingExtfFilesUploadRequestPathParams struct {
Service string
}
func (*AccountingExtfFilesUploadRequestPathParams) Params ¶
func (p *AccountingExtfFilesUploadRequestPathParams) Params() map[string]string
type AccountingExtfFilesUploadRequestQueryParams ¶
type AccountingExtfFilesUploadRequestQueryParams struct{}
func (AccountingExtfFilesUploadRequestQueryParams) ToURLValues ¶
func (p AccountingExtfFilesUploadRequestQueryParams) ToURLValues() (url.Values, error)
type AccountingExtfJobStatusRequest ¶
type AccountingExtfJobStatusRequest struct {
// contains filtered or unexported fields
}
func (*AccountingExtfJobStatusRequest) Do ¶
func (r *AccountingExtfJobStatusRequest) Do() (AccountingExtfJobStatusResponseBody, error)
func (*AccountingExtfJobStatusRequest) Method ¶
func (r *AccountingExtfJobStatusRequest) Method() string
func (AccountingExtfJobStatusRequest) NewPathParams ¶
func (r AccountingExtfJobStatusRequest) NewPathParams() *AccountingExtfJobStatusRequestPathParams
func (AccountingExtfJobStatusRequest) NewQueryParams ¶
func (r AccountingExtfJobStatusRequest) NewQueryParams() *AccountingExtfJobStatusRequestQueryParams
func (AccountingExtfJobStatusRequest) NewRequestBody ¶
func (r AccountingExtfJobStatusRequest) NewRequestBody() AccountingExtfJobStatusRequestBody
func (*AccountingExtfJobStatusRequest) NewResponseBody ¶
func (r *AccountingExtfJobStatusRequest) NewResponseBody() *AccountingExtfJobStatusResponseBody
func (*AccountingExtfJobStatusRequest) PathParams ¶
func (r *AccountingExtfJobStatusRequest) PathParams() *AccountingExtfJobStatusRequestPathParams
func (*AccountingExtfJobStatusRequest) PathParamsInterface ¶
func (r *AccountingExtfJobStatusRequest) PathParamsInterface() PathParams
func (*AccountingExtfJobStatusRequest) QueryParams ¶
func (r *AccountingExtfJobStatusRequest) QueryParams() *AccountingExtfJobStatusRequestQueryParams
func (*AccountingExtfJobStatusRequest) RequestBody ¶
func (r *AccountingExtfJobStatusRequest) RequestBody() *AccountingExtfJobStatusRequestBody
func (*AccountingExtfJobStatusRequest) RequestBodyInterface ¶
func (r *AccountingExtfJobStatusRequest) RequestBodyInterface() interface{}
func (*AccountingExtfJobStatusRequest) SetMethod ¶
func (r *AccountingExtfJobStatusRequest) SetMethod(method string)
func (*AccountingExtfJobStatusRequest) SetRequestBody ¶
func (r *AccountingExtfJobStatusRequest) SetRequestBody(body AccountingExtfJobStatusRequestBody)
func (*AccountingExtfJobStatusRequest) URL ¶
func (r *AccountingExtfJobStatusRequest) URL() *url.URL
type AccountingExtfJobStatusRequestBody ¶
type AccountingExtfJobStatusRequestBody struct { }
type AccountingExtfJobStatusRequestPathParams ¶
type AccountingExtfJobStatusRequestPathParams struct {
GUID string
}
func (*AccountingExtfJobStatusRequestPathParams) Params ¶
func (p *AccountingExtfJobStatusRequestPathParams) Params() map[string]string
type AccountingExtfJobStatusRequestQueryParams ¶
type AccountingExtfJobStatusRequestQueryParams struct{}
func (AccountingExtfJobStatusRequestQueryParams) ToURLValues ¶
func (p AccountingExtfJobStatusRequestQueryParams) ToURLValues() (url.Values, error)
type AccountingExtfJobStatusResponseBody ¶
type AccountingExtfJobStatusResponseBody Job
type AccountingExtfJobsRequest ¶
type AccountingExtfJobsRequest struct {
// contains filtered or unexported fields
}
func (*AccountingExtfJobsRequest) Do ¶
func (r *AccountingExtfJobsRequest) Do() (AccountingExtfJobsResponseBody, error)
func (*AccountingExtfJobsRequest) Method ¶
func (r *AccountingExtfJobsRequest) Method() string
func (AccountingExtfJobsRequest) NewPathParams ¶
func (r AccountingExtfJobsRequest) NewPathParams() *AccountingExtfJobsRequestPathParams
func (AccountingExtfJobsRequest) NewQueryParams ¶
func (r AccountingExtfJobsRequest) NewQueryParams() *AccountingExtfJobsRequestQueryParams
func (AccountingExtfJobsRequest) NewRequestBody ¶
func (r AccountingExtfJobsRequest) NewRequestBody() AccountingExtfJobsRequestBody
func (*AccountingExtfJobsRequest) NewResponseBody ¶
func (r *AccountingExtfJobsRequest) NewResponseBody() *AccountingExtfJobsResponseBody
func (*AccountingExtfJobsRequest) PathParams ¶
func (r *AccountingExtfJobsRequest) PathParams() *AccountingExtfJobsRequestPathParams
func (*AccountingExtfJobsRequest) PathParamsInterface ¶
func (r *AccountingExtfJobsRequest) PathParamsInterface() PathParams
func (*AccountingExtfJobsRequest) QueryParams ¶
func (r *AccountingExtfJobsRequest) QueryParams() *AccountingExtfJobsRequestQueryParams
func (*AccountingExtfJobsRequest) RequestBody ¶
func (r *AccountingExtfJobsRequest) RequestBody() *AccountingExtfJobsRequestBody
func (*AccountingExtfJobsRequest) RequestBodyInterface ¶
func (r *AccountingExtfJobsRequest) RequestBodyInterface() interface{}
func (*AccountingExtfJobsRequest) SetMethod ¶
func (r *AccountingExtfJobsRequest) SetMethod(method string)
func (*AccountingExtfJobsRequest) SetRequestBody ¶
func (r *AccountingExtfJobsRequest) SetRequestBody(body AccountingExtfJobsRequestBody)
func (*AccountingExtfJobsRequest) URL ¶
func (r *AccountingExtfJobsRequest) URL() *url.URL
type AccountingExtfJobsRequestBody ¶
type AccountingExtfJobsRequestBody struct { }
type AccountingExtfJobsRequestPathParams ¶
type AccountingExtfJobsRequestPathParams struct { }
func (*AccountingExtfJobsRequestPathParams) Params ¶
func (p *AccountingExtfJobsRequestPathParams) Params() map[string]string
type AccountingExtfJobsRequestQueryParams ¶
type AccountingExtfJobsRequestQueryParams struct{}
func (AccountingExtfJobsRequestQueryParams) ToURLValues ¶
func (p AccountingExtfJobsRequestQueryParams) ToURLValues() (url.Values, error)
type AccountingExtfJobsResponseBody ¶
type AccountingExtfJobsResponseBody Jobs
type BeforeRequestDoCallback ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client manages communication with Exact Globe Client
func (Client) ClientSecret ¶
func (Client) DatevClientID ¶
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) HTTPClient ¶
func (*Client) NewAccountingDocumentTypesGetRequest ¶
func (c *Client) NewAccountingDocumentTypesGetRequest() AccountingDocumentTypesGetRequest
func (*Client) NewAccountingDocumentsPutRequest ¶
func (c *Client) NewAccountingDocumentsPutRequest() AccountingDocumentsPutRequest
func (*Client) NewAccountingExtfFilesUploadRequest ¶
func (c *Client) NewAccountingExtfFilesUploadRequest() AccountingExtfFilesUploadRequest
func (*Client) NewAccountingExtfJobStatusRequest ¶
func (c *Client) NewAccountingExtfJobStatusRequest() AccountingExtfJobStatusRequest
func (*Client) NewAccountingExtfJobsRequest ¶
func (c *Client) NewAccountingExtfJobsRequest() AccountingExtfJobsRequest
func (*Client) NewClientsGetRequest ¶
func (c *Client) NewClientsGetRequest() ClientsGetRequest
func (*Client) NewRequest ¶
func (*Client) NewTokenRevocationRequest ¶
func (c *Client) NewTokenRevocationRequest() TokenRevocationRequest
func (Client) Oauth ¶
func (c Client) Oauth() *Oauth2Config
func (*Client) SetBaseURL ¶
func (*Client) SetBeforeRequestDo ¶
func (c *Client) SetBeforeRequestDo(fun BeforeRequestDoCallback)
func (*Client) SetCharset ¶
func (*Client) SetClientID ¶
func (*Client) SetClientSecret ¶
func (*Client) SetDatevClientID ¶
func (*Client) SetDisallowUnknownFields ¶
func (*Client) SetHTTPClient ¶
func (*Client) SetMediaType ¶
func (*Client) SetOauth ¶
func (c *Client) SetOauth(oauth *Oauth2Config)
func (*Client) SetRevokeURL ¶
func (*Client) SetUserAgent ¶
type ClientsGetRequest ¶
type ClientsGetRequest struct {
// contains filtered or unexported fields
}
func (*ClientsGetRequest) Do ¶
func (r *ClientsGetRequest) Do() (ClientsGetResponseBody, error)
func (*ClientsGetRequest) Method ¶
func (r *ClientsGetRequest) Method() string
func (ClientsGetRequest) NewPathParams ¶
func (r ClientsGetRequest) NewPathParams() *ClientsGetRequestPathParams
func (ClientsGetRequest) NewQueryParams ¶
func (r ClientsGetRequest) NewQueryParams() *ClientsGetRequestQueryParams
func (ClientsGetRequest) NewRequestBody ¶
func (r ClientsGetRequest) NewRequestBody() ClientsGetRequestBody
func (*ClientsGetRequest) NewResponseBody ¶
func (r *ClientsGetRequest) NewResponseBody() *ClientsGetResponseBody
func (*ClientsGetRequest) PathParams ¶
func (r *ClientsGetRequest) PathParams() *ClientsGetRequestPathParams
func (*ClientsGetRequest) PathParamsInterface ¶
func (r *ClientsGetRequest) PathParamsInterface() PathParams
func (*ClientsGetRequest) QueryParams ¶
func (r *ClientsGetRequest) QueryParams() *ClientsGetRequestQueryParams
func (*ClientsGetRequest) RequestBody ¶
func (r *ClientsGetRequest) RequestBody() *ClientsGetRequestBody
func (*ClientsGetRequest) RequestBodyInterface ¶
func (r *ClientsGetRequest) RequestBodyInterface() interface{}
func (*ClientsGetRequest) SetMethod ¶
func (r *ClientsGetRequest) SetMethod(method string)
func (*ClientsGetRequest) SetRequestBody ¶
func (r *ClientsGetRequest) SetRequestBody(body ClientsGetRequestBody)
func (*ClientsGetRequest) URL ¶
func (r *ClientsGetRequest) URL() *url.URL
type ClientsGetRequestBody ¶
type ClientsGetRequestBody struct { }
type ClientsGetRequestPathParams ¶
type ClientsGetRequestPathParams struct{}
func (*ClientsGetRequestPathParams) Params ¶
func (p *ClientsGetRequestPathParams) Params() map[string]string
type ClientsGetRequestQueryParams ¶
type ClientsGetRequestQueryParams struct{}
func (ClientsGetRequestQueryParams) ToURLValues ¶
func (p ClientsGetRequestQueryParams) ToURLValues() (url.Values, error)
type ClientsGetResponseBody ¶
type ClientsGetResponseBody DocumentTypes
type DocumentType ¶
type DocumentTypes ¶
type DocumentTypes []DocumentType
type ErrorResponse ¶
type ErrorResponse struct { // HTTP response that caused this error Response *http.Response Title string `json:"title"` RequestID string `json:"request_id"` HTTPCode string `json:"httpCode"` HTTPMessage string `json:"httpMessage"` MoreInformation string `json:"moreInformation"` Status string `json:"status"` Detail string `json:"detail"` }
func (*ErrorResponse) Error ¶
func (r *ErrorResponse) Error() string
type FileMetaData ¶
type Job ¶
type Job struct { ID string `json:"id"` Filename string `json:"filename"` FiscalYearBegin Date `json:"fiscal_year_begin"` ClientApplicationDisplayName string `json:"client_application_display_name"` ClientApplicationVendor string `json:"client_application_vendor"` DataCategoryID int `json:"data_category_id"` DateFrom Date `json:"date_from"` DateTo Date `json:"date_to"` Label string `json:"label"` NumberOfAccountingRecords int `json:"number_of_accounting_records"` Result string `json:"result"` Timestamp time.Time `json:"timestamp"` ValidationDetails struct { Type string `json:"type"` Title string `json:"title"` Detail string `json:"detail"` AffectedElements []struct { Name string `json:"name"` Reason string `json:"reason"` } `json:"affected_elements"` } `json:"validation_details"` }
type Oauth2Config ¶
func NewOauth2Config ¶
func NewOauth2Config() *Oauth2Config
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 TokenRevocationRequest ¶
type TokenRevocationRequest struct {
// contains filtered or unexported fields
}
func (*TokenRevocationRequest) Do ¶
func (r *TokenRevocationRequest) Do() (TokenRevocationResponseBody, error)
func (*TokenRevocationRequest) FormParams ¶
func (r *TokenRevocationRequest) FormParams() *TokenRevocationRequestFormparams
func (*TokenRevocationRequest) FormParamsInterface ¶
func (r *TokenRevocationRequest) FormParamsInterface() Form
func (*TokenRevocationRequest) Method ¶
func (r *TokenRevocationRequest) Method() string
func (TokenRevocationRequest) NewFormParams ¶
func (r TokenRevocationRequest) NewFormParams() *TokenRevocationRequestFormparams
func (TokenRevocationRequest) NewPathParams ¶
func (r TokenRevocationRequest) NewPathParams() *TokenRevocationRequestPathParams
func (TokenRevocationRequest) NewQueryParams ¶
func (r TokenRevocationRequest) NewQueryParams() *TokenRevocationRequestQueryParams
func (TokenRevocationRequest) NewRequestBody ¶
func (r TokenRevocationRequest) NewRequestBody() TokenRevocationRequestBody
func (*TokenRevocationRequest) NewResponseBody ¶
func (r *TokenRevocationRequest) NewResponseBody() *TokenRevocationResponseBody
func (*TokenRevocationRequest) PathParams ¶
func (r *TokenRevocationRequest) PathParams() *TokenRevocationRequestPathParams
func (*TokenRevocationRequest) PathParamsInterface ¶
func (r *TokenRevocationRequest) PathParamsInterface() PathParams
func (*TokenRevocationRequest) QueryParams ¶
func (r *TokenRevocationRequest) QueryParams() *TokenRevocationRequestQueryParams
func (*TokenRevocationRequest) RequestBody ¶
func (r *TokenRevocationRequest) RequestBody() *TokenRevocationRequestBody
func (*TokenRevocationRequest) RequestBodyInterface ¶
func (r *TokenRevocationRequest) RequestBodyInterface() interface{}
func (*TokenRevocationRequest) SetMethod ¶
func (r *TokenRevocationRequest) SetMethod(method string)
func (*TokenRevocationRequest) SetRequestBody ¶
func (r *TokenRevocationRequest) SetRequestBody(body TokenRevocationRequestBody)
func (*TokenRevocationRequest) URL ¶
func (r *TokenRevocationRequest) URL() *url.URL
type TokenRevocationRequestFormparams ¶
func (TokenRevocationRequestFormparams) Files ¶
func (p TokenRevocationRequestFormparams) Files() map[string]FormFile
func (TokenRevocationRequestFormparams) IsMultiPart ¶
func (p TokenRevocationRequestFormparams) IsMultiPart() bool
func (TokenRevocationRequestFormparams) Values ¶
func (p TokenRevocationRequestFormparams) Values() url.Values
type TokenRevocationRequestPathParams ¶
type TokenRevocationRequestPathParams struct{}
func (*TokenRevocationRequestPathParams) Params ¶
func (p *TokenRevocationRequestPathParams) Params() map[string]string
type TokenRevocationRequestQueryParams ¶
type TokenRevocationRequestQueryParams struct{}
func (TokenRevocationRequestQueryParams) ToURLValues ¶
func (p TokenRevocationRequestQueryParams) ToURLValues() (url.Values, error)
type TokenRevocationResponseBody ¶
type TokenRevocationResponseBody struct{}