payslip

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 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 payslip API

func (*Client) SalaryPayslipGet

func (a *Client) SalaryPayslipGet(params *SalaryPayslipGetParams, authInfo runtime.ClientAuthInfoWriter) (*SalaryPayslipGetOK, error)

SalaryPayslipGet bs e t a find payslip by ID

func (*Client) SalaryPayslipPdfDownloadPdf

func (a *Client) SalaryPayslipPdfDownloadPdf(params *SalaryPayslipPdfDownloadPdfParams, authInfo runtime.ClientAuthInfoWriter) (*SalaryPayslipPdfDownloadPdfOK, error)

SalaryPayslipPdfDownloadPdf bs e t a find payslip p d f document by ID

func (*Client) SalaryPayslipSearch

func (a *Client) SalaryPayslipSearch(params *SalaryPayslipSearchParams, authInfo runtime.ClientAuthInfoWriter) (*SalaryPayslipSearchOK, error)

SalaryPayslipSearch bs e t a find payslips 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 {
	SalaryPayslipPdfDownloadPdf(params *SalaryPayslipPdfDownloadPdfParams, authInfo runtime.ClientAuthInfoWriter) (*SalaryPayslipPdfDownloadPdfOK, error)

	SalaryPayslipGet(params *SalaryPayslipGetParams, authInfo runtime.ClientAuthInfoWriter) (*SalaryPayslipGetOK, error)

	SalaryPayslipSearch(params *SalaryPayslipSearchParams, authInfo runtime.ClientAuthInfoWriter) (*SalaryPayslipSearchOK, 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 payslip API client.

type SalaryPayslipGetOK

type SalaryPayslipGetOK struct {
	Payload *models.ResponseWrapperPayslip
}

SalaryPayslipGetOK handles this case with default header values.

successful operation

func NewSalaryPayslipGetOK

func NewSalaryPayslipGetOK() *SalaryPayslipGetOK

NewSalaryPayslipGetOK creates a SalaryPayslipGetOK with default headers values

func (*SalaryPayslipGetOK) Error

func (o *SalaryPayslipGetOK) Error() string

func (*SalaryPayslipGetOK) GetPayload

type SalaryPayslipGetParams

type SalaryPayslipGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SalaryPayslipGetParams contains all the parameters to send to the API endpoint for the salary payslip get operation typically these are written to a http.Request

func NewSalaryPayslipGetParams

func NewSalaryPayslipGetParams() *SalaryPayslipGetParams

NewSalaryPayslipGetParams creates a new SalaryPayslipGetParams object with the default values initialized.

func NewSalaryPayslipGetParamsWithContext

func NewSalaryPayslipGetParamsWithContext(ctx context.Context) *SalaryPayslipGetParams

NewSalaryPayslipGetParamsWithContext creates a new SalaryPayslipGetParams object with the default values initialized, and the ability to set a context for a request

func NewSalaryPayslipGetParamsWithHTTPClient

func NewSalaryPayslipGetParamsWithHTTPClient(client *http.Client) *SalaryPayslipGetParams

NewSalaryPayslipGetParamsWithHTTPClient creates a new SalaryPayslipGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSalaryPayslipGetParamsWithTimeout

func NewSalaryPayslipGetParamsWithTimeout(timeout time.Duration) *SalaryPayslipGetParams

NewSalaryPayslipGetParamsWithTimeout creates a new SalaryPayslipGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*SalaryPayslipGetParams) SetContext

func (o *SalaryPayslipGetParams) SetContext(ctx context.Context)

SetContext adds the context to the salary payslip get params

func (*SalaryPayslipGetParams) SetFields

func (o *SalaryPayslipGetParams) SetFields(fields *string)

SetFields adds the fields to the salary payslip get params

func (*SalaryPayslipGetParams) SetHTTPClient

func (o *SalaryPayslipGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the salary payslip get params

func (*SalaryPayslipGetParams) SetID

func (o *SalaryPayslipGetParams) SetID(id int32)

SetID adds the id to the salary payslip get params

func (*SalaryPayslipGetParams) SetTimeout

func (o *SalaryPayslipGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the salary payslip get params

func (*SalaryPayslipGetParams) WithContext

WithContext adds the context to the salary payslip get params

func (*SalaryPayslipGetParams) WithFields

func (o *SalaryPayslipGetParams) WithFields(fields *string) *SalaryPayslipGetParams

WithFields adds the fields to the salary payslip get params

func (*SalaryPayslipGetParams) WithHTTPClient

func (o *SalaryPayslipGetParams) WithHTTPClient(client *http.Client) *SalaryPayslipGetParams

WithHTTPClient adds the HTTPClient to the salary payslip get params

func (*SalaryPayslipGetParams) WithID

WithID adds the id to the salary payslip get params

func (*SalaryPayslipGetParams) WithTimeout

WithTimeout adds the timeout to the salary payslip get params

func (*SalaryPayslipGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SalaryPayslipGetReader

type SalaryPayslipGetReader struct {
	// contains filtered or unexported fields
}

SalaryPayslipGetReader is a Reader for the SalaryPayslipGet structure.

func (*SalaryPayslipGetReader) ReadResponse

func (o *SalaryPayslipGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SalaryPayslipPdfDownloadPdfOK

type SalaryPayslipPdfDownloadPdfOK struct {
	Payload strfmt.Base64
}

SalaryPayslipPdfDownloadPdfOK handles this case with default header values.

successful operation

func NewSalaryPayslipPdfDownloadPdfOK

func NewSalaryPayslipPdfDownloadPdfOK() *SalaryPayslipPdfDownloadPdfOK

NewSalaryPayslipPdfDownloadPdfOK creates a SalaryPayslipPdfDownloadPdfOK with default headers values

func (*SalaryPayslipPdfDownloadPdfOK) Error

func (*SalaryPayslipPdfDownloadPdfOK) GetPayload

type SalaryPayslipPdfDownloadPdfParams

type SalaryPayslipPdfDownloadPdfParams struct {

	/*ID
	  Element ID

	*/
	ID int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SalaryPayslipPdfDownloadPdfParams contains all the parameters to send to the API endpoint for the salary payslip pdf download pdf operation typically these are written to a http.Request

func NewSalaryPayslipPdfDownloadPdfParams

func NewSalaryPayslipPdfDownloadPdfParams() *SalaryPayslipPdfDownloadPdfParams

NewSalaryPayslipPdfDownloadPdfParams creates a new SalaryPayslipPdfDownloadPdfParams object with the default values initialized.

func NewSalaryPayslipPdfDownloadPdfParamsWithContext

func NewSalaryPayslipPdfDownloadPdfParamsWithContext(ctx context.Context) *SalaryPayslipPdfDownloadPdfParams

NewSalaryPayslipPdfDownloadPdfParamsWithContext creates a new SalaryPayslipPdfDownloadPdfParams object with the default values initialized, and the ability to set a context for a request

func NewSalaryPayslipPdfDownloadPdfParamsWithHTTPClient

func NewSalaryPayslipPdfDownloadPdfParamsWithHTTPClient(client *http.Client) *SalaryPayslipPdfDownloadPdfParams

NewSalaryPayslipPdfDownloadPdfParamsWithHTTPClient creates a new SalaryPayslipPdfDownloadPdfParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSalaryPayslipPdfDownloadPdfParamsWithTimeout

func NewSalaryPayslipPdfDownloadPdfParamsWithTimeout(timeout time.Duration) *SalaryPayslipPdfDownloadPdfParams

NewSalaryPayslipPdfDownloadPdfParamsWithTimeout creates a new SalaryPayslipPdfDownloadPdfParams object with the default values initialized, and the ability to set a timeout on a request

func (*SalaryPayslipPdfDownloadPdfParams) SetContext

SetContext adds the context to the salary payslip pdf download pdf params

func (*SalaryPayslipPdfDownloadPdfParams) SetHTTPClient

func (o *SalaryPayslipPdfDownloadPdfParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the salary payslip pdf download pdf params

func (*SalaryPayslipPdfDownloadPdfParams) SetID

SetID adds the id to the salary payslip pdf download pdf params

func (*SalaryPayslipPdfDownloadPdfParams) SetTimeout

func (o *SalaryPayslipPdfDownloadPdfParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the salary payslip pdf download pdf params

func (*SalaryPayslipPdfDownloadPdfParams) WithContext

WithContext adds the context to the salary payslip pdf download pdf params

func (*SalaryPayslipPdfDownloadPdfParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the salary payslip pdf download pdf params

func (*SalaryPayslipPdfDownloadPdfParams) WithID

WithID adds the id to the salary payslip pdf download pdf params

func (*SalaryPayslipPdfDownloadPdfParams) WithTimeout

WithTimeout adds the timeout to the salary payslip pdf download pdf params

func (*SalaryPayslipPdfDownloadPdfParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SalaryPayslipPdfDownloadPdfReader

type SalaryPayslipPdfDownloadPdfReader struct {
	// contains filtered or unexported fields
}

SalaryPayslipPdfDownloadPdfReader is a Reader for the SalaryPayslipPdfDownloadPdf structure.

func (*SalaryPayslipPdfDownloadPdfReader) ReadResponse

func (o *SalaryPayslipPdfDownloadPdfReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SalaryPayslipSearchOK

type SalaryPayslipSearchOK struct {
	Payload *models.ListResponsePayslip
}

SalaryPayslipSearchOK handles this case with default header values.

successful operation

func NewSalaryPayslipSearchOK

func NewSalaryPayslipSearchOK() *SalaryPayslipSearchOK

NewSalaryPayslipSearchOK creates a SalaryPayslipSearchOK with default headers values

func (*SalaryPayslipSearchOK) Error

func (o *SalaryPayslipSearchOK) Error() string

func (*SalaryPayslipSearchOK) GetPayload

type SalaryPayslipSearchParams

type SalaryPayslipSearchParams struct {

	/*ActivityID
	  List of IDs

	*/
	ActivityID *string
	/*Comment
	  Containing

	*/
	Comment *string
	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*EmployeeID
	  List of IDs

	*/
	EmployeeID *string
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*ID
	  List of IDs

	*/
	ID *string
	/*MonthFrom
	  From and including

	*/
	MonthFrom *int32
	/*MonthTo
	  To and excluding

	*/
	MonthTo *int32
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string
	/*VoucherDateFrom
	  From and including

	*/
	VoucherDateFrom *string
	/*VoucherDateTo
	  To and excluding

	*/
	VoucherDateTo *string
	/*WageTransactionID
	  List of IDs

	*/
	WageTransactionID *string
	/*YearFrom
	  From and including

	*/
	YearFrom *int32
	/*YearTo
	  To and excluding

	*/
	YearTo *int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SalaryPayslipSearchParams contains all the parameters to send to the API endpoint for the salary payslip search operation typically these are written to a http.Request

func NewSalaryPayslipSearchParams

func NewSalaryPayslipSearchParams() *SalaryPayslipSearchParams

NewSalaryPayslipSearchParams creates a new SalaryPayslipSearchParams object with the default values initialized.

func NewSalaryPayslipSearchParamsWithContext

func NewSalaryPayslipSearchParamsWithContext(ctx context.Context) *SalaryPayslipSearchParams

NewSalaryPayslipSearchParamsWithContext creates a new SalaryPayslipSearchParams object with the default values initialized, and the ability to set a context for a request

func NewSalaryPayslipSearchParamsWithHTTPClient

func NewSalaryPayslipSearchParamsWithHTTPClient(client *http.Client) *SalaryPayslipSearchParams

NewSalaryPayslipSearchParamsWithHTTPClient creates a new SalaryPayslipSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSalaryPayslipSearchParamsWithTimeout

func NewSalaryPayslipSearchParamsWithTimeout(timeout time.Duration) *SalaryPayslipSearchParams

NewSalaryPayslipSearchParamsWithTimeout creates a new SalaryPayslipSearchParams object with the default values initialized, and the ability to set a timeout on a request

func (*SalaryPayslipSearchParams) SetActivityID

func (o *SalaryPayslipSearchParams) SetActivityID(activityID *string)

SetActivityID adds the activityId to the salary payslip search params

func (*SalaryPayslipSearchParams) SetComment

func (o *SalaryPayslipSearchParams) SetComment(comment *string)

SetComment adds the comment to the salary payslip search params

func (*SalaryPayslipSearchParams) SetContext

func (o *SalaryPayslipSearchParams) SetContext(ctx context.Context)

SetContext adds the context to the salary payslip search params

func (*SalaryPayslipSearchParams) SetCount

func (o *SalaryPayslipSearchParams) SetCount(count *int64)

SetCount adds the count to the salary payslip search params

func (*SalaryPayslipSearchParams) SetEmployeeID

func (o *SalaryPayslipSearchParams) SetEmployeeID(employeeID *string)

SetEmployeeID adds the employeeId to the salary payslip search params

func (*SalaryPayslipSearchParams) SetFields

func (o *SalaryPayslipSearchParams) SetFields(fields *string)

SetFields adds the fields to the salary payslip search params

func (*SalaryPayslipSearchParams) SetFrom

func (o *SalaryPayslipSearchParams) SetFrom(from *int64)

SetFrom adds the from to the salary payslip search params

func (*SalaryPayslipSearchParams) SetHTTPClient

func (o *SalaryPayslipSearchParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the salary payslip search params

func (*SalaryPayslipSearchParams) SetID

func (o *SalaryPayslipSearchParams) SetID(id *string)

SetID adds the id to the salary payslip search params

func (*SalaryPayslipSearchParams) SetMonthFrom

func (o *SalaryPayslipSearchParams) SetMonthFrom(monthFrom *int32)

SetMonthFrom adds the monthFrom to the salary payslip search params

func (*SalaryPayslipSearchParams) SetMonthTo

func (o *SalaryPayslipSearchParams) SetMonthTo(monthTo *int32)

SetMonthTo adds the monthTo to the salary payslip search params

func (*SalaryPayslipSearchParams) SetSorting

func (o *SalaryPayslipSearchParams) SetSorting(sorting *string)

SetSorting adds the sorting to the salary payslip search params

func (*SalaryPayslipSearchParams) SetTimeout

func (o *SalaryPayslipSearchParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the salary payslip search params

func (*SalaryPayslipSearchParams) SetVoucherDateFrom

func (o *SalaryPayslipSearchParams) SetVoucherDateFrom(voucherDateFrom *string)

SetVoucherDateFrom adds the voucherDateFrom to the salary payslip search params

func (*SalaryPayslipSearchParams) SetVoucherDateTo

func (o *SalaryPayslipSearchParams) SetVoucherDateTo(voucherDateTo *string)

SetVoucherDateTo adds the voucherDateTo to the salary payslip search params

func (*SalaryPayslipSearchParams) SetWageTransactionID

func (o *SalaryPayslipSearchParams) SetWageTransactionID(wageTransactionID *string)

SetWageTransactionID adds the wageTransactionId to the salary payslip search params

func (*SalaryPayslipSearchParams) SetYearFrom

func (o *SalaryPayslipSearchParams) SetYearFrom(yearFrom *int32)

SetYearFrom adds the yearFrom to the salary payslip search params

func (*SalaryPayslipSearchParams) SetYearTo

func (o *SalaryPayslipSearchParams) SetYearTo(yearTo *int32)

SetYearTo adds the yearTo to the salary payslip search params

func (*SalaryPayslipSearchParams) WithActivityID

func (o *SalaryPayslipSearchParams) WithActivityID(activityID *string) *SalaryPayslipSearchParams

WithActivityID adds the activityID to the salary payslip search params

func (*SalaryPayslipSearchParams) WithComment

WithComment adds the comment to the salary payslip search params

func (*SalaryPayslipSearchParams) WithContext

WithContext adds the context to the salary payslip search params

func (*SalaryPayslipSearchParams) WithCount

WithCount adds the count to the salary payslip search params

func (*SalaryPayslipSearchParams) WithEmployeeID

func (o *SalaryPayslipSearchParams) WithEmployeeID(employeeID *string) *SalaryPayslipSearchParams

WithEmployeeID adds the employeeID to the salary payslip search params

func (*SalaryPayslipSearchParams) WithFields

WithFields adds the fields to the salary payslip search params

func (*SalaryPayslipSearchParams) WithFrom

WithFrom adds the from to the salary payslip search params

func (*SalaryPayslipSearchParams) WithHTTPClient

func (o *SalaryPayslipSearchParams) WithHTTPClient(client *http.Client) *SalaryPayslipSearchParams

WithHTTPClient adds the HTTPClient to the salary payslip search params

func (*SalaryPayslipSearchParams) WithID

WithID adds the id to the salary payslip search params

func (*SalaryPayslipSearchParams) WithMonthFrom

func (o *SalaryPayslipSearchParams) WithMonthFrom(monthFrom *int32) *SalaryPayslipSearchParams

WithMonthFrom adds the monthFrom to the salary payslip search params

func (*SalaryPayslipSearchParams) WithMonthTo

func (o *SalaryPayslipSearchParams) WithMonthTo(monthTo *int32) *SalaryPayslipSearchParams

WithMonthTo adds the monthTo to the salary payslip search params

func (*SalaryPayslipSearchParams) WithSorting

WithSorting adds the sorting to the salary payslip search params

func (*SalaryPayslipSearchParams) WithTimeout

WithTimeout adds the timeout to the salary payslip search params

func (*SalaryPayslipSearchParams) WithVoucherDateFrom

func (o *SalaryPayslipSearchParams) WithVoucherDateFrom(voucherDateFrom *string) *SalaryPayslipSearchParams

WithVoucherDateFrom adds the voucherDateFrom to the salary payslip search params

func (*SalaryPayslipSearchParams) WithVoucherDateTo

func (o *SalaryPayslipSearchParams) WithVoucherDateTo(voucherDateTo *string) *SalaryPayslipSearchParams

WithVoucherDateTo adds the voucherDateTo to the salary payslip search params

func (*SalaryPayslipSearchParams) WithWageTransactionID

func (o *SalaryPayslipSearchParams) WithWageTransactionID(wageTransactionID *string) *SalaryPayslipSearchParams

WithWageTransactionID adds the wageTransactionID to the salary payslip search params

func (*SalaryPayslipSearchParams) WithYearFrom

func (o *SalaryPayslipSearchParams) WithYearFrom(yearFrom *int32) *SalaryPayslipSearchParams

WithYearFrom adds the yearFrom to the salary payslip search params

func (*SalaryPayslipSearchParams) WithYearTo

WithYearTo adds the yearTo to the salary payslip search params

func (*SalaryPayslipSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SalaryPayslipSearchReader

type SalaryPayslipSearchReader struct {
	// contains filtered or unexported fields
}

SalaryPayslipSearchReader is a Reader for the SalaryPayslipSearch structure.

func (*SalaryPayslipSearchReader) ReadResponse

func (o *SalaryPayslipSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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