payment_type

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 BankReconciliationPaymentTypeGetOK

type BankReconciliationPaymentTypeGetOK struct {
	Payload *models.ResponseWrapperBankReconciliationPaymentType
}

BankReconciliationPaymentTypeGetOK handles this case with default header values.

successful operation

func NewBankReconciliationPaymentTypeGetOK

func NewBankReconciliationPaymentTypeGetOK() *BankReconciliationPaymentTypeGetOK

NewBankReconciliationPaymentTypeGetOK creates a BankReconciliationPaymentTypeGetOK with default headers values

func (*BankReconciliationPaymentTypeGetOK) Error

func (*BankReconciliationPaymentTypeGetOK) GetPayload

type BankReconciliationPaymentTypeGetParams

type BankReconciliationPaymentTypeGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

BankReconciliationPaymentTypeGetParams contains all the parameters to send to the API endpoint for the bank reconciliation payment type get operation typically these are written to a http.Request

func NewBankReconciliationPaymentTypeGetParams

func NewBankReconciliationPaymentTypeGetParams() *BankReconciliationPaymentTypeGetParams

NewBankReconciliationPaymentTypeGetParams creates a new BankReconciliationPaymentTypeGetParams object with the default values initialized.

func NewBankReconciliationPaymentTypeGetParamsWithContext

func NewBankReconciliationPaymentTypeGetParamsWithContext(ctx context.Context) *BankReconciliationPaymentTypeGetParams

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

func NewBankReconciliationPaymentTypeGetParamsWithHTTPClient

func NewBankReconciliationPaymentTypeGetParamsWithHTTPClient(client *http.Client) *BankReconciliationPaymentTypeGetParams

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

func NewBankReconciliationPaymentTypeGetParamsWithTimeout

func NewBankReconciliationPaymentTypeGetParamsWithTimeout(timeout time.Duration) *BankReconciliationPaymentTypeGetParams

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

func (*BankReconciliationPaymentTypeGetParams) SetContext

SetContext adds the context to the bank reconciliation payment type get params

func (*BankReconciliationPaymentTypeGetParams) SetFields

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

SetFields adds the fields to the bank reconciliation payment type get params

func (*BankReconciliationPaymentTypeGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the bank reconciliation payment type get params

func (*BankReconciliationPaymentTypeGetParams) SetID

SetID adds the id to the bank reconciliation payment type get params

func (*BankReconciliationPaymentTypeGetParams) SetTimeout

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

SetTimeout adds the timeout to the bank reconciliation payment type get params

func (*BankReconciliationPaymentTypeGetParams) WithContext

WithContext adds the context to the bank reconciliation payment type get params

func (*BankReconciliationPaymentTypeGetParams) WithFields

WithFields adds the fields to the bank reconciliation payment type get params

func (*BankReconciliationPaymentTypeGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the bank reconciliation payment type get params

func (*BankReconciliationPaymentTypeGetParams) WithID

WithID adds the id to the bank reconciliation payment type get params

func (*BankReconciliationPaymentTypeGetParams) WithTimeout

WithTimeout adds the timeout to the bank reconciliation payment type get params

func (*BankReconciliationPaymentTypeGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BankReconciliationPaymentTypeGetReader

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

BankReconciliationPaymentTypeGetReader is a Reader for the BankReconciliationPaymentTypeGet structure.

func (*BankReconciliationPaymentTypeGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BankReconciliationPaymentTypeSearchOK

type BankReconciliationPaymentTypeSearchOK struct {
	Payload *models.ListResponseBankReconciliationPaymentType
}

BankReconciliationPaymentTypeSearchOK handles this case with default header values.

successful operation

func NewBankReconciliationPaymentTypeSearchOK

func NewBankReconciliationPaymentTypeSearchOK() *BankReconciliationPaymentTypeSearchOK

NewBankReconciliationPaymentTypeSearchOK creates a BankReconciliationPaymentTypeSearchOK with default headers values

func (*BankReconciliationPaymentTypeSearchOK) Error

func (*BankReconciliationPaymentTypeSearchOK) GetPayload

type BankReconciliationPaymentTypeSearchParams

type BankReconciliationPaymentTypeSearchParams struct {

	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*Description
	  Containing

	*/
	Description *string
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*ID
	  List of IDs

	*/
	ID *string
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string

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

BankReconciliationPaymentTypeSearchParams contains all the parameters to send to the API endpoint for the bank reconciliation payment type search operation typically these are written to a http.Request

func NewBankReconciliationPaymentTypeSearchParams

func NewBankReconciliationPaymentTypeSearchParams() *BankReconciliationPaymentTypeSearchParams

NewBankReconciliationPaymentTypeSearchParams creates a new BankReconciliationPaymentTypeSearchParams object with the default values initialized.

func NewBankReconciliationPaymentTypeSearchParamsWithContext

func NewBankReconciliationPaymentTypeSearchParamsWithContext(ctx context.Context) *BankReconciliationPaymentTypeSearchParams

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

func NewBankReconciliationPaymentTypeSearchParamsWithHTTPClient

func NewBankReconciliationPaymentTypeSearchParamsWithHTTPClient(client *http.Client) *BankReconciliationPaymentTypeSearchParams

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

func NewBankReconciliationPaymentTypeSearchParamsWithTimeout

func NewBankReconciliationPaymentTypeSearchParamsWithTimeout(timeout time.Duration) *BankReconciliationPaymentTypeSearchParams

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

func (*BankReconciliationPaymentTypeSearchParams) SetContext

SetContext adds the context to the bank reconciliation payment type search params

func (*BankReconciliationPaymentTypeSearchParams) SetCount

SetCount adds the count to the bank reconciliation payment type search params

func (*BankReconciliationPaymentTypeSearchParams) SetDescription

func (o *BankReconciliationPaymentTypeSearchParams) SetDescription(description *string)

SetDescription adds the description to the bank reconciliation payment type search params

func (*BankReconciliationPaymentTypeSearchParams) SetFields

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

SetFields adds the fields to the bank reconciliation payment type search params

func (*BankReconciliationPaymentTypeSearchParams) SetFrom

SetFrom adds the from to the bank reconciliation payment type search params

func (*BankReconciliationPaymentTypeSearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the bank reconciliation payment type search params

func (*BankReconciliationPaymentTypeSearchParams) SetID

SetID adds the id to the bank reconciliation payment type search params

func (*BankReconciliationPaymentTypeSearchParams) SetSorting

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

SetSorting adds the sorting to the bank reconciliation payment type search params

func (*BankReconciliationPaymentTypeSearchParams) SetTimeout

SetTimeout adds the timeout to the bank reconciliation payment type search params

func (*BankReconciliationPaymentTypeSearchParams) WithContext

WithContext adds the context to the bank reconciliation payment type search params

func (*BankReconciliationPaymentTypeSearchParams) WithCount

WithCount adds the count to the bank reconciliation payment type search params

func (*BankReconciliationPaymentTypeSearchParams) WithDescription

WithDescription adds the description to the bank reconciliation payment type search params

func (*BankReconciliationPaymentTypeSearchParams) WithFields

WithFields adds the fields to the bank reconciliation payment type search params

func (*BankReconciliationPaymentTypeSearchParams) WithFrom

WithFrom adds the from to the bank reconciliation payment type search params

func (*BankReconciliationPaymentTypeSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the bank reconciliation payment type search params

func (*BankReconciliationPaymentTypeSearchParams) WithID

WithID adds the id to the bank reconciliation payment type search params

func (*BankReconciliationPaymentTypeSearchParams) WithSorting

WithSorting adds the sorting to the bank reconciliation payment type search params

func (*BankReconciliationPaymentTypeSearchParams) WithTimeout

WithTimeout adds the timeout to the bank reconciliation payment type search params

func (*BankReconciliationPaymentTypeSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BankReconciliationPaymentTypeSearchReader

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

BankReconciliationPaymentTypeSearchReader is a Reader for the BankReconciliationPaymentTypeSearch structure.

func (*BankReconciliationPaymentTypeSearchReader) ReadResponse

func (o *BankReconciliationPaymentTypeSearchReader) 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 payment type API

func (*Client) BankReconciliationPaymentTypeGet

BankReconciliationPaymentTypeGet bs e t a get payment type by ID

func (*Client) BankReconciliationPaymentTypeSearch

BankReconciliationPaymentTypeSearch bs e t a find payment type corresponding with sent data

func (*Client) InvoicePaymentTypeGet

func (a *Client) InvoicePaymentTypeGet(params *InvoicePaymentTypeGetParams, authInfo runtime.ClientAuthInfoWriter) (*InvoicePaymentTypeGetOK, error)

InvoicePaymentTypeGet gets payment type by ID

func (*Client) InvoicePaymentTypeSearch

func (a *Client) InvoicePaymentTypeSearch(params *InvoicePaymentTypeSearchParams, authInfo runtime.ClientAuthInfoWriter) (*InvoicePaymentTypeSearchOK, error)

InvoicePaymentTypeSearch finds payment type corresponding with sent data

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) TravelExpensePaymentTypeGet

func (a *Client) TravelExpensePaymentTypeGet(params *TravelExpensePaymentTypeGetParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpensePaymentTypeGetOK, error)

TravelExpensePaymentTypeGet bs e t a get payment type by ID

func (*Client) TravelExpensePaymentTypeSearch

func (a *Client) TravelExpensePaymentTypeSearch(params *TravelExpensePaymentTypeSearchParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpensePaymentTypeSearchOK, error)

TravelExpensePaymentTypeSearch bs e t a find payment type corresponding with sent data

type ClientService

type ClientService interface {
	BankReconciliationPaymentTypeGet(params *BankReconciliationPaymentTypeGetParams, authInfo runtime.ClientAuthInfoWriter) (*BankReconciliationPaymentTypeGetOK, error)

	BankReconciliationPaymentTypeSearch(params *BankReconciliationPaymentTypeSearchParams, authInfo runtime.ClientAuthInfoWriter) (*BankReconciliationPaymentTypeSearchOK, error)

	InvoicePaymentTypeGet(params *InvoicePaymentTypeGetParams, authInfo runtime.ClientAuthInfoWriter) (*InvoicePaymentTypeGetOK, error)

	InvoicePaymentTypeSearch(params *InvoicePaymentTypeSearchParams, authInfo runtime.ClientAuthInfoWriter) (*InvoicePaymentTypeSearchOK, error)

	TravelExpensePaymentTypeGet(params *TravelExpensePaymentTypeGetParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpensePaymentTypeGetOK, error)

	TravelExpensePaymentTypeSearch(params *TravelExpensePaymentTypeSearchParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpensePaymentTypeSearchOK, 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 payment type API client.

type InvoicePaymentTypeGetOK

type InvoicePaymentTypeGetOK struct {
	Payload *models.ResponseWrapperPaymentType
}

InvoicePaymentTypeGetOK handles this case with default header values.

successful operation

func NewInvoicePaymentTypeGetOK

func NewInvoicePaymentTypeGetOK() *InvoicePaymentTypeGetOK

NewInvoicePaymentTypeGetOK creates a InvoicePaymentTypeGetOK with default headers values

func (*InvoicePaymentTypeGetOK) Error

func (o *InvoicePaymentTypeGetOK) Error() string

func (*InvoicePaymentTypeGetOK) GetPayload

type InvoicePaymentTypeGetParams

type InvoicePaymentTypeGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

InvoicePaymentTypeGetParams contains all the parameters to send to the API endpoint for the invoice payment type get operation typically these are written to a http.Request

func NewInvoicePaymentTypeGetParams

func NewInvoicePaymentTypeGetParams() *InvoicePaymentTypeGetParams

NewInvoicePaymentTypeGetParams creates a new InvoicePaymentTypeGetParams object with the default values initialized.

func NewInvoicePaymentTypeGetParamsWithContext

func NewInvoicePaymentTypeGetParamsWithContext(ctx context.Context) *InvoicePaymentTypeGetParams

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

func NewInvoicePaymentTypeGetParamsWithHTTPClient

func NewInvoicePaymentTypeGetParamsWithHTTPClient(client *http.Client) *InvoicePaymentTypeGetParams

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

func NewInvoicePaymentTypeGetParamsWithTimeout

func NewInvoicePaymentTypeGetParamsWithTimeout(timeout time.Duration) *InvoicePaymentTypeGetParams

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

func (*InvoicePaymentTypeGetParams) SetContext

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

SetContext adds the context to the invoice payment type get params

func (*InvoicePaymentTypeGetParams) SetFields

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

SetFields adds the fields to the invoice payment type get params

func (*InvoicePaymentTypeGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the invoice payment type get params

func (*InvoicePaymentTypeGetParams) SetID

func (o *InvoicePaymentTypeGetParams) SetID(id int32)

SetID adds the id to the invoice payment type get params

func (*InvoicePaymentTypeGetParams) SetTimeout

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

SetTimeout adds the timeout to the invoice payment type get params

func (*InvoicePaymentTypeGetParams) WithContext

WithContext adds the context to the invoice payment type get params

func (*InvoicePaymentTypeGetParams) WithFields

WithFields adds the fields to the invoice payment type get params

func (*InvoicePaymentTypeGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the invoice payment type get params

func (*InvoicePaymentTypeGetParams) WithID

WithID adds the id to the invoice payment type get params

func (*InvoicePaymentTypeGetParams) WithTimeout

WithTimeout adds the timeout to the invoice payment type get params

func (*InvoicePaymentTypeGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InvoicePaymentTypeGetReader

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

InvoicePaymentTypeGetReader is a Reader for the InvoicePaymentTypeGet structure.

func (*InvoicePaymentTypeGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InvoicePaymentTypeSearchOK

type InvoicePaymentTypeSearchOK struct {
	Payload *models.ListResponsePaymentType
}

InvoicePaymentTypeSearchOK handles this case with default header values.

successful operation

func NewInvoicePaymentTypeSearchOK

func NewInvoicePaymentTypeSearchOK() *InvoicePaymentTypeSearchOK

NewInvoicePaymentTypeSearchOK creates a InvoicePaymentTypeSearchOK with default headers values

func (*InvoicePaymentTypeSearchOK) Error

func (*InvoicePaymentTypeSearchOK) GetPayload

type InvoicePaymentTypeSearchParams

type InvoicePaymentTypeSearchParams struct {

	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*Description
	  Containing

	*/
	Description *string
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*ID
	  List of IDs

	*/
	ID *string
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string

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

InvoicePaymentTypeSearchParams contains all the parameters to send to the API endpoint for the invoice payment type search operation typically these are written to a http.Request

func NewInvoicePaymentTypeSearchParams

func NewInvoicePaymentTypeSearchParams() *InvoicePaymentTypeSearchParams

NewInvoicePaymentTypeSearchParams creates a new InvoicePaymentTypeSearchParams object with the default values initialized.

func NewInvoicePaymentTypeSearchParamsWithContext

func NewInvoicePaymentTypeSearchParamsWithContext(ctx context.Context) *InvoicePaymentTypeSearchParams

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

func NewInvoicePaymentTypeSearchParamsWithHTTPClient

func NewInvoicePaymentTypeSearchParamsWithHTTPClient(client *http.Client) *InvoicePaymentTypeSearchParams

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

func NewInvoicePaymentTypeSearchParamsWithTimeout

func NewInvoicePaymentTypeSearchParamsWithTimeout(timeout time.Duration) *InvoicePaymentTypeSearchParams

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

func (*InvoicePaymentTypeSearchParams) SetContext

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

SetContext adds the context to the invoice payment type search params

func (*InvoicePaymentTypeSearchParams) SetCount

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

SetCount adds the count to the invoice payment type search params

func (*InvoicePaymentTypeSearchParams) SetDescription

func (o *InvoicePaymentTypeSearchParams) SetDescription(description *string)

SetDescription adds the description to the invoice payment type search params

func (*InvoicePaymentTypeSearchParams) SetFields

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

SetFields adds the fields to the invoice payment type search params

func (*InvoicePaymentTypeSearchParams) SetFrom

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

SetFrom adds the from to the invoice payment type search params

func (*InvoicePaymentTypeSearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the invoice payment type search params

func (*InvoicePaymentTypeSearchParams) SetID

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

SetID adds the id to the invoice payment type search params

func (*InvoicePaymentTypeSearchParams) SetSorting

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

SetSorting adds the sorting to the invoice payment type search params

func (*InvoicePaymentTypeSearchParams) SetTimeout

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

SetTimeout adds the timeout to the invoice payment type search params

func (*InvoicePaymentTypeSearchParams) WithContext

WithContext adds the context to the invoice payment type search params

func (*InvoicePaymentTypeSearchParams) WithCount

WithCount adds the count to the invoice payment type search params

func (*InvoicePaymentTypeSearchParams) WithDescription

func (o *InvoicePaymentTypeSearchParams) WithDescription(description *string) *InvoicePaymentTypeSearchParams

WithDescription adds the description to the invoice payment type search params

func (*InvoicePaymentTypeSearchParams) WithFields

WithFields adds the fields to the invoice payment type search params

func (*InvoicePaymentTypeSearchParams) WithFrom

WithFrom adds the from to the invoice payment type search params

func (*InvoicePaymentTypeSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the invoice payment type search params

func (*InvoicePaymentTypeSearchParams) WithID

WithID adds the id to the invoice payment type search params

func (*InvoicePaymentTypeSearchParams) WithSorting

WithSorting adds the sorting to the invoice payment type search params

func (*InvoicePaymentTypeSearchParams) WithTimeout

WithTimeout adds the timeout to the invoice payment type search params

func (*InvoicePaymentTypeSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InvoicePaymentTypeSearchReader

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

InvoicePaymentTypeSearchReader is a Reader for the InvoicePaymentTypeSearch structure.

func (*InvoicePaymentTypeSearchReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TravelExpensePaymentTypeGetOK

type TravelExpensePaymentTypeGetOK struct {
	Payload *models.ResponseWrapperTravelPaymentType
}

TravelExpensePaymentTypeGetOK handles this case with default header values.

successful operation

func NewTravelExpensePaymentTypeGetOK

func NewTravelExpensePaymentTypeGetOK() *TravelExpensePaymentTypeGetOK

NewTravelExpensePaymentTypeGetOK creates a TravelExpensePaymentTypeGetOK with default headers values

func (*TravelExpensePaymentTypeGetOK) Error

func (*TravelExpensePaymentTypeGetOK) GetPayload

type TravelExpensePaymentTypeGetParams

type TravelExpensePaymentTypeGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

TravelExpensePaymentTypeGetParams contains all the parameters to send to the API endpoint for the travel expense payment type get operation typically these are written to a http.Request

func NewTravelExpensePaymentTypeGetParams

func NewTravelExpensePaymentTypeGetParams() *TravelExpensePaymentTypeGetParams

NewTravelExpensePaymentTypeGetParams creates a new TravelExpensePaymentTypeGetParams object with the default values initialized.

func NewTravelExpensePaymentTypeGetParamsWithContext

func NewTravelExpensePaymentTypeGetParamsWithContext(ctx context.Context) *TravelExpensePaymentTypeGetParams

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

func NewTravelExpensePaymentTypeGetParamsWithHTTPClient

func NewTravelExpensePaymentTypeGetParamsWithHTTPClient(client *http.Client) *TravelExpensePaymentTypeGetParams

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

func NewTravelExpensePaymentTypeGetParamsWithTimeout

func NewTravelExpensePaymentTypeGetParamsWithTimeout(timeout time.Duration) *TravelExpensePaymentTypeGetParams

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

func (*TravelExpensePaymentTypeGetParams) SetContext

SetContext adds the context to the travel expense payment type get params

func (*TravelExpensePaymentTypeGetParams) SetFields

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

SetFields adds the fields to the travel expense payment type get params

func (*TravelExpensePaymentTypeGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the travel expense payment type get params

func (*TravelExpensePaymentTypeGetParams) SetID

SetID adds the id to the travel expense payment type get params

func (*TravelExpensePaymentTypeGetParams) SetTimeout

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

SetTimeout adds the timeout to the travel expense payment type get params

func (*TravelExpensePaymentTypeGetParams) WithContext

WithContext adds the context to the travel expense payment type get params

func (*TravelExpensePaymentTypeGetParams) WithFields

WithFields adds the fields to the travel expense payment type get params

func (*TravelExpensePaymentTypeGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the travel expense payment type get params

func (*TravelExpensePaymentTypeGetParams) WithID

WithID adds the id to the travel expense payment type get params

func (*TravelExpensePaymentTypeGetParams) WithTimeout

WithTimeout adds the timeout to the travel expense payment type get params

func (*TravelExpensePaymentTypeGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TravelExpensePaymentTypeGetReader

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

TravelExpensePaymentTypeGetReader is a Reader for the TravelExpensePaymentTypeGet structure.

func (*TravelExpensePaymentTypeGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TravelExpensePaymentTypeSearchOK

type TravelExpensePaymentTypeSearchOK struct {
	Payload *models.ListResponseTravelPaymentType
}

TravelExpensePaymentTypeSearchOK handles this case with default header values.

successful operation

func NewTravelExpensePaymentTypeSearchOK

func NewTravelExpensePaymentTypeSearchOK() *TravelExpensePaymentTypeSearchOK

NewTravelExpensePaymentTypeSearchOK creates a TravelExpensePaymentTypeSearchOK with default headers values

func (*TravelExpensePaymentTypeSearchOK) Error

func (*TravelExpensePaymentTypeSearchOK) GetPayload

type TravelExpensePaymentTypeSearchParams

type TravelExpensePaymentTypeSearchParams struct {

	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*Description
	  Containing

	*/
	Description *string
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*ID
	  List of IDs

	*/
	ID *string
	/*IsInactive
	  Equals

	*/
	IsInactive *bool
	/*ShowOnEmployeeExpenses
	  Equals

	*/
	ShowOnEmployeeExpenses *bool
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string

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

TravelExpensePaymentTypeSearchParams contains all the parameters to send to the API endpoint for the travel expense payment type search operation typically these are written to a http.Request

func NewTravelExpensePaymentTypeSearchParams

func NewTravelExpensePaymentTypeSearchParams() *TravelExpensePaymentTypeSearchParams

NewTravelExpensePaymentTypeSearchParams creates a new TravelExpensePaymentTypeSearchParams object with the default values initialized.

func NewTravelExpensePaymentTypeSearchParamsWithContext

func NewTravelExpensePaymentTypeSearchParamsWithContext(ctx context.Context) *TravelExpensePaymentTypeSearchParams

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

func NewTravelExpensePaymentTypeSearchParamsWithHTTPClient

func NewTravelExpensePaymentTypeSearchParamsWithHTTPClient(client *http.Client) *TravelExpensePaymentTypeSearchParams

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

func NewTravelExpensePaymentTypeSearchParamsWithTimeout

func NewTravelExpensePaymentTypeSearchParamsWithTimeout(timeout time.Duration) *TravelExpensePaymentTypeSearchParams

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

func (*TravelExpensePaymentTypeSearchParams) SetContext

SetContext adds the context to the travel expense payment type search params

func (*TravelExpensePaymentTypeSearchParams) SetCount

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

SetCount adds the count to the travel expense payment type search params

func (*TravelExpensePaymentTypeSearchParams) SetDescription

func (o *TravelExpensePaymentTypeSearchParams) SetDescription(description *string)

SetDescription adds the description to the travel expense payment type search params

func (*TravelExpensePaymentTypeSearchParams) SetFields

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

SetFields adds the fields to the travel expense payment type search params

func (*TravelExpensePaymentTypeSearchParams) SetFrom

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

SetFrom adds the from to the travel expense payment type search params

func (*TravelExpensePaymentTypeSearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the travel expense payment type search params

func (*TravelExpensePaymentTypeSearchParams) SetID

SetID adds the id to the travel expense payment type search params

func (*TravelExpensePaymentTypeSearchParams) SetIsInactive

func (o *TravelExpensePaymentTypeSearchParams) SetIsInactive(isInactive *bool)

SetIsInactive adds the isInactive to the travel expense payment type search params

func (*TravelExpensePaymentTypeSearchParams) SetShowOnEmployeeExpenses

func (o *TravelExpensePaymentTypeSearchParams) SetShowOnEmployeeExpenses(showOnEmployeeExpenses *bool)

SetShowOnEmployeeExpenses adds the showOnEmployeeExpenses to the travel expense payment type search params

func (*TravelExpensePaymentTypeSearchParams) SetSorting

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

SetSorting adds the sorting to the travel expense payment type search params

func (*TravelExpensePaymentTypeSearchParams) SetTimeout

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

SetTimeout adds the timeout to the travel expense payment type search params

func (*TravelExpensePaymentTypeSearchParams) WithContext

WithContext adds the context to the travel expense payment type search params

func (*TravelExpensePaymentTypeSearchParams) WithCount

WithCount adds the count to the travel expense payment type search params

func (*TravelExpensePaymentTypeSearchParams) WithDescription

WithDescription adds the description to the travel expense payment type search params

func (*TravelExpensePaymentTypeSearchParams) WithFields

WithFields adds the fields to the travel expense payment type search params

func (*TravelExpensePaymentTypeSearchParams) WithFrom

WithFrom adds the from to the travel expense payment type search params

func (*TravelExpensePaymentTypeSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the travel expense payment type search params

func (*TravelExpensePaymentTypeSearchParams) WithID

WithID adds the id to the travel expense payment type search params

func (*TravelExpensePaymentTypeSearchParams) WithIsInactive

WithIsInactive adds the isInactive to the travel expense payment type search params

func (*TravelExpensePaymentTypeSearchParams) WithShowOnEmployeeExpenses

func (o *TravelExpensePaymentTypeSearchParams) WithShowOnEmployeeExpenses(showOnEmployeeExpenses *bool) *TravelExpensePaymentTypeSearchParams

WithShowOnEmployeeExpenses adds the showOnEmployeeExpenses to the travel expense payment type search params

func (*TravelExpensePaymentTypeSearchParams) WithSorting

WithSorting adds the sorting to the travel expense payment type search params

func (*TravelExpensePaymentTypeSearchParams) WithTimeout

WithTimeout adds the timeout to the travel expense payment type search params

func (*TravelExpensePaymentTypeSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TravelExpensePaymentTypeSearchReader

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

TravelExpensePaymentTypeSearchReader is a Reader for the TravelExpensePaymentTypeSearch structure.

func (*TravelExpensePaymentTypeSearchReader) ReadResponse

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