Documentation ¶
Index ¶
- type Client
- func (a *Client) LedgerVoucherAttachmentDeleteAttachment(params *LedgerVoucherAttachmentDeleteAttachmentParams, ...) error
- func (a *Client) LedgerVoucherAttachmentUploadAttachment(params *LedgerVoucherAttachmentUploadAttachmentParams, ...) error
- func (a *Client) LedgerVoucherDelete(params *LedgerVoucherDeleteParams, authInfo runtime.ClientAuthInfoWriter) error
- func (a *Client) LedgerVoucherGet(params *LedgerVoucherGetParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVoucherGetOK, error)
- func (a *Client) LedgerVoucherImportDocumentImportDocument(params *LedgerVoucherImportDocumentImportDocumentParams, ...) (*LedgerVoucherImportDocumentImportDocumentCreated, error)
- func (a *Client) LedgerVoucherImportGbat10ImportGbat10(params *LedgerVoucherImportGbat10ImportGbat10Params, ...) error
- func (a *Client) LedgerVoucherListPutList(params *LedgerVoucherListPutListParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVoucherListPutListOK, error)
- func (a *Client) LedgerVoucherNonPostedNonPosted(params *LedgerVoucherNonPostedNonPostedParams, ...) (*LedgerVoucherNonPostedNonPostedOK, error)
- func (a *Client) LedgerVoucherOptionsOptions(params *LedgerVoucherOptionsOptionsParams, ...) (*LedgerVoucherOptionsOptionsOK, error)
- func (a *Client) LedgerVoucherPdfDownloadPdf(params *LedgerVoucherPdfDownloadPdfParams, ...) (*LedgerVoucherPdfDownloadPdfOK, error)
- func (a *Client) LedgerVoucherPdfUploadPdf(params *LedgerVoucherPdfUploadPdfParams, authInfo runtime.ClientAuthInfoWriter) error
- func (a *Client) LedgerVoucherPost(params *LedgerVoucherPostParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVoucherPostCreated, error)
- func (a *Client) LedgerVoucherPut(params *LedgerVoucherPutParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVoucherPutOK, error)
- func (a *Client) LedgerVoucherReverseReverse(params *LedgerVoucherReverseReverseParams, ...) (*LedgerVoucherReverseReverseOK, error)
- func (a *Client) LedgerVoucherSearch(params *LedgerVoucherSearchParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVoucherSearchOK, error)
- func (a *Client) LedgerVoucherSendToInboxSendToInbox(params *LedgerVoucherSendToInboxSendToInboxParams, ...) (*LedgerVoucherSendToInboxSendToInboxOK, error)
- func (a *Client) LedgerVoucherSendToLedgerSendToLedger(params *LedgerVoucherSendToLedgerSendToLedgerParams, ...) (*LedgerVoucherSendToLedgerSendToLedgerOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type LedgerVoucherAttachmentDeleteAttachmentDefault
- type LedgerVoucherAttachmentDeleteAttachmentParams
- func NewLedgerVoucherAttachmentDeleteAttachmentParams() *LedgerVoucherAttachmentDeleteAttachmentParams
- func NewLedgerVoucherAttachmentDeleteAttachmentParamsWithContext(ctx context.Context) *LedgerVoucherAttachmentDeleteAttachmentParams
- func NewLedgerVoucherAttachmentDeleteAttachmentParamsWithHTTPClient(client *http.Client) *LedgerVoucherAttachmentDeleteAttachmentParams
- func NewLedgerVoucherAttachmentDeleteAttachmentParamsWithTimeout(timeout time.Duration) *LedgerVoucherAttachmentDeleteAttachmentParams
- func (o *LedgerVoucherAttachmentDeleteAttachmentParams) SetContext(ctx context.Context)
- func (o *LedgerVoucherAttachmentDeleteAttachmentParams) SetHTTPClient(client *http.Client)
- func (o *LedgerVoucherAttachmentDeleteAttachmentParams) SetID(id int32)
- func (o *LedgerVoucherAttachmentDeleteAttachmentParams) SetSendToInbox(sendToInbox *bool)
- func (o *LedgerVoucherAttachmentDeleteAttachmentParams) SetSplit(split *bool)
- func (o *LedgerVoucherAttachmentDeleteAttachmentParams) SetTimeout(timeout time.Duration)
- func (o *LedgerVoucherAttachmentDeleteAttachmentParams) SetVersion(version *int32)
- func (o *LedgerVoucherAttachmentDeleteAttachmentParams) WithContext(ctx context.Context) *LedgerVoucherAttachmentDeleteAttachmentParams
- func (o *LedgerVoucherAttachmentDeleteAttachmentParams) WithHTTPClient(client *http.Client) *LedgerVoucherAttachmentDeleteAttachmentParams
- func (o *LedgerVoucherAttachmentDeleteAttachmentParams) WithID(id int32) *LedgerVoucherAttachmentDeleteAttachmentParams
- func (o *LedgerVoucherAttachmentDeleteAttachmentParams) WithSendToInbox(sendToInbox *bool) *LedgerVoucherAttachmentDeleteAttachmentParams
- func (o *LedgerVoucherAttachmentDeleteAttachmentParams) WithSplit(split *bool) *LedgerVoucherAttachmentDeleteAttachmentParams
- func (o *LedgerVoucherAttachmentDeleteAttachmentParams) WithTimeout(timeout time.Duration) *LedgerVoucherAttachmentDeleteAttachmentParams
- func (o *LedgerVoucherAttachmentDeleteAttachmentParams) WithVersion(version *int32) *LedgerVoucherAttachmentDeleteAttachmentParams
- func (o *LedgerVoucherAttachmentDeleteAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerVoucherAttachmentDeleteAttachmentReader
- type LedgerVoucherAttachmentUploadAttachmentDefault
- type LedgerVoucherAttachmentUploadAttachmentParams
- func NewLedgerVoucherAttachmentUploadAttachmentParams() *LedgerVoucherAttachmentUploadAttachmentParams
- func NewLedgerVoucherAttachmentUploadAttachmentParamsWithContext(ctx context.Context) *LedgerVoucherAttachmentUploadAttachmentParams
- func NewLedgerVoucherAttachmentUploadAttachmentParamsWithHTTPClient(client *http.Client) *LedgerVoucherAttachmentUploadAttachmentParams
- func NewLedgerVoucherAttachmentUploadAttachmentParamsWithTimeout(timeout time.Duration) *LedgerVoucherAttachmentUploadAttachmentParams
- func (o *LedgerVoucherAttachmentUploadAttachmentParams) SetContext(ctx context.Context)
- func (o *LedgerVoucherAttachmentUploadAttachmentParams) SetFile(file runtime.NamedReadCloser)
- func (o *LedgerVoucherAttachmentUploadAttachmentParams) SetHTTPClient(client *http.Client)
- func (o *LedgerVoucherAttachmentUploadAttachmentParams) SetTimeout(timeout time.Duration)
- func (o *LedgerVoucherAttachmentUploadAttachmentParams) SetVoucherID(voucherID int32)
- func (o *LedgerVoucherAttachmentUploadAttachmentParams) WithContext(ctx context.Context) *LedgerVoucherAttachmentUploadAttachmentParams
- func (o *LedgerVoucherAttachmentUploadAttachmentParams) WithFile(file runtime.NamedReadCloser) *LedgerVoucherAttachmentUploadAttachmentParams
- func (o *LedgerVoucherAttachmentUploadAttachmentParams) WithHTTPClient(client *http.Client) *LedgerVoucherAttachmentUploadAttachmentParams
- func (o *LedgerVoucherAttachmentUploadAttachmentParams) WithTimeout(timeout time.Duration) *LedgerVoucherAttachmentUploadAttachmentParams
- func (o *LedgerVoucherAttachmentUploadAttachmentParams) WithVoucherID(voucherID int32) *LedgerVoucherAttachmentUploadAttachmentParams
- func (o *LedgerVoucherAttachmentUploadAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerVoucherAttachmentUploadAttachmentReader
- type LedgerVoucherDeleteDefault
- type LedgerVoucherDeleteParams
- func NewLedgerVoucherDeleteParams() *LedgerVoucherDeleteParams
- func NewLedgerVoucherDeleteParamsWithContext(ctx context.Context) *LedgerVoucherDeleteParams
- func NewLedgerVoucherDeleteParamsWithHTTPClient(client *http.Client) *LedgerVoucherDeleteParams
- func NewLedgerVoucherDeleteParamsWithTimeout(timeout time.Duration) *LedgerVoucherDeleteParams
- func (o *LedgerVoucherDeleteParams) SetContext(ctx context.Context)
- func (o *LedgerVoucherDeleteParams) SetHTTPClient(client *http.Client)
- func (o *LedgerVoucherDeleteParams) SetID(id int32)
- func (o *LedgerVoucherDeleteParams) SetTimeout(timeout time.Duration)
- func (o *LedgerVoucherDeleteParams) WithContext(ctx context.Context) *LedgerVoucherDeleteParams
- func (o *LedgerVoucherDeleteParams) WithHTTPClient(client *http.Client) *LedgerVoucherDeleteParams
- func (o *LedgerVoucherDeleteParams) WithID(id int32) *LedgerVoucherDeleteParams
- func (o *LedgerVoucherDeleteParams) WithTimeout(timeout time.Duration) *LedgerVoucherDeleteParams
- func (o *LedgerVoucherDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerVoucherDeleteReader
- type LedgerVoucherGetOK
- type LedgerVoucherGetParams
- func NewLedgerVoucherGetParams() *LedgerVoucherGetParams
- func NewLedgerVoucherGetParamsWithContext(ctx context.Context) *LedgerVoucherGetParams
- func NewLedgerVoucherGetParamsWithHTTPClient(client *http.Client) *LedgerVoucherGetParams
- func NewLedgerVoucherGetParamsWithTimeout(timeout time.Duration) *LedgerVoucherGetParams
- func (o *LedgerVoucherGetParams) SetContext(ctx context.Context)
- func (o *LedgerVoucherGetParams) SetFields(fields *string)
- func (o *LedgerVoucherGetParams) SetHTTPClient(client *http.Client)
- func (o *LedgerVoucherGetParams) SetID(id int32)
- func (o *LedgerVoucherGetParams) SetTimeout(timeout time.Duration)
- func (o *LedgerVoucherGetParams) WithContext(ctx context.Context) *LedgerVoucherGetParams
- func (o *LedgerVoucherGetParams) WithFields(fields *string) *LedgerVoucherGetParams
- func (o *LedgerVoucherGetParams) WithHTTPClient(client *http.Client) *LedgerVoucherGetParams
- func (o *LedgerVoucherGetParams) WithID(id int32) *LedgerVoucherGetParams
- func (o *LedgerVoucherGetParams) WithTimeout(timeout time.Duration) *LedgerVoucherGetParams
- func (o *LedgerVoucherGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerVoucherGetReader
- type LedgerVoucherImportDocumentImportDocumentCreated
- type LedgerVoucherImportDocumentImportDocumentParams
- func NewLedgerVoucherImportDocumentImportDocumentParams() *LedgerVoucherImportDocumentImportDocumentParams
- func NewLedgerVoucherImportDocumentImportDocumentParamsWithContext(ctx context.Context) *LedgerVoucherImportDocumentImportDocumentParams
- func NewLedgerVoucherImportDocumentImportDocumentParamsWithHTTPClient(client *http.Client) *LedgerVoucherImportDocumentImportDocumentParams
- func NewLedgerVoucherImportDocumentImportDocumentParamsWithTimeout(timeout time.Duration) *LedgerVoucherImportDocumentImportDocumentParams
- func (o *LedgerVoucherImportDocumentImportDocumentParams) SetContext(ctx context.Context)
- func (o *LedgerVoucherImportDocumentImportDocumentParams) SetDescription(description *string)
- func (o *LedgerVoucherImportDocumentImportDocumentParams) SetFile(file runtime.NamedReadCloser)
- func (o *LedgerVoucherImportDocumentImportDocumentParams) SetHTTPClient(client *http.Client)
- func (o *LedgerVoucherImportDocumentImportDocumentParams) SetSplit(split *bool)
- func (o *LedgerVoucherImportDocumentImportDocumentParams) SetTimeout(timeout time.Duration)
- func (o *LedgerVoucherImportDocumentImportDocumentParams) WithContext(ctx context.Context) *LedgerVoucherImportDocumentImportDocumentParams
- func (o *LedgerVoucherImportDocumentImportDocumentParams) WithDescription(description *string) *LedgerVoucherImportDocumentImportDocumentParams
- func (o *LedgerVoucherImportDocumentImportDocumentParams) WithFile(file runtime.NamedReadCloser) *LedgerVoucherImportDocumentImportDocumentParams
- func (o *LedgerVoucherImportDocumentImportDocumentParams) WithHTTPClient(client *http.Client) *LedgerVoucherImportDocumentImportDocumentParams
- func (o *LedgerVoucherImportDocumentImportDocumentParams) WithSplit(split *bool) *LedgerVoucherImportDocumentImportDocumentParams
- func (o *LedgerVoucherImportDocumentImportDocumentParams) WithTimeout(timeout time.Duration) *LedgerVoucherImportDocumentImportDocumentParams
- func (o *LedgerVoucherImportDocumentImportDocumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerVoucherImportDocumentImportDocumentReader
- type LedgerVoucherImportGbat10ImportGbat10Default
- type LedgerVoucherImportGbat10ImportGbat10Params
- func NewLedgerVoucherImportGbat10ImportGbat10Params() *LedgerVoucherImportGbat10ImportGbat10Params
- func NewLedgerVoucherImportGbat10ImportGbat10ParamsWithContext(ctx context.Context) *LedgerVoucherImportGbat10ImportGbat10Params
- func NewLedgerVoucherImportGbat10ImportGbat10ParamsWithHTTPClient(client *http.Client) *LedgerVoucherImportGbat10ImportGbat10Params
- func NewLedgerVoucherImportGbat10ImportGbat10ParamsWithTimeout(timeout time.Duration) *LedgerVoucherImportGbat10ImportGbat10Params
- func (o *LedgerVoucherImportGbat10ImportGbat10Params) SetContext(ctx context.Context)
- func (o *LedgerVoucherImportGbat10ImportGbat10Params) SetEncoding(encoding *string)
- func (o *LedgerVoucherImportGbat10ImportGbat10Params) SetFile(file runtime.NamedReadCloser)
- func (o *LedgerVoucherImportGbat10ImportGbat10Params) SetGenerateVatPostings(generateVatPostings bool)
- func (o *LedgerVoucherImportGbat10ImportGbat10Params) SetHTTPClient(client *http.Client)
- func (o *LedgerVoucherImportGbat10ImportGbat10Params) SetTimeout(timeout time.Duration)
- func (o *LedgerVoucherImportGbat10ImportGbat10Params) WithContext(ctx context.Context) *LedgerVoucherImportGbat10ImportGbat10Params
- func (o *LedgerVoucherImportGbat10ImportGbat10Params) WithEncoding(encoding *string) *LedgerVoucherImportGbat10ImportGbat10Params
- func (o *LedgerVoucherImportGbat10ImportGbat10Params) WithFile(file runtime.NamedReadCloser) *LedgerVoucherImportGbat10ImportGbat10Params
- func (o *LedgerVoucherImportGbat10ImportGbat10Params) WithGenerateVatPostings(generateVatPostings bool) *LedgerVoucherImportGbat10ImportGbat10Params
- func (o *LedgerVoucherImportGbat10ImportGbat10Params) WithHTTPClient(client *http.Client) *LedgerVoucherImportGbat10ImportGbat10Params
- func (o *LedgerVoucherImportGbat10ImportGbat10Params) WithTimeout(timeout time.Duration) *LedgerVoucherImportGbat10ImportGbat10Params
- func (o *LedgerVoucherImportGbat10ImportGbat10Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerVoucherImportGbat10ImportGbat10Reader
- type LedgerVoucherListPutListOK
- type LedgerVoucherListPutListParams
- func NewLedgerVoucherListPutListParams() *LedgerVoucherListPutListParams
- func NewLedgerVoucherListPutListParamsWithContext(ctx context.Context) *LedgerVoucherListPutListParams
- func NewLedgerVoucherListPutListParamsWithHTTPClient(client *http.Client) *LedgerVoucherListPutListParams
- func NewLedgerVoucherListPutListParamsWithTimeout(timeout time.Duration) *LedgerVoucherListPutListParams
- func (o *LedgerVoucherListPutListParams) SetBody(body []*models.Voucher)
- func (o *LedgerVoucherListPutListParams) SetContext(ctx context.Context)
- func (o *LedgerVoucherListPutListParams) SetHTTPClient(client *http.Client)
- func (o *LedgerVoucherListPutListParams) SetSendToLedger(sendToLedger *bool)
- func (o *LedgerVoucherListPutListParams) SetTimeout(timeout time.Duration)
- func (o *LedgerVoucherListPutListParams) WithBody(body []*models.Voucher) *LedgerVoucherListPutListParams
- func (o *LedgerVoucherListPutListParams) WithContext(ctx context.Context) *LedgerVoucherListPutListParams
- func (o *LedgerVoucherListPutListParams) WithHTTPClient(client *http.Client) *LedgerVoucherListPutListParams
- func (o *LedgerVoucherListPutListParams) WithSendToLedger(sendToLedger *bool) *LedgerVoucherListPutListParams
- func (o *LedgerVoucherListPutListParams) WithTimeout(timeout time.Duration) *LedgerVoucherListPutListParams
- func (o *LedgerVoucherListPutListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerVoucherListPutListReader
- type LedgerVoucherNonPostedNonPostedOK
- type LedgerVoucherNonPostedNonPostedParams
- func NewLedgerVoucherNonPostedNonPostedParams() *LedgerVoucherNonPostedNonPostedParams
- func NewLedgerVoucherNonPostedNonPostedParamsWithContext(ctx context.Context) *LedgerVoucherNonPostedNonPostedParams
- func NewLedgerVoucherNonPostedNonPostedParamsWithHTTPClient(client *http.Client) *LedgerVoucherNonPostedNonPostedParams
- func NewLedgerVoucherNonPostedNonPostedParamsWithTimeout(timeout time.Duration) *LedgerVoucherNonPostedNonPostedParams
- func (o *LedgerVoucherNonPostedNonPostedParams) SetChangedSince(changedSince *string)
- func (o *LedgerVoucherNonPostedNonPostedParams) SetContext(ctx context.Context)
- func (o *LedgerVoucherNonPostedNonPostedParams) SetCount(count *int64)
- func (o *LedgerVoucherNonPostedNonPostedParams) SetDateFrom(dateFrom *string)
- func (o *LedgerVoucherNonPostedNonPostedParams) SetDateTo(dateTo *string)
- func (o *LedgerVoucherNonPostedNonPostedParams) SetFields(fields *string)
- func (o *LedgerVoucherNonPostedNonPostedParams) SetFrom(from *int64)
- func (o *LedgerVoucherNonPostedNonPostedParams) SetHTTPClient(client *http.Client)
- func (o *LedgerVoucherNonPostedNonPostedParams) SetIncludeNonApproved(includeNonApproved bool)
- func (o *LedgerVoucherNonPostedNonPostedParams) SetSorting(sorting *string)
- func (o *LedgerVoucherNonPostedNonPostedParams) SetTimeout(timeout time.Duration)
- func (o *LedgerVoucherNonPostedNonPostedParams) WithChangedSince(changedSince *string) *LedgerVoucherNonPostedNonPostedParams
- func (o *LedgerVoucherNonPostedNonPostedParams) WithContext(ctx context.Context) *LedgerVoucherNonPostedNonPostedParams
- func (o *LedgerVoucherNonPostedNonPostedParams) WithCount(count *int64) *LedgerVoucherNonPostedNonPostedParams
- func (o *LedgerVoucherNonPostedNonPostedParams) WithDateFrom(dateFrom *string) *LedgerVoucherNonPostedNonPostedParams
- func (o *LedgerVoucherNonPostedNonPostedParams) WithDateTo(dateTo *string) *LedgerVoucherNonPostedNonPostedParams
- func (o *LedgerVoucherNonPostedNonPostedParams) WithFields(fields *string) *LedgerVoucherNonPostedNonPostedParams
- func (o *LedgerVoucherNonPostedNonPostedParams) WithFrom(from *int64) *LedgerVoucherNonPostedNonPostedParams
- func (o *LedgerVoucherNonPostedNonPostedParams) WithHTTPClient(client *http.Client) *LedgerVoucherNonPostedNonPostedParams
- func (o *LedgerVoucherNonPostedNonPostedParams) WithIncludeNonApproved(includeNonApproved bool) *LedgerVoucherNonPostedNonPostedParams
- func (o *LedgerVoucherNonPostedNonPostedParams) WithSorting(sorting *string) *LedgerVoucherNonPostedNonPostedParams
- func (o *LedgerVoucherNonPostedNonPostedParams) WithTimeout(timeout time.Duration) *LedgerVoucherNonPostedNonPostedParams
- func (o *LedgerVoucherNonPostedNonPostedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerVoucherNonPostedNonPostedReader
- type LedgerVoucherOptionsOptionsOK
- type LedgerVoucherOptionsOptionsParams
- func NewLedgerVoucherOptionsOptionsParams() *LedgerVoucherOptionsOptionsParams
- func NewLedgerVoucherOptionsOptionsParamsWithContext(ctx context.Context) *LedgerVoucherOptionsOptionsParams
- func NewLedgerVoucherOptionsOptionsParamsWithHTTPClient(client *http.Client) *LedgerVoucherOptionsOptionsParams
- func NewLedgerVoucherOptionsOptionsParamsWithTimeout(timeout time.Duration) *LedgerVoucherOptionsOptionsParams
- func (o *LedgerVoucherOptionsOptionsParams) SetContext(ctx context.Context)
- func (o *LedgerVoucherOptionsOptionsParams) SetFields(fields *string)
- func (o *LedgerVoucherOptionsOptionsParams) SetHTTPClient(client *http.Client)
- func (o *LedgerVoucherOptionsOptionsParams) SetID(id int32)
- func (o *LedgerVoucherOptionsOptionsParams) SetTimeout(timeout time.Duration)
- func (o *LedgerVoucherOptionsOptionsParams) WithContext(ctx context.Context) *LedgerVoucherOptionsOptionsParams
- func (o *LedgerVoucherOptionsOptionsParams) WithFields(fields *string) *LedgerVoucherOptionsOptionsParams
- func (o *LedgerVoucherOptionsOptionsParams) WithHTTPClient(client *http.Client) *LedgerVoucherOptionsOptionsParams
- func (o *LedgerVoucherOptionsOptionsParams) WithID(id int32) *LedgerVoucherOptionsOptionsParams
- func (o *LedgerVoucherOptionsOptionsParams) WithTimeout(timeout time.Duration) *LedgerVoucherOptionsOptionsParams
- func (o *LedgerVoucherOptionsOptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerVoucherOptionsOptionsReader
- type LedgerVoucherPdfDownloadPdfOK
- type LedgerVoucherPdfDownloadPdfParams
- func NewLedgerVoucherPdfDownloadPdfParams() *LedgerVoucherPdfDownloadPdfParams
- func NewLedgerVoucherPdfDownloadPdfParamsWithContext(ctx context.Context) *LedgerVoucherPdfDownloadPdfParams
- func NewLedgerVoucherPdfDownloadPdfParamsWithHTTPClient(client *http.Client) *LedgerVoucherPdfDownloadPdfParams
- func NewLedgerVoucherPdfDownloadPdfParamsWithTimeout(timeout time.Duration) *LedgerVoucherPdfDownloadPdfParams
- func (o *LedgerVoucherPdfDownloadPdfParams) SetContext(ctx context.Context)
- func (o *LedgerVoucherPdfDownloadPdfParams) SetHTTPClient(client *http.Client)
- func (o *LedgerVoucherPdfDownloadPdfParams) SetTimeout(timeout time.Duration)
- func (o *LedgerVoucherPdfDownloadPdfParams) SetVoucherID(voucherID int32)
- func (o *LedgerVoucherPdfDownloadPdfParams) WithContext(ctx context.Context) *LedgerVoucherPdfDownloadPdfParams
- func (o *LedgerVoucherPdfDownloadPdfParams) WithHTTPClient(client *http.Client) *LedgerVoucherPdfDownloadPdfParams
- func (o *LedgerVoucherPdfDownloadPdfParams) WithTimeout(timeout time.Duration) *LedgerVoucherPdfDownloadPdfParams
- func (o *LedgerVoucherPdfDownloadPdfParams) WithVoucherID(voucherID int32) *LedgerVoucherPdfDownloadPdfParams
- func (o *LedgerVoucherPdfDownloadPdfParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerVoucherPdfDownloadPdfReader
- type LedgerVoucherPdfUploadPdfDefault
- type LedgerVoucherPdfUploadPdfParams
- func NewLedgerVoucherPdfUploadPdfParams() *LedgerVoucherPdfUploadPdfParams
- func NewLedgerVoucherPdfUploadPdfParamsWithContext(ctx context.Context) *LedgerVoucherPdfUploadPdfParams
- func NewLedgerVoucherPdfUploadPdfParamsWithHTTPClient(client *http.Client) *LedgerVoucherPdfUploadPdfParams
- func NewLedgerVoucherPdfUploadPdfParamsWithTimeout(timeout time.Duration) *LedgerVoucherPdfUploadPdfParams
- func (o *LedgerVoucherPdfUploadPdfParams) SetContext(ctx context.Context)
- func (o *LedgerVoucherPdfUploadPdfParams) SetFile(file runtime.NamedReadCloser)
- func (o *LedgerVoucherPdfUploadPdfParams) SetFileName(fileName string)
- func (o *LedgerVoucherPdfUploadPdfParams) SetHTTPClient(client *http.Client)
- func (o *LedgerVoucherPdfUploadPdfParams) SetTimeout(timeout time.Duration)
- func (o *LedgerVoucherPdfUploadPdfParams) SetVoucherID(voucherID int32)
- func (o *LedgerVoucherPdfUploadPdfParams) WithContext(ctx context.Context) *LedgerVoucherPdfUploadPdfParams
- func (o *LedgerVoucherPdfUploadPdfParams) WithFile(file runtime.NamedReadCloser) *LedgerVoucherPdfUploadPdfParams
- func (o *LedgerVoucherPdfUploadPdfParams) WithFileName(fileName string) *LedgerVoucherPdfUploadPdfParams
- func (o *LedgerVoucherPdfUploadPdfParams) WithHTTPClient(client *http.Client) *LedgerVoucherPdfUploadPdfParams
- func (o *LedgerVoucherPdfUploadPdfParams) WithTimeout(timeout time.Duration) *LedgerVoucherPdfUploadPdfParams
- func (o *LedgerVoucherPdfUploadPdfParams) WithVoucherID(voucherID int32) *LedgerVoucherPdfUploadPdfParams
- func (o *LedgerVoucherPdfUploadPdfParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerVoucherPdfUploadPdfReader
- type LedgerVoucherPostCreated
- type LedgerVoucherPostParams
- func NewLedgerVoucherPostParams() *LedgerVoucherPostParams
- func NewLedgerVoucherPostParamsWithContext(ctx context.Context) *LedgerVoucherPostParams
- func NewLedgerVoucherPostParamsWithHTTPClient(client *http.Client) *LedgerVoucherPostParams
- func NewLedgerVoucherPostParamsWithTimeout(timeout time.Duration) *LedgerVoucherPostParams
- func (o *LedgerVoucherPostParams) SetBody(body *models.Voucher)
- func (o *LedgerVoucherPostParams) SetContext(ctx context.Context)
- func (o *LedgerVoucherPostParams) SetHTTPClient(client *http.Client)
- func (o *LedgerVoucherPostParams) SetSendToLedger(sendToLedger *bool)
- func (o *LedgerVoucherPostParams) SetTimeout(timeout time.Duration)
- func (o *LedgerVoucherPostParams) WithBody(body *models.Voucher) *LedgerVoucherPostParams
- func (o *LedgerVoucherPostParams) WithContext(ctx context.Context) *LedgerVoucherPostParams
- func (o *LedgerVoucherPostParams) WithHTTPClient(client *http.Client) *LedgerVoucherPostParams
- func (o *LedgerVoucherPostParams) WithSendToLedger(sendToLedger *bool) *LedgerVoucherPostParams
- func (o *LedgerVoucherPostParams) WithTimeout(timeout time.Duration) *LedgerVoucherPostParams
- func (o *LedgerVoucherPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerVoucherPostReader
- type LedgerVoucherPutOK
- type LedgerVoucherPutParams
- func NewLedgerVoucherPutParams() *LedgerVoucherPutParams
- func NewLedgerVoucherPutParamsWithContext(ctx context.Context) *LedgerVoucherPutParams
- func NewLedgerVoucherPutParamsWithHTTPClient(client *http.Client) *LedgerVoucherPutParams
- func NewLedgerVoucherPutParamsWithTimeout(timeout time.Duration) *LedgerVoucherPutParams
- func (o *LedgerVoucherPutParams) SetBody(body *models.Voucher)
- func (o *LedgerVoucherPutParams) SetContext(ctx context.Context)
- func (o *LedgerVoucherPutParams) SetHTTPClient(client *http.Client)
- func (o *LedgerVoucherPutParams) SetID(id int32)
- func (o *LedgerVoucherPutParams) SetSendToLedger(sendToLedger *bool)
- func (o *LedgerVoucherPutParams) SetTimeout(timeout time.Duration)
- func (o *LedgerVoucherPutParams) WithBody(body *models.Voucher) *LedgerVoucherPutParams
- func (o *LedgerVoucherPutParams) WithContext(ctx context.Context) *LedgerVoucherPutParams
- func (o *LedgerVoucherPutParams) WithHTTPClient(client *http.Client) *LedgerVoucherPutParams
- func (o *LedgerVoucherPutParams) WithID(id int32) *LedgerVoucherPutParams
- func (o *LedgerVoucherPutParams) WithSendToLedger(sendToLedger *bool) *LedgerVoucherPutParams
- func (o *LedgerVoucherPutParams) WithTimeout(timeout time.Duration) *LedgerVoucherPutParams
- func (o *LedgerVoucherPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerVoucherPutReader
- type LedgerVoucherReverseReverseOK
- type LedgerVoucherReverseReverseParams
- func NewLedgerVoucherReverseReverseParams() *LedgerVoucherReverseReverseParams
- func NewLedgerVoucherReverseReverseParamsWithContext(ctx context.Context) *LedgerVoucherReverseReverseParams
- func NewLedgerVoucherReverseReverseParamsWithHTTPClient(client *http.Client) *LedgerVoucherReverseReverseParams
- func NewLedgerVoucherReverseReverseParamsWithTimeout(timeout time.Duration) *LedgerVoucherReverseReverseParams
- func (o *LedgerVoucherReverseReverseParams) SetContext(ctx context.Context)
- func (o *LedgerVoucherReverseReverseParams) SetDate(date string)
- func (o *LedgerVoucherReverseReverseParams) SetHTTPClient(client *http.Client)
- func (o *LedgerVoucherReverseReverseParams) SetID(id int32)
- func (o *LedgerVoucherReverseReverseParams) SetTimeout(timeout time.Duration)
- func (o *LedgerVoucherReverseReverseParams) WithContext(ctx context.Context) *LedgerVoucherReverseReverseParams
- func (o *LedgerVoucherReverseReverseParams) WithDate(date string) *LedgerVoucherReverseReverseParams
- func (o *LedgerVoucherReverseReverseParams) WithHTTPClient(client *http.Client) *LedgerVoucherReverseReverseParams
- func (o *LedgerVoucherReverseReverseParams) WithID(id int32) *LedgerVoucherReverseReverseParams
- func (o *LedgerVoucherReverseReverseParams) WithTimeout(timeout time.Duration) *LedgerVoucherReverseReverseParams
- func (o *LedgerVoucherReverseReverseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerVoucherReverseReverseReader
- type LedgerVoucherSearchOK
- type LedgerVoucherSearchParams
- func NewLedgerVoucherSearchParams() *LedgerVoucherSearchParams
- func NewLedgerVoucherSearchParamsWithContext(ctx context.Context) *LedgerVoucherSearchParams
- func NewLedgerVoucherSearchParamsWithHTTPClient(client *http.Client) *LedgerVoucherSearchParams
- func NewLedgerVoucherSearchParamsWithTimeout(timeout time.Duration) *LedgerVoucherSearchParams
- func (o *LedgerVoucherSearchParams) SetContext(ctx context.Context)
- func (o *LedgerVoucherSearchParams) SetCount(count *int64)
- func (o *LedgerVoucherSearchParams) SetDateFrom(dateFrom string)
- func (o *LedgerVoucherSearchParams) SetDateTo(dateTo string)
- func (o *LedgerVoucherSearchParams) SetFields(fields *string)
- func (o *LedgerVoucherSearchParams) SetFrom(from *int64)
- func (o *LedgerVoucherSearchParams) SetHTTPClient(client *http.Client)
- func (o *LedgerVoucherSearchParams) SetID(id *string)
- func (o *LedgerVoucherSearchParams) SetNumber(number *string)
- func (o *LedgerVoucherSearchParams) SetNumberFrom(numberFrom *int32)
- func (o *LedgerVoucherSearchParams) SetNumberTo(numberTo *int32)
- func (o *LedgerVoucherSearchParams) SetSorting(sorting *string)
- func (o *LedgerVoucherSearchParams) SetTimeout(timeout time.Duration)
- func (o *LedgerVoucherSearchParams) SetTypeID(typeID *string)
- func (o *LedgerVoucherSearchParams) WithContext(ctx context.Context) *LedgerVoucherSearchParams
- func (o *LedgerVoucherSearchParams) WithCount(count *int64) *LedgerVoucherSearchParams
- func (o *LedgerVoucherSearchParams) WithDateFrom(dateFrom string) *LedgerVoucherSearchParams
- func (o *LedgerVoucherSearchParams) WithDateTo(dateTo string) *LedgerVoucherSearchParams
- func (o *LedgerVoucherSearchParams) WithFields(fields *string) *LedgerVoucherSearchParams
- func (o *LedgerVoucherSearchParams) WithFrom(from *int64) *LedgerVoucherSearchParams
- func (o *LedgerVoucherSearchParams) WithHTTPClient(client *http.Client) *LedgerVoucherSearchParams
- func (o *LedgerVoucherSearchParams) WithID(id *string) *LedgerVoucherSearchParams
- func (o *LedgerVoucherSearchParams) WithNumber(number *string) *LedgerVoucherSearchParams
- func (o *LedgerVoucherSearchParams) WithNumberFrom(numberFrom *int32) *LedgerVoucherSearchParams
- func (o *LedgerVoucherSearchParams) WithNumberTo(numberTo *int32) *LedgerVoucherSearchParams
- func (o *LedgerVoucherSearchParams) WithSorting(sorting *string) *LedgerVoucherSearchParams
- func (o *LedgerVoucherSearchParams) WithTimeout(timeout time.Duration) *LedgerVoucherSearchParams
- func (o *LedgerVoucherSearchParams) WithTypeID(typeID *string) *LedgerVoucherSearchParams
- func (o *LedgerVoucherSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerVoucherSearchReader
- type LedgerVoucherSendToInboxSendToInboxOK
- type LedgerVoucherSendToInboxSendToInboxParams
- func NewLedgerVoucherSendToInboxSendToInboxParams() *LedgerVoucherSendToInboxSendToInboxParams
- func NewLedgerVoucherSendToInboxSendToInboxParamsWithContext(ctx context.Context) *LedgerVoucherSendToInboxSendToInboxParams
- func NewLedgerVoucherSendToInboxSendToInboxParamsWithHTTPClient(client *http.Client) *LedgerVoucherSendToInboxSendToInboxParams
- func NewLedgerVoucherSendToInboxSendToInboxParamsWithTimeout(timeout time.Duration) *LedgerVoucherSendToInboxSendToInboxParams
- func (o *LedgerVoucherSendToInboxSendToInboxParams) SetComment(comment *string)
- func (o *LedgerVoucherSendToInboxSendToInboxParams) SetContext(ctx context.Context)
- func (o *LedgerVoucherSendToInboxSendToInboxParams) SetHTTPClient(client *http.Client)
- func (o *LedgerVoucherSendToInboxSendToInboxParams) SetID(id int32)
- func (o *LedgerVoucherSendToInboxSendToInboxParams) SetTimeout(timeout time.Duration)
- func (o *LedgerVoucherSendToInboxSendToInboxParams) SetVersion(version *int32)
- func (o *LedgerVoucherSendToInboxSendToInboxParams) WithComment(comment *string) *LedgerVoucherSendToInboxSendToInboxParams
- func (o *LedgerVoucherSendToInboxSendToInboxParams) WithContext(ctx context.Context) *LedgerVoucherSendToInboxSendToInboxParams
- func (o *LedgerVoucherSendToInboxSendToInboxParams) WithHTTPClient(client *http.Client) *LedgerVoucherSendToInboxSendToInboxParams
- func (o *LedgerVoucherSendToInboxSendToInboxParams) WithID(id int32) *LedgerVoucherSendToInboxSendToInboxParams
- func (o *LedgerVoucherSendToInboxSendToInboxParams) WithTimeout(timeout time.Duration) *LedgerVoucherSendToInboxSendToInboxParams
- func (o *LedgerVoucherSendToInboxSendToInboxParams) WithVersion(version *int32) *LedgerVoucherSendToInboxSendToInboxParams
- func (o *LedgerVoucherSendToInboxSendToInboxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerVoucherSendToInboxSendToInboxReader
- type LedgerVoucherSendToLedgerSendToLedgerOK
- type LedgerVoucherSendToLedgerSendToLedgerParams
- func NewLedgerVoucherSendToLedgerSendToLedgerParams() *LedgerVoucherSendToLedgerSendToLedgerParams
- func NewLedgerVoucherSendToLedgerSendToLedgerParamsWithContext(ctx context.Context) *LedgerVoucherSendToLedgerSendToLedgerParams
- func NewLedgerVoucherSendToLedgerSendToLedgerParamsWithHTTPClient(client *http.Client) *LedgerVoucherSendToLedgerSendToLedgerParams
- func NewLedgerVoucherSendToLedgerSendToLedgerParamsWithTimeout(timeout time.Duration) *LedgerVoucherSendToLedgerSendToLedgerParams
- func (o *LedgerVoucherSendToLedgerSendToLedgerParams) SetContext(ctx context.Context)
- func (o *LedgerVoucherSendToLedgerSendToLedgerParams) SetHTTPClient(client *http.Client)
- func (o *LedgerVoucherSendToLedgerSendToLedgerParams) SetID(id int32)
- func (o *LedgerVoucherSendToLedgerSendToLedgerParams) SetNumber(number *int32)
- func (o *LedgerVoucherSendToLedgerSendToLedgerParams) SetTimeout(timeout time.Duration)
- func (o *LedgerVoucherSendToLedgerSendToLedgerParams) SetVersion(version *int32)
- func (o *LedgerVoucherSendToLedgerSendToLedgerParams) WithContext(ctx context.Context) *LedgerVoucherSendToLedgerSendToLedgerParams
- func (o *LedgerVoucherSendToLedgerSendToLedgerParams) WithHTTPClient(client *http.Client) *LedgerVoucherSendToLedgerSendToLedgerParams
- func (o *LedgerVoucherSendToLedgerSendToLedgerParams) WithID(id int32) *LedgerVoucherSendToLedgerSendToLedgerParams
- func (o *LedgerVoucherSendToLedgerSendToLedgerParams) WithNumber(number *int32) *LedgerVoucherSendToLedgerSendToLedgerParams
- func (o *LedgerVoucherSendToLedgerSendToLedgerParams) WithTimeout(timeout time.Duration) *LedgerVoucherSendToLedgerSendToLedgerParams
- func (o *LedgerVoucherSendToLedgerSendToLedgerParams) WithVersion(version *int32) *LedgerVoucherSendToLedgerSendToLedgerParams
- func (o *LedgerVoucherSendToLedgerSendToLedgerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerVoucherSendToLedgerSendToLedgerReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for voucher API
func (*Client) LedgerVoucherAttachmentDeleteAttachment ¶
func (a *Client) LedgerVoucherAttachmentDeleteAttachment(params *LedgerVoucherAttachmentDeleteAttachmentParams, authInfo runtime.ClientAuthInfoWriter) error
LedgerVoucherAttachmentDeleteAttachment bs e t a delete attachment
func (*Client) LedgerVoucherAttachmentUploadAttachment ¶
func (a *Client) LedgerVoucherAttachmentUploadAttachment(params *LedgerVoucherAttachmentUploadAttachmentParams, authInfo runtime.ClientAuthInfoWriter) error
LedgerVoucherAttachmentUploadAttachment uploads attachment to voucher if the voucher already has an attachment the content will be appended to the existing attachment as new p d f page s valid document formats are p d f p n g j p e g and t i f f non p d f formats will be converted to p d f send as multipart form
func (*Client) LedgerVoucherDelete ¶
func (a *Client) LedgerVoucherDelete(params *LedgerVoucherDeleteParams, authInfo runtime.ClientAuthInfoWriter) error
LedgerVoucherDelete bs e t a delete voucher by ID
func (*Client) LedgerVoucherGet ¶
func (a *Client) LedgerVoucherGet(params *LedgerVoucherGetParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVoucherGetOK, error)
LedgerVoucherGet gets voucher by ID
func (*Client) LedgerVoucherImportDocumentImportDocument ¶
func (a *Client) LedgerVoucherImportDocumentImportDocument(params *LedgerVoucherImportDocumentImportDocumentParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVoucherImportDocumentImportDocumentCreated, error)
LedgerVoucherImportDocumentImportDocument bs e t a upload a document to create one or more vouchers valid document formats are p d f p n g j p e g t i f f and e h f send as multipart form
func (*Client) LedgerVoucherImportGbat10ImportGbat10 ¶
func (a *Client) LedgerVoucherImportGbat10ImportGbat10(params *LedgerVoucherImportGbat10ImportGbat10Params, authInfo runtime.ClientAuthInfoWriter) error
LedgerVoucherImportGbat10ImportGbat10 imports g b a t10 send as multipart form
func (*Client) LedgerVoucherListPutList ¶
func (a *Client) LedgerVoucherListPutList(params *LedgerVoucherListPutListParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVoucherListPutListOK, error)
LedgerVoucherListPutList bs e t a update multiple vouchers postings with gui row 0 will be deleted and regenerated
func (*Client) LedgerVoucherNonPostedNonPosted ¶
func (a *Client) LedgerVoucherNonPostedNonPosted(params *LedgerVoucherNonPostedNonPostedParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVoucherNonPostedNonPostedOK, error)
LedgerVoucherNonPostedNonPosted bs e t a find non posted vouchers
func (*Client) LedgerVoucherOptionsOptions ¶
func (a *Client) LedgerVoucherOptionsOptions(params *LedgerVoucherOptionsOptionsParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVoucherOptionsOptionsOK, error)
LedgerVoucherOptionsOptions bs e t a returns a data structure containing meta information about operations that are available for this voucher currently only implemented for d e l e t e it is possible to check if the voucher is deletable
func (*Client) LedgerVoucherPdfDownloadPdf ¶
func (a *Client) LedgerVoucherPdfDownloadPdf(params *LedgerVoucherPdfDownloadPdfParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVoucherPdfDownloadPdfOK, error)
LedgerVoucherPdfDownloadPdf gets p d f representation of voucher by ID
func (*Client) LedgerVoucherPdfUploadPdf ¶
func (a *Client) LedgerVoucherPdfUploadPdf(params *LedgerVoucherPdfUploadPdfParams, authInfo runtime.ClientAuthInfoWriter) error
LedgerVoucherPdfUploadPdf ds e p r e c a t e d use p o s t ledger voucher voucher Id attachment instead
func (*Client) LedgerVoucherPost ¶
func (a *Client) LedgerVoucherPost(params *LedgerVoucherPostParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVoucherPostCreated, error)
LedgerVoucherPost adds new voucher i m p o r t a n t also creates postings only the gross amounts will be used
func (*Client) LedgerVoucherPut ¶
func (a *Client) LedgerVoucherPut(params *LedgerVoucherPutParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVoucherPutOK, error)
LedgerVoucherPut bs e t a update voucher postings with gui row 0 will be deleted and regenerated
func (*Client) LedgerVoucherReverseReverse ¶
func (a *Client) LedgerVoucherReverseReverse(params *LedgerVoucherReverseReverseParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVoucherReverseReverseOK, error)
LedgerVoucherReverseReverse reverses the voucher and returns the reversed voucher supports reversing most voucher types except salary transactions
func (*Client) LedgerVoucherSearch ¶
func (a *Client) LedgerVoucherSearch(params *LedgerVoucherSearchParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVoucherSearchOK, error)
LedgerVoucherSearch finds vouchers corresponding with sent data
func (*Client) LedgerVoucherSendToInboxSendToInbox ¶
func (a *Client) LedgerVoucherSendToInboxSendToInbox(params *LedgerVoucherSendToInboxSendToInboxParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVoucherSendToInboxSendToInboxOK, error)
LedgerVoucherSendToInboxSendToInbox bs e t a send voucher to inbox
func (*Client) LedgerVoucherSendToLedgerSendToLedger ¶
func (a *Client) LedgerVoucherSendToLedgerSendToLedger(params *LedgerVoucherSendToLedgerSendToLedgerParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVoucherSendToLedgerSendToLedgerOK, error)
LedgerVoucherSendToLedgerSendToLedger bs e t a send voucher to ledger
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { LedgerVoucherAttachmentDeleteAttachment(params *LedgerVoucherAttachmentDeleteAttachmentParams, authInfo runtime.ClientAuthInfoWriter) error LedgerVoucherAttachmentUploadAttachment(params *LedgerVoucherAttachmentUploadAttachmentParams, authInfo runtime.ClientAuthInfoWriter) error LedgerVoucherImportDocumentImportDocument(params *LedgerVoucherImportDocumentImportDocumentParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVoucherImportDocumentImportDocumentCreated, error) LedgerVoucherImportGbat10ImportGbat10(params *LedgerVoucherImportGbat10ImportGbat10Params, authInfo runtime.ClientAuthInfoWriter) error LedgerVoucherListPutList(params *LedgerVoucherListPutListParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVoucherListPutListOK, error) LedgerVoucherNonPostedNonPosted(params *LedgerVoucherNonPostedNonPostedParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVoucherNonPostedNonPostedOK, error) LedgerVoucherOptionsOptions(params *LedgerVoucherOptionsOptionsParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVoucherOptionsOptionsOK, error) LedgerVoucherPdfDownloadPdf(params *LedgerVoucherPdfDownloadPdfParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVoucherPdfDownloadPdfOK, error) LedgerVoucherPdfUploadPdf(params *LedgerVoucherPdfUploadPdfParams, authInfo runtime.ClientAuthInfoWriter) error LedgerVoucherReverseReverse(params *LedgerVoucherReverseReverseParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVoucherReverseReverseOK, error) LedgerVoucherSendToInboxSendToInbox(params *LedgerVoucherSendToInboxSendToInboxParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVoucherSendToInboxSendToInboxOK, error) LedgerVoucherSendToLedgerSendToLedger(params *LedgerVoucherSendToLedgerSendToLedgerParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVoucherSendToLedgerSendToLedgerOK, error) LedgerVoucherDelete(params *LedgerVoucherDeleteParams, authInfo runtime.ClientAuthInfoWriter) error LedgerVoucherGet(params *LedgerVoucherGetParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVoucherGetOK, error) LedgerVoucherPost(params *LedgerVoucherPostParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVoucherPostCreated, error) LedgerVoucherPut(params *LedgerVoucherPutParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVoucherPutOK, error) LedgerVoucherSearch(params *LedgerVoucherSearchParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerVoucherSearchOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new voucher API client.
type LedgerVoucherAttachmentDeleteAttachmentDefault ¶
type LedgerVoucherAttachmentDeleteAttachmentDefault struct {
// contains filtered or unexported fields
}
LedgerVoucherAttachmentDeleteAttachmentDefault handles this case with default header values.
successful operation
func NewLedgerVoucherAttachmentDeleteAttachmentDefault ¶
func NewLedgerVoucherAttachmentDeleteAttachmentDefault(code int) *LedgerVoucherAttachmentDeleteAttachmentDefault
NewLedgerVoucherAttachmentDeleteAttachmentDefault creates a LedgerVoucherAttachmentDeleteAttachmentDefault with default headers values
func (*LedgerVoucherAttachmentDeleteAttachmentDefault) Code ¶
func (o *LedgerVoucherAttachmentDeleteAttachmentDefault) Code() int
Code gets the status code for the ledger voucher attachment delete attachment default response
func (*LedgerVoucherAttachmentDeleteAttachmentDefault) Error ¶
func (o *LedgerVoucherAttachmentDeleteAttachmentDefault) Error() string
type LedgerVoucherAttachmentDeleteAttachmentParams ¶
type LedgerVoucherAttachmentDeleteAttachmentParams struct { /*ID ID of voucher containing the attachment to delete. */ ID int32 /*SendToInbox Should the attachment be sent to inbox rather than deleted? */ SendToInbox *bool /*Split If sendToInbox is true, should the attachment be split into one voucher per page? */ Split *bool /*Version Version of voucher containing the attachment to delete. */ Version *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LedgerVoucherAttachmentDeleteAttachmentParams contains all the parameters to send to the API endpoint for the ledger voucher attachment delete attachment operation typically these are written to a http.Request
func NewLedgerVoucherAttachmentDeleteAttachmentParams ¶
func NewLedgerVoucherAttachmentDeleteAttachmentParams() *LedgerVoucherAttachmentDeleteAttachmentParams
NewLedgerVoucherAttachmentDeleteAttachmentParams creates a new LedgerVoucherAttachmentDeleteAttachmentParams object with the default values initialized.
func NewLedgerVoucherAttachmentDeleteAttachmentParamsWithContext ¶
func NewLedgerVoucherAttachmentDeleteAttachmentParamsWithContext(ctx context.Context) *LedgerVoucherAttachmentDeleteAttachmentParams
NewLedgerVoucherAttachmentDeleteAttachmentParamsWithContext creates a new LedgerVoucherAttachmentDeleteAttachmentParams object with the default values initialized, and the ability to set a context for a request
func NewLedgerVoucherAttachmentDeleteAttachmentParamsWithHTTPClient ¶
func NewLedgerVoucherAttachmentDeleteAttachmentParamsWithHTTPClient(client *http.Client) *LedgerVoucherAttachmentDeleteAttachmentParams
NewLedgerVoucherAttachmentDeleteAttachmentParamsWithHTTPClient creates a new LedgerVoucherAttachmentDeleteAttachmentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLedgerVoucherAttachmentDeleteAttachmentParamsWithTimeout ¶
func NewLedgerVoucherAttachmentDeleteAttachmentParamsWithTimeout(timeout time.Duration) *LedgerVoucherAttachmentDeleteAttachmentParams
NewLedgerVoucherAttachmentDeleteAttachmentParamsWithTimeout creates a new LedgerVoucherAttachmentDeleteAttachmentParams object with the default values initialized, and the ability to set a timeout on a request
func (*LedgerVoucherAttachmentDeleteAttachmentParams) SetContext ¶
func (o *LedgerVoucherAttachmentDeleteAttachmentParams) SetContext(ctx context.Context)
SetContext adds the context to the ledger voucher attachment delete attachment params
func (*LedgerVoucherAttachmentDeleteAttachmentParams) SetHTTPClient ¶
func (o *LedgerVoucherAttachmentDeleteAttachmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ledger voucher attachment delete attachment params
func (*LedgerVoucherAttachmentDeleteAttachmentParams) SetID ¶
func (o *LedgerVoucherAttachmentDeleteAttachmentParams) SetID(id int32)
SetID adds the id to the ledger voucher attachment delete attachment params
func (*LedgerVoucherAttachmentDeleteAttachmentParams) SetSendToInbox ¶
func (o *LedgerVoucherAttachmentDeleteAttachmentParams) SetSendToInbox(sendToInbox *bool)
SetSendToInbox adds the sendToInbox to the ledger voucher attachment delete attachment params
func (*LedgerVoucherAttachmentDeleteAttachmentParams) SetSplit ¶
func (o *LedgerVoucherAttachmentDeleteAttachmentParams) SetSplit(split *bool)
SetSplit adds the split to the ledger voucher attachment delete attachment params
func (*LedgerVoucherAttachmentDeleteAttachmentParams) SetTimeout ¶
func (o *LedgerVoucherAttachmentDeleteAttachmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ledger voucher attachment delete attachment params
func (*LedgerVoucherAttachmentDeleteAttachmentParams) SetVersion ¶
func (o *LedgerVoucherAttachmentDeleteAttachmentParams) SetVersion(version *int32)
SetVersion adds the version to the ledger voucher attachment delete attachment params
func (*LedgerVoucherAttachmentDeleteAttachmentParams) WithContext ¶
func (o *LedgerVoucherAttachmentDeleteAttachmentParams) WithContext(ctx context.Context) *LedgerVoucherAttachmentDeleteAttachmentParams
WithContext adds the context to the ledger voucher attachment delete attachment params
func (*LedgerVoucherAttachmentDeleteAttachmentParams) WithHTTPClient ¶
func (o *LedgerVoucherAttachmentDeleteAttachmentParams) WithHTTPClient(client *http.Client) *LedgerVoucherAttachmentDeleteAttachmentParams
WithHTTPClient adds the HTTPClient to the ledger voucher attachment delete attachment params
func (*LedgerVoucherAttachmentDeleteAttachmentParams) WithID ¶
func (o *LedgerVoucherAttachmentDeleteAttachmentParams) WithID(id int32) *LedgerVoucherAttachmentDeleteAttachmentParams
WithID adds the id to the ledger voucher attachment delete attachment params
func (*LedgerVoucherAttachmentDeleteAttachmentParams) WithSendToInbox ¶
func (o *LedgerVoucherAttachmentDeleteAttachmentParams) WithSendToInbox(sendToInbox *bool) *LedgerVoucherAttachmentDeleteAttachmentParams
WithSendToInbox adds the sendToInbox to the ledger voucher attachment delete attachment params
func (*LedgerVoucherAttachmentDeleteAttachmentParams) WithSplit ¶
func (o *LedgerVoucherAttachmentDeleteAttachmentParams) WithSplit(split *bool) *LedgerVoucherAttachmentDeleteAttachmentParams
WithSplit adds the split to the ledger voucher attachment delete attachment params
func (*LedgerVoucherAttachmentDeleteAttachmentParams) WithTimeout ¶
func (o *LedgerVoucherAttachmentDeleteAttachmentParams) WithTimeout(timeout time.Duration) *LedgerVoucherAttachmentDeleteAttachmentParams
WithTimeout adds the timeout to the ledger voucher attachment delete attachment params
func (*LedgerVoucherAttachmentDeleteAttachmentParams) WithVersion ¶
func (o *LedgerVoucherAttachmentDeleteAttachmentParams) WithVersion(version *int32) *LedgerVoucherAttachmentDeleteAttachmentParams
WithVersion adds the version to the ledger voucher attachment delete attachment params
func (*LedgerVoucherAttachmentDeleteAttachmentParams) WriteToRequest ¶
func (o *LedgerVoucherAttachmentDeleteAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LedgerVoucherAttachmentDeleteAttachmentReader ¶
type LedgerVoucherAttachmentDeleteAttachmentReader struct {
// contains filtered or unexported fields
}
LedgerVoucherAttachmentDeleteAttachmentReader is a Reader for the LedgerVoucherAttachmentDeleteAttachment structure.
func (*LedgerVoucherAttachmentDeleteAttachmentReader) ReadResponse ¶
func (o *LedgerVoucherAttachmentDeleteAttachmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LedgerVoucherAttachmentUploadAttachmentDefault ¶
type LedgerVoucherAttachmentUploadAttachmentDefault struct {
// contains filtered or unexported fields
}
LedgerVoucherAttachmentUploadAttachmentDefault handles this case with default header values.
successful operation
func NewLedgerVoucherAttachmentUploadAttachmentDefault ¶
func NewLedgerVoucherAttachmentUploadAttachmentDefault(code int) *LedgerVoucherAttachmentUploadAttachmentDefault
NewLedgerVoucherAttachmentUploadAttachmentDefault creates a LedgerVoucherAttachmentUploadAttachmentDefault with default headers values
func (*LedgerVoucherAttachmentUploadAttachmentDefault) Code ¶
func (o *LedgerVoucherAttachmentUploadAttachmentDefault) Code() int
Code gets the status code for the ledger voucher attachment upload attachment default response
func (*LedgerVoucherAttachmentUploadAttachmentDefault) Error ¶
func (o *LedgerVoucherAttachmentUploadAttachmentDefault) Error() string
type LedgerVoucherAttachmentUploadAttachmentParams ¶
type LedgerVoucherAttachmentUploadAttachmentParams struct { /*File The file */ File runtime.NamedReadCloser /*VoucherID Voucher ID to upload attachment to. */ VoucherID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LedgerVoucherAttachmentUploadAttachmentParams contains all the parameters to send to the API endpoint for the ledger voucher attachment upload attachment operation typically these are written to a http.Request
func NewLedgerVoucherAttachmentUploadAttachmentParams ¶
func NewLedgerVoucherAttachmentUploadAttachmentParams() *LedgerVoucherAttachmentUploadAttachmentParams
NewLedgerVoucherAttachmentUploadAttachmentParams creates a new LedgerVoucherAttachmentUploadAttachmentParams object with the default values initialized.
func NewLedgerVoucherAttachmentUploadAttachmentParamsWithContext ¶
func NewLedgerVoucherAttachmentUploadAttachmentParamsWithContext(ctx context.Context) *LedgerVoucherAttachmentUploadAttachmentParams
NewLedgerVoucherAttachmentUploadAttachmentParamsWithContext creates a new LedgerVoucherAttachmentUploadAttachmentParams object with the default values initialized, and the ability to set a context for a request
func NewLedgerVoucherAttachmentUploadAttachmentParamsWithHTTPClient ¶
func NewLedgerVoucherAttachmentUploadAttachmentParamsWithHTTPClient(client *http.Client) *LedgerVoucherAttachmentUploadAttachmentParams
NewLedgerVoucherAttachmentUploadAttachmentParamsWithHTTPClient creates a new LedgerVoucherAttachmentUploadAttachmentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLedgerVoucherAttachmentUploadAttachmentParamsWithTimeout ¶
func NewLedgerVoucherAttachmentUploadAttachmentParamsWithTimeout(timeout time.Duration) *LedgerVoucherAttachmentUploadAttachmentParams
NewLedgerVoucherAttachmentUploadAttachmentParamsWithTimeout creates a new LedgerVoucherAttachmentUploadAttachmentParams object with the default values initialized, and the ability to set a timeout on a request
func (*LedgerVoucherAttachmentUploadAttachmentParams) SetContext ¶
func (o *LedgerVoucherAttachmentUploadAttachmentParams) SetContext(ctx context.Context)
SetContext adds the context to the ledger voucher attachment upload attachment params
func (*LedgerVoucherAttachmentUploadAttachmentParams) SetFile ¶
func (o *LedgerVoucherAttachmentUploadAttachmentParams) SetFile(file runtime.NamedReadCloser)
SetFile adds the file to the ledger voucher attachment upload attachment params
func (*LedgerVoucherAttachmentUploadAttachmentParams) SetHTTPClient ¶
func (o *LedgerVoucherAttachmentUploadAttachmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ledger voucher attachment upload attachment params
func (*LedgerVoucherAttachmentUploadAttachmentParams) SetTimeout ¶
func (o *LedgerVoucherAttachmentUploadAttachmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ledger voucher attachment upload attachment params
func (*LedgerVoucherAttachmentUploadAttachmentParams) SetVoucherID ¶
func (o *LedgerVoucherAttachmentUploadAttachmentParams) SetVoucherID(voucherID int32)
SetVoucherID adds the voucherId to the ledger voucher attachment upload attachment params
func (*LedgerVoucherAttachmentUploadAttachmentParams) WithContext ¶
func (o *LedgerVoucherAttachmentUploadAttachmentParams) WithContext(ctx context.Context) *LedgerVoucherAttachmentUploadAttachmentParams
WithContext adds the context to the ledger voucher attachment upload attachment params
func (*LedgerVoucherAttachmentUploadAttachmentParams) WithFile ¶
func (o *LedgerVoucherAttachmentUploadAttachmentParams) WithFile(file runtime.NamedReadCloser) *LedgerVoucherAttachmentUploadAttachmentParams
WithFile adds the file to the ledger voucher attachment upload attachment params
func (*LedgerVoucherAttachmentUploadAttachmentParams) WithHTTPClient ¶
func (o *LedgerVoucherAttachmentUploadAttachmentParams) WithHTTPClient(client *http.Client) *LedgerVoucherAttachmentUploadAttachmentParams
WithHTTPClient adds the HTTPClient to the ledger voucher attachment upload attachment params
func (*LedgerVoucherAttachmentUploadAttachmentParams) WithTimeout ¶
func (o *LedgerVoucherAttachmentUploadAttachmentParams) WithTimeout(timeout time.Duration) *LedgerVoucherAttachmentUploadAttachmentParams
WithTimeout adds the timeout to the ledger voucher attachment upload attachment params
func (*LedgerVoucherAttachmentUploadAttachmentParams) WithVoucherID ¶
func (o *LedgerVoucherAttachmentUploadAttachmentParams) WithVoucherID(voucherID int32) *LedgerVoucherAttachmentUploadAttachmentParams
WithVoucherID adds the voucherID to the ledger voucher attachment upload attachment params
func (*LedgerVoucherAttachmentUploadAttachmentParams) WriteToRequest ¶
func (o *LedgerVoucherAttachmentUploadAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LedgerVoucherAttachmentUploadAttachmentReader ¶
type LedgerVoucherAttachmentUploadAttachmentReader struct {
// contains filtered or unexported fields
}
LedgerVoucherAttachmentUploadAttachmentReader is a Reader for the LedgerVoucherAttachmentUploadAttachment structure.
func (*LedgerVoucherAttachmentUploadAttachmentReader) ReadResponse ¶
func (o *LedgerVoucherAttachmentUploadAttachmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LedgerVoucherDeleteDefault ¶
type LedgerVoucherDeleteDefault struct {
// contains filtered or unexported fields
}
LedgerVoucherDeleteDefault handles this case with default header values.
successful operation
func NewLedgerVoucherDeleteDefault ¶
func NewLedgerVoucherDeleteDefault(code int) *LedgerVoucherDeleteDefault
NewLedgerVoucherDeleteDefault creates a LedgerVoucherDeleteDefault with default headers values
func (*LedgerVoucherDeleteDefault) Code ¶
func (o *LedgerVoucherDeleteDefault) Code() int
Code gets the status code for the ledger voucher delete default response
func (*LedgerVoucherDeleteDefault) Error ¶
func (o *LedgerVoucherDeleteDefault) Error() string
type LedgerVoucherDeleteParams ¶
type LedgerVoucherDeleteParams struct { /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LedgerVoucherDeleteParams contains all the parameters to send to the API endpoint for the ledger voucher delete operation typically these are written to a http.Request
func NewLedgerVoucherDeleteParams ¶
func NewLedgerVoucherDeleteParams() *LedgerVoucherDeleteParams
NewLedgerVoucherDeleteParams creates a new LedgerVoucherDeleteParams object with the default values initialized.
func NewLedgerVoucherDeleteParamsWithContext ¶
func NewLedgerVoucherDeleteParamsWithContext(ctx context.Context) *LedgerVoucherDeleteParams
NewLedgerVoucherDeleteParamsWithContext creates a new LedgerVoucherDeleteParams object with the default values initialized, and the ability to set a context for a request
func NewLedgerVoucherDeleteParamsWithHTTPClient ¶
func NewLedgerVoucherDeleteParamsWithHTTPClient(client *http.Client) *LedgerVoucherDeleteParams
NewLedgerVoucherDeleteParamsWithHTTPClient creates a new LedgerVoucherDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLedgerVoucherDeleteParamsWithTimeout ¶
func NewLedgerVoucherDeleteParamsWithTimeout(timeout time.Duration) *LedgerVoucherDeleteParams
NewLedgerVoucherDeleteParamsWithTimeout creates a new LedgerVoucherDeleteParams object with the default values initialized, and the ability to set a timeout on a request
func (*LedgerVoucherDeleteParams) SetContext ¶
func (o *LedgerVoucherDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the ledger voucher delete params
func (*LedgerVoucherDeleteParams) SetHTTPClient ¶
func (o *LedgerVoucherDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ledger voucher delete params
func (*LedgerVoucherDeleteParams) SetID ¶
func (o *LedgerVoucherDeleteParams) SetID(id int32)
SetID adds the id to the ledger voucher delete params
func (*LedgerVoucherDeleteParams) SetTimeout ¶
func (o *LedgerVoucherDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ledger voucher delete params
func (*LedgerVoucherDeleteParams) WithContext ¶
func (o *LedgerVoucherDeleteParams) WithContext(ctx context.Context) *LedgerVoucherDeleteParams
WithContext adds the context to the ledger voucher delete params
func (*LedgerVoucherDeleteParams) WithHTTPClient ¶
func (o *LedgerVoucherDeleteParams) WithHTTPClient(client *http.Client) *LedgerVoucherDeleteParams
WithHTTPClient adds the HTTPClient to the ledger voucher delete params
func (*LedgerVoucherDeleteParams) WithID ¶
func (o *LedgerVoucherDeleteParams) WithID(id int32) *LedgerVoucherDeleteParams
WithID adds the id to the ledger voucher delete params
func (*LedgerVoucherDeleteParams) WithTimeout ¶
func (o *LedgerVoucherDeleteParams) WithTimeout(timeout time.Duration) *LedgerVoucherDeleteParams
WithTimeout adds the timeout to the ledger voucher delete params
func (*LedgerVoucherDeleteParams) WriteToRequest ¶
func (o *LedgerVoucherDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LedgerVoucherDeleteReader ¶
type LedgerVoucherDeleteReader struct {
// contains filtered or unexported fields
}
LedgerVoucherDeleteReader is a Reader for the LedgerVoucherDelete structure.
func (*LedgerVoucherDeleteReader) ReadResponse ¶
func (o *LedgerVoucherDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LedgerVoucherGetOK ¶
type LedgerVoucherGetOK struct {
Payload *models.ResponseWrapperVoucher
}
LedgerVoucherGetOK handles this case with default header values.
successful operation
func NewLedgerVoucherGetOK ¶
func NewLedgerVoucherGetOK() *LedgerVoucherGetOK
NewLedgerVoucherGetOK creates a LedgerVoucherGetOK with default headers values
func (*LedgerVoucherGetOK) Error ¶
func (o *LedgerVoucherGetOK) Error() string
func (*LedgerVoucherGetOK) GetPayload ¶
func (o *LedgerVoucherGetOK) GetPayload() *models.ResponseWrapperVoucher
type LedgerVoucherGetParams ¶
type LedgerVoucherGetParams struct { /*Fields Fields filter pattern */ Fields *string /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LedgerVoucherGetParams contains all the parameters to send to the API endpoint for the ledger voucher get operation typically these are written to a http.Request
func NewLedgerVoucherGetParams ¶
func NewLedgerVoucherGetParams() *LedgerVoucherGetParams
NewLedgerVoucherGetParams creates a new LedgerVoucherGetParams object with the default values initialized.
func NewLedgerVoucherGetParamsWithContext ¶
func NewLedgerVoucherGetParamsWithContext(ctx context.Context) *LedgerVoucherGetParams
NewLedgerVoucherGetParamsWithContext creates a new LedgerVoucherGetParams object with the default values initialized, and the ability to set a context for a request
func NewLedgerVoucherGetParamsWithHTTPClient ¶
func NewLedgerVoucherGetParamsWithHTTPClient(client *http.Client) *LedgerVoucherGetParams
NewLedgerVoucherGetParamsWithHTTPClient creates a new LedgerVoucherGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLedgerVoucherGetParamsWithTimeout ¶
func NewLedgerVoucherGetParamsWithTimeout(timeout time.Duration) *LedgerVoucherGetParams
NewLedgerVoucherGetParamsWithTimeout creates a new LedgerVoucherGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*LedgerVoucherGetParams) SetContext ¶
func (o *LedgerVoucherGetParams) SetContext(ctx context.Context)
SetContext adds the context to the ledger voucher get params
func (*LedgerVoucherGetParams) SetFields ¶
func (o *LedgerVoucherGetParams) SetFields(fields *string)
SetFields adds the fields to the ledger voucher get params
func (*LedgerVoucherGetParams) SetHTTPClient ¶
func (o *LedgerVoucherGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ledger voucher get params
func (*LedgerVoucherGetParams) SetID ¶
func (o *LedgerVoucherGetParams) SetID(id int32)
SetID adds the id to the ledger voucher get params
func (*LedgerVoucherGetParams) SetTimeout ¶
func (o *LedgerVoucherGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ledger voucher get params
func (*LedgerVoucherGetParams) WithContext ¶
func (o *LedgerVoucherGetParams) WithContext(ctx context.Context) *LedgerVoucherGetParams
WithContext adds the context to the ledger voucher get params
func (*LedgerVoucherGetParams) WithFields ¶
func (o *LedgerVoucherGetParams) WithFields(fields *string) *LedgerVoucherGetParams
WithFields adds the fields to the ledger voucher get params
func (*LedgerVoucherGetParams) WithHTTPClient ¶
func (o *LedgerVoucherGetParams) WithHTTPClient(client *http.Client) *LedgerVoucherGetParams
WithHTTPClient adds the HTTPClient to the ledger voucher get params
func (*LedgerVoucherGetParams) WithID ¶
func (o *LedgerVoucherGetParams) WithID(id int32) *LedgerVoucherGetParams
WithID adds the id to the ledger voucher get params
func (*LedgerVoucherGetParams) WithTimeout ¶
func (o *LedgerVoucherGetParams) WithTimeout(timeout time.Duration) *LedgerVoucherGetParams
WithTimeout adds the timeout to the ledger voucher get params
func (*LedgerVoucherGetParams) WriteToRequest ¶
func (o *LedgerVoucherGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LedgerVoucherGetReader ¶
type LedgerVoucherGetReader struct {
// contains filtered or unexported fields
}
LedgerVoucherGetReader is a Reader for the LedgerVoucherGet structure.
func (*LedgerVoucherGetReader) ReadResponse ¶
func (o *LedgerVoucherGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LedgerVoucherImportDocumentImportDocumentCreated ¶
type LedgerVoucherImportDocumentImportDocumentCreated struct {
Payload *models.ListResponseVoucher
}
LedgerVoucherImportDocumentImportDocumentCreated handles this case with default header values.
successfully created
func NewLedgerVoucherImportDocumentImportDocumentCreated ¶
func NewLedgerVoucherImportDocumentImportDocumentCreated() *LedgerVoucherImportDocumentImportDocumentCreated
NewLedgerVoucherImportDocumentImportDocumentCreated creates a LedgerVoucherImportDocumentImportDocumentCreated with default headers values
func (*LedgerVoucherImportDocumentImportDocumentCreated) Error ¶
func (o *LedgerVoucherImportDocumentImportDocumentCreated) Error() string
func (*LedgerVoucherImportDocumentImportDocumentCreated) GetPayload ¶
func (o *LedgerVoucherImportDocumentImportDocumentCreated) GetPayload() *models.ListResponseVoucher
type LedgerVoucherImportDocumentImportDocumentParams ¶
type LedgerVoucherImportDocumentImportDocumentParams struct { /*Description Optional description to use for the voucher(s). If omitted the file name will be used. */ Description *string /*File The file */ File runtime.NamedReadCloser /*Split If the document consists of several pages, should the document be split into one voucher per page? */ Split *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LedgerVoucherImportDocumentImportDocumentParams contains all the parameters to send to the API endpoint for the ledger voucher import document import document operation typically these are written to a http.Request
func NewLedgerVoucherImportDocumentImportDocumentParams ¶
func NewLedgerVoucherImportDocumentImportDocumentParams() *LedgerVoucherImportDocumentImportDocumentParams
NewLedgerVoucherImportDocumentImportDocumentParams creates a new LedgerVoucherImportDocumentImportDocumentParams object with the default values initialized.
func NewLedgerVoucherImportDocumentImportDocumentParamsWithContext ¶
func NewLedgerVoucherImportDocumentImportDocumentParamsWithContext(ctx context.Context) *LedgerVoucherImportDocumentImportDocumentParams
NewLedgerVoucherImportDocumentImportDocumentParamsWithContext creates a new LedgerVoucherImportDocumentImportDocumentParams object with the default values initialized, and the ability to set a context for a request
func NewLedgerVoucherImportDocumentImportDocumentParamsWithHTTPClient ¶
func NewLedgerVoucherImportDocumentImportDocumentParamsWithHTTPClient(client *http.Client) *LedgerVoucherImportDocumentImportDocumentParams
NewLedgerVoucherImportDocumentImportDocumentParamsWithHTTPClient creates a new LedgerVoucherImportDocumentImportDocumentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLedgerVoucherImportDocumentImportDocumentParamsWithTimeout ¶
func NewLedgerVoucherImportDocumentImportDocumentParamsWithTimeout(timeout time.Duration) *LedgerVoucherImportDocumentImportDocumentParams
NewLedgerVoucherImportDocumentImportDocumentParamsWithTimeout creates a new LedgerVoucherImportDocumentImportDocumentParams object with the default values initialized, and the ability to set a timeout on a request
func (*LedgerVoucherImportDocumentImportDocumentParams) SetContext ¶
func (o *LedgerVoucherImportDocumentImportDocumentParams) SetContext(ctx context.Context)
SetContext adds the context to the ledger voucher import document import document params
func (*LedgerVoucherImportDocumentImportDocumentParams) SetDescription ¶
func (o *LedgerVoucherImportDocumentImportDocumentParams) SetDescription(description *string)
SetDescription adds the description to the ledger voucher import document import document params
func (*LedgerVoucherImportDocumentImportDocumentParams) SetFile ¶
func (o *LedgerVoucherImportDocumentImportDocumentParams) SetFile(file runtime.NamedReadCloser)
SetFile adds the file to the ledger voucher import document import document params
func (*LedgerVoucherImportDocumentImportDocumentParams) SetHTTPClient ¶
func (o *LedgerVoucherImportDocumentImportDocumentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ledger voucher import document import document params
func (*LedgerVoucherImportDocumentImportDocumentParams) SetSplit ¶
func (o *LedgerVoucherImportDocumentImportDocumentParams) SetSplit(split *bool)
SetSplit adds the split to the ledger voucher import document import document params
func (*LedgerVoucherImportDocumentImportDocumentParams) SetTimeout ¶
func (o *LedgerVoucherImportDocumentImportDocumentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ledger voucher import document import document params
func (*LedgerVoucherImportDocumentImportDocumentParams) WithContext ¶
func (o *LedgerVoucherImportDocumentImportDocumentParams) WithContext(ctx context.Context) *LedgerVoucherImportDocumentImportDocumentParams
WithContext adds the context to the ledger voucher import document import document params
func (*LedgerVoucherImportDocumentImportDocumentParams) WithDescription ¶
func (o *LedgerVoucherImportDocumentImportDocumentParams) WithDescription(description *string) *LedgerVoucherImportDocumentImportDocumentParams
WithDescription adds the description to the ledger voucher import document import document params
func (*LedgerVoucherImportDocumentImportDocumentParams) WithFile ¶
func (o *LedgerVoucherImportDocumentImportDocumentParams) WithFile(file runtime.NamedReadCloser) *LedgerVoucherImportDocumentImportDocumentParams
WithFile adds the file to the ledger voucher import document import document params
func (*LedgerVoucherImportDocumentImportDocumentParams) WithHTTPClient ¶
func (o *LedgerVoucherImportDocumentImportDocumentParams) WithHTTPClient(client *http.Client) *LedgerVoucherImportDocumentImportDocumentParams
WithHTTPClient adds the HTTPClient to the ledger voucher import document import document params
func (*LedgerVoucherImportDocumentImportDocumentParams) WithSplit ¶
func (o *LedgerVoucherImportDocumentImportDocumentParams) WithSplit(split *bool) *LedgerVoucherImportDocumentImportDocumentParams
WithSplit adds the split to the ledger voucher import document import document params
func (*LedgerVoucherImportDocumentImportDocumentParams) WithTimeout ¶
func (o *LedgerVoucherImportDocumentImportDocumentParams) WithTimeout(timeout time.Duration) *LedgerVoucherImportDocumentImportDocumentParams
WithTimeout adds the timeout to the ledger voucher import document import document params
func (*LedgerVoucherImportDocumentImportDocumentParams) WriteToRequest ¶
func (o *LedgerVoucherImportDocumentImportDocumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LedgerVoucherImportDocumentImportDocumentReader ¶
type LedgerVoucherImportDocumentImportDocumentReader struct {
// contains filtered or unexported fields
}
LedgerVoucherImportDocumentImportDocumentReader is a Reader for the LedgerVoucherImportDocumentImportDocument structure.
func (*LedgerVoucherImportDocumentImportDocumentReader) ReadResponse ¶
func (o *LedgerVoucherImportDocumentImportDocumentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LedgerVoucherImportGbat10ImportGbat10Default ¶
type LedgerVoucherImportGbat10ImportGbat10Default struct {
// contains filtered or unexported fields
}
LedgerVoucherImportGbat10ImportGbat10Default handles this case with default header values.
successful operation
func NewLedgerVoucherImportGbat10ImportGbat10Default ¶
func NewLedgerVoucherImportGbat10ImportGbat10Default(code int) *LedgerVoucherImportGbat10ImportGbat10Default
NewLedgerVoucherImportGbat10ImportGbat10Default creates a LedgerVoucherImportGbat10ImportGbat10Default with default headers values
func (*LedgerVoucherImportGbat10ImportGbat10Default) Code ¶
func (o *LedgerVoucherImportGbat10ImportGbat10Default) Code() int
Code gets the status code for the ledger voucher import gbat10 import gbat10 default response
func (*LedgerVoucherImportGbat10ImportGbat10Default) Error ¶
func (o *LedgerVoucherImportGbat10ImportGbat10Default) Error() string
type LedgerVoucherImportGbat10ImportGbat10Params ¶
type LedgerVoucherImportGbat10ImportGbat10Params struct { /*Encoding The file encoding */ Encoding *string /*File The file */ File runtime.NamedReadCloser /*GenerateVatPostings If the import should generate VAT postings */ GenerateVatPostings bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LedgerVoucherImportGbat10ImportGbat10Params contains all the parameters to send to the API endpoint for the ledger voucher import gbat10 import gbat10 operation typically these are written to a http.Request
func NewLedgerVoucherImportGbat10ImportGbat10Params ¶
func NewLedgerVoucherImportGbat10ImportGbat10Params() *LedgerVoucherImportGbat10ImportGbat10Params
NewLedgerVoucherImportGbat10ImportGbat10Params creates a new LedgerVoucherImportGbat10ImportGbat10Params object with the default values initialized.
func NewLedgerVoucherImportGbat10ImportGbat10ParamsWithContext ¶
func NewLedgerVoucherImportGbat10ImportGbat10ParamsWithContext(ctx context.Context) *LedgerVoucherImportGbat10ImportGbat10Params
NewLedgerVoucherImportGbat10ImportGbat10ParamsWithContext creates a new LedgerVoucherImportGbat10ImportGbat10Params object with the default values initialized, and the ability to set a context for a request
func NewLedgerVoucherImportGbat10ImportGbat10ParamsWithHTTPClient ¶
func NewLedgerVoucherImportGbat10ImportGbat10ParamsWithHTTPClient(client *http.Client) *LedgerVoucherImportGbat10ImportGbat10Params
NewLedgerVoucherImportGbat10ImportGbat10ParamsWithHTTPClient creates a new LedgerVoucherImportGbat10ImportGbat10Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLedgerVoucherImportGbat10ImportGbat10ParamsWithTimeout ¶
func NewLedgerVoucherImportGbat10ImportGbat10ParamsWithTimeout(timeout time.Duration) *LedgerVoucherImportGbat10ImportGbat10Params
NewLedgerVoucherImportGbat10ImportGbat10ParamsWithTimeout creates a new LedgerVoucherImportGbat10ImportGbat10Params object with the default values initialized, and the ability to set a timeout on a request
func (*LedgerVoucherImportGbat10ImportGbat10Params) SetContext ¶
func (o *LedgerVoucherImportGbat10ImportGbat10Params) SetContext(ctx context.Context)
SetContext adds the context to the ledger voucher import gbat10 import gbat10 params
func (*LedgerVoucherImportGbat10ImportGbat10Params) SetEncoding ¶
func (o *LedgerVoucherImportGbat10ImportGbat10Params) SetEncoding(encoding *string)
SetEncoding adds the encoding to the ledger voucher import gbat10 import gbat10 params
func (*LedgerVoucherImportGbat10ImportGbat10Params) SetFile ¶
func (o *LedgerVoucherImportGbat10ImportGbat10Params) SetFile(file runtime.NamedReadCloser)
SetFile adds the file to the ledger voucher import gbat10 import gbat10 params
func (*LedgerVoucherImportGbat10ImportGbat10Params) SetGenerateVatPostings ¶
func (o *LedgerVoucherImportGbat10ImportGbat10Params) SetGenerateVatPostings(generateVatPostings bool)
SetGenerateVatPostings adds the generateVatPostings to the ledger voucher import gbat10 import gbat10 params
func (*LedgerVoucherImportGbat10ImportGbat10Params) SetHTTPClient ¶
func (o *LedgerVoucherImportGbat10ImportGbat10Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ledger voucher import gbat10 import gbat10 params
func (*LedgerVoucherImportGbat10ImportGbat10Params) SetTimeout ¶
func (o *LedgerVoucherImportGbat10ImportGbat10Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ledger voucher import gbat10 import gbat10 params
func (*LedgerVoucherImportGbat10ImportGbat10Params) WithContext ¶
func (o *LedgerVoucherImportGbat10ImportGbat10Params) WithContext(ctx context.Context) *LedgerVoucherImportGbat10ImportGbat10Params
WithContext adds the context to the ledger voucher import gbat10 import gbat10 params
func (*LedgerVoucherImportGbat10ImportGbat10Params) WithEncoding ¶
func (o *LedgerVoucherImportGbat10ImportGbat10Params) WithEncoding(encoding *string) *LedgerVoucherImportGbat10ImportGbat10Params
WithEncoding adds the encoding to the ledger voucher import gbat10 import gbat10 params
func (*LedgerVoucherImportGbat10ImportGbat10Params) WithFile ¶
func (o *LedgerVoucherImportGbat10ImportGbat10Params) WithFile(file runtime.NamedReadCloser) *LedgerVoucherImportGbat10ImportGbat10Params
WithFile adds the file to the ledger voucher import gbat10 import gbat10 params
func (*LedgerVoucherImportGbat10ImportGbat10Params) WithGenerateVatPostings ¶
func (o *LedgerVoucherImportGbat10ImportGbat10Params) WithGenerateVatPostings(generateVatPostings bool) *LedgerVoucherImportGbat10ImportGbat10Params
WithGenerateVatPostings adds the generateVatPostings to the ledger voucher import gbat10 import gbat10 params
func (*LedgerVoucherImportGbat10ImportGbat10Params) WithHTTPClient ¶
func (o *LedgerVoucherImportGbat10ImportGbat10Params) WithHTTPClient(client *http.Client) *LedgerVoucherImportGbat10ImportGbat10Params
WithHTTPClient adds the HTTPClient to the ledger voucher import gbat10 import gbat10 params
func (*LedgerVoucherImportGbat10ImportGbat10Params) WithTimeout ¶
func (o *LedgerVoucherImportGbat10ImportGbat10Params) WithTimeout(timeout time.Duration) *LedgerVoucherImportGbat10ImportGbat10Params
WithTimeout adds the timeout to the ledger voucher import gbat10 import gbat10 params
func (*LedgerVoucherImportGbat10ImportGbat10Params) WriteToRequest ¶
func (o *LedgerVoucherImportGbat10ImportGbat10Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LedgerVoucherImportGbat10ImportGbat10Reader ¶
type LedgerVoucherImportGbat10ImportGbat10Reader struct {
// contains filtered or unexported fields
}
LedgerVoucherImportGbat10ImportGbat10Reader is a Reader for the LedgerVoucherImportGbat10ImportGbat10 structure.
func (*LedgerVoucherImportGbat10ImportGbat10Reader) ReadResponse ¶
func (o *LedgerVoucherImportGbat10ImportGbat10Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LedgerVoucherListPutListOK ¶
type LedgerVoucherListPutListOK struct {
Payload *models.ListResponseVoucher
}
LedgerVoucherListPutListOK handles this case with default header values.
successful operation
func NewLedgerVoucherListPutListOK ¶
func NewLedgerVoucherListPutListOK() *LedgerVoucherListPutListOK
NewLedgerVoucherListPutListOK creates a LedgerVoucherListPutListOK with default headers values
func (*LedgerVoucherListPutListOK) Error ¶
func (o *LedgerVoucherListPutListOK) Error() string
func (*LedgerVoucherListPutListOK) GetPayload ¶
func (o *LedgerVoucherListPutListOK) GetPayload() *models.ListResponseVoucher
type LedgerVoucherListPutListParams ¶
type LedgerVoucherListPutListParams struct { /*Body JSON representing updates to object. Should have ID and version set. */ Body []*models.Voucher /*SendToLedger Should the voucher be sent to ledger? Requires the "Advanced Voucher" permission. */ SendToLedger *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LedgerVoucherListPutListParams contains all the parameters to send to the API endpoint for the ledger voucher list put list operation typically these are written to a http.Request
func NewLedgerVoucherListPutListParams ¶
func NewLedgerVoucherListPutListParams() *LedgerVoucherListPutListParams
NewLedgerVoucherListPutListParams creates a new LedgerVoucherListPutListParams object with the default values initialized.
func NewLedgerVoucherListPutListParamsWithContext ¶
func NewLedgerVoucherListPutListParamsWithContext(ctx context.Context) *LedgerVoucherListPutListParams
NewLedgerVoucherListPutListParamsWithContext creates a new LedgerVoucherListPutListParams object with the default values initialized, and the ability to set a context for a request
func NewLedgerVoucherListPutListParamsWithHTTPClient ¶
func NewLedgerVoucherListPutListParamsWithHTTPClient(client *http.Client) *LedgerVoucherListPutListParams
NewLedgerVoucherListPutListParamsWithHTTPClient creates a new LedgerVoucherListPutListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLedgerVoucherListPutListParamsWithTimeout ¶
func NewLedgerVoucherListPutListParamsWithTimeout(timeout time.Duration) *LedgerVoucherListPutListParams
NewLedgerVoucherListPutListParamsWithTimeout creates a new LedgerVoucherListPutListParams object with the default values initialized, and the ability to set a timeout on a request
func (*LedgerVoucherListPutListParams) SetBody ¶
func (o *LedgerVoucherListPutListParams) SetBody(body []*models.Voucher)
SetBody adds the body to the ledger voucher list put list params
func (*LedgerVoucherListPutListParams) SetContext ¶
func (o *LedgerVoucherListPutListParams) SetContext(ctx context.Context)
SetContext adds the context to the ledger voucher list put list params
func (*LedgerVoucherListPutListParams) SetHTTPClient ¶
func (o *LedgerVoucherListPutListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ledger voucher list put list params
func (*LedgerVoucherListPutListParams) SetSendToLedger ¶
func (o *LedgerVoucherListPutListParams) SetSendToLedger(sendToLedger *bool)
SetSendToLedger adds the sendToLedger to the ledger voucher list put list params
func (*LedgerVoucherListPutListParams) SetTimeout ¶
func (o *LedgerVoucherListPutListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ledger voucher list put list params
func (*LedgerVoucherListPutListParams) WithBody ¶
func (o *LedgerVoucherListPutListParams) WithBody(body []*models.Voucher) *LedgerVoucherListPutListParams
WithBody adds the body to the ledger voucher list put list params
func (*LedgerVoucherListPutListParams) WithContext ¶
func (o *LedgerVoucherListPutListParams) WithContext(ctx context.Context) *LedgerVoucherListPutListParams
WithContext adds the context to the ledger voucher list put list params
func (*LedgerVoucherListPutListParams) WithHTTPClient ¶
func (o *LedgerVoucherListPutListParams) WithHTTPClient(client *http.Client) *LedgerVoucherListPutListParams
WithHTTPClient adds the HTTPClient to the ledger voucher list put list params
func (*LedgerVoucherListPutListParams) WithSendToLedger ¶
func (o *LedgerVoucherListPutListParams) WithSendToLedger(sendToLedger *bool) *LedgerVoucherListPutListParams
WithSendToLedger adds the sendToLedger to the ledger voucher list put list params
func (*LedgerVoucherListPutListParams) WithTimeout ¶
func (o *LedgerVoucherListPutListParams) WithTimeout(timeout time.Duration) *LedgerVoucherListPutListParams
WithTimeout adds the timeout to the ledger voucher list put list params
func (*LedgerVoucherListPutListParams) WriteToRequest ¶
func (o *LedgerVoucherListPutListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LedgerVoucherListPutListReader ¶
type LedgerVoucherListPutListReader struct {
// contains filtered or unexported fields
}
LedgerVoucherListPutListReader is a Reader for the LedgerVoucherListPutList structure.
func (*LedgerVoucherListPutListReader) ReadResponse ¶
func (o *LedgerVoucherListPutListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LedgerVoucherNonPostedNonPostedOK ¶
type LedgerVoucherNonPostedNonPostedOK struct {
Payload *models.ListResponseVoucher
}
LedgerVoucherNonPostedNonPostedOK handles this case with default header values.
successful operation
func NewLedgerVoucherNonPostedNonPostedOK ¶
func NewLedgerVoucherNonPostedNonPostedOK() *LedgerVoucherNonPostedNonPostedOK
NewLedgerVoucherNonPostedNonPostedOK creates a LedgerVoucherNonPostedNonPostedOK with default headers values
func (*LedgerVoucherNonPostedNonPostedOK) Error ¶
func (o *LedgerVoucherNonPostedNonPostedOK) Error() string
func (*LedgerVoucherNonPostedNonPostedOK) GetPayload ¶
func (o *LedgerVoucherNonPostedNonPostedOK) GetPayload() *models.ListResponseVoucher
type LedgerVoucherNonPostedNonPostedParams ¶
type LedgerVoucherNonPostedNonPostedParams struct { /*ChangedSince Only return elements that have changed since this date and time */ ChangedSince *string /*Count Number of elements to return */ Count *int64 /*DateFrom From and including */ DateFrom *string /*DateTo To and excluding */ DateTo *string /*Fields Fields filter pattern */ Fields *string /*From From index */ From *int64 /*IncludeNonApproved Include non-approved vouchers in the result. */ IncludeNonApproved bool /*Sorting Sorting pattern */ Sorting *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LedgerVoucherNonPostedNonPostedParams contains all the parameters to send to the API endpoint for the ledger voucher non posted non posted operation typically these are written to a http.Request
func NewLedgerVoucherNonPostedNonPostedParams ¶
func NewLedgerVoucherNonPostedNonPostedParams() *LedgerVoucherNonPostedNonPostedParams
NewLedgerVoucherNonPostedNonPostedParams creates a new LedgerVoucherNonPostedNonPostedParams object with the default values initialized.
func NewLedgerVoucherNonPostedNonPostedParamsWithContext ¶
func NewLedgerVoucherNonPostedNonPostedParamsWithContext(ctx context.Context) *LedgerVoucherNonPostedNonPostedParams
NewLedgerVoucherNonPostedNonPostedParamsWithContext creates a new LedgerVoucherNonPostedNonPostedParams object with the default values initialized, and the ability to set a context for a request
func NewLedgerVoucherNonPostedNonPostedParamsWithHTTPClient ¶
func NewLedgerVoucherNonPostedNonPostedParamsWithHTTPClient(client *http.Client) *LedgerVoucherNonPostedNonPostedParams
NewLedgerVoucherNonPostedNonPostedParamsWithHTTPClient creates a new LedgerVoucherNonPostedNonPostedParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLedgerVoucherNonPostedNonPostedParamsWithTimeout ¶
func NewLedgerVoucherNonPostedNonPostedParamsWithTimeout(timeout time.Duration) *LedgerVoucherNonPostedNonPostedParams
NewLedgerVoucherNonPostedNonPostedParamsWithTimeout creates a new LedgerVoucherNonPostedNonPostedParams object with the default values initialized, and the ability to set a timeout on a request
func (*LedgerVoucherNonPostedNonPostedParams) SetChangedSince ¶
func (o *LedgerVoucherNonPostedNonPostedParams) SetChangedSince(changedSince *string)
SetChangedSince adds the changedSince to the ledger voucher non posted non posted params
func (*LedgerVoucherNonPostedNonPostedParams) SetContext ¶
func (o *LedgerVoucherNonPostedNonPostedParams) SetContext(ctx context.Context)
SetContext adds the context to the ledger voucher non posted non posted params
func (*LedgerVoucherNonPostedNonPostedParams) SetCount ¶
func (o *LedgerVoucherNonPostedNonPostedParams) SetCount(count *int64)
SetCount adds the count to the ledger voucher non posted non posted params
func (*LedgerVoucherNonPostedNonPostedParams) SetDateFrom ¶
func (o *LedgerVoucherNonPostedNonPostedParams) SetDateFrom(dateFrom *string)
SetDateFrom adds the dateFrom to the ledger voucher non posted non posted params
func (*LedgerVoucherNonPostedNonPostedParams) SetDateTo ¶
func (o *LedgerVoucherNonPostedNonPostedParams) SetDateTo(dateTo *string)
SetDateTo adds the dateTo to the ledger voucher non posted non posted params
func (*LedgerVoucherNonPostedNonPostedParams) SetFields ¶
func (o *LedgerVoucherNonPostedNonPostedParams) SetFields(fields *string)
SetFields adds the fields to the ledger voucher non posted non posted params
func (*LedgerVoucherNonPostedNonPostedParams) SetFrom ¶
func (o *LedgerVoucherNonPostedNonPostedParams) SetFrom(from *int64)
SetFrom adds the from to the ledger voucher non posted non posted params
func (*LedgerVoucherNonPostedNonPostedParams) SetHTTPClient ¶
func (o *LedgerVoucherNonPostedNonPostedParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ledger voucher non posted non posted params
func (*LedgerVoucherNonPostedNonPostedParams) SetIncludeNonApproved ¶
func (o *LedgerVoucherNonPostedNonPostedParams) SetIncludeNonApproved(includeNonApproved bool)
SetIncludeNonApproved adds the includeNonApproved to the ledger voucher non posted non posted params
func (*LedgerVoucherNonPostedNonPostedParams) SetSorting ¶
func (o *LedgerVoucherNonPostedNonPostedParams) SetSorting(sorting *string)
SetSorting adds the sorting to the ledger voucher non posted non posted params
func (*LedgerVoucherNonPostedNonPostedParams) SetTimeout ¶
func (o *LedgerVoucherNonPostedNonPostedParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ledger voucher non posted non posted params
func (*LedgerVoucherNonPostedNonPostedParams) WithChangedSince ¶
func (o *LedgerVoucherNonPostedNonPostedParams) WithChangedSince(changedSince *string) *LedgerVoucherNonPostedNonPostedParams
WithChangedSince adds the changedSince to the ledger voucher non posted non posted params
func (*LedgerVoucherNonPostedNonPostedParams) WithContext ¶
func (o *LedgerVoucherNonPostedNonPostedParams) WithContext(ctx context.Context) *LedgerVoucherNonPostedNonPostedParams
WithContext adds the context to the ledger voucher non posted non posted params
func (*LedgerVoucherNonPostedNonPostedParams) WithCount ¶
func (o *LedgerVoucherNonPostedNonPostedParams) WithCount(count *int64) *LedgerVoucherNonPostedNonPostedParams
WithCount adds the count to the ledger voucher non posted non posted params
func (*LedgerVoucherNonPostedNonPostedParams) WithDateFrom ¶
func (o *LedgerVoucherNonPostedNonPostedParams) WithDateFrom(dateFrom *string) *LedgerVoucherNonPostedNonPostedParams
WithDateFrom adds the dateFrom to the ledger voucher non posted non posted params
func (*LedgerVoucherNonPostedNonPostedParams) WithDateTo ¶
func (o *LedgerVoucherNonPostedNonPostedParams) WithDateTo(dateTo *string) *LedgerVoucherNonPostedNonPostedParams
WithDateTo adds the dateTo to the ledger voucher non posted non posted params
func (*LedgerVoucherNonPostedNonPostedParams) WithFields ¶
func (o *LedgerVoucherNonPostedNonPostedParams) WithFields(fields *string) *LedgerVoucherNonPostedNonPostedParams
WithFields adds the fields to the ledger voucher non posted non posted params
func (*LedgerVoucherNonPostedNonPostedParams) WithFrom ¶
func (o *LedgerVoucherNonPostedNonPostedParams) WithFrom(from *int64) *LedgerVoucherNonPostedNonPostedParams
WithFrom adds the from to the ledger voucher non posted non posted params
func (*LedgerVoucherNonPostedNonPostedParams) WithHTTPClient ¶
func (o *LedgerVoucherNonPostedNonPostedParams) WithHTTPClient(client *http.Client) *LedgerVoucherNonPostedNonPostedParams
WithHTTPClient adds the HTTPClient to the ledger voucher non posted non posted params
func (*LedgerVoucherNonPostedNonPostedParams) WithIncludeNonApproved ¶
func (o *LedgerVoucherNonPostedNonPostedParams) WithIncludeNonApproved(includeNonApproved bool) *LedgerVoucherNonPostedNonPostedParams
WithIncludeNonApproved adds the includeNonApproved to the ledger voucher non posted non posted params
func (*LedgerVoucherNonPostedNonPostedParams) WithSorting ¶
func (o *LedgerVoucherNonPostedNonPostedParams) WithSorting(sorting *string) *LedgerVoucherNonPostedNonPostedParams
WithSorting adds the sorting to the ledger voucher non posted non posted params
func (*LedgerVoucherNonPostedNonPostedParams) WithTimeout ¶
func (o *LedgerVoucherNonPostedNonPostedParams) WithTimeout(timeout time.Duration) *LedgerVoucherNonPostedNonPostedParams
WithTimeout adds the timeout to the ledger voucher non posted non posted params
func (*LedgerVoucherNonPostedNonPostedParams) WriteToRequest ¶
func (o *LedgerVoucherNonPostedNonPostedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LedgerVoucherNonPostedNonPostedReader ¶
type LedgerVoucherNonPostedNonPostedReader struct {
// contains filtered or unexported fields
}
LedgerVoucherNonPostedNonPostedReader is a Reader for the LedgerVoucherNonPostedNonPosted structure.
func (*LedgerVoucherNonPostedNonPostedReader) ReadResponse ¶
func (o *LedgerVoucherNonPostedNonPostedReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LedgerVoucherOptionsOptionsOK ¶
type LedgerVoucherOptionsOptionsOK struct {
Payload *models.ResponseWrapperVoucherOptions
}
LedgerVoucherOptionsOptionsOK handles this case with default header values.
successful operation
func NewLedgerVoucherOptionsOptionsOK ¶
func NewLedgerVoucherOptionsOptionsOK() *LedgerVoucherOptionsOptionsOK
NewLedgerVoucherOptionsOptionsOK creates a LedgerVoucherOptionsOptionsOK with default headers values
func (*LedgerVoucherOptionsOptionsOK) Error ¶
func (o *LedgerVoucherOptionsOptionsOK) Error() string
func (*LedgerVoucherOptionsOptionsOK) GetPayload ¶
func (o *LedgerVoucherOptionsOptionsOK) GetPayload() *models.ResponseWrapperVoucherOptions
type LedgerVoucherOptionsOptionsParams ¶
type LedgerVoucherOptionsOptionsParams struct { /*Fields Fields filter pattern */ Fields *string /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LedgerVoucherOptionsOptionsParams contains all the parameters to send to the API endpoint for the ledger voucher options options operation typically these are written to a http.Request
func NewLedgerVoucherOptionsOptionsParams ¶
func NewLedgerVoucherOptionsOptionsParams() *LedgerVoucherOptionsOptionsParams
NewLedgerVoucherOptionsOptionsParams creates a new LedgerVoucherOptionsOptionsParams object with the default values initialized.
func NewLedgerVoucherOptionsOptionsParamsWithContext ¶
func NewLedgerVoucherOptionsOptionsParamsWithContext(ctx context.Context) *LedgerVoucherOptionsOptionsParams
NewLedgerVoucherOptionsOptionsParamsWithContext creates a new LedgerVoucherOptionsOptionsParams object with the default values initialized, and the ability to set a context for a request
func NewLedgerVoucherOptionsOptionsParamsWithHTTPClient ¶
func NewLedgerVoucherOptionsOptionsParamsWithHTTPClient(client *http.Client) *LedgerVoucherOptionsOptionsParams
NewLedgerVoucherOptionsOptionsParamsWithHTTPClient creates a new LedgerVoucherOptionsOptionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLedgerVoucherOptionsOptionsParamsWithTimeout ¶
func NewLedgerVoucherOptionsOptionsParamsWithTimeout(timeout time.Duration) *LedgerVoucherOptionsOptionsParams
NewLedgerVoucherOptionsOptionsParamsWithTimeout creates a new LedgerVoucherOptionsOptionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*LedgerVoucherOptionsOptionsParams) SetContext ¶
func (o *LedgerVoucherOptionsOptionsParams) SetContext(ctx context.Context)
SetContext adds the context to the ledger voucher options options params
func (*LedgerVoucherOptionsOptionsParams) SetFields ¶
func (o *LedgerVoucherOptionsOptionsParams) SetFields(fields *string)
SetFields adds the fields to the ledger voucher options options params
func (*LedgerVoucherOptionsOptionsParams) SetHTTPClient ¶
func (o *LedgerVoucherOptionsOptionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ledger voucher options options params
func (*LedgerVoucherOptionsOptionsParams) SetID ¶
func (o *LedgerVoucherOptionsOptionsParams) SetID(id int32)
SetID adds the id to the ledger voucher options options params
func (*LedgerVoucherOptionsOptionsParams) SetTimeout ¶
func (o *LedgerVoucherOptionsOptionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ledger voucher options options params
func (*LedgerVoucherOptionsOptionsParams) WithContext ¶
func (o *LedgerVoucherOptionsOptionsParams) WithContext(ctx context.Context) *LedgerVoucherOptionsOptionsParams
WithContext adds the context to the ledger voucher options options params
func (*LedgerVoucherOptionsOptionsParams) WithFields ¶
func (o *LedgerVoucherOptionsOptionsParams) WithFields(fields *string) *LedgerVoucherOptionsOptionsParams
WithFields adds the fields to the ledger voucher options options params
func (*LedgerVoucherOptionsOptionsParams) WithHTTPClient ¶
func (o *LedgerVoucherOptionsOptionsParams) WithHTTPClient(client *http.Client) *LedgerVoucherOptionsOptionsParams
WithHTTPClient adds the HTTPClient to the ledger voucher options options params
func (*LedgerVoucherOptionsOptionsParams) WithID ¶
func (o *LedgerVoucherOptionsOptionsParams) WithID(id int32) *LedgerVoucherOptionsOptionsParams
WithID adds the id to the ledger voucher options options params
func (*LedgerVoucherOptionsOptionsParams) WithTimeout ¶
func (o *LedgerVoucherOptionsOptionsParams) WithTimeout(timeout time.Duration) *LedgerVoucherOptionsOptionsParams
WithTimeout adds the timeout to the ledger voucher options options params
func (*LedgerVoucherOptionsOptionsParams) WriteToRequest ¶
func (o *LedgerVoucherOptionsOptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LedgerVoucherOptionsOptionsReader ¶
type LedgerVoucherOptionsOptionsReader struct {
// contains filtered or unexported fields
}
LedgerVoucherOptionsOptionsReader is a Reader for the LedgerVoucherOptionsOptions structure.
func (*LedgerVoucherOptionsOptionsReader) ReadResponse ¶
func (o *LedgerVoucherOptionsOptionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LedgerVoucherPdfDownloadPdfOK ¶
LedgerVoucherPdfDownloadPdfOK handles this case with default header values.
successful operation
func NewLedgerVoucherPdfDownloadPdfOK ¶
func NewLedgerVoucherPdfDownloadPdfOK() *LedgerVoucherPdfDownloadPdfOK
NewLedgerVoucherPdfDownloadPdfOK creates a LedgerVoucherPdfDownloadPdfOK with default headers values
func (*LedgerVoucherPdfDownloadPdfOK) Error ¶
func (o *LedgerVoucherPdfDownloadPdfOK) Error() string
func (*LedgerVoucherPdfDownloadPdfOK) GetPayload ¶
func (o *LedgerVoucherPdfDownloadPdfOK) GetPayload() strfmt.Base64
type LedgerVoucherPdfDownloadPdfParams ¶
type LedgerVoucherPdfDownloadPdfParams struct { /*VoucherID Voucher ID from which PDF is downloaded. */ VoucherID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LedgerVoucherPdfDownloadPdfParams contains all the parameters to send to the API endpoint for the ledger voucher pdf download pdf operation typically these are written to a http.Request
func NewLedgerVoucherPdfDownloadPdfParams ¶
func NewLedgerVoucherPdfDownloadPdfParams() *LedgerVoucherPdfDownloadPdfParams
NewLedgerVoucherPdfDownloadPdfParams creates a new LedgerVoucherPdfDownloadPdfParams object with the default values initialized.
func NewLedgerVoucherPdfDownloadPdfParamsWithContext ¶
func NewLedgerVoucherPdfDownloadPdfParamsWithContext(ctx context.Context) *LedgerVoucherPdfDownloadPdfParams
NewLedgerVoucherPdfDownloadPdfParamsWithContext creates a new LedgerVoucherPdfDownloadPdfParams object with the default values initialized, and the ability to set a context for a request
func NewLedgerVoucherPdfDownloadPdfParamsWithHTTPClient ¶
func NewLedgerVoucherPdfDownloadPdfParamsWithHTTPClient(client *http.Client) *LedgerVoucherPdfDownloadPdfParams
NewLedgerVoucherPdfDownloadPdfParamsWithHTTPClient creates a new LedgerVoucherPdfDownloadPdfParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLedgerVoucherPdfDownloadPdfParamsWithTimeout ¶
func NewLedgerVoucherPdfDownloadPdfParamsWithTimeout(timeout time.Duration) *LedgerVoucherPdfDownloadPdfParams
NewLedgerVoucherPdfDownloadPdfParamsWithTimeout creates a new LedgerVoucherPdfDownloadPdfParams object with the default values initialized, and the ability to set a timeout on a request
func (*LedgerVoucherPdfDownloadPdfParams) SetContext ¶
func (o *LedgerVoucherPdfDownloadPdfParams) SetContext(ctx context.Context)
SetContext adds the context to the ledger voucher pdf download pdf params
func (*LedgerVoucherPdfDownloadPdfParams) SetHTTPClient ¶
func (o *LedgerVoucherPdfDownloadPdfParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ledger voucher pdf download pdf params
func (*LedgerVoucherPdfDownloadPdfParams) SetTimeout ¶
func (o *LedgerVoucherPdfDownloadPdfParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ledger voucher pdf download pdf params
func (*LedgerVoucherPdfDownloadPdfParams) SetVoucherID ¶
func (o *LedgerVoucherPdfDownloadPdfParams) SetVoucherID(voucherID int32)
SetVoucherID adds the voucherId to the ledger voucher pdf download pdf params
func (*LedgerVoucherPdfDownloadPdfParams) WithContext ¶
func (o *LedgerVoucherPdfDownloadPdfParams) WithContext(ctx context.Context) *LedgerVoucherPdfDownloadPdfParams
WithContext adds the context to the ledger voucher pdf download pdf params
func (*LedgerVoucherPdfDownloadPdfParams) WithHTTPClient ¶
func (o *LedgerVoucherPdfDownloadPdfParams) WithHTTPClient(client *http.Client) *LedgerVoucherPdfDownloadPdfParams
WithHTTPClient adds the HTTPClient to the ledger voucher pdf download pdf params
func (*LedgerVoucherPdfDownloadPdfParams) WithTimeout ¶
func (o *LedgerVoucherPdfDownloadPdfParams) WithTimeout(timeout time.Duration) *LedgerVoucherPdfDownloadPdfParams
WithTimeout adds the timeout to the ledger voucher pdf download pdf params
func (*LedgerVoucherPdfDownloadPdfParams) WithVoucherID ¶
func (o *LedgerVoucherPdfDownloadPdfParams) WithVoucherID(voucherID int32) *LedgerVoucherPdfDownloadPdfParams
WithVoucherID adds the voucherID to the ledger voucher pdf download pdf params
func (*LedgerVoucherPdfDownloadPdfParams) WriteToRequest ¶
func (o *LedgerVoucherPdfDownloadPdfParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LedgerVoucherPdfDownloadPdfReader ¶
type LedgerVoucherPdfDownloadPdfReader struct {
// contains filtered or unexported fields
}
LedgerVoucherPdfDownloadPdfReader is a Reader for the LedgerVoucherPdfDownloadPdf structure.
func (*LedgerVoucherPdfDownloadPdfReader) ReadResponse ¶
func (o *LedgerVoucherPdfDownloadPdfReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LedgerVoucherPdfUploadPdfDefault ¶
type LedgerVoucherPdfUploadPdfDefault struct {
// contains filtered or unexported fields
}
LedgerVoucherPdfUploadPdfDefault handles this case with default header values.
successful operation
func NewLedgerVoucherPdfUploadPdfDefault ¶
func NewLedgerVoucherPdfUploadPdfDefault(code int) *LedgerVoucherPdfUploadPdfDefault
NewLedgerVoucherPdfUploadPdfDefault creates a LedgerVoucherPdfUploadPdfDefault with default headers values
func (*LedgerVoucherPdfUploadPdfDefault) Code ¶
func (o *LedgerVoucherPdfUploadPdfDefault) Code() int
Code gets the status code for the ledger voucher pdf upload pdf default response
func (*LedgerVoucherPdfUploadPdfDefault) Error ¶
func (o *LedgerVoucherPdfUploadPdfDefault) Error() string
type LedgerVoucherPdfUploadPdfParams ¶
type LedgerVoucherPdfUploadPdfParams struct { /*File The file */ File runtime.NamedReadCloser /*FileName File name to store the pdf under. Will not be the same as the filename on the file returned. */ FileName string /*VoucherID Voucher ID to upload PDF to. */ VoucherID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LedgerVoucherPdfUploadPdfParams contains all the parameters to send to the API endpoint for the ledger voucher pdf upload pdf operation typically these are written to a http.Request
func NewLedgerVoucherPdfUploadPdfParams ¶
func NewLedgerVoucherPdfUploadPdfParams() *LedgerVoucherPdfUploadPdfParams
NewLedgerVoucherPdfUploadPdfParams creates a new LedgerVoucherPdfUploadPdfParams object with the default values initialized.
func NewLedgerVoucherPdfUploadPdfParamsWithContext ¶
func NewLedgerVoucherPdfUploadPdfParamsWithContext(ctx context.Context) *LedgerVoucherPdfUploadPdfParams
NewLedgerVoucherPdfUploadPdfParamsWithContext creates a new LedgerVoucherPdfUploadPdfParams object with the default values initialized, and the ability to set a context for a request
func NewLedgerVoucherPdfUploadPdfParamsWithHTTPClient ¶
func NewLedgerVoucherPdfUploadPdfParamsWithHTTPClient(client *http.Client) *LedgerVoucherPdfUploadPdfParams
NewLedgerVoucherPdfUploadPdfParamsWithHTTPClient creates a new LedgerVoucherPdfUploadPdfParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLedgerVoucherPdfUploadPdfParamsWithTimeout ¶
func NewLedgerVoucherPdfUploadPdfParamsWithTimeout(timeout time.Duration) *LedgerVoucherPdfUploadPdfParams
NewLedgerVoucherPdfUploadPdfParamsWithTimeout creates a new LedgerVoucherPdfUploadPdfParams object with the default values initialized, and the ability to set a timeout on a request
func (*LedgerVoucherPdfUploadPdfParams) SetContext ¶
func (o *LedgerVoucherPdfUploadPdfParams) SetContext(ctx context.Context)
SetContext adds the context to the ledger voucher pdf upload pdf params
func (*LedgerVoucherPdfUploadPdfParams) SetFile ¶
func (o *LedgerVoucherPdfUploadPdfParams) SetFile(file runtime.NamedReadCloser)
SetFile adds the file to the ledger voucher pdf upload pdf params
func (*LedgerVoucherPdfUploadPdfParams) SetFileName ¶
func (o *LedgerVoucherPdfUploadPdfParams) SetFileName(fileName string)
SetFileName adds the fileName to the ledger voucher pdf upload pdf params
func (*LedgerVoucherPdfUploadPdfParams) SetHTTPClient ¶
func (o *LedgerVoucherPdfUploadPdfParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ledger voucher pdf upload pdf params
func (*LedgerVoucherPdfUploadPdfParams) SetTimeout ¶
func (o *LedgerVoucherPdfUploadPdfParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ledger voucher pdf upload pdf params
func (*LedgerVoucherPdfUploadPdfParams) SetVoucherID ¶
func (o *LedgerVoucherPdfUploadPdfParams) SetVoucherID(voucherID int32)
SetVoucherID adds the voucherId to the ledger voucher pdf upload pdf params
func (*LedgerVoucherPdfUploadPdfParams) WithContext ¶
func (o *LedgerVoucherPdfUploadPdfParams) WithContext(ctx context.Context) *LedgerVoucherPdfUploadPdfParams
WithContext adds the context to the ledger voucher pdf upload pdf params
func (*LedgerVoucherPdfUploadPdfParams) WithFile ¶
func (o *LedgerVoucherPdfUploadPdfParams) WithFile(file runtime.NamedReadCloser) *LedgerVoucherPdfUploadPdfParams
WithFile adds the file to the ledger voucher pdf upload pdf params
func (*LedgerVoucherPdfUploadPdfParams) WithFileName ¶
func (o *LedgerVoucherPdfUploadPdfParams) WithFileName(fileName string) *LedgerVoucherPdfUploadPdfParams
WithFileName adds the fileName to the ledger voucher pdf upload pdf params
func (*LedgerVoucherPdfUploadPdfParams) WithHTTPClient ¶
func (o *LedgerVoucherPdfUploadPdfParams) WithHTTPClient(client *http.Client) *LedgerVoucherPdfUploadPdfParams
WithHTTPClient adds the HTTPClient to the ledger voucher pdf upload pdf params
func (*LedgerVoucherPdfUploadPdfParams) WithTimeout ¶
func (o *LedgerVoucherPdfUploadPdfParams) WithTimeout(timeout time.Duration) *LedgerVoucherPdfUploadPdfParams
WithTimeout adds the timeout to the ledger voucher pdf upload pdf params
func (*LedgerVoucherPdfUploadPdfParams) WithVoucherID ¶
func (o *LedgerVoucherPdfUploadPdfParams) WithVoucherID(voucherID int32) *LedgerVoucherPdfUploadPdfParams
WithVoucherID adds the voucherID to the ledger voucher pdf upload pdf params
func (*LedgerVoucherPdfUploadPdfParams) WriteToRequest ¶
func (o *LedgerVoucherPdfUploadPdfParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LedgerVoucherPdfUploadPdfReader ¶
type LedgerVoucherPdfUploadPdfReader struct {
// contains filtered or unexported fields
}
LedgerVoucherPdfUploadPdfReader is a Reader for the LedgerVoucherPdfUploadPdf structure.
func (*LedgerVoucherPdfUploadPdfReader) ReadResponse ¶
func (o *LedgerVoucherPdfUploadPdfReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LedgerVoucherPostCreated ¶
type LedgerVoucherPostCreated struct {
Payload *models.ResponseWrapperVoucher
}
LedgerVoucherPostCreated handles this case with default header values.
successfully created
func NewLedgerVoucherPostCreated ¶
func NewLedgerVoucherPostCreated() *LedgerVoucherPostCreated
NewLedgerVoucherPostCreated creates a LedgerVoucherPostCreated with default headers values
func (*LedgerVoucherPostCreated) Error ¶
func (o *LedgerVoucherPostCreated) Error() string
func (*LedgerVoucherPostCreated) GetPayload ¶
func (o *LedgerVoucherPostCreated) GetPayload() *models.ResponseWrapperVoucher
type LedgerVoucherPostParams ¶
type LedgerVoucherPostParams struct { /*Body JSON representing the new object to be created. Should not have ID and version set. */ Body *models.Voucher /*SendToLedger Should the voucher be sent to ledger? Requires the "Advanced Voucher" permission. */ SendToLedger *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LedgerVoucherPostParams contains all the parameters to send to the API endpoint for the ledger voucher post operation typically these are written to a http.Request
func NewLedgerVoucherPostParams ¶
func NewLedgerVoucherPostParams() *LedgerVoucherPostParams
NewLedgerVoucherPostParams creates a new LedgerVoucherPostParams object with the default values initialized.
func NewLedgerVoucherPostParamsWithContext ¶
func NewLedgerVoucherPostParamsWithContext(ctx context.Context) *LedgerVoucherPostParams
NewLedgerVoucherPostParamsWithContext creates a new LedgerVoucherPostParams object with the default values initialized, and the ability to set a context for a request
func NewLedgerVoucherPostParamsWithHTTPClient ¶
func NewLedgerVoucherPostParamsWithHTTPClient(client *http.Client) *LedgerVoucherPostParams
NewLedgerVoucherPostParamsWithHTTPClient creates a new LedgerVoucherPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLedgerVoucherPostParamsWithTimeout ¶
func NewLedgerVoucherPostParamsWithTimeout(timeout time.Duration) *LedgerVoucherPostParams
NewLedgerVoucherPostParamsWithTimeout creates a new LedgerVoucherPostParams object with the default values initialized, and the ability to set a timeout on a request
func (*LedgerVoucherPostParams) SetBody ¶
func (o *LedgerVoucherPostParams) SetBody(body *models.Voucher)
SetBody adds the body to the ledger voucher post params
func (*LedgerVoucherPostParams) SetContext ¶
func (o *LedgerVoucherPostParams) SetContext(ctx context.Context)
SetContext adds the context to the ledger voucher post params
func (*LedgerVoucherPostParams) SetHTTPClient ¶
func (o *LedgerVoucherPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ledger voucher post params
func (*LedgerVoucherPostParams) SetSendToLedger ¶
func (o *LedgerVoucherPostParams) SetSendToLedger(sendToLedger *bool)
SetSendToLedger adds the sendToLedger to the ledger voucher post params
func (*LedgerVoucherPostParams) SetTimeout ¶
func (o *LedgerVoucherPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ledger voucher post params
func (*LedgerVoucherPostParams) WithBody ¶
func (o *LedgerVoucherPostParams) WithBody(body *models.Voucher) *LedgerVoucherPostParams
WithBody adds the body to the ledger voucher post params
func (*LedgerVoucherPostParams) WithContext ¶
func (o *LedgerVoucherPostParams) WithContext(ctx context.Context) *LedgerVoucherPostParams
WithContext adds the context to the ledger voucher post params
func (*LedgerVoucherPostParams) WithHTTPClient ¶
func (o *LedgerVoucherPostParams) WithHTTPClient(client *http.Client) *LedgerVoucherPostParams
WithHTTPClient adds the HTTPClient to the ledger voucher post params
func (*LedgerVoucherPostParams) WithSendToLedger ¶
func (o *LedgerVoucherPostParams) WithSendToLedger(sendToLedger *bool) *LedgerVoucherPostParams
WithSendToLedger adds the sendToLedger to the ledger voucher post params
func (*LedgerVoucherPostParams) WithTimeout ¶
func (o *LedgerVoucherPostParams) WithTimeout(timeout time.Duration) *LedgerVoucherPostParams
WithTimeout adds the timeout to the ledger voucher post params
func (*LedgerVoucherPostParams) WriteToRequest ¶
func (o *LedgerVoucherPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LedgerVoucherPostReader ¶
type LedgerVoucherPostReader struct {
// contains filtered or unexported fields
}
LedgerVoucherPostReader is a Reader for the LedgerVoucherPost structure.
func (*LedgerVoucherPostReader) ReadResponse ¶
func (o *LedgerVoucherPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LedgerVoucherPutOK ¶
type LedgerVoucherPutOK struct {
Payload *models.ResponseWrapperVoucher
}
LedgerVoucherPutOK handles this case with default header values.
successful operation
func NewLedgerVoucherPutOK ¶
func NewLedgerVoucherPutOK() *LedgerVoucherPutOK
NewLedgerVoucherPutOK creates a LedgerVoucherPutOK with default headers values
func (*LedgerVoucherPutOK) Error ¶
func (o *LedgerVoucherPutOK) Error() string
func (*LedgerVoucherPutOK) GetPayload ¶
func (o *LedgerVoucherPutOK) GetPayload() *models.ResponseWrapperVoucher
type LedgerVoucherPutParams ¶
type LedgerVoucherPutParams struct { /*Body Partial object describing what should be updated */ Body *models.Voucher /*ID Element ID */ ID int32 /*SendToLedger Should the voucher be sent to ledger? Requires the "Advanced Voucher" permission. */ SendToLedger *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LedgerVoucherPutParams contains all the parameters to send to the API endpoint for the ledger voucher put operation typically these are written to a http.Request
func NewLedgerVoucherPutParams ¶
func NewLedgerVoucherPutParams() *LedgerVoucherPutParams
NewLedgerVoucherPutParams creates a new LedgerVoucherPutParams object with the default values initialized.
func NewLedgerVoucherPutParamsWithContext ¶
func NewLedgerVoucherPutParamsWithContext(ctx context.Context) *LedgerVoucherPutParams
NewLedgerVoucherPutParamsWithContext creates a new LedgerVoucherPutParams object with the default values initialized, and the ability to set a context for a request
func NewLedgerVoucherPutParamsWithHTTPClient ¶
func NewLedgerVoucherPutParamsWithHTTPClient(client *http.Client) *LedgerVoucherPutParams
NewLedgerVoucherPutParamsWithHTTPClient creates a new LedgerVoucherPutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLedgerVoucherPutParamsWithTimeout ¶
func NewLedgerVoucherPutParamsWithTimeout(timeout time.Duration) *LedgerVoucherPutParams
NewLedgerVoucherPutParamsWithTimeout creates a new LedgerVoucherPutParams object with the default values initialized, and the ability to set a timeout on a request
func (*LedgerVoucherPutParams) SetBody ¶
func (o *LedgerVoucherPutParams) SetBody(body *models.Voucher)
SetBody adds the body to the ledger voucher put params
func (*LedgerVoucherPutParams) SetContext ¶
func (o *LedgerVoucherPutParams) SetContext(ctx context.Context)
SetContext adds the context to the ledger voucher put params
func (*LedgerVoucherPutParams) SetHTTPClient ¶
func (o *LedgerVoucherPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ledger voucher put params
func (*LedgerVoucherPutParams) SetID ¶
func (o *LedgerVoucherPutParams) SetID(id int32)
SetID adds the id to the ledger voucher put params
func (*LedgerVoucherPutParams) SetSendToLedger ¶
func (o *LedgerVoucherPutParams) SetSendToLedger(sendToLedger *bool)
SetSendToLedger adds the sendToLedger to the ledger voucher put params
func (*LedgerVoucherPutParams) SetTimeout ¶
func (o *LedgerVoucherPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ledger voucher put params
func (*LedgerVoucherPutParams) WithBody ¶
func (o *LedgerVoucherPutParams) WithBody(body *models.Voucher) *LedgerVoucherPutParams
WithBody adds the body to the ledger voucher put params
func (*LedgerVoucherPutParams) WithContext ¶
func (o *LedgerVoucherPutParams) WithContext(ctx context.Context) *LedgerVoucherPutParams
WithContext adds the context to the ledger voucher put params
func (*LedgerVoucherPutParams) WithHTTPClient ¶
func (o *LedgerVoucherPutParams) WithHTTPClient(client *http.Client) *LedgerVoucherPutParams
WithHTTPClient adds the HTTPClient to the ledger voucher put params
func (*LedgerVoucherPutParams) WithID ¶
func (o *LedgerVoucherPutParams) WithID(id int32) *LedgerVoucherPutParams
WithID adds the id to the ledger voucher put params
func (*LedgerVoucherPutParams) WithSendToLedger ¶
func (o *LedgerVoucherPutParams) WithSendToLedger(sendToLedger *bool) *LedgerVoucherPutParams
WithSendToLedger adds the sendToLedger to the ledger voucher put params
func (*LedgerVoucherPutParams) WithTimeout ¶
func (o *LedgerVoucherPutParams) WithTimeout(timeout time.Duration) *LedgerVoucherPutParams
WithTimeout adds the timeout to the ledger voucher put params
func (*LedgerVoucherPutParams) WriteToRequest ¶
func (o *LedgerVoucherPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LedgerVoucherPutReader ¶
type LedgerVoucherPutReader struct {
// contains filtered or unexported fields
}
LedgerVoucherPutReader is a Reader for the LedgerVoucherPut structure.
func (*LedgerVoucherPutReader) ReadResponse ¶
func (o *LedgerVoucherPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LedgerVoucherReverseReverseOK ¶
type LedgerVoucherReverseReverseOK struct {
Payload *models.ResponseWrapperVoucher
}
LedgerVoucherReverseReverseOK handles this case with default header values.
successful operation
func NewLedgerVoucherReverseReverseOK ¶
func NewLedgerVoucherReverseReverseOK() *LedgerVoucherReverseReverseOK
NewLedgerVoucherReverseReverseOK creates a LedgerVoucherReverseReverseOK with default headers values
func (*LedgerVoucherReverseReverseOK) Error ¶
func (o *LedgerVoucherReverseReverseOK) Error() string
func (*LedgerVoucherReverseReverseOK) GetPayload ¶
func (o *LedgerVoucherReverseReverseOK) GetPayload() *models.ResponseWrapperVoucher
type LedgerVoucherReverseReverseParams ¶
type LedgerVoucherReverseReverseParams struct { /*Date Reverse voucher date */ Date string /*ID ID of voucher that should be reversed. */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LedgerVoucherReverseReverseParams contains all the parameters to send to the API endpoint for the ledger voucher reverse reverse operation typically these are written to a http.Request
func NewLedgerVoucherReverseReverseParams ¶
func NewLedgerVoucherReverseReverseParams() *LedgerVoucherReverseReverseParams
NewLedgerVoucherReverseReverseParams creates a new LedgerVoucherReverseReverseParams object with the default values initialized.
func NewLedgerVoucherReverseReverseParamsWithContext ¶
func NewLedgerVoucherReverseReverseParamsWithContext(ctx context.Context) *LedgerVoucherReverseReverseParams
NewLedgerVoucherReverseReverseParamsWithContext creates a new LedgerVoucherReverseReverseParams object with the default values initialized, and the ability to set a context for a request
func NewLedgerVoucherReverseReverseParamsWithHTTPClient ¶
func NewLedgerVoucherReverseReverseParamsWithHTTPClient(client *http.Client) *LedgerVoucherReverseReverseParams
NewLedgerVoucherReverseReverseParamsWithHTTPClient creates a new LedgerVoucherReverseReverseParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLedgerVoucherReverseReverseParamsWithTimeout ¶
func NewLedgerVoucherReverseReverseParamsWithTimeout(timeout time.Duration) *LedgerVoucherReverseReverseParams
NewLedgerVoucherReverseReverseParamsWithTimeout creates a new LedgerVoucherReverseReverseParams object with the default values initialized, and the ability to set a timeout on a request
func (*LedgerVoucherReverseReverseParams) SetContext ¶
func (o *LedgerVoucherReverseReverseParams) SetContext(ctx context.Context)
SetContext adds the context to the ledger voucher reverse reverse params
func (*LedgerVoucherReverseReverseParams) SetDate ¶
func (o *LedgerVoucherReverseReverseParams) SetDate(date string)
SetDate adds the date to the ledger voucher reverse reverse params
func (*LedgerVoucherReverseReverseParams) SetHTTPClient ¶
func (o *LedgerVoucherReverseReverseParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ledger voucher reverse reverse params
func (*LedgerVoucherReverseReverseParams) SetID ¶
func (o *LedgerVoucherReverseReverseParams) SetID(id int32)
SetID adds the id to the ledger voucher reverse reverse params
func (*LedgerVoucherReverseReverseParams) SetTimeout ¶
func (o *LedgerVoucherReverseReverseParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ledger voucher reverse reverse params
func (*LedgerVoucherReverseReverseParams) WithContext ¶
func (o *LedgerVoucherReverseReverseParams) WithContext(ctx context.Context) *LedgerVoucherReverseReverseParams
WithContext adds the context to the ledger voucher reverse reverse params
func (*LedgerVoucherReverseReverseParams) WithDate ¶
func (o *LedgerVoucherReverseReverseParams) WithDate(date string) *LedgerVoucherReverseReverseParams
WithDate adds the date to the ledger voucher reverse reverse params
func (*LedgerVoucherReverseReverseParams) WithHTTPClient ¶
func (o *LedgerVoucherReverseReverseParams) WithHTTPClient(client *http.Client) *LedgerVoucherReverseReverseParams
WithHTTPClient adds the HTTPClient to the ledger voucher reverse reverse params
func (*LedgerVoucherReverseReverseParams) WithID ¶
func (o *LedgerVoucherReverseReverseParams) WithID(id int32) *LedgerVoucherReverseReverseParams
WithID adds the id to the ledger voucher reverse reverse params
func (*LedgerVoucherReverseReverseParams) WithTimeout ¶
func (o *LedgerVoucherReverseReverseParams) WithTimeout(timeout time.Duration) *LedgerVoucherReverseReverseParams
WithTimeout adds the timeout to the ledger voucher reverse reverse params
func (*LedgerVoucherReverseReverseParams) WriteToRequest ¶
func (o *LedgerVoucherReverseReverseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LedgerVoucherReverseReverseReader ¶
type LedgerVoucherReverseReverseReader struct {
// contains filtered or unexported fields
}
LedgerVoucherReverseReverseReader is a Reader for the LedgerVoucherReverseReverse structure.
func (*LedgerVoucherReverseReverseReader) ReadResponse ¶
func (o *LedgerVoucherReverseReverseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LedgerVoucherSearchOK ¶
type LedgerVoucherSearchOK struct {
Payload *models.VoucherSearchResponse
}
LedgerVoucherSearchOK handles this case with default header values.
successful operation
func NewLedgerVoucherSearchOK ¶
func NewLedgerVoucherSearchOK() *LedgerVoucherSearchOK
NewLedgerVoucherSearchOK creates a LedgerVoucherSearchOK with default headers values
func (*LedgerVoucherSearchOK) Error ¶
func (o *LedgerVoucherSearchOK) Error() string
func (*LedgerVoucherSearchOK) GetPayload ¶
func (o *LedgerVoucherSearchOK) GetPayload() *models.VoucherSearchResponse
type LedgerVoucherSearchParams ¶
type LedgerVoucherSearchParams struct { /*Count Number of elements to return */ Count *int64 /*DateFrom From and including */ DateFrom string /*DateTo To and excluding */ DateTo string /*Fields Fields filter pattern */ Fields *string /*From From index */ From *int64 /*ID List of IDs */ ID *string /*Number List of IDs */ Number *string /*NumberFrom From and including */ NumberFrom *int32 /*NumberTo To and excluding */ NumberTo *int32 /*Sorting Sorting pattern */ Sorting *string /*TypeID List of IDs */ TypeID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LedgerVoucherSearchParams contains all the parameters to send to the API endpoint for the ledger voucher search operation typically these are written to a http.Request
func NewLedgerVoucherSearchParams ¶
func NewLedgerVoucherSearchParams() *LedgerVoucherSearchParams
NewLedgerVoucherSearchParams creates a new LedgerVoucherSearchParams object with the default values initialized.
func NewLedgerVoucherSearchParamsWithContext ¶
func NewLedgerVoucherSearchParamsWithContext(ctx context.Context) *LedgerVoucherSearchParams
NewLedgerVoucherSearchParamsWithContext creates a new LedgerVoucherSearchParams object with the default values initialized, and the ability to set a context for a request
func NewLedgerVoucherSearchParamsWithHTTPClient ¶
func NewLedgerVoucherSearchParamsWithHTTPClient(client *http.Client) *LedgerVoucherSearchParams
NewLedgerVoucherSearchParamsWithHTTPClient creates a new LedgerVoucherSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLedgerVoucherSearchParamsWithTimeout ¶
func NewLedgerVoucherSearchParamsWithTimeout(timeout time.Duration) *LedgerVoucherSearchParams
NewLedgerVoucherSearchParamsWithTimeout creates a new LedgerVoucherSearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*LedgerVoucherSearchParams) SetContext ¶
func (o *LedgerVoucherSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the ledger voucher search params
func (*LedgerVoucherSearchParams) SetCount ¶
func (o *LedgerVoucherSearchParams) SetCount(count *int64)
SetCount adds the count to the ledger voucher search params
func (*LedgerVoucherSearchParams) SetDateFrom ¶
func (o *LedgerVoucherSearchParams) SetDateFrom(dateFrom string)
SetDateFrom adds the dateFrom to the ledger voucher search params
func (*LedgerVoucherSearchParams) SetDateTo ¶
func (o *LedgerVoucherSearchParams) SetDateTo(dateTo string)
SetDateTo adds the dateTo to the ledger voucher search params
func (*LedgerVoucherSearchParams) SetFields ¶
func (o *LedgerVoucherSearchParams) SetFields(fields *string)
SetFields adds the fields to the ledger voucher search params
func (*LedgerVoucherSearchParams) SetFrom ¶
func (o *LedgerVoucherSearchParams) SetFrom(from *int64)
SetFrom adds the from to the ledger voucher search params
func (*LedgerVoucherSearchParams) SetHTTPClient ¶
func (o *LedgerVoucherSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ledger voucher search params
func (*LedgerVoucherSearchParams) SetID ¶
func (o *LedgerVoucherSearchParams) SetID(id *string)
SetID adds the id to the ledger voucher search params
func (*LedgerVoucherSearchParams) SetNumber ¶
func (o *LedgerVoucherSearchParams) SetNumber(number *string)
SetNumber adds the number to the ledger voucher search params
func (*LedgerVoucherSearchParams) SetNumberFrom ¶
func (o *LedgerVoucherSearchParams) SetNumberFrom(numberFrom *int32)
SetNumberFrom adds the numberFrom to the ledger voucher search params
func (*LedgerVoucherSearchParams) SetNumberTo ¶
func (o *LedgerVoucherSearchParams) SetNumberTo(numberTo *int32)
SetNumberTo adds the numberTo to the ledger voucher search params
func (*LedgerVoucherSearchParams) SetSorting ¶
func (o *LedgerVoucherSearchParams) SetSorting(sorting *string)
SetSorting adds the sorting to the ledger voucher search params
func (*LedgerVoucherSearchParams) SetTimeout ¶
func (o *LedgerVoucherSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ledger voucher search params
func (*LedgerVoucherSearchParams) SetTypeID ¶
func (o *LedgerVoucherSearchParams) SetTypeID(typeID *string)
SetTypeID adds the typeId to the ledger voucher search params
func (*LedgerVoucherSearchParams) WithContext ¶
func (o *LedgerVoucherSearchParams) WithContext(ctx context.Context) *LedgerVoucherSearchParams
WithContext adds the context to the ledger voucher search params
func (*LedgerVoucherSearchParams) WithCount ¶
func (o *LedgerVoucherSearchParams) WithCount(count *int64) *LedgerVoucherSearchParams
WithCount adds the count to the ledger voucher search params
func (*LedgerVoucherSearchParams) WithDateFrom ¶
func (o *LedgerVoucherSearchParams) WithDateFrom(dateFrom string) *LedgerVoucherSearchParams
WithDateFrom adds the dateFrom to the ledger voucher search params
func (*LedgerVoucherSearchParams) WithDateTo ¶
func (o *LedgerVoucherSearchParams) WithDateTo(dateTo string) *LedgerVoucherSearchParams
WithDateTo adds the dateTo to the ledger voucher search params
func (*LedgerVoucherSearchParams) WithFields ¶
func (o *LedgerVoucherSearchParams) WithFields(fields *string) *LedgerVoucherSearchParams
WithFields adds the fields to the ledger voucher search params
func (*LedgerVoucherSearchParams) WithFrom ¶
func (o *LedgerVoucherSearchParams) WithFrom(from *int64) *LedgerVoucherSearchParams
WithFrom adds the from to the ledger voucher search params
func (*LedgerVoucherSearchParams) WithHTTPClient ¶
func (o *LedgerVoucherSearchParams) WithHTTPClient(client *http.Client) *LedgerVoucherSearchParams
WithHTTPClient adds the HTTPClient to the ledger voucher search params
func (*LedgerVoucherSearchParams) WithID ¶
func (o *LedgerVoucherSearchParams) WithID(id *string) *LedgerVoucherSearchParams
WithID adds the id to the ledger voucher search params
func (*LedgerVoucherSearchParams) WithNumber ¶
func (o *LedgerVoucherSearchParams) WithNumber(number *string) *LedgerVoucherSearchParams
WithNumber adds the number to the ledger voucher search params
func (*LedgerVoucherSearchParams) WithNumberFrom ¶
func (o *LedgerVoucherSearchParams) WithNumberFrom(numberFrom *int32) *LedgerVoucherSearchParams
WithNumberFrom adds the numberFrom to the ledger voucher search params
func (*LedgerVoucherSearchParams) WithNumberTo ¶
func (o *LedgerVoucherSearchParams) WithNumberTo(numberTo *int32) *LedgerVoucherSearchParams
WithNumberTo adds the numberTo to the ledger voucher search params
func (*LedgerVoucherSearchParams) WithSorting ¶
func (o *LedgerVoucherSearchParams) WithSorting(sorting *string) *LedgerVoucherSearchParams
WithSorting adds the sorting to the ledger voucher search params
func (*LedgerVoucherSearchParams) WithTimeout ¶
func (o *LedgerVoucherSearchParams) WithTimeout(timeout time.Duration) *LedgerVoucherSearchParams
WithTimeout adds the timeout to the ledger voucher search params
func (*LedgerVoucherSearchParams) WithTypeID ¶
func (o *LedgerVoucherSearchParams) WithTypeID(typeID *string) *LedgerVoucherSearchParams
WithTypeID adds the typeID to the ledger voucher search params
func (*LedgerVoucherSearchParams) WriteToRequest ¶
func (o *LedgerVoucherSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LedgerVoucherSearchReader ¶
type LedgerVoucherSearchReader struct {
// contains filtered or unexported fields
}
LedgerVoucherSearchReader is a Reader for the LedgerVoucherSearch structure.
func (*LedgerVoucherSearchReader) ReadResponse ¶
func (o *LedgerVoucherSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LedgerVoucherSendToInboxSendToInboxOK ¶
type LedgerVoucherSendToInboxSendToInboxOK struct {
Payload *models.ResponseWrapperVoucher
}
LedgerVoucherSendToInboxSendToInboxOK handles this case with default header values.
successful operation
func NewLedgerVoucherSendToInboxSendToInboxOK ¶
func NewLedgerVoucherSendToInboxSendToInboxOK() *LedgerVoucherSendToInboxSendToInboxOK
NewLedgerVoucherSendToInboxSendToInboxOK creates a LedgerVoucherSendToInboxSendToInboxOK with default headers values
func (*LedgerVoucherSendToInboxSendToInboxOK) Error ¶
func (o *LedgerVoucherSendToInboxSendToInboxOK) Error() string
func (*LedgerVoucherSendToInboxSendToInboxOK) GetPayload ¶
func (o *LedgerVoucherSendToInboxSendToInboxOK) GetPayload() *models.ResponseWrapperVoucher
type LedgerVoucherSendToInboxSendToInboxParams ¶
type LedgerVoucherSendToInboxSendToInboxParams struct { /*Comment Description of why the voucher was rejected. This parameter is only used if the approval feature is enabled. */ Comment *string /*ID ID of voucher that should be sent to inbox. */ ID int32 /*Version Version of voucher that should be sent to inbox. */ Version *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LedgerVoucherSendToInboxSendToInboxParams contains all the parameters to send to the API endpoint for the ledger voucher send to inbox send to inbox operation typically these are written to a http.Request
func NewLedgerVoucherSendToInboxSendToInboxParams ¶
func NewLedgerVoucherSendToInboxSendToInboxParams() *LedgerVoucherSendToInboxSendToInboxParams
NewLedgerVoucherSendToInboxSendToInboxParams creates a new LedgerVoucherSendToInboxSendToInboxParams object with the default values initialized.
func NewLedgerVoucherSendToInboxSendToInboxParamsWithContext ¶
func NewLedgerVoucherSendToInboxSendToInboxParamsWithContext(ctx context.Context) *LedgerVoucherSendToInboxSendToInboxParams
NewLedgerVoucherSendToInboxSendToInboxParamsWithContext creates a new LedgerVoucherSendToInboxSendToInboxParams object with the default values initialized, and the ability to set a context for a request
func NewLedgerVoucherSendToInboxSendToInboxParamsWithHTTPClient ¶
func NewLedgerVoucherSendToInboxSendToInboxParamsWithHTTPClient(client *http.Client) *LedgerVoucherSendToInboxSendToInboxParams
NewLedgerVoucherSendToInboxSendToInboxParamsWithHTTPClient creates a new LedgerVoucherSendToInboxSendToInboxParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLedgerVoucherSendToInboxSendToInboxParamsWithTimeout ¶
func NewLedgerVoucherSendToInboxSendToInboxParamsWithTimeout(timeout time.Duration) *LedgerVoucherSendToInboxSendToInboxParams
NewLedgerVoucherSendToInboxSendToInboxParamsWithTimeout creates a new LedgerVoucherSendToInboxSendToInboxParams object with the default values initialized, and the ability to set a timeout on a request
func (*LedgerVoucherSendToInboxSendToInboxParams) SetComment ¶
func (o *LedgerVoucherSendToInboxSendToInboxParams) SetComment(comment *string)
SetComment adds the comment to the ledger voucher send to inbox send to inbox params
func (*LedgerVoucherSendToInboxSendToInboxParams) SetContext ¶
func (o *LedgerVoucherSendToInboxSendToInboxParams) SetContext(ctx context.Context)
SetContext adds the context to the ledger voucher send to inbox send to inbox params
func (*LedgerVoucherSendToInboxSendToInboxParams) SetHTTPClient ¶
func (o *LedgerVoucherSendToInboxSendToInboxParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ledger voucher send to inbox send to inbox params
func (*LedgerVoucherSendToInboxSendToInboxParams) SetID ¶
func (o *LedgerVoucherSendToInboxSendToInboxParams) SetID(id int32)
SetID adds the id to the ledger voucher send to inbox send to inbox params
func (*LedgerVoucherSendToInboxSendToInboxParams) SetTimeout ¶
func (o *LedgerVoucherSendToInboxSendToInboxParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ledger voucher send to inbox send to inbox params
func (*LedgerVoucherSendToInboxSendToInboxParams) SetVersion ¶
func (o *LedgerVoucherSendToInboxSendToInboxParams) SetVersion(version *int32)
SetVersion adds the version to the ledger voucher send to inbox send to inbox params
func (*LedgerVoucherSendToInboxSendToInboxParams) WithComment ¶
func (o *LedgerVoucherSendToInboxSendToInboxParams) WithComment(comment *string) *LedgerVoucherSendToInboxSendToInboxParams
WithComment adds the comment to the ledger voucher send to inbox send to inbox params
func (*LedgerVoucherSendToInboxSendToInboxParams) WithContext ¶
func (o *LedgerVoucherSendToInboxSendToInboxParams) WithContext(ctx context.Context) *LedgerVoucherSendToInboxSendToInboxParams
WithContext adds the context to the ledger voucher send to inbox send to inbox params
func (*LedgerVoucherSendToInboxSendToInboxParams) WithHTTPClient ¶
func (o *LedgerVoucherSendToInboxSendToInboxParams) WithHTTPClient(client *http.Client) *LedgerVoucherSendToInboxSendToInboxParams
WithHTTPClient adds the HTTPClient to the ledger voucher send to inbox send to inbox params
func (*LedgerVoucherSendToInboxSendToInboxParams) WithID ¶
func (o *LedgerVoucherSendToInboxSendToInboxParams) WithID(id int32) *LedgerVoucherSendToInboxSendToInboxParams
WithID adds the id to the ledger voucher send to inbox send to inbox params
func (*LedgerVoucherSendToInboxSendToInboxParams) WithTimeout ¶
func (o *LedgerVoucherSendToInboxSendToInboxParams) WithTimeout(timeout time.Duration) *LedgerVoucherSendToInboxSendToInboxParams
WithTimeout adds the timeout to the ledger voucher send to inbox send to inbox params
func (*LedgerVoucherSendToInboxSendToInboxParams) WithVersion ¶
func (o *LedgerVoucherSendToInboxSendToInboxParams) WithVersion(version *int32) *LedgerVoucherSendToInboxSendToInboxParams
WithVersion adds the version to the ledger voucher send to inbox send to inbox params
func (*LedgerVoucherSendToInboxSendToInboxParams) WriteToRequest ¶
func (o *LedgerVoucherSendToInboxSendToInboxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LedgerVoucherSendToInboxSendToInboxReader ¶
type LedgerVoucherSendToInboxSendToInboxReader struct {
// contains filtered or unexported fields
}
LedgerVoucherSendToInboxSendToInboxReader is a Reader for the LedgerVoucherSendToInboxSendToInbox structure.
func (*LedgerVoucherSendToInboxSendToInboxReader) ReadResponse ¶
func (o *LedgerVoucherSendToInboxSendToInboxReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LedgerVoucherSendToLedgerSendToLedgerOK ¶
type LedgerVoucherSendToLedgerSendToLedgerOK struct {
Payload *models.ResponseWrapperVoucher
}
LedgerVoucherSendToLedgerSendToLedgerOK handles this case with default header values.
successful operation
func NewLedgerVoucherSendToLedgerSendToLedgerOK ¶
func NewLedgerVoucherSendToLedgerSendToLedgerOK() *LedgerVoucherSendToLedgerSendToLedgerOK
NewLedgerVoucherSendToLedgerSendToLedgerOK creates a LedgerVoucherSendToLedgerSendToLedgerOK with default headers values
func (*LedgerVoucherSendToLedgerSendToLedgerOK) Error ¶
func (o *LedgerVoucherSendToLedgerSendToLedgerOK) Error() string
func (*LedgerVoucherSendToLedgerSendToLedgerOK) GetPayload ¶
func (o *LedgerVoucherSendToLedgerSendToLedgerOK) GetPayload() *models.ResponseWrapperVoucher
type LedgerVoucherSendToLedgerSendToLedgerParams ¶
type LedgerVoucherSendToLedgerSendToLedgerParams struct { /*ID ID of voucher that should be sent to ledger. */ ID int32 /*Number Voucher number to use. If omitted or 0 the system will assign the number. */ Number *int32 /*Version Version of voucher that should be sent to ledger. */ Version *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LedgerVoucherSendToLedgerSendToLedgerParams contains all the parameters to send to the API endpoint for the ledger voucher send to ledger send to ledger operation typically these are written to a http.Request
func NewLedgerVoucherSendToLedgerSendToLedgerParams ¶
func NewLedgerVoucherSendToLedgerSendToLedgerParams() *LedgerVoucherSendToLedgerSendToLedgerParams
NewLedgerVoucherSendToLedgerSendToLedgerParams creates a new LedgerVoucherSendToLedgerSendToLedgerParams object with the default values initialized.
func NewLedgerVoucherSendToLedgerSendToLedgerParamsWithContext ¶
func NewLedgerVoucherSendToLedgerSendToLedgerParamsWithContext(ctx context.Context) *LedgerVoucherSendToLedgerSendToLedgerParams
NewLedgerVoucherSendToLedgerSendToLedgerParamsWithContext creates a new LedgerVoucherSendToLedgerSendToLedgerParams object with the default values initialized, and the ability to set a context for a request
func NewLedgerVoucherSendToLedgerSendToLedgerParamsWithHTTPClient ¶
func NewLedgerVoucherSendToLedgerSendToLedgerParamsWithHTTPClient(client *http.Client) *LedgerVoucherSendToLedgerSendToLedgerParams
NewLedgerVoucherSendToLedgerSendToLedgerParamsWithHTTPClient creates a new LedgerVoucherSendToLedgerSendToLedgerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLedgerVoucherSendToLedgerSendToLedgerParamsWithTimeout ¶
func NewLedgerVoucherSendToLedgerSendToLedgerParamsWithTimeout(timeout time.Duration) *LedgerVoucherSendToLedgerSendToLedgerParams
NewLedgerVoucherSendToLedgerSendToLedgerParamsWithTimeout creates a new LedgerVoucherSendToLedgerSendToLedgerParams object with the default values initialized, and the ability to set a timeout on a request
func (*LedgerVoucherSendToLedgerSendToLedgerParams) SetContext ¶
func (o *LedgerVoucherSendToLedgerSendToLedgerParams) SetContext(ctx context.Context)
SetContext adds the context to the ledger voucher send to ledger send to ledger params
func (*LedgerVoucherSendToLedgerSendToLedgerParams) SetHTTPClient ¶
func (o *LedgerVoucherSendToLedgerSendToLedgerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ledger voucher send to ledger send to ledger params
func (*LedgerVoucherSendToLedgerSendToLedgerParams) SetID ¶
func (o *LedgerVoucherSendToLedgerSendToLedgerParams) SetID(id int32)
SetID adds the id to the ledger voucher send to ledger send to ledger params
func (*LedgerVoucherSendToLedgerSendToLedgerParams) SetNumber ¶
func (o *LedgerVoucherSendToLedgerSendToLedgerParams) SetNumber(number *int32)
SetNumber adds the number to the ledger voucher send to ledger send to ledger params
func (*LedgerVoucherSendToLedgerSendToLedgerParams) SetTimeout ¶
func (o *LedgerVoucherSendToLedgerSendToLedgerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ledger voucher send to ledger send to ledger params
func (*LedgerVoucherSendToLedgerSendToLedgerParams) SetVersion ¶
func (o *LedgerVoucherSendToLedgerSendToLedgerParams) SetVersion(version *int32)
SetVersion adds the version to the ledger voucher send to ledger send to ledger params
func (*LedgerVoucherSendToLedgerSendToLedgerParams) WithContext ¶
func (o *LedgerVoucherSendToLedgerSendToLedgerParams) WithContext(ctx context.Context) *LedgerVoucherSendToLedgerSendToLedgerParams
WithContext adds the context to the ledger voucher send to ledger send to ledger params
func (*LedgerVoucherSendToLedgerSendToLedgerParams) WithHTTPClient ¶
func (o *LedgerVoucherSendToLedgerSendToLedgerParams) WithHTTPClient(client *http.Client) *LedgerVoucherSendToLedgerSendToLedgerParams
WithHTTPClient adds the HTTPClient to the ledger voucher send to ledger send to ledger params
func (*LedgerVoucherSendToLedgerSendToLedgerParams) WithID ¶
func (o *LedgerVoucherSendToLedgerSendToLedgerParams) WithID(id int32) *LedgerVoucherSendToLedgerSendToLedgerParams
WithID adds the id to the ledger voucher send to ledger send to ledger params
func (*LedgerVoucherSendToLedgerSendToLedgerParams) WithNumber ¶
func (o *LedgerVoucherSendToLedgerSendToLedgerParams) WithNumber(number *int32) *LedgerVoucherSendToLedgerSendToLedgerParams
WithNumber adds the number to the ledger voucher send to ledger send to ledger params
func (*LedgerVoucherSendToLedgerSendToLedgerParams) WithTimeout ¶
func (o *LedgerVoucherSendToLedgerSendToLedgerParams) WithTimeout(timeout time.Duration) *LedgerVoucherSendToLedgerSendToLedgerParams
WithTimeout adds the timeout to the ledger voucher send to ledger send to ledger params
func (*LedgerVoucherSendToLedgerSendToLedgerParams) WithVersion ¶
func (o *LedgerVoucherSendToLedgerSendToLedgerParams) WithVersion(version *int32) *LedgerVoucherSendToLedgerSendToLedgerParams
WithVersion adds the version to the ledger voucher send to ledger send to ledger params
func (*LedgerVoucherSendToLedgerSendToLedgerParams) WriteToRequest ¶
func (o *LedgerVoucherSendToLedgerSendToLedgerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LedgerVoucherSendToLedgerSendToLedgerReader ¶
type LedgerVoucherSendToLedgerSendToLedgerReader struct {
// contains filtered or unexported fields
}
LedgerVoucherSendToLedgerSendToLedgerReader is a Reader for the LedgerVoucherSendToLedgerSendToLedger structure.
func (*LedgerVoucherSendToLedgerSendToLedgerReader) ReadResponse ¶
func (o *LedgerVoucherSendToLedgerSendToLedgerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- ledger_voucher_attachment_delete_attachment_parameters.go
- ledger_voucher_attachment_delete_attachment_responses.go
- ledger_voucher_attachment_upload_attachment_parameters.go
- ledger_voucher_attachment_upload_attachment_responses.go
- ledger_voucher_delete_parameters.go
- ledger_voucher_delete_responses.go
- ledger_voucher_get_parameters.go
- ledger_voucher_get_responses.go
- ledger_voucher_import_document_import_document_parameters.go
- ledger_voucher_import_document_import_document_responses.go
- ledger_voucher_import_gbat10_import_gbat10_parameters.go
- ledger_voucher_import_gbat10_import_gbat10_responses.go
- ledger_voucher_list_put_list_parameters.go
- ledger_voucher_list_put_list_responses.go
- ledger_voucher_non_posted_non_posted_parameters.go
- ledger_voucher_non_posted_non_posted_responses.go
- ledger_voucher_options_options_parameters.go
- ledger_voucher_options_options_responses.go
- ledger_voucher_pdf_download_pdf_parameters.go
- ledger_voucher_pdf_download_pdf_responses.go
- ledger_voucher_pdf_upload_pdf_parameters.go
- ledger_voucher_pdf_upload_pdf_responses.go
- ledger_voucher_post_parameters.go
- ledger_voucher_post_responses.go
- ledger_voucher_put_parameters.go
- ledger_voucher_put_responses.go
- ledger_voucher_reverse_reverse_parameters.go
- ledger_voucher_reverse_reverse_responses.go
- ledger_voucher_search_parameters.go
- ledger_voucher_search_responses.go
- ledger_voucher_send_to_inbox_send_to_inbox_parameters.go
- ledger_voucher_send_to_inbox_send_to_inbox_responses.go
- ledger_voucher_send_to_ledger_send_to_ledger_parameters.go
- ledger_voucher_send_to_ledger_send_to_ledger_responses.go
- voucher_client.go