Documentation ¶
Index ¶
- type Client
- func (a *Client) LedgerPostingGet(params *LedgerPostingGetParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerPostingGetOK, error)
- func (a *Client) LedgerPostingOpenPostOpenPost(params *LedgerPostingOpenPostOpenPostParams, ...) (*LedgerPostingOpenPostOpenPostOK, error)
- func (a *Client) LedgerPostingSearch(params *LedgerPostingSearchParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerPostingSearchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type LedgerPostingGetOK
- type LedgerPostingGetParams
- func NewLedgerPostingGetParams() *LedgerPostingGetParams
- func NewLedgerPostingGetParamsWithContext(ctx context.Context) *LedgerPostingGetParams
- func NewLedgerPostingGetParamsWithHTTPClient(client *http.Client) *LedgerPostingGetParams
- func NewLedgerPostingGetParamsWithTimeout(timeout time.Duration) *LedgerPostingGetParams
- func (o *LedgerPostingGetParams) SetContext(ctx context.Context)
- func (o *LedgerPostingGetParams) SetFields(fields *string)
- func (o *LedgerPostingGetParams) SetHTTPClient(client *http.Client)
- func (o *LedgerPostingGetParams) SetID(id int32)
- func (o *LedgerPostingGetParams) SetTimeout(timeout time.Duration)
- func (o *LedgerPostingGetParams) WithContext(ctx context.Context) *LedgerPostingGetParams
- func (o *LedgerPostingGetParams) WithFields(fields *string) *LedgerPostingGetParams
- func (o *LedgerPostingGetParams) WithHTTPClient(client *http.Client) *LedgerPostingGetParams
- func (o *LedgerPostingGetParams) WithID(id int32) *LedgerPostingGetParams
- func (o *LedgerPostingGetParams) WithTimeout(timeout time.Duration) *LedgerPostingGetParams
- func (o *LedgerPostingGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerPostingGetReader
- type LedgerPostingOpenPostOpenPostOK
- type LedgerPostingOpenPostOpenPostParams
- func NewLedgerPostingOpenPostOpenPostParams() *LedgerPostingOpenPostOpenPostParams
- func NewLedgerPostingOpenPostOpenPostParamsWithContext(ctx context.Context) *LedgerPostingOpenPostOpenPostParams
- func NewLedgerPostingOpenPostOpenPostParamsWithHTTPClient(client *http.Client) *LedgerPostingOpenPostOpenPostParams
- func NewLedgerPostingOpenPostOpenPostParamsWithTimeout(timeout time.Duration) *LedgerPostingOpenPostOpenPostParams
- func (o *LedgerPostingOpenPostOpenPostParams) SetAccountID(accountID *int32)
- func (o *LedgerPostingOpenPostOpenPostParams) SetContext(ctx context.Context)
- func (o *LedgerPostingOpenPostOpenPostParams) SetCount(count *int64)
- func (o *LedgerPostingOpenPostOpenPostParams) SetCustomerID(customerID *int32)
- func (o *LedgerPostingOpenPostOpenPostParams) SetDate(date string)
- func (o *LedgerPostingOpenPostOpenPostParams) SetDepartmentID(departmentID *int32)
- func (o *LedgerPostingOpenPostOpenPostParams) SetEmployeeID(employeeID *int32)
- func (o *LedgerPostingOpenPostOpenPostParams) SetFields(fields *string)
- func (o *LedgerPostingOpenPostOpenPostParams) SetFrom(from *int64)
- func (o *LedgerPostingOpenPostOpenPostParams) SetHTTPClient(client *http.Client)
- func (o *LedgerPostingOpenPostOpenPostParams) SetProductID(productID *int32)
- func (o *LedgerPostingOpenPostOpenPostParams) SetProjectID(projectID *int32)
- func (o *LedgerPostingOpenPostOpenPostParams) SetSorting(sorting *string)
- func (o *LedgerPostingOpenPostOpenPostParams) SetSupplierID(supplierID *int32)
- func (o *LedgerPostingOpenPostOpenPostParams) SetTimeout(timeout time.Duration)
- func (o *LedgerPostingOpenPostOpenPostParams) WithAccountID(accountID *int32) *LedgerPostingOpenPostOpenPostParams
- func (o *LedgerPostingOpenPostOpenPostParams) WithContext(ctx context.Context) *LedgerPostingOpenPostOpenPostParams
- func (o *LedgerPostingOpenPostOpenPostParams) WithCount(count *int64) *LedgerPostingOpenPostOpenPostParams
- func (o *LedgerPostingOpenPostOpenPostParams) WithCustomerID(customerID *int32) *LedgerPostingOpenPostOpenPostParams
- func (o *LedgerPostingOpenPostOpenPostParams) WithDate(date string) *LedgerPostingOpenPostOpenPostParams
- func (o *LedgerPostingOpenPostOpenPostParams) WithDepartmentID(departmentID *int32) *LedgerPostingOpenPostOpenPostParams
- func (o *LedgerPostingOpenPostOpenPostParams) WithEmployeeID(employeeID *int32) *LedgerPostingOpenPostOpenPostParams
- func (o *LedgerPostingOpenPostOpenPostParams) WithFields(fields *string) *LedgerPostingOpenPostOpenPostParams
- func (o *LedgerPostingOpenPostOpenPostParams) WithFrom(from *int64) *LedgerPostingOpenPostOpenPostParams
- func (o *LedgerPostingOpenPostOpenPostParams) WithHTTPClient(client *http.Client) *LedgerPostingOpenPostOpenPostParams
- func (o *LedgerPostingOpenPostOpenPostParams) WithProductID(productID *int32) *LedgerPostingOpenPostOpenPostParams
- func (o *LedgerPostingOpenPostOpenPostParams) WithProjectID(projectID *int32) *LedgerPostingOpenPostOpenPostParams
- func (o *LedgerPostingOpenPostOpenPostParams) WithSorting(sorting *string) *LedgerPostingOpenPostOpenPostParams
- func (o *LedgerPostingOpenPostOpenPostParams) WithSupplierID(supplierID *int32) *LedgerPostingOpenPostOpenPostParams
- func (o *LedgerPostingOpenPostOpenPostParams) WithTimeout(timeout time.Duration) *LedgerPostingOpenPostOpenPostParams
- func (o *LedgerPostingOpenPostOpenPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerPostingOpenPostOpenPostReader
- type LedgerPostingSearchOK
- type LedgerPostingSearchParams
- func NewLedgerPostingSearchParams() *LedgerPostingSearchParams
- func NewLedgerPostingSearchParamsWithContext(ctx context.Context) *LedgerPostingSearchParams
- func NewLedgerPostingSearchParamsWithHTTPClient(client *http.Client) *LedgerPostingSearchParams
- func NewLedgerPostingSearchParamsWithTimeout(timeout time.Duration) *LedgerPostingSearchParams
- func (o *LedgerPostingSearchParams) SetAccountID(accountID *int32)
- func (o *LedgerPostingSearchParams) SetContext(ctx context.Context)
- func (o *LedgerPostingSearchParams) SetCount(count *int64)
- func (o *LedgerPostingSearchParams) SetCustomerID(customerID *int32)
- func (o *LedgerPostingSearchParams) SetDateFrom(dateFrom string)
- func (o *LedgerPostingSearchParams) SetDateTo(dateTo string)
- func (o *LedgerPostingSearchParams) SetDepartmentID(departmentID *int32)
- func (o *LedgerPostingSearchParams) SetEmployeeID(employeeID *int32)
- func (o *LedgerPostingSearchParams) SetFields(fields *string)
- func (o *LedgerPostingSearchParams) SetFrom(from *int64)
- func (o *LedgerPostingSearchParams) SetHTTPClient(client *http.Client)
- func (o *LedgerPostingSearchParams) SetOpenPostings(openPostings *string)
- func (o *LedgerPostingSearchParams) SetProductID(productID *int32)
- func (o *LedgerPostingSearchParams) SetProjectID(projectID *int32)
- func (o *LedgerPostingSearchParams) SetSorting(sorting *string)
- func (o *LedgerPostingSearchParams) SetSupplierID(supplierID *int32)
- func (o *LedgerPostingSearchParams) SetTimeout(timeout time.Duration)
- func (o *LedgerPostingSearchParams) SetType(typeVar *string)
- func (o *LedgerPostingSearchParams) WithAccountID(accountID *int32) *LedgerPostingSearchParams
- func (o *LedgerPostingSearchParams) WithContext(ctx context.Context) *LedgerPostingSearchParams
- func (o *LedgerPostingSearchParams) WithCount(count *int64) *LedgerPostingSearchParams
- func (o *LedgerPostingSearchParams) WithCustomerID(customerID *int32) *LedgerPostingSearchParams
- func (o *LedgerPostingSearchParams) WithDateFrom(dateFrom string) *LedgerPostingSearchParams
- func (o *LedgerPostingSearchParams) WithDateTo(dateTo string) *LedgerPostingSearchParams
- func (o *LedgerPostingSearchParams) WithDepartmentID(departmentID *int32) *LedgerPostingSearchParams
- func (o *LedgerPostingSearchParams) WithEmployeeID(employeeID *int32) *LedgerPostingSearchParams
- func (o *LedgerPostingSearchParams) WithFields(fields *string) *LedgerPostingSearchParams
- func (o *LedgerPostingSearchParams) WithFrom(from *int64) *LedgerPostingSearchParams
- func (o *LedgerPostingSearchParams) WithHTTPClient(client *http.Client) *LedgerPostingSearchParams
- func (o *LedgerPostingSearchParams) WithOpenPostings(openPostings *string) *LedgerPostingSearchParams
- func (o *LedgerPostingSearchParams) WithProductID(productID *int32) *LedgerPostingSearchParams
- func (o *LedgerPostingSearchParams) WithProjectID(projectID *int32) *LedgerPostingSearchParams
- func (o *LedgerPostingSearchParams) WithSorting(sorting *string) *LedgerPostingSearchParams
- func (o *LedgerPostingSearchParams) WithSupplierID(supplierID *int32) *LedgerPostingSearchParams
- func (o *LedgerPostingSearchParams) WithTimeout(timeout time.Duration) *LedgerPostingSearchParams
- func (o *LedgerPostingSearchParams) WithType(typeVar *string) *LedgerPostingSearchParams
- func (o *LedgerPostingSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerPostingSearchReader
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 posting API
func (*Client) LedgerPostingGet ¶
func (a *Client) LedgerPostingGet(params *LedgerPostingGetParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerPostingGetOK, error)
LedgerPostingGet finds postings by ID
func (*Client) LedgerPostingOpenPostOpenPost ¶
func (a *Client) LedgerPostingOpenPostOpenPost(params *LedgerPostingOpenPostOpenPostParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerPostingOpenPostOpenPostOK, error)
LedgerPostingOpenPostOpenPost finds open posts corresponding with sent data
func (*Client) LedgerPostingSearch ¶
func (a *Client) LedgerPostingSearch(params *LedgerPostingSearchParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerPostingSearchOK, error)
LedgerPostingSearch finds postings corresponding with sent data
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { LedgerPostingOpenPostOpenPost(params *LedgerPostingOpenPostOpenPostParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerPostingOpenPostOpenPostOK, error) LedgerPostingGet(params *LedgerPostingGetParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerPostingGetOK, error) LedgerPostingSearch(params *LedgerPostingSearchParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerPostingSearchOK, 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 posting API client.
type LedgerPostingGetOK ¶
type LedgerPostingGetOK struct {
Payload *models.ResponseWrapperPosting
}
LedgerPostingGetOK handles this case with default header values.
successful operation
func NewLedgerPostingGetOK ¶
func NewLedgerPostingGetOK() *LedgerPostingGetOK
NewLedgerPostingGetOK creates a LedgerPostingGetOK with default headers values
func (*LedgerPostingGetOK) Error ¶
func (o *LedgerPostingGetOK) Error() string
func (*LedgerPostingGetOK) GetPayload ¶
func (o *LedgerPostingGetOK) GetPayload() *models.ResponseWrapperPosting
type LedgerPostingGetParams ¶
type LedgerPostingGetParams struct { /*Fields Fields filter pattern */ Fields *string /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LedgerPostingGetParams contains all the parameters to send to the API endpoint for the ledger posting get operation typically these are written to a http.Request
func NewLedgerPostingGetParams ¶
func NewLedgerPostingGetParams() *LedgerPostingGetParams
NewLedgerPostingGetParams creates a new LedgerPostingGetParams object with the default values initialized.
func NewLedgerPostingGetParamsWithContext ¶
func NewLedgerPostingGetParamsWithContext(ctx context.Context) *LedgerPostingGetParams
NewLedgerPostingGetParamsWithContext creates a new LedgerPostingGetParams object with the default values initialized, and the ability to set a context for a request
func NewLedgerPostingGetParamsWithHTTPClient ¶
func NewLedgerPostingGetParamsWithHTTPClient(client *http.Client) *LedgerPostingGetParams
NewLedgerPostingGetParamsWithHTTPClient creates a new LedgerPostingGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLedgerPostingGetParamsWithTimeout ¶
func NewLedgerPostingGetParamsWithTimeout(timeout time.Duration) *LedgerPostingGetParams
NewLedgerPostingGetParamsWithTimeout creates a new LedgerPostingGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*LedgerPostingGetParams) SetContext ¶
func (o *LedgerPostingGetParams) SetContext(ctx context.Context)
SetContext adds the context to the ledger posting get params
func (*LedgerPostingGetParams) SetFields ¶
func (o *LedgerPostingGetParams) SetFields(fields *string)
SetFields adds the fields to the ledger posting get params
func (*LedgerPostingGetParams) SetHTTPClient ¶
func (o *LedgerPostingGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ledger posting get params
func (*LedgerPostingGetParams) SetID ¶
func (o *LedgerPostingGetParams) SetID(id int32)
SetID adds the id to the ledger posting get params
func (*LedgerPostingGetParams) SetTimeout ¶
func (o *LedgerPostingGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ledger posting get params
func (*LedgerPostingGetParams) WithContext ¶
func (o *LedgerPostingGetParams) WithContext(ctx context.Context) *LedgerPostingGetParams
WithContext adds the context to the ledger posting get params
func (*LedgerPostingGetParams) WithFields ¶
func (o *LedgerPostingGetParams) WithFields(fields *string) *LedgerPostingGetParams
WithFields adds the fields to the ledger posting get params
func (*LedgerPostingGetParams) WithHTTPClient ¶
func (o *LedgerPostingGetParams) WithHTTPClient(client *http.Client) *LedgerPostingGetParams
WithHTTPClient adds the HTTPClient to the ledger posting get params
func (*LedgerPostingGetParams) WithID ¶
func (o *LedgerPostingGetParams) WithID(id int32) *LedgerPostingGetParams
WithID adds the id to the ledger posting get params
func (*LedgerPostingGetParams) WithTimeout ¶
func (o *LedgerPostingGetParams) WithTimeout(timeout time.Duration) *LedgerPostingGetParams
WithTimeout adds the timeout to the ledger posting get params
func (*LedgerPostingGetParams) WriteToRequest ¶
func (o *LedgerPostingGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LedgerPostingGetReader ¶
type LedgerPostingGetReader struct {
// contains filtered or unexported fields
}
LedgerPostingGetReader is a Reader for the LedgerPostingGet structure.
func (*LedgerPostingGetReader) ReadResponse ¶
func (o *LedgerPostingGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LedgerPostingOpenPostOpenPostOK ¶
type LedgerPostingOpenPostOpenPostOK struct {
Payload *models.ListResponsePosting
}
LedgerPostingOpenPostOpenPostOK handles this case with default header values.
successful operation
func NewLedgerPostingOpenPostOpenPostOK ¶
func NewLedgerPostingOpenPostOpenPostOK() *LedgerPostingOpenPostOpenPostOK
NewLedgerPostingOpenPostOpenPostOK creates a LedgerPostingOpenPostOpenPostOK with default headers values
func (*LedgerPostingOpenPostOpenPostOK) Error ¶
func (o *LedgerPostingOpenPostOpenPostOK) Error() string
func (*LedgerPostingOpenPostOpenPostOK) GetPayload ¶
func (o *LedgerPostingOpenPostOpenPostOK) GetPayload() *models.ListResponsePosting
type LedgerPostingOpenPostOpenPostParams ¶
type LedgerPostingOpenPostOpenPostParams struct { /*AccountID Element ID */ AccountID *int32 /*Count Number of elements to return */ Count *int64 /*CustomerID Element ID */ CustomerID *int32 /*Date Invoice date. Format is yyyy-MM-dd (to and excl.). */ Date string /*DepartmentID Element ID */ DepartmentID *int32 /*EmployeeID Element ID */ EmployeeID *int32 /*Fields Fields filter pattern */ Fields *string /*From From index */ From *int64 /*ProductID Element ID */ ProductID *int32 /*ProjectID Element ID */ ProjectID *int32 /*Sorting Sorting pattern */ Sorting *string /*SupplierID Element ID */ SupplierID *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LedgerPostingOpenPostOpenPostParams contains all the parameters to send to the API endpoint for the ledger posting open post open post operation typically these are written to a http.Request
func NewLedgerPostingOpenPostOpenPostParams ¶
func NewLedgerPostingOpenPostOpenPostParams() *LedgerPostingOpenPostOpenPostParams
NewLedgerPostingOpenPostOpenPostParams creates a new LedgerPostingOpenPostOpenPostParams object with the default values initialized.
func NewLedgerPostingOpenPostOpenPostParamsWithContext ¶
func NewLedgerPostingOpenPostOpenPostParamsWithContext(ctx context.Context) *LedgerPostingOpenPostOpenPostParams
NewLedgerPostingOpenPostOpenPostParamsWithContext creates a new LedgerPostingOpenPostOpenPostParams object with the default values initialized, and the ability to set a context for a request
func NewLedgerPostingOpenPostOpenPostParamsWithHTTPClient ¶
func NewLedgerPostingOpenPostOpenPostParamsWithHTTPClient(client *http.Client) *LedgerPostingOpenPostOpenPostParams
NewLedgerPostingOpenPostOpenPostParamsWithHTTPClient creates a new LedgerPostingOpenPostOpenPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLedgerPostingOpenPostOpenPostParamsWithTimeout ¶
func NewLedgerPostingOpenPostOpenPostParamsWithTimeout(timeout time.Duration) *LedgerPostingOpenPostOpenPostParams
NewLedgerPostingOpenPostOpenPostParamsWithTimeout creates a new LedgerPostingOpenPostOpenPostParams object with the default values initialized, and the ability to set a timeout on a request
func (*LedgerPostingOpenPostOpenPostParams) SetAccountID ¶
func (o *LedgerPostingOpenPostOpenPostParams) SetAccountID(accountID *int32)
SetAccountID adds the accountId to the ledger posting open post open post params
func (*LedgerPostingOpenPostOpenPostParams) SetContext ¶
func (o *LedgerPostingOpenPostOpenPostParams) SetContext(ctx context.Context)
SetContext adds the context to the ledger posting open post open post params
func (*LedgerPostingOpenPostOpenPostParams) SetCount ¶
func (o *LedgerPostingOpenPostOpenPostParams) SetCount(count *int64)
SetCount adds the count to the ledger posting open post open post params
func (*LedgerPostingOpenPostOpenPostParams) SetCustomerID ¶
func (o *LedgerPostingOpenPostOpenPostParams) SetCustomerID(customerID *int32)
SetCustomerID adds the customerId to the ledger posting open post open post params
func (*LedgerPostingOpenPostOpenPostParams) SetDate ¶
func (o *LedgerPostingOpenPostOpenPostParams) SetDate(date string)
SetDate adds the date to the ledger posting open post open post params
func (*LedgerPostingOpenPostOpenPostParams) SetDepartmentID ¶
func (o *LedgerPostingOpenPostOpenPostParams) SetDepartmentID(departmentID *int32)
SetDepartmentID adds the departmentId to the ledger posting open post open post params
func (*LedgerPostingOpenPostOpenPostParams) SetEmployeeID ¶
func (o *LedgerPostingOpenPostOpenPostParams) SetEmployeeID(employeeID *int32)
SetEmployeeID adds the employeeId to the ledger posting open post open post params
func (*LedgerPostingOpenPostOpenPostParams) SetFields ¶
func (o *LedgerPostingOpenPostOpenPostParams) SetFields(fields *string)
SetFields adds the fields to the ledger posting open post open post params
func (*LedgerPostingOpenPostOpenPostParams) SetFrom ¶
func (o *LedgerPostingOpenPostOpenPostParams) SetFrom(from *int64)
SetFrom adds the from to the ledger posting open post open post params
func (*LedgerPostingOpenPostOpenPostParams) SetHTTPClient ¶
func (o *LedgerPostingOpenPostOpenPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ledger posting open post open post params
func (*LedgerPostingOpenPostOpenPostParams) SetProductID ¶
func (o *LedgerPostingOpenPostOpenPostParams) SetProductID(productID *int32)
SetProductID adds the productId to the ledger posting open post open post params
func (*LedgerPostingOpenPostOpenPostParams) SetProjectID ¶
func (o *LedgerPostingOpenPostOpenPostParams) SetProjectID(projectID *int32)
SetProjectID adds the projectId to the ledger posting open post open post params
func (*LedgerPostingOpenPostOpenPostParams) SetSorting ¶
func (o *LedgerPostingOpenPostOpenPostParams) SetSorting(sorting *string)
SetSorting adds the sorting to the ledger posting open post open post params
func (*LedgerPostingOpenPostOpenPostParams) SetSupplierID ¶
func (o *LedgerPostingOpenPostOpenPostParams) SetSupplierID(supplierID *int32)
SetSupplierID adds the supplierId to the ledger posting open post open post params
func (*LedgerPostingOpenPostOpenPostParams) SetTimeout ¶
func (o *LedgerPostingOpenPostOpenPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ledger posting open post open post params
func (*LedgerPostingOpenPostOpenPostParams) WithAccountID ¶
func (o *LedgerPostingOpenPostOpenPostParams) WithAccountID(accountID *int32) *LedgerPostingOpenPostOpenPostParams
WithAccountID adds the accountID to the ledger posting open post open post params
func (*LedgerPostingOpenPostOpenPostParams) WithContext ¶
func (o *LedgerPostingOpenPostOpenPostParams) WithContext(ctx context.Context) *LedgerPostingOpenPostOpenPostParams
WithContext adds the context to the ledger posting open post open post params
func (*LedgerPostingOpenPostOpenPostParams) WithCount ¶
func (o *LedgerPostingOpenPostOpenPostParams) WithCount(count *int64) *LedgerPostingOpenPostOpenPostParams
WithCount adds the count to the ledger posting open post open post params
func (*LedgerPostingOpenPostOpenPostParams) WithCustomerID ¶
func (o *LedgerPostingOpenPostOpenPostParams) WithCustomerID(customerID *int32) *LedgerPostingOpenPostOpenPostParams
WithCustomerID adds the customerID to the ledger posting open post open post params
func (*LedgerPostingOpenPostOpenPostParams) WithDate ¶
func (o *LedgerPostingOpenPostOpenPostParams) WithDate(date string) *LedgerPostingOpenPostOpenPostParams
WithDate adds the date to the ledger posting open post open post params
func (*LedgerPostingOpenPostOpenPostParams) WithDepartmentID ¶
func (o *LedgerPostingOpenPostOpenPostParams) WithDepartmentID(departmentID *int32) *LedgerPostingOpenPostOpenPostParams
WithDepartmentID adds the departmentID to the ledger posting open post open post params
func (*LedgerPostingOpenPostOpenPostParams) WithEmployeeID ¶
func (o *LedgerPostingOpenPostOpenPostParams) WithEmployeeID(employeeID *int32) *LedgerPostingOpenPostOpenPostParams
WithEmployeeID adds the employeeID to the ledger posting open post open post params
func (*LedgerPostingOpenPostOpenPostParams) WithFields ¶
func (o *LedgerPostingOpenPostOpenPostParams) WithFields(fields *string) *LedgerPostingOpenPostOpenPostParams
WithFields adds the fields to the ledger posting open post open post params
func (*LedgerPostingOpenPostOpenPostParams) WithFrom ¶
func (o *LedgerPostingOpenPostOpenPostParams) WithFrom(from *int64) *LedgerPostingOpenPostOpenPostParams
WithFrom adds the from to the ledger posting open post open post params
func (*LedgerPostingOpenPostOpenPostParams) WithHTTPClient ¶
func (o *LedgerPostingOpenPostOpenPostParams) WithHTTPClient(client *http.Client) *LedgerPostingOpenPostOpenPostParams
WithHTTPClient adds the HTTPClient to the ledger posting open post open post params
func (*LedgerPostingOpenPostOpenPostParams) WithProductID ¶
func (o *LedgerPostingOpenPostOpenPostParams) WithProductID(productID *int32) *LedgerPostingOpenPostOpenPostParams
WithProductID adds the productID to the ledger posting open post open post params
func (*LedgerPostingOpenPostOpenPostParams) WithProjectID ¶
func (o *LedgerPostingOpenPostOpenPostParams) WithProjectID(projectID *int32) *LedgerPostingOpenPostOpenPostParams
WithProjectID adds the projectID to the ledger posting open post open post params
func (*LedgerPostingOpenPostOpenPostParams) WithSorting ¶
func (o *LedgerPostingOpenPostOpenPostParams) WithSorting(sorting *string) *LedgerPostingOpenPostOpenPostParams
WithSorting adds the sorting to the ledger posting open post open post params
func (*LedgerPostingOpenPostOpenPostParams) WithSupplierID ¶
func (o *LedgerPostingOpenPostOpenPostParams) WithSupplierID(supplierID *int32) *LedgerPostingOpenPostOpenPostParams
WithSupplierID adds the supplierID to the ledger posting open post open post params
func (*LedgerPostingOpenPostOpenPostParams) WithTimeout ¶
func (o *LedgerPostingOpenPostOpenPostParams) WithTimeout(timeout time.Duration) *LedgerPostingOpenPostOpenPostParams
WithTimeout adds the timeout to the ledger posting open post open post params
func (*LedgerPostingOpenPostOpenPostParams) WriteToRequest ¶
func (o *LedgerPostingOpenPostOpenPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LedgerPostingOpenPostOpenPostReader ¶
type LedgerPostingOpenPostOpenPostReader struct {
// contains filtered or unexported fields
}
LedgerPostingOpenPostOpenPostReader is a Reader for the LedgerPostingOpenPostOpenPost structure.
func (*LedgerPostingOpenPostOpenPostReader) ReadResponse ¶
func (o *LedgerPostingOpenPostOpenPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LedgerPostingSearchOK ¶
type LedgerPostingSearchOK struct {
Payload *models.ListResponsePosting
}
LedgerPostingSearchOK handles this case with default header values.
successful operation
func NewLedgerPostingSearchOK ¶
func NewLedgerPostingSearchOK() *LedgerPostingSearchOK
NewLedgerPostingSearchOK creates a LedgerPostingSearchOK with default headers values
func (*LedgerPostingSearchOK) Error ¶
func (o *LedgerPostingSearchOK) Error() string
func (*LedgerPostingSearchOK) GetPayload ¶
func (o *LedgerPostingSearchOK) GetPayload() *models.ListResponsePosting
type LedgerPostingSearchParams ¶
type LedgerPostingSearchParams struct { /*AccountID Element ID */ AccountID *int32 /*Count Number of elements to return */ Count *int64 /*CustomerID Element ID */ CustomerID *int32 /*DateFrom Format is yyyy-MM-dd (from and incl.). */ DateFrom string /*DateTo Format is yyyy-MM-dd (to and excl.). */ DateTo string /*DepartmentID Element ID */ DepartmentID *int32 /*EmployeeID Element ID */ EmployeeID *int32 /*Fields Fields filter pattern */ Fields *string /*From From index */ From *int64 /*OpenPostings Deprecated */ OpenPostings *string /*ProductID Element ID */ ProductID *int32 /*ProjectID Element ID */ ProjectID *int32 /*Sorting Sorting pattern */ Sorting *string /*SupplierID Element ID */ SupplierID *int32 /*Type Element ID */ Type *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LedgerPostingSearchParams contains all the parameters to send to the API endpoint for the ledger posting search operation typically these are written to a http.Request
func NewLedgerPostingSearchParams ¶
func NewLedgerPostingSearchParams() *LedgerPostingSearchParams
NewLedgerPostingSearchParams creates a new LedgerPostingSearchParams object with the default values initialized.
func NewLedgerPostingSearchParamsWithContext ¶
func NewLedgerPostingSearchParamsWithContext(ctx context.Context) *LedgerPostingSearchParams
NewLedgerPostingSearchParamsWithContext creates a new LedgerPostingSearchParams object with the default values initialized, and the ability to set a context for a request
func NewLedgerPostingSearchParamsWithHTTPClient ¶
func NewLedgerPostingSearchParamsWithHTTPClient(client *http.Client) *LedgerPostingSearchParams
NewLedgerPostingSearchParamsWithHTTPClient creates a new LedgerPostingSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLedgerPostingSearchParamsWithTimeout ¶
func NewLedgerPostingSearchParamsWithTimeout(timeout time.Duration) *LedgerPostingSearchParams
NewLedgerPostingSearchParamsWithTimeout creates a new LedgerPostingSearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*LedgerPostingSearchParams) SetAccountID ¶
func (o *LedgerPostingSearchParams) SetAccountID(accountID *int32)
SetAccountID adds the accountId to the ledger posting search params
func (*LedgerPostingSearchParams) SetContext ¶
func (o *LedgerPostingSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the ledger posting search params
func (*LedgerPostingSearchParams) SetCount ¶
func (o *LedgerPostingSearchParams) SetCount(count *int64)
SetCount adds the count to the ledger posting search params
func (*LedgerPostingSearchParams) SetCustomerID ¶
func (o *LedgerPostingSearchParams) SetCustomerID(customerID *int32)
SetCustomerID adds the customerId to the ledger posting search params
func (*LedgerPostingSearchParams) SetDateFrom ¶
func (o *LedgerPostingSearchParams) SetDateFrom(dateFrom string)
SetDateFrom adds the dateFrom to the ledger posting search params
func (*LedgerPostingSearchParams) SetDateTo ¶
func (o *LedgerPostingSearchParams) SetDateTo(dateTo string)
SetDateTo adds the dateTo to the ledger posting search params
func (*LedgerPostingSearchParams) SetDepartmentID ¶
func (o *LedgerPostingSearchParams) SetDepartmentID(departmentID *int32)
SetDepartmentID adds the departmentId to the ledger posting search params
func (*LedgerPostingSearchParams) SetEmployeeID ¶
func (o *LedgerPostingSearchParams) SetEmployeeID(employeeID *int32)
SetEmployeeID adds the employeeId to the ledger posting search params
func (*LedgerPostingSearchParams) SetFields ¶
func (o *LedgerPostingSearchParams) SetFields(fields *string)
SetFields adds the fields to the ledger posting search params
func (*LedgerPostingSearchParams) SetFrom ¶
func (o *LedgerPostingSearchParams) SetFrom(from *int64)
SetFrom adds the from to the ledger posting search params
func (*LedgerPostingSearchParams) SetHTTPClient ¶
func (o *LedgerPostingSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ledger posting search params
func (*LedgerPostingSearchParams) SetOpenPostings ¶
func (o *LedgerPostingSearchParams) SetOpenPostings(openPostings *string)
SetOpenPostings adds the openPostings to the ledger posting search params
func (*LedgerPostingSearchParams) SetProductID ¶
func (o *LedgerPostingSearchParams) SetProductID(productID *int32)
SetProductID adds the productId to the ledger posting search params
func (*LedgerPostingSearchParams) SetProjectID ¶
func (o *LedgerPostingSearchParams) SetProjectID(projectID *int32)
SetProjectID adds the projectId to the ledger posting search params
func (*LedgerPostingSearchParams) SetSorting ¶
func (o *LedgerPostingSearchParams) SetSorting(sorting *string)
SetSorting adds the sorting to the ledger posting search params
func (*LedgerPostingSearchParams) SetSupplierID ¶
func (o *LedgerPostingSearchParams) SetSupplierID(supplierID *int32)
SetSupplierID adds the supplierId to the ledger posting search params
func (*LedgerPostingSearchParams) SetTimeout ¶
func (o *LedgerPostingSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ledger posting search params
func (*LedgerPostingSearchParams) SetType ¶
func (o *LedgerPostingSearchParams) SetType(typeVar *string)
SetType adds the type to the ledger posting search params
func (*LedgerPostingSearchParams) WithAccountID ¶
func (o *LedgerPostingSearchParams) WithAccountID(accountID *int32) *LedgerPostingSearchParams
WithAccountID adds the accountID to the ledger posting search params
func (*LedgerPostingSearchParams) WithContext ¶
func (o *LedgerPostingSearchParams) WithContext(ctx context.Context) *LedgerPostingSearchParams
WithContext adds the context to the ledger posting search params
func (*LedgerPostingSearchParams) WithCount ¶
func (o *LedgerPostingSearchParams) WithCount(count *int64) *LedgerPostingSearchParams
WithCount adds the count to the ledger posting search params
func (*LedgerPostingSearchParams) WithCustomerID ¶
func (o *LedgerPostingSearchParams) WithCustomerID(customerID *int32) *LedgerPostingSearchParams
WithCustomerID adds the customerID to the ledger posting search params
func (*LedgerPostingSearchParams) WithDateFrom ¶
func (o *LedgerPostingSearchParams) WithDateFrom(dateFrom string) *LedgerPostingSearchParams
WithDateFrom adds the dateFrom to the ledger posting search params
func (*LedgerPostingSearchParams) WithDateTo ¶
func (o *LedgerPostingSearchParams) WithDateTo(dateTo string) *LedgerPostingSearchParams
WithDateTo adds the dateTo to the ledger posting search params
func (*LedgerPostingSearchParams) WithDepartmentID ¶
func (o *LedgerPostingSearchParams) WithDepartmentID(departmentID *int32) *LedgerPostingSearchParams
WithDepartmentID adds the departmentID to the ledger posting search params
func (*LedgerPostingSearchParams) WithEmployeeID ¶
func (o *LedgerPostingSearchParams) WithEmployeeID(employeeID *int32) *LedgerPostingSearchParams
WithEmployeeID adds the employeeID to the ledger posting search params
func (*LedgerPostingSearchParams) WithFields ¶
func (o *LedgerPostingSearchParams) WithFields(fields *string) *LedgerPostingSearchParams
WithFields adds the fields to the ledger posting search params
func (*LedgerPostingSearchParams) WithFrom ¶
func (o *LedgerPostingSearchParams) WithFrom(from *int64) *LedgerPostingSearchParams
WithFrom adds the from to the ledger posting search params
func (*LedgerPostingSearchParams) WithHTTPClient ¶
func (o *LedgerPostingSearchParams) WithHTTPClient(client *http.Client) *LedgerPostingSearchParams
WithHTTPClient adds the HTTPClient to the ledger posting search params
func (*LedgerPostingSearchParams) WithOpenPostings ¶
func (o *LedgerPostingSearchParams) WithOpenPostings(openPostings *string) *LedgerPostingSearchParams
WithOpenPostings adds the openPostings to the ledger posting search params
func (*LedgerPostingSearchParams) WithProductID ¶
func (o *LedgerPostingSearchParams) WithProductID(productID *int32) *LedgerPostingSearchParams
WithProductID adds the productID to the ledger posting search params
func (*LedgerPostingSearchParams) WithProjectID ¶
func (o *LedgerPostingSearchParams) WithProjectID(projectID *int32) *LedgerPostingSearchParams
WithProjectID adds the projectID to the ledger posting search params
func (*LedgerPostingSearchParams) WithSorting ¶
func (o *LedgerPostingSearchParams) WithSorting(sorting *string) *LedgerPostingSearchParams
WithSorting adds the sorting to the ledger posting search params
func (*LedgerPostingSearchParams) WithSupplierID ¶
func (o *LedgerPostingSearchParams) WithSupplierID(supplierID *int32) *LedgerPostingSearchParams
WithSupplierID adds the supplierID to the ledger posting search params
func (*LedgerPostingSearchParams) WithTimeout ¶
func (o *LedgerPostingSearchParams) WithTimeout(timeout time.Duration) *LedgerPostingSearchParams
WithTimeout adds the timeout to the ledger posting search params
func (*LedgerPostingSearchParams) WithType ¶
func (o *LedgerPostingSearchParams) WithType(typeVar *string) *LedgerPostingSearchParams
WithType adds the typeVar to the ledger posting search params
func (*LedgerPostingSearchParams) WriteToRequest ¶
func (o *LedgerPostingSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LedgerPostingSearchReader ¶
type LedgerPostingSearchReader struct {
// contains filtered or unexported fields
}
LedgerPostingSearchReader is a Reader for the LedgerPostingSearch structure.
func (*LedgerPostingSearchReader) ReadResponse ¶
func (o *LedgerPostingSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.