transaction

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 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 BankStatementTransactionDetailsGetDetailsOK

type BankStatementTransactionDetailsGetDetailsOK struct {
	Payload *models.ResponseWrapperObject
}

BankStatementTransactionDetailsGetDetailsOK handles this case with default header values.

successful operation

func NewBankStatementTransactionDetailsGetDetailsOK

func NewBankStatementTransactionDetailsGetDetailsOK() *BankStatementTransactionDetailsGetDetailsOK

NewBankStatementTransactionDetailsGetDetailsOK creates a BankStatementTransactionDetailsGetDetailsOK with default headers values

func (*BankStatementTransactionDetailsGetDetailsOK) Error

func (*BankStatementTransactionDetailsGetDetailsOK) GetPayload

type BankStatementTransactionDetailsGetDetailsParams

type BankStatementTransactionDetailsGetDetailsParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

BankStatementTransactionDetailsGetDetailsParams contains all the parameters to send to the API endpoint for the bank statement transaction details get details operation typically these are written to a http.Request

func NewBankStatementTransactionDetailsGetDetailsParams

func NewBankStatementTransactionDetailsGetDetailsParams() *BankStatementTransactionDetailsGetDetailsParams

NewBankStatementTransactionDetailsGetDetailsParams creates a new BankStatementTransactionDetailsGetDetailsParams object with the default values initialized.

func NewBankStatementTransactionDetailsGetDetailsParamsWithContext

func NewBankStatementTransactionDetailsGetDetailsParamsWithContext(ctx context.Context) *BankStatementTransactionDetailsGetDetailsParams

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

func NewBankStatementTransactionDetailsGetDetailsParamsWithHTTPClient

func NewBankStatementTransactionDetailsGetDetailsParamsWithHTTPClient(client *http.Client) *BankStatementTransactionDetailsGetDetailsParams

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

func NewBankStatementTransactionDetailsGetDetailsParamsWithTimeout

func NewBankStatementTransactionDetailsGetDetailsParamsWithTimeout(timeout time.Duration) *BankStatementTransactionDetailsGetDetailsParams

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

func (*BankStatementTransactionDetailsGetDetailsParams) SetContext

SetContext adds the context to the bank statement transaction details get details params

func (*BankStatementTransactionDetailsGetDetailsParams) SetFields

SetFields adds the fields to the bank statement transaction details get details params

func (*BankStatementTransactionDetailsGetDetailsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the bank statement transaction details get details params

func (*BankStatementTransactionDetailsGetDetailsParams) SetID

SetID adds the id to the bank statement transaction details get details params

func (*BankStatementTransactionDetailsGetDetailsParams) SetTimeout

SetTimeout adds the timeout to the bank statement transaction details get details params

func (*BankStatementTransactionDetailsGetDetailsParams) WithContext

WithContext adds the context to the bank statement transaction details get details params

func (*BankStatementTransactionDetailsGetDetailsParams) WithFields

WithFields adds the fields to the bank statement transaction details get details params

func (*BankStatementTransactionDetailsGetDetailsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the bank statement transaction details get details params

func (*BankStatementTransactionDetailsGetDetailsParams) WithID

WithID adds the id to the bank statement transaction details get details params

func (*BankStatementTransactionDetailsGetDetailsParams) WithTimeout

WithTimeout adds the timeout to the bank statement transaction details get details params

func (*BankStatementTransactionDetailsGetDetailsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BankStatementTransactionDetailsGetDetailsReader

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

BankStatementTransactionDetailsGetDetailsReader is a Reader for the BankStatementTransactionDetailsGetDetails structure.

func (*BankStatementTransactionDetailsGetDetailsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BankStatementTransactionGetOK

type BankStatementTransactionGetOK struct {
	Payload *models.ResponseWrapperBankTransaction
}

BankStatementTransactionGetOK handles this case with default header values.

successful operation

func NewBankStatementTransactionGetOK

func NewBankStatementTransactionGetOK() *BankStatementTransactionGetOK

NewBankStatementTransactionGetOK creates a BankStatementTransactionGetOK with default headers values

func (*BankStatementTransactionGetOK) Error

func (*BankStatementTransactionGetOK) GetPayload

type BankStatementTransactionGetParams

type BankStatementTransactionGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

BankStatementTransactionGetParams contains all the parameters to send to the API endpoint for the bank statement transaction get operation typically these are written to a http.Request

func NewBankStatementTransactionGetParams

func NewBankStatementTransactionGetParams() *BankStatementTransactionGetParams

NewBankStatementTransactionGetParams creates a new BankStatementTransactionGetParams object with the default values initialized.

func NewBankStatementTransactionGetParamsWithContext

func NewBankStatementTransactionGetParamsWithContext(ctx context.Context) *BankStatementTransactionGetParams

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

func NewBankStatementTransactionGetParamsWithHTTPClient

func NewBankStatementTransactionGetParamsWithHTTPClient(client *http.Client) *BankStatementTransactionGetParams

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

func NewBankStatementTransactionGetParamsWithTimeout

func NewBankStatementTransactionGetParamsWithTimeout(timeout time.Duration) *BankStatementTransactionGetParams

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

func (*BankStatementTransactionGetParams) SetContext

SetContext adds the context to the bank statement transaction get params

func (*BankStatementTransactionGetParams) SetFields

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

SetFields adds the fields to the bank statement transaction get params

func (*BankStatementTransactionGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the bank statement transaction get params

func (*BankStatementTransactionGetParams) SetID

SetID adds the id to the bank statement transaction get params

func (*BankStatementTransactionGetParams) SetTimeout

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

SetTimeout adds the timeout to the bank statement transaction get params

func (*BankStatementTransactionGetParams) WithContext

WithContext adds the context to the bank statement transaction get params

func (*BankStatementTransactionGetParams) WithFields

WithFields adds the fields to the bank statement transaction get params

func (*BankStatementTransactionGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the bank statement transaction get params

func (*BankStatementTransactionGetParams) WithID

WithID adds the id to the bank statement transaction get params

func (*BankStatementTransactionGetParams) WithTimeout

WithTimeout adds the timeout to the bank statement transaction get params

func (*BankStatementTransactionGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BankStatementTransactionGetReader

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

BankStatementTransactionGetReader is a Reader for the BankStatementTransactionGet structure.

func (*BankStatementTransactionGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BankStatementTransactionSearchOK

type BankStatementTransactionSearchOK struct {
	Payload *models.ListResponseBankTransaction
}

BankStatementTransactionSearchOK handles this case with default header values.

successful operation

func NewBankStatementTransactionSearchOK

func NewBankStatementTransactionSearchOK() *BankStatementTransactionSearchOK

NewBankStatementTransactionSearchOK creates a BankStatementTransactionSearchOK with default headers values

func (*BankStatementTransactionSearchOK) Error

func (*BankStatementTransactionSearchOK) GetPayload

type BankStatementTransactionSearchParams

type BankStatementTransactionSearchParams struct {

	/*BankStatementID
	  Bank statement ID

	*/
	BankStatementID int32
	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string

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

BankStatementTransactionSearchParams contains all the parameters to send to the API endpoint for the bank statement transaction search operation typically these are written to a http.Request

func NewBankStatementTransactionSearchParams

func NewBankStatementTransactionSearchParams() *BankStatementTransactionSearchParams

NewBankStatementTransactionSearchParams creates a new BankStatementTransactionSearchParams object with the default values initialized.

func NewBankStatementTransactionSearchParamsWithContext

func NewBankStatementTransactionSearchParamsWithContext(ctx context.Context) *BankStatementTransactionSearchParams

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

func NewBankStatementTransactionSearchParamsWithHTTPClient

func NewBankStatementTransactionSearchParamsWithHTTPClient(client *http.Client) *BankStatementTransactionSearchParams

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

func NewBankStatementTransactionSearchParamsWithTimeout

func NewBankStatementTransactionSearchParamsWithTimeout(timeout time.Duration) *BankStatementTransactionSearchParams

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

func (*BankStatementTransactionSearchParams) SetBankStatementID

func (o *BankStatementTransactionSearchParams) SetBankStatementID(bankStatementID int32)

SetBankStatementID adds the bankStatementId to the bank statement transaction search params

func (*BankStatementTransactionSearchParams) SetContext

SetContext adds the context to the bank statement transaction search params

func (*BankStatementTransactionSearchParams) SetCount

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

SetCount adds the count to the bank statement transaction search params

func (*BankStatementTransactionSearchParams) SetFields

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

SetFields adds the fields to the bank statement transaction search params

func (*BankStatementTransactionSearchParams) SetFrom

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

SetFrom adds the from to the bank statement transaction search params

func (*BankStatementTransactionSearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the bank statement transaction search params

func (*BankStatementTransactionSearchParams) SetSorting

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

SetSorting adds the sorting to the bank statement transaction search params

func (*BankStatementTransactionSearchParams) SetTimeout

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

SetTimeout adds the timeout to the bank statement transaction search params

func (*BankStatementTransactionSearchParams) WithBankStatementID

func (o *BankStatementTransactionSearchParams) WithBankStatementID(bankStatementID int32) *BankStatementTransactionSearchParams

WithBankStatementID adds the bankStatementID to the bank statement transaction search params

func (*BankStatementTransactionSearchParams) WithContext

WithContext adds the context to the bank statement transaction search params

func (*BankStatementTransactionSearchParams) WithCount

WithCount adds the count to the bank statement transaction search params

func (*BankStatementTransactionSearchParams) WithFields

WithFields adds the fields to the bank statement transaction search params

func (*BankStatementTransactionSearchParams) WithFrom

WithFrom adds the from to the bank statement transaction search params

func (*BankStatementTransactionSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the bank statement transaction search params

func (*BankStatementTransactionSearchParams) WithSorting

WithSorting adds the sorting to the bank statement transaction search params

func (*BankStatementTransactionSearchParams) WithTimeout

WithTimeout adds the timeout to the bank statement transaction search params

func (*BankStatementTransactionSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BankStatementTransactionSearchReader

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

BankStatementTransactionSearchReader is a Reader for the BankStatementTransactionSearch structure.

func (*BankStatementTransactionSearchReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for transaction API

func (*Client) BankStatementTransactionDetailsGetDetails

BankStatementTransactionDetailsGetDetails bs e t a get additional details about transaction by ID

func (*Client) BankStatementTransactionGet

func (a *Client) BankStatementTransactionGet(params *BankStatementTransactionGetParams, authInfo runtime.ClientAuthInfoWriter) (*BankStatementTransactionGetOK, error)

BankStatementTransactionGet bs e t a get bank transaction by ID

func (*Client) BankStatementTransactionSearch

func (a *Client) BankStatementTransactionSearch(params *BankStatementTransactionSearchParams, authInfo runtime.ClientAuthInfoWriter) (*BankStatementTransactionSearchOK, error)

BankStatementTransactionSearch bs e t a find bank transaction corresponding with sent data

func (*Client) SalaryTransactionDelete

func (a *Client) SalaryTransactionDelete(params *SalaryTransactionDeleteParams, authInfo runtime.ClientAuthInfoWriter) error

SalaryTransactionDelete bs e t a delete salary transaction by ID

func (*Client) SalaryTransactionGet

func (a *Client) SalaryTransactionGet(params *SalaryTransactionGetParams, authInfo runtime.ClientAuthInfoWriter) (*SalaryTransactionGetOK, error)

SalaryTransactionGet bs e t a find salary transaction by ID

func (*Client) SalaryTransactionPost

func (a *Client) SalaryTransactionPost(params *SalaryTransactionPostParams, authInfo runtime.ClientAuthInfoWriter) (*SalaryTransactionPostCreated, error)

SalaryTransactionPost bs e t a create a new salary transaction

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	BankStatementTransactionDetailsGetDetails(params *BankStatementTransactionDetailsGetDetailsParams, authInfo runtime.ClientAuthInfoWriter) (*BankStatementTransactionDetailsGetDetailsOK, error)

	BankStatementTransactionGet(params *BankStatementTransactionGetParams, authInfo runtime.ClientAuthInfoWriter) (*BankStatementTransactionGetOK, error)

	BankStatementTransactionSearch(params *BankStatementTransactionSearchParams, authInfo runtime.ClientAuthInfoWriter) (*BankStatementTransactionSearchOK, error)

	SalaryTransactionDelete(params *SalaryTransactionDeleteParams, authInfo runtime.ClientAuthInfoWriter) error

	SalaryTransactionGet(params *SalaryTransactionGetParams, authInfo runtime.ClientAuthInfoWriter) (*SalaryTransactionGetOK, error)

	SalaryTransactionPost(params *SalaryTransactionPostParams, authInfo runtime.ClientAuthInfoWriter) (*SalaryTransactionPostCreated, 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 transaction API client.

type SalaryTransactionDeleteDefault

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

SalaryTransactionDeleteDefault handles this case with default header values.

successful operation

func NewSalaryTransactionDeleteDefault

func NewSalaryTransactionDeleteDefault(code int) *SalaryTransactionDeleteDefault

NewSalaryTransactionDeleteDefault creates a SalaryTransactionDeleteDefault with default headers values

func (*SalaryTransactionDeleteDefault) Code

Code gets the status code for the salary transaction delete default response

func (*SalaryTransactionDeleteDefault) Error

type SalaryTransactionDeleteParams

type SalaryTransactionDeleteParams struct {

	/*ID
	  Element ID

	*/
	ID int32

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

SalaryTransactionDeleteParams contains all the parameters to send to the API endpoint for the salary transaction delete operation typically these are written to a http.Request

func NewSalaryTransactionDeleteParams

func NewSalaryTransactionDeleteParams() *SalaryTransactionDeleteParams

NewSalaryTransactionDeleteParams creates a new SalaryTransactionDeleteParams object with the default values initialized.

func NewSalaryTransactionDeleteParamsWithContext

func NewSalaryTransactionDeleteParamsWithContext(ctx context.Context) *SalaryTransactionDeleteParams

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

func NewSalaryTransactionDeleteParamsWithHTTPClient

func NewSalaryTransactionDeleteParamsWithHTTPClient(client *http.Client) *SalaryTransactionDeleteParams

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

func NewSalaryTransactionDeleteParamsWithTimeout

func NewSalaryTransactionDeleteParamsWithTimeout(timeout time.Duration) *SalaryTransactionDeleteParams

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

func (*SalaryTransactionDeleteParams) SetContext

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

SetContext adds the context to the salary transaction delete params

func (*SalaryTransactionDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the salary transaction delete params

func (*SalaryTransactionDeleteParams) SetID

func (o *SalaryTransactionDeleteParams) SetID(id int32)

SetID adds the id to the salary transaction delete params

func (*SalaryTransactionDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the salary transaction delete params

func (*SalaryTransactionDeleteParams) WithContext

WithContext adds the context to the salary transaction delete params

func (*SalaryTransactionDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the salary transaction delete params

func (*SalaryTransactionDeleteParams) WithID

WithID adds the id to the salary transaction delete params

func (*SalaryTransactionDeleteParams) WithTimeout

WithTimeout adds the timeout to the salary transaction delete params

func (*SalaryTransactionDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SalaryTransactionDeleteReader

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

SalaryTransactionDeleteReader is a Reader for the SalaryTransactionDelete structure.

func (*SalaryTransactionDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SalaryTransactionGetOK

type SalaryTransactionGetOK struct {
	Payload *models.ResponseWrapperSalaryTransaction
}

SalaryTransactionGetOK handles this case with default header values.

successful operation

func NewSalaryTransactionGetOK

func NewSalaryTransactionGetOK() *SalaryTransactionGetOK

NewSalaryTransactionGetOK creates a SalaryTransactionGetOK with default headers values

func (*SalaryTransactionGetOK) Error

func (o *SalaryTransactionGetOK) Error() string

func (*SalaryTransactionGetOK) GetPayload

type SalaryTransactionGetParams

type SalaryTransactionGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

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

func NewSalaryTransactionGetParams

func NewSalaryTransactionGetParams() *SalaryTransactionGetParams

NewSalaryTransactionGetParams creates a new SalaryTransactionGetParams object with the default values initialized.

func NewSalaryTransactionGetParamsWithContext

func NewSalaryTransactionGetParamsWithContext(ctx context.Context) *SalaryTransactionGetParams

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

func NewSalaryTransactionGetParamsWithHTTPClient

func NewSalaryTransactionGetParamsWithHTTPClient(client *http.Client) *SalaryTransactionGetParams

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

func NewSalaryTransactionGetParamsWithTimeout

func NewSalaryTransactionGetParamsWithTimeout(timeout time.Duration) *SalaryTransactionGetParams

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

func (*SalaryTransactionGetParams) SetContext

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

SetContext adds the context to the salary transaction get params

func (*SalaryTransactionGetParams) SetFields

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

SetFields adds the fields to the salary transaction get params

func (*SalaryTransactionGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the salary transaction get params

func (*SalaryTransactionGetParams) SetID

func (o *SalaryTransactionGetParams) SetID(id int32)

SetID adds the id to the salary transaction get params

func (*SalaryTransactionGetParams) SetTimeout

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

SetTimeout adds the timeout to the salary transaction get params

func (*SalaryTransactionGetParams) WithContext

WithContext adds the context to the salary transaction get params

func (*SalaryTransactionGetParams) WithFields

WithFields adds the fields to the salary transaction get params

func (*SalaryTransactionGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the salary transaction get params

func (*SalaryTransactionGetParams) WithID

WithID adds the id to the salary transaction get params

func (*SalaryTransactionGetParams) WithTimeout

WithTimeout adds the timeout to the salary transaction get params

func (*SalaryTransactionGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SalaryTransactionGetReader

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

SalaryTransactionGetReader is a Reader for the SalaryTransactionGet structure.

func (*SalaryTransactionGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SalaryTransactionPostCreated

type SalaryTransactionPostCreated struct {
	Payload *models.ResponseWrapperSalaryTransaction
}

SalaryTransactionPostCreated handles this case with default header values.

successfully created

func NewSalaryTransactionPostCreated

func NewSalaryTransactionPostCreated() *SalaryTransactionPostCreated

NewSalaryTransactionPostCreated creates a SalaryTransactionPostCreated with default headers values

func (*SalaryTransactionPostCreated) Error

func (*SalaryTransactionPostCreated) GetPayload

type SalaryTransactionPostParams

type SalaryTransactionPostParams struct {

	/*Body
	  JSON representing the new object to be created. Should not have ID and version set.

	*/
	Body *models.SalaryTransaction
	/*GenerateTaxDeduction
	  Generate tax deduction

	*/
	GenerateTaxDeduction *bool

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

SalaryTransactionPostParams contains all the parameters to send to the API endpoint for the salary transaction post operation typically these are written to a http.Request

func NewSalaryTransactionPostParams

func NewSalaryTransactionPostParams() *SalaryTransactionPostParams

NewSalaryTransactionPostParams creates a new SalaryTransactionPostParams object with the default values initialized.

func NewSalaryTransactionPostParamsWithContext

func NewSalaryTransactionPostParamsWithContext(ctx context.Context) *SalaryTransactionPostParams

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

func NewSalaryTransactionPostParamsWithHTTPClient

func NewSalaryTransactionPostParamsWithHTTPClient(client *http.Client) *SalaryTransactionPostParams

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

func NewSalaryTransactionPostParamsWithTimeout

func NewSalaryTransactionPostParamsWithTimeout(timeout time.Duration) *SalaryTransactionPostParams

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

func (*SalaryTransactionPostParams) SetBody

SetBody adds the body to the salary transaction post params

func (*SalaryTransactionPostParams) SetContext

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

SetContext adds the context to the salary transaction post params

func (*SalaryTransactionPostParams) SetGenerateTaxDeduction

func (o *SalaryTransactionPostParams) SetGenerateTaxDeduction(generateTaxDeduction *bool)

SetGenerateTaxDeduction adds the generateTaxDeduction to the salary transaction post params

func (*SalaryTransactionPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the salary transaction post params

func (*SalaryTransactionPostParams) SetTimeout

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

SetTimeout adds the timeout to the salary transaction post params

func (*SalaryTransactionPostParams) WithBody

WithBody adds the body to the salary transaction post params

func (*SalaryTransactionPostParams) WithContext

WithContext adds the context to the salary transaction post params

func (*SalaryTransactionPostParams) WithGenerateTaxDeduction

func (o *SalaryTransactionPostParams) WithGenerateTaxDeduction(generateTaxDeduction *bool) *SalaryTransactionPostParams

WithGenerateTaxDeduction adds the generateTaxDeduction to the salary transaction post params

func (*SalaryTransactionPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the salary transaction post params

func (*SalaryTransactionPostParams) WithTimeout

WithTimeout adds the timeout to the salary transaction post params

func (*SalaryTransactionPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SalaryTransactionPostReader

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

SalaryTransactionPostReader is a Reader for the SalaryTransactionPost structure.

func (*SalaryTransactionPostReader) ReadResponse

func (o *SalaryTransactionPostReader) 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