voucher

package
v2.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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

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

LedgerVoucherSendToInboxSendToInbox bs e t a send voucher to inbox

func (*Client) LedgerVoucherSendToLedgerSendToLedger

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

Code gets the status code for the ledger voucher attachment delete attachment default response

func (*LedgerVoucherAttachmentDeleteAttachmentDefault) Error

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

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

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

SetSplit adds the split to the ledger voucher attachment delete attachment params

func (*LedgerVoucherAttachmentDeleteAttachmentParams) SetTimeout

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

WithContext adds the context to the ledger voucher attachment delete attachment params

func (*LedgerVoucherAttachmentDeleteAttachmentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the ledger voucher attachment delete attachment params

func (*LedgerVoucherAttachmentDeleteAttachmentParams) WithID

WithID adds the id to the ledger voucher attachment delete attachment params

func (*LedgerVoucherAttachmentDeleteAttachmentParams) WithSendToInbox

WithSendToInbox adds the sendToInbox to the ledger voucher attachment delete attachment params

func (*LedgerVoucherAttachmentDeleteAttachmentParams) WithSplit

WithSplit adds the split to the ledger voucher attachment delete attachment params

func (*LedgerVoucherAttachmentDeleteAttachmentParams) WithTimeout

WithTimeout adds the timeout to the ledger voucher attachment delete attachment params

func (*LedgerVoucherAttachmentDeleteAttachmentParams) WithVersion

WithVersion adds the version to the ledger voucher attachment delete attachment params

func (*LedgerVoucherAttachmentDeleteAttachmentParams) WriteToRequest

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

Code gets the status code for the ledger voucher attachment upload attachment default response

func (*LedgerVoucherAttachmentUploadAttachmentDefault) Error

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

SetContext adds the context to the ledger voucher attachment upload attachment params

func (*LedgerVoucherAttachmentUploadAttachmentParams) SetFile

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

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

WithContext adds the context to the ledger voucher attachment upload attachment params

func (*LedgerVoucherAttachmentUploadAttachmentParams) WithFile

WithFile adds the file to the ledger voucher attachment upload attachment params

func (*LedgerVoucherAttachmentUploadAttachmentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the ledger voucher attachment upload attachment params

func (*LedgerVoucherAttachmentUploadAttachmentParams) WithTimeout

WithTimeout adds the timeout to the ledger voucher attachment upload attachment params

func (*LedgerVoucherAttachmentUploadAttachmentParams) WithVoucherID

WithVoucherID adds the voucherID to the ledger voucher attachment upload attachment params

func (*LedgerVoucherAttachmentUploadAttachmentParams) WriteToRequest

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

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

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

WithID adds the id to the ledger voucher delete params

func (*LedgerVoucherDeleteParams) WithTimeout

WithTimeout adds the timeout to the ledger voucher delete params

func (*LedgerVoucherDeleteParams) WriteToRequest

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

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

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

WithID adds the id to the ledger voucher get params

func (*LedgerVoucherGetParams) WithTimeout

WithTimeout adds the timeout to the ledger voucher get params

func (*LedgerVoucherGetParams) WriteToRequest

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 (*LedgerVoucherImportDocumentImportDocumentCreated) GetPayload

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

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

SetFile adds the file to the ledger voucher import document import document params

func (*LedgerVoucherImportDocumentImportDocumentParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the ledger voucher import document import document params

func (*LedgerVoucherImportDocumentImportDocumentParams) SetSplit

SetSplit adds the split to the ledger voucher import document import document params

func (*LedgerVoucherImportDocumentImportDocumentParams) SetTimeout

SetTimeout adds the timeout to the ledger voucher import document import document params

func (*LedgerVoucherImportDocumentImportDocumentParams) WithContext

WithContext adds the context to the ledger voucher import document import document params

func (*LedgerVoucherImportDocumentImportDocumentParams) WithDescription

WithDescription adds the description to the ledger voucher import document import document params

func (*LedgerVoucherImportDocumentImportDocumentParams) WithFile

WithFile adds the file to the ledger voucher import document import document params

func (*LedgerVoucherImportDocumentImportDocumentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the ledger voucher import document import document params

func (*LedgerVoucherImportDocumentImportDocumentParams) WithSplit

WithSplit adds the split to the ledger voucher import document import document params

func (*LedgerVoucherImportDocumentImportDocumentParams) WithTimeout

WithTimeout adds the timeout to the ledger voucher import document import document params

func (*LedgerVoucherImportDocumentImportDocumentParams) WriteToRequest

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

Code gets the status code for the ledger voucher import gbat10 import gbat10 default response

func (*LedgerVoucherImportGbat10ImportGbat10Default) Error

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

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

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

SetTimeout adds the timeout to the ledger voucher import gbat10 import gbat10 params

func (*LedgerVoucherImportGbat10ImportGbat10Params) WithContext

WithContext adds the context to the ledger voucher import gbat10 import gbat10 params

func (*LedgerVoucherImportGbat10ImportGbat10Params) WithEncoding

WithEncoding adds the encoding to the ledger voucher import gbat10 import gbat10 params

func (*LedgerVoucherImportGbat10ImportGbat10Params) WithFile

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

WithHTTPClient adds the HTTPClient to the ledger voucher import gbat10 import gbat10 params

func (*LedgerVoucherImportGbat10ImportGbat10Params) WithTimeout

WithTimeout adds the timeout to the ledger voucher import gbat10 import gbat10 params

func (*LedgerVoucherImportGbat10ImportGbat10Params) WriteToRequest

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 (*LedgerVoucherListPutListOK) GetPayload

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

WithBody adds the body to the ledger voucher list put list params

func (*LedgerVoucherListPutListParams) WithContext

WithContext adds the context to the ledger voucher list put list params

func (*LedgerVoucherListPutListParams) WithHTTPClient

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

WithTimeout adds the timeout to the ledger voucher list put list params

func (*LedgerVoucherListPutListParams) WriteToRequest

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 (*LedgerVoucherNonPostedNonPostedOK) GetPayload

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

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

WithChangedSince adds the changedSince to the ledger voucher non posted non posted params

func (*LedgerVoucherNonPostedNonPostedParams) WithContext

WithContext adds the context to the ledger voucher non posted non posted params

func (*LedgerVoucherNonPostedNonPostedParams) WithCount

WithCount adds the count to the ledger voucher non posted non posted params

func (*LedgerVoucherNonPostedNonPostedParams) WithDateFrom

WithDateFrom adds the dateFrom to the ledger voucher non posted non posted params

func (*LedgerVoucherNonPostedNonPostedParams) WithDateTo

WithDateTo adds the dateTo to the ledger voucher non posted non posted params

func (*LedgerVoucherNonPostedNonPostedParams) WithFields

WithFields adds the fields to the ledger voucher non posted non posted params

func (*LedgerVoucherNonPostedNonPostedParams) WithFrom

WithFrom adds the from to the ledger voucher non posted non posted params

func (*LedgerVoucherNonPostedNonPostedParams) WithHTTPClient

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

WithSorting adds the sorting to the ledger voucher non posted non posted params

func (*LedgerVoucherNonPostedNonPostedParams) WithTimeout

WithTimeout adds the timeout to the ledger voucher non posted non posted params

func (*LedgerVoucherNonPostedNonPostedParams) WriteToRequest

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 (*LedgerVoucherOptionsOptionsOK) GetPayload

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

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

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

WithContext adds the context to the ledger voucher options options params

func (*LedgerVoucherOptionsOptionsParams) WithFields

WithFields adds the fields to the ledger voucher options options params

func (*LedgerVoucherOptionsOptionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the ledger voucher options options params

func (*LedgerVoucherOptionsOptionsParams) WithID

WithID adds the id to the ledger voucher options options params

func (*LedgerVoucherOptionsOptionsParams) WithTimeout

WithTimeout adds the timeout to the ledger voucher options options params

func (*LedgerVoucherOptionsOptionsParams) WriteToRequest

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

type LedgerVoucherPdfDownloadPdfOK struct {
	Payload strfmt.Base64
}

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 (*LedgerVoucherPdfDownloadPdfOK) GetPayload

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

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

WithContext adds the context to the ledger voucher pdf download pdf params

func (*LedgerVoucherPdfDownloadPdfParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the ledger voucher pdf download pdf params

func (*LedgerVoucherPdfDownloadPdfParams) WithTimeout

WithTimeout adds the timeout to the ledger voucher pdf download pdf params

func (*LedgerVoucherPdfDownloadPdfParams) WithVoucherID

WithVoucherID adds the voucherID to the ledger voucher pdf download pdf params

func (*LedgerVoucherPdfDownloadPdfParams) WriteToRequest

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

Code gets the status code for the ledger voucher pdf upload pdf default response

func (*LedgerVoucherPdfUploadPdfDefault) Error

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

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

WithContext adds the context to the ledger voucher pdf upload pdf params

func (*LedgerVoucherPdfUploadPdfParams) WithFile

WithFile adds the file to the ledger voucher pdf upload pdf params

func (*LedgerVoucherPdfUploadPdfParams) WithFileName

WithFileName adds the fileName to the ledger voucher pdf upload pdf params

func (*LedgerVoucherPdfUploadPdfParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the ledger voucher pdf upload pdf params

func (*LedgerVoucherPdfUploadPdfParams) WithTimeout

WithTimeout adds the timeout to the ledger voucher pdf upload pdf params

func (*LedgerVoucherPdfUploadPdfParams) WithVoucherID

WithVoucherID adds the voucherID to the ledger voucher pdf upload pdf params

func (*LedgerVoucherPdfUploadPdfParams) WriteToRequest

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

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

WithBody adds the body to the ledger voucher post params

func (*LedgerVoucherPostParams) WithContext

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

WithTimeout adds the timeout to the ledger voucher post params

func (*LedgerVoucherPostParams) WriteToRequest

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

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

WithBody adds the body to the ledger voucher put params

func (*LedgerVoucherPutParams) WithContext

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

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

WithTimeout adds the timeout to the ledger voucher put params

func (*LedgerVoucherPutParams) WriteToRequest

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 (*LedgerVoucherReverseReverseOK) GetPayload

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

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

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

WithContext adds the context to the ledger voucher reverse reverse params

func (*LedgerVoucherReverseReverseParams) WithDate

WithDate adds the date to the ledger voucher reverse reverse params

func (*LedgerVoucherReverseReverseParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the ledger voucher reverse reverse params

func (*LedgerVoucherReverseReverseParams) WithID

WithID adds the id to the ledger voucher reverse reverse params

func (*LedgerVoucherReverseReverseParams) WithTimeout

WithTimeout adds the timeout to the ledger voucher reverse reverse params

func (*LedgerVoucherReverseReverseParams) WriteToRequest

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

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

WithContext adds the context to the ledger voucher search params

func (*LedgerVoucherSearchParams) WithCount

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

WithDateTo adds the dateTo to the ledger voucher search params

func (*LedgerVoucherSearchParams) WithFields

WithFields adds the fields to the ledger voucher search params

func (*LedgerVoucherSearchParams) WithFrom

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

WithID adds the id to the ledger voucher search params

func (*LedgerVoucherSearchParams) WithNumber

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

WithSorting adds the sorting to the ledger voucher search params

func (*LedgerVoucherSearchParams) WithTimeout

WithTimeout adds the timeout to the ledger voucher search params

func (*LedgerVoucherSearchParams) WithTypeID

WithTypeID adds the typeID to the ledger voucher search params

func (*LedgerVoucherSearchParams) WriteToRequest

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 (*LedgerVoucherSendToInboxSendToInboxOK) GetPayload

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

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

SetID adds the id to the ledger voucher send to inbox send to inbox params

func (*LedgerVoucherSendToInboxSendToInboxParams) SetTimeout

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

WithComment adds the comment to the ledger voucher send to inbox send to inbox params

func (*LedgerVoucherSendToInboxSendToInboxParams) WithContext

WithContext adds the context to the ledger voucher send to inbox send to inbox params

func (*LedgerVoucherSendToInboxSendToInboxParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the ledger voucher send to inbox send to inbox params

func (*LedgerVoucherSendToInboxSendToInboxParams) WithID

WithID adds the id to the ledger voucher send to inbox send to inbox params

func (*LedgerVoucherSendToInboxSendToInboxParams) WithTimeout

WithTimeout adds the timeout to the ledger voucher send to inbox send to inbox params

func (*LedgerVoucherSendToInboxSendToInboxParams) WithVersion

WithVersion adds the version to the ledger voucher send to inbox send to inbox params

func (*LedgerVoucherSendToInboxSendToInboxParams) WriteToRequest

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 (*LedgerVoucherSendToLedgerSendToLedgerOK) GetPayload

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

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

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

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

WithContext adds the context to the ledger voucher send to ledger send to ledger params

func (*LedgerVoucherSendToLedgerSendToLedgerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the ledger voucher send to ledger send to ledger params

func (*LedgerVoucherSendToLedgerSendToLedgerParams) WithID

WithID adds the id to the ledger voucher send to ledger send to ledger params

func (*LedgerVoucherSendToLedgerSendToLedgerParams) WithNumber

WithNumber adds the number to the ledger voucher send to ledger send to ledger params

func (*LedgerVoucherSendToLedgerSendToLedgerParams) WithTimeout

WithTimeout adds the timeout to the ledger voucher send to ledger send to ledger params

func (*LedgerVoucherSendToLedgerSendToLedgerParams) WithVersion

WithVersion adds the version to the ledger voucher send to ledger send to ledger params

func (*LedgerVoucherSendToLedgerSendToLedgerParams) WriteToRequest

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL