Documentation
¶
Index ¶
- type Client
- func (a *Client) LedgerOpenPostOpenPost(params *LedgerOpenPostOpenPostParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerOpenPostOpenPostOK, error)
- func (a *Client) LedgerSearch(params *LedgerSearchParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerSearchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type LedgerOpenPostOpenPostOK
- type LedgerOpenPostOpenPostParams
- func NewLedgerOpenPostOpenPostParams() *LedgerOpenPostOpenPostParams
- func NewLedgerOpenPostOpenPostParamsWithContext(ctx context.Context) *LedgerOpenPostOpenPostParams
- func NewLedgerOpenPostOpenPostParamsWithHTTPClient(client *http.Client) *LedgerOpenPostOpenPostParams
- func NewLedgerOpenPostOpenPostParamsWithTimeout(timeout time.Duration) *LedgerOpenPostOpenPostParams
- func (o *LedgerOpenPostOpenPostParams) SetAccountID(accountID *int32)
- func (o *LedgerOpenPostOpenPostParams) SetContext(ctx context.Context)
- func (o *LedgerOpenPostOpenPostParams) SetCount(count *int64)
- func (o *LedgerOpenPostOpenPostParams) SetCustomerID(customerID *int32)
- func (o *LedgerOpenPostOpenPostParams) SetDate(date string)
- func (o *LedgerOpenPostOpenPostParams) SetDepartmentID(departmentID *int32)
- func (o *LedgerOpenPostOpenPostParams) SetEmployeeID(employeeID *int32)
- func (o *LedgerOpenPostOpenPostParams) SetFields(fields *string)
- func (o *LedgerOpenPostOpenPostParams) SetFrom(from *int64)
- func (o *LedgerOpenPostOpenPostParams) SetHTTPClient(client *http.Client)
- func (o *LedgerOpenPostOpenPostParams) SetProductID(productID *int32)
- func (o *LedgerOpenPostOpenPostParams) SetProjectID(projectID *int32)
- func (o *LedgerOpenPostOpenPostParams) SetSorting(sorting *string)
- func (o *LedgerOpenPostOpenPostParams) SetSupplierID(supplierID *int32)
- func (o *LedgerOpenPostOpenPostParams) SetTimeout(timeout time.Duration)
- func (o *LedgerOpenPostOpenPostParams) WithAccountID(accountID *int32) *LedgerOpenPostOpenPostParams
- func (o *LedgerOpenPostOpenPostParams) WithContext(ctx context.Context) *LedgerOpenPostOpenPostParams
- func (o *LedgerOpenPostOpenPostParams) WithCount(count *int64) *LedgerOpenPostOpenPostParams
- func (o *LedgerOpenPostOpenPostParams) WithCustomerID(customerID *int32) *LedgerOpenPostOpenPostParams
- func (o *LedgerOpenPostOpenPostParams) WithDate(date string) *LedgerOpenPostOpenPostParams
- func (o *LedgerOpenPostOpenPostParams) WithDepartmentID(departmentID *int32) *LedgerOpenPostOpenPostParams
- func (o *LedgerOpenPostOpenPostParams) WithEmployeeID(employeeID *int32) *LedgerOpenPostOpenPostParams
- func (o *LedgerOpenPostOpenPostParams) WithFields(fields *string) *LedgerOpenPostOpenPostParams
- func (o *LedgerOpenPostOpenPostParams) WithFrom(from *int64) *LedgerOpenPostOpenPostParams
- func (o *LedgerOpenPostOpenPostParams) WithHTTPClient(client *http.Client) *LedgerOpenPostOpenPostParams
- func (o *LedgerOpenPostOpenPostParams) WithProductID(productID *int32) *LedgerOpenPostOpenPostParams
- func (o *LedgerOpenPostOpenPostParams) WithProjectID(projectID *int32) *LedgerOpenPostOpenPostParams
- func (o *LedgerOpenPostOpenPostParams) WithSorting(sorting *string) *LedgerOpenPostOpenPostParams
- func (o *LedgerOpenPostOpenPostParams) WithSupplierID(supplierID *int32) *LedgerOpenPostOpenPostParams
- func (o *LedgerOpenPostOpenPostParams) WithTimeout(timeout time.Duration) *LedgerOpenPostOpenPostParams
- func (o *LedgerOpenPostOpenPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerOpenPostOpenPostReader
- type LedgerSearchOK
- type LedgerSearchParams
- func (o *LedgerSearchParams) SetAccountID(accountID *int32)
- func (o *LedgerSearchParams) SetContext(ctx context.Context)
- func (o *LedgerSearchParams) SetCount(count *int64)
- func (o *LedgerSearchParams) SetCustomerID(customerID *int32)
- func (o *LedgerSearchParams) SetDateFrom(dateFrom string)
- func (o *LedgerSearchParams) SetDateTo(dateTo string)
- func (o *LedgerSearchParams) SetDepartmentID(departmentID *int32)
- func (o *LedgerSearchParams) SetEmployeeID(employeeID *int32)
- func (o *LedgerSearchParams) SetFields(fields *string)
- func (o *LedgerSearchParams) SetFrom(from *int64)
- func (o *LedgerSearchParams) SetHTTPClient(client *http.Client)
- func (o *LedgerSearchParams) SetOpenPostings(openPostings *string)
- func (o *LedgerSearchParams) SetProductID(productID *int32)
- func (o *LedgerSearchParams) SetProjectID(projectID *int32)
- func (o *LedgerSearchParams) SetSorting(sorting *string)
- func (o *LedgerSearchParams) SetSupplierID(supplierID *int32)
- func (o *LedgerSearchParams) SetTimeout(timeout time.Duration)
- func (o *LedgerSearchParams) WithAccountID(accountID *int32) *LedgerSearchParams
- func (o *LedgerSearchParams) WithContext(ctx context.Context) *LedgerSearchParams
- func (o *LedgerSearchParams) WithCount(count *int64) *LedgerSearchParams
- func (o *LedgerSearchParams) WithCustomerID(customerID *int32) *LedgerSearchParams
- func (o *LedgerSearchParams) WithDateFrom(dateFrom string) *LedgerSearchParams
- func (o *LedgerSearchParams) WithDateTo(dateTo string) *LedgerSearchParams
- func (o *LedgerSearchParams) WithDepartmentID(departmentID *int32) *LedgerSearchParams
- func (o *LedgerSearchParams) WithEmployeeID(employeeID *int32) *LedgerSearchParams
- func (o *LedgerSearchParams) WithFields(fields *string) *LedgerSearchParams
- func (o *LedgerSearchParams) WithFrom(from *int64) *LedgerSearchParams
- func (o *LedgerSearchParams) WithHTTPClient(client *http.Client) *LedgerSearchParams
- func (o *LedgerSearchParams) WithOpenPostings(openPostings *string) *LedgerSearchParams
- func (o *LedgerSearchParams) WithProductID(productID *int32) *LedgerSearchParams
- func (o *LedgerSearchParams) WithProjectID(projectID *int32) *LedgerSearchParams
- func (o *LedgerSearchParams) WithSorting(sorting *string) *LedgerSearchParams
- func (o *LedgerSearchParams) WithSupplierID(supplierID *int32) *LedgerSearchParams
- func (o *LedgerSearchParams) WithTimeout(timeout time.Duration) *LedgerSearchParams
- func (o *LedgerSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerSearchReader
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 ledger API
func (*Client) LedgerOpenPostOpenPost ¶
func (a *Client) LedgerOpenPostOpenPost(params *LedgerOpenPostOpenPostParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerOpenPostOpenPostOK, error)
LedgerOpenPostOpenPost finds open posts corresponding with sent data
func (*Client) LedgerSearch ¶
func (a *Client) LedgerSearch(params *LedgerSearchParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerSearchOK, error)
LedgerSearch gets ledger hovedbok
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { LedgerOpenPostOpenPost(params *LedgerOpenPostOpenPostParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerOpenPostOpenPostOK, error) LedgerSearch(params *LedgerSearchParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerSearchOK, 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 ledger API client.
type LedgerOpenPostOpenPostOK ¶
type LedgerOpenPostOpenPostOK struct {
Payload *models.ListResponseLedgerAccount
}
LedgerOpenPostOpenPostOK handles this case with default header values.
successful operation
func NewLedgerOpenPostOpenPostOK ¶
func NewLedgerOpenPostOpenPostOK() *LedgerOpenPostOpenPostOK
NewLedgerOpenPostOpenPostOK creates a LedgerOpenPostOpenPostOK with default headers values
func (*LedgerOpenPostOpenPostOK) Error ¶
func (o *LedgerOpenPostOpenPostOK) Error() string
func (*LedgerOpenPostOpenPostOK) GetPayload ¶
func (o *LedgerOpenPostOpenPostOK) GetPayload() *models.ListResponseLedgerAccount
type LedgerOpenPostOpenPostParams ¶
type LedgerOpenPostOpenPostParams 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 }
LedgerOpenPostOpenPostParams contains all the parameters to send to the API endpoint for the ledger open post open post operation typically these are written to a http.Request
func NewLedgerOpenPostOpenPostParams ¶
func NewLedgerOpenPostOpenPostParams() *LedgerOpenPostOpenPostParams
NewLedgerOpenPostOpenPostParams creates a new LedgerOpenPostOpenPostParams object with the default values initialized.
func NewLedgerOpenPostOpenPostParamsWithContext ¶
func NewLedgerOpenPostOpenPostParamsWithContext(ctx context.Context) *LedgerOpenPostOpenPostParams
NewLedgerOpenPostOpenPostParamsWithContext creates a new LedgerOpenPostOpenPostParams object with the default values initialized, and the ability to set a context for a request
func NewLedgerOpenPostOpenPostParamsWithHTTPClient ¶
func NewLedgerOpenPostOpenPostParamsWithHTTPClient(client *http.Client) *LedgerOpenPostOpenPostParams
NewLedgerOpenPostOpenPostParamsWithHTTPClient creates a new LedgerOpenPostOpenPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLedgerOpenPostOpenPostParamsWithTimeout ¶
func NewLedgerOpenPostOpenPostParamsWithTimeout(timeout time.Duration) *LedgerOpenPostOpenPostParams
NewLedgerOpenPostOpenPostParamsWithTimeout creates a new LedgerOpenPostOpenPostParams object with the default values initialized, and the ability to set a timeout on a request
func (*LedgerOpenPostOpenPostParams) SetAccountID ¶
func (o *LedgerOpenPostOpenPostParams) SetAccountID(accountID *int32)
SetAccountID adds the accountId to the ledger open post open post params
func (*LedgerOpenPostOpenPostParams) SetContext ¶
func (o *LedgerOpenPostOpenPostParams) SetContext(ctx context.Context)
SetContext adds the context to the ledger open post open post params
func (*LedgerOpenPostOpenPostParams) SetCount ¶
func (o *LedgerOpenPostOpenPostParams) SetCount(count *int64)
SetCount adds the count to the ledger open post open post params
func (*LedgerOpenPostOpenPostParams) SetCustomerID ¶
func (o *LedgerOpenPostOpenPostParams) SetCustomerID(customerID *int32)
SetCustomerID adds the customerId to the ledger open post open post params
func (*LedgerOpenPostOpenPostParams) SetDate ¶
func (o *LedgerOpenPostOpenPostParams) SetDate(date string)
SetDate adds the date to the ledger open post open post params
func (*LedgerOpenPostOpenPostParams) SetDepartmentID ¶
func (o *LedgerOpenPostOpenPostParams) SetDepartmentID(departmentID *int32)
SetDepartmentID adds the departmentId to the ledger open post open post params
func (*LedgerOpenPostOpenPostParams) SetEmployeeID ¶
func (o *LedgerOpenPostOpenPostParams) SetEmployeeID(employeeID *int32)
SetEmployeeID adds the employeeId to the ledger open post open post params
func (*LedgerOpenPostOpenPostParams) SetFields ¶
func (o *LedgerOpenPostOpenPostParams) SetFields(fields *string)
SetFields adds the fields to the ledger open post open post params
func (*LedgerOpenPostOpenPostParams) SetFrom ¶
func (o *LedgerOpenPostOpenPostParams) SetFrom(from *int64)
SetFrom adds the from to the ledger open post open post params
func (*LedgerOpenPostOpenPostParams) SetHTTPClient ¶
func (o *LedgerOpenPostOpenPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ledger open post open post params
func (*LedgerOpenPostOpenPostParams) SetProductID ¶
func (o *LedgerOpenPostOpenPostParams) SetProductID(productID *int32)
SetProductID adds the productId to the ledger open post open post params
func (*LedgerOpenPostOpenPostParams) SetProjectID ¶
func (o *LedgerOpenPostOpenPostParams) SetProjectID(projectID *int32)
SetProjectID adds the projectId to the ledger open post open post params
func (*LedgerOpenPostOpenPostParams) SetSorting ¶
func (o *LedgerOpenPostOpenPostParams) SetSorting(sorting *string)
SetSorting adds the sorting to the ledger open post open post params
func (*LedgerOpenPostOpenPostParams) SetSupplierID ¶
func (o *LedgerOpenPostOpenPostParams) SetSupplierID(supplierID *int32)
SetSupplierID adds the supplierId to the ledger open post open post params
func (*LedgerOpenPostOpenPostParams) SetTimeout ¶
func (o *LedgerOpenPostOpenPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ledger open post open post params
func (*LedgerOpenPostOpenPostParams) WithAccountID ¶
func (o *LedgerOpenPostOpenPostParams) WithAccountID(accountID *int32) *LedgerOpenPostOpenPostParams
WithAccountID adds the accountID to the ledger open post open post params
func (*LedgerOpenPostOpenPostParams) WithContext ¶
func (o *LedgerOpenPostOpenPostParams) WithContext(ctx context.Context) *LedgerOpenPostOpenPostParams
WithContext adds the context to the ledger open post open post params
func (*LedgerOpenPostOpenPostParams) WithCount ¶
func (o *LedgerOpenPostOpenPostParams) WithCount(count *int64) *LedgerOpenPostOpenPostParams
WithCount adds the count to the ledger open post open post params
func (*LedgerOpenPostOpenPostParams) WithCustomerID ¶
func (o *LedgerOpenPostOpenPostParams) WithCustomerID(customerID *int32) *LedgerOpenPostOpenPostParams
WithCustomerID adds the customerID to the ledger open post open post params
func (*LedgerOpenPostOpenPostParams) WithDate ¶
func (o *LedgerOpenPostOpenPostParams) WithDate(date string) *LedgerOpenPostOpenPostParams
WithDate adds the date to the ledger open post open post params
func (*LedgerOpenPostOpenPostParams) WithDepartmentID ¶
func (o *LedgerOpenPostOpenPostParams) WithDepartmentID(departmentID *int32) *LedgerOpenPostOpenPostParams
WithDepartmentID adds the departmentID to the ledger open post open post params
func (*LedgerOpenPostOpenPostParams) WithEmployeeID ¶
func (o *LedgerOpenPostOpenPostParams) WithEmployeeID(employeeID *int32) *LedgerOpenPostOpenPostParams
WithEmployeeID adds the employeeID to the ledger open post open post params
func (*LedgerOpenPostOpenPostParams) WithFields ¶
func (o *LedgerOpenPostOpenPostParams) WithFields(fields *string) *LedgerOpenPostOpenPostParams
WithFields adds the fields to the ledger open post open post params
func (*LedgerOpenPostOpenPostParams) WithFrom ¶
func (o *LedgerOpenPostOpenPostParams) WithFrom(from *int64) *LedgerOpenPostOpenPostParams
WithFrom adds the from to the ledger open post open post params
func (*LedgerOpenPostOpenPostParams) WithHTTPClient ¶
func (o *LedgerOpenPostOpenPostParams) WithHTTPClient(client *http.Client) *LedgerOpenPostOpenPostParams
WithHTTPClient adds the HTTPClient to the ledger open post open post params
func (*LedgerOpenPostOpenPostParams) WithProductID ¶
func (o *LedgerOpenPostOpenPostParams) WithProductID(productID *int32) *LedgerOpenPostOpenPostParams
WithProductID adds the productID to the ledger open post open post params
func (*LedgerOpenPostOpenPostParams) WithProjectID ¶
func (o *LedgerOpenPostOpenPostParams) WithProjectID(projectID *int32) *LedgerOpenPostOpenPostParams
WithProjectID adds the projectID to the ledger open post open post params
func (*LedgerOpenPostOpenPostParams) WithSorting ¶
func (o *LedgerOpenPostOpenPostParams) WithSorting(sorting *string) *LedgerOpenPostOpenPostParams
WithSorting adds the sorting to the ledger open post open post params
func (*LedgerOpenPostOpenPostParams) WithSupplierID ¶
func (o *LedgerOpenPostOpenPostParams) WithSupplierID(supplierID *int32) *LedgerOpenPostOpenPostParams
WithSupplierID adds the supplierID to the ledger open post open post params
func (*LedgerOpenPostOpenPostParams) WithTimeout ¶
func (o *LedgerOpenPostOpenPostParams) WithTimeout(timeout time.Duration) *LedgerOpenPostOpenPostParams
WithTimeout adds the timeout to the ledger open post open post params
func (*LedgerOpenPostOpenPostParams) WriteToRequest ¶
func (o *LedgerOpenPostOpenPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LedgerOpenPostOpenPostReader ¶
type LedgerOpenPostOpenPostReader struct {
// contains filtered or unexported fields
}
LedgerOpenPostOpenPostReader is a Reader for the LedgerOpenPostOpenPost structure.
func (*LedgerOpenPostOpenPostReader) ReadResponse ¶
func (o *LedgerOpenPostOpenPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LedgerSearchOK ¶
type LedgerSearchOK struct {
Payload *models.ListResponseLedgerAccount
}
LedgerSearchOK handles this case with default header values.
successful operation
func NewLedgerSearchOK ¶
func NewLedgerSearchOK() *LedgerSearchOK
NewLedgerSearchOK creates a LedgerSearchOK with default headers values
func (*LedgerSearchOK) Error ¶
func (o *LedgerSearchOK) Error() string
func (*LedgerSearchOK) GetPayload ¶
func (o *LedgerSearchOK) GetPayload() *models.ListResponseLedgerAccount
type LedgerSearchParams ¶
type LedgerSearchParams 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 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LedgerSearchParams contains all the parameters to send to the API endpoint for the ledger search operation typically these are written to a http.Request
func NewLedgerSearchParams ¶
func NewLedgerSearchParams() *LedgerSearchParams
NewLedgerSearchParams creates a new LedgerSearchParams object with the default values initialized.
func NewLedgerSearchParamsWithContext ¶
func NewLedgerSearchParamsWithContext(ctx context.Context) *LedgerSearchParams
NewLedgerSearchParamsWithContext creates a new LedgerSearchParams object with the default values initialized, and the ability to set a context for a request
func NewLedgerSearchParamsWithHTTPClient ¶
func NewLedgerSearchParamsWithHTTPClient(client *http.Client) *LedgerSearchParams
NewLedgerSearchParamsWithHTTPClient creates a new LedgerSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLedgerSearchParamsWithTimeout ¶
func NewLedgerSearchParamsWithTimeout(timeout time.Duration) *LedgerSearchParams
NewLedgerSearchParamsWithTimeout creates a new LedgerSearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*LedgerSearchParams) SetAccountID ¶
func (o *LedgerSearchParams) SetAccountID(accountID *int32)
SetAccountID adds the accountId to the ledger search params
func (*LedgerSearchParams) SetContext ¶
func (o *LedgerSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the ledger search params
func (*LedgerSearchParams) SetCount ¶
func (o *LedgerSearchParams) SetCount(count *int64)
SetCount adds the count to the ledger search params
func (*LedgerSearchParams) SetCustomerID ¶
func (o *LedgerSearchParams) SetCustomerID(customerID *int32)
SetCustomerID adds the customerId to the ledger search params
func (*LedgerSearchParams) SetDateFrom ¶
func (o *LedgerSearchParams) SetDateFrom(dateFrom string)
SetDateFrom adds the dateFrom to the ledger search params
func (*LedgerSearchParams) SetDateTo ¶
func (o *LedgerSearchParams) SetDateTo(dateTo string)
SetDateTo adds the dateTo to the ledger search params
func (*LedgerSearchParams) SetDepartmentID ¶
func (o *LedgerSearchParams) SetDepartmentID(departmentID *int32)
SetDepartmentID adds the departmentId to the ledger search params
func (*LedgerSearchParams) SetEmployeeID ¶
func (o *LedgerSearchParams) SetEmployeeID(employeeID *int32)
SetEmployeeID adds the employeeId to the ledger search params
func (*LedgerSearchParams) SetFields ¶
func (o *LedgerSearchParams) SetFields(fields *string)
SetFields adds the fields to the ledger search params
func (*LedgerSearchParams) SetFrom ¶
func (o *LedgerSearchParams) SetFrom(from *int64)
SetFrom adds the from to the ledger search params
func (*LedgerSearchParams) SetHTTPClient ¶
func (o *LedgerSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ledger search params
func (*LedgerSearchParams) SetOpenPostings ¶
func (o *LedgerSearchParams) SetOpenPostings(openPostings *string)
SetOpenPostings adds the openPostings to the ledger search params
func (*LedgerSearchParams) SetProductID ¶
func (o *LedgerSearchParams) SetProductID(productID *int32)
SetProductID adds the productId to the ledger search params
func (*LedgerSearchParams) SetProjectID ¶
func (o *LedgerSearchParams) SetProjectID(projectID *int32)
SetProjectID adds the projectId to the ledger search params
func (*LedgerSearchParams) SetSorting ¶
func (o *LedgerSearchParams) SetSorting(sorting *string)
SetSorting adds the sorting to the ledger search params
func (*LedgerSearchParams) SetSupplierID ¶
func (o *LedgerSearchParams) SetSupplierID(supplierID *int32)
SetSupplierID adds the supplierId to the ledger search params
func (*LedgerSearchParams) SetTimeout ¶
func (o *LedgerSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ledger search params
func (*LedgerSearchParams) WithAccountID ¶
func (o *LedgerSearchParams) WithAccountID(accountID *int32) *LedgerSearchParams
WithAccountID adds the accountID to the ledger search params
func (*LedgerSearchParams) WithContext ¶
func (o *LedgerSearchParams) WithContext(ctx context.Context) *LedgerSearchParams
WithContext adds the context to the ledger search params
func (*LedgerSearchParams) WithCount ¶
func (o *LedgerSearchParams) WithCount(count *int64) *LedgerSearchParams
WithCount adds the count to the ledger search params
func (*LedgerSearchParams) WithCustomerID ¶
func (o *LedgerSearchParams) WithCustomerID(customerID *int32) *LedgerSearchParams
WithCustomerID adds the customerID to the ledger search params
func (*LedgerSearchParams) WithDateFrom ¶
func (o *LedgerSearchParams) WithDateFrom(dateFrom string) *LedgerSearchParams
WithDateFrom adds the dateFrom to the ledger search params
func (*LedgerSearchParams) WithDateTo ¶
func (o *LedgerSearchParams) WithDateTo(dateTo string) *LedgerSearchParams
WithDateTo adds the dateTo to the ledger search params
func (*LedgerSearchParams) WithDepartmentID ¶
func (o *LedgerSearchParams) WithDepartmentID(departmentID *int32) *LedgerSearchParams
WithDepartmentID adds the departmentID to the ledger search params
func (*LedgerSearchParams) WithEmployeeID ¶
func (o *LedgerSearchParams) WithEmployeeID(employeeID *int32) *LedgerSearchParams
WithEmployeeID adds the employeeID to the ledger search params
func (*LedgerSearchParams) WithFields ¶
func (o *LedgerSearchParams) WithFields(fields *string) *LedgerSearchParams
WithFields adds the fields to the ledger search params
func (*LedgerSearchParams) WithFrom ¶
func (o *LedgerSearchParams) WithFrom(from *int64) *LedgerSearchParams
WithFrom adds the from to the ledger search params
func (*LedgerSearchParams) WithHTTPClient ¶
func (o *LedgerSearchParams) WithHTTPClient(client *http.Client) *LedgerSearchParams
WithHTTPClient adds the HTTPClient to the ledger search params
func (*LedgerSearchParams) WithOpenPostings ¶
func (o *LedgerSearchParams) WithOpenPostings(openPostings *string) *LedgerSearchParams
WithOpenPostings adds the openPostings to the ledger search params
func (*LedgerSearchParams) WithProductID ¶
func (o *LedgerSearchParams) WithProductID(productID *int32) *LedgerSearchParams
WithProductID adds the productID to the ledger search params
func (*LedgerSearchParams) WithProjectID ¶
func (o *LedgerSearchParams) WithProjectID(projectID *int32) *LedgerSearchParams
WithProjectID adds the projectID to the ledger search params
func (*LedgerSearchParams) WithSorting ¶
func (o *LedgerSearchParams) WithSorting(sorting *string) *LedgerSearchParams
WithSorting adds the sorting to the ledger search params
func (*LedgerSearchParams) WithSupplierID ¶
func (o *LedgerSearchParams) WithSupplierID(supplierID *int32) *LedgerSearchParams
WithSupplierID adds the supplierID to the ledger search params
func (*LedgerSearchParams) WithTimeout ¶
func (o *LedgerSearchParams) WithTimeout(timeout time.Duration) *LedgerSearchParams
WithTimeout adds the timeout to the ledger search params
func (*LedgerSearchParams) WriteToRequest ¶
func (o *LedgerSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LedgerSearchReader ¶
type LedgerSearchReader struct {
// contains filtered or unexported fields
}
LedgerSearchReader is a Reader for the LedgerSearch structure.
func (*LedgerSearchReader) ReadResponse ¶
func (o *LedgerSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.