accounting_period

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 Client

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

Client for accounting period API

func (*Client) LedgerAccountingPeriodGet

func (a *Client) LedgerAccountingPeriodGet(params *LedgerAccountingPeriodGetParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAccountingPeriodGetOK, error)

LedgerAccountingPeriodGet gets accounting period by ID

func (*Client) LedgerAccountingPeriodSearch

func (a *Client) LedgerAccountingPeriodSearch(params *LedgerAccountingPeriodSearchParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAccountingPeriodSearchOK, error)

LedgerAccountingPeriodSearch finds accounting periods 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 {
	LedgerAccountingPeriodGet(params *LedgerAccountingPeriodGetParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAccountingPeriodGetOK, error)

	LedgerAccountingPeriodSearch(params *LedgerAccountingPeriodSearchParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAccountingPeriodSearchOK, 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 accounting period API client.

type LedgerAccountingPeriodGetOK

type LedgerAccountingPeriodGetOK struct {
	Payload *models.ResponseWrapperAccountingPeriod
}

LedgerAccountingPeriodGetOK handles this case with default header values.

successful operation

func NewLedgerAccountingPeriodGetOK

func NewLedgerAccountingPeriodGetOK() *LedgerAccountingPeriodGetOK

NewLedgerAccountingPeriodGetOK creates a LedgerAccountingPeriodGetOK with default headers values

func (*LedgerAccountingPeriodGetOK) Error

func (*LedgerAccountingPeriodGetOK) GetPayload

type LedgerAccountingPeriodGetParams

type LedgerAccountingPeriodGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

LedgerAccountingPeriodGetParams contains all the parameters to send to the API endpoint for the ledger accounting period get operation typically these are written to a http.Request

func NewLedgerAccountingPeriodGetParams

func NewLedgerAccountingPeriodGetParams() *LedgerAccountingPeriodGetParams

NewLedgerAccountingPeriodGetParams creates a new LedgerAccountingPeriodGetParams object with the default values initialized.

func NewLedgerAccountingPeriodGetParamsWithContext

func NewLedgerAccountingPeriodGetParamsWithContext(ctx context.Context) *LedgerAccountingPeriodGetParams

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

func NewLedgerAccountingPeriodGetParamsWithHTTPClient

func NewLedgerAccountingPeriodGetParamsWithHTTPClient(client *http.Client) *LedgerAccountingPeriodGetParams

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

func NewLedgerAccountingPeriodGetParamsWithTimeout

func NewLedgerAccountingPeriodGetParamsWithTimeout(timeout time.Duration) *LedgerAccountingPeriodGetParams

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

func (*LedgerAccountingPeriodGetParams) SetContext

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

SetContext adds the context to the ledger accounting period get params

func (*LedgerAccountingPeriodGetParams) SetFields

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

SetFields adds the fields to the ledger accounting period get params

func (*LedgerAccountingPeriodGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ledger accounting period get params

func (*LedgerAccountingPeriodGetParams) SetID

SetID adds the id to the ledger accounting period get params

func (*LedgerAccountingPeriodGetParams) SetTimeout

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

SetTimeout adds the timeout to the ledger accounting period get params

func (*LedgerAccountingPeriodGetParams) WithContext

WithContext adds the context to the ledger accounting period get params

func (*LedgerAccountingPeriodGetParams) WithFields

WithFields adds the fields to the ledger accounting period get params

func (*LedgerAccountingPeriodGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the ledger accounting period get params

func (*LedgerAccountingPeriodGetParams) WithID

WithID adds the id to the ledger accounting period get params

func (*LedgerAccountingPeriodGetParams) WithTimeout

WithTimeout adds the timeout to the ledger accounting period get params

func (*LedgerAccountingPeriodGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type LedgerAccountingPeriodGetReader

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

LedgerAccountingPeriodGetReader is a Reader for the LedgerAccountingPeriodGet structure.

func (*LedgerAccountingPeriodGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LedgerAccountingPeriodSearchOK

type LedgerAccountingPeriodSearchOK struct {
	Payload *models.ListResponseAccountingPeriod
}

LedgerAccountingPeriodSearchOK handles this case with default header values.

successful operation

func NewLedgerAccountingPeriodSearchOK

func NewLedgerAccountingPeriodSearchOK() *LedgerAccountingPeriodSearchOK

NewLedgerAccountingPeriodSearchOK creates a LedgerAccountingPeriodSearchOK with default headers values

func (*LedgerAccountingPeriodSearchOK) Error

func (*LedgerAccountingPeriodSearchOK) GetPayload

type LedgerAccountingPeriodSearchParams

type LedgerAccountingPeriodSearchParams struct {

	/*Count
	  Number of elements to return

	*/
	Count *int32
	/*EndFrom
	  From and including

	*/
	EndFrom *string
	/*EndTo
	  To and excluding

	*/
	EndTo *string
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*ID
	  List of IDs

	*/
	ID *string
	/*NumberFrom
	  From and including

	*/
	NumberFrom *int32
	/*NumberTo
	  To and excluding

	*/
	NumberTo *int32
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string
	/*StartFrom
	  From and including

	*/
	StartFrom *string
	/*StartTo
	  To and excluding

	*/
	StartTo *string

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

LedgerAccountingPeriodSearchParams contains all the parameters to send to the API endpoint for the ledger accounting period search operation typically these are written to a http.Request

func NewLedgerAccountingPeriodSearchParams

func NewLedgerAccountingPeriodSearchParams() *LedgerAccountingPeriodSearchParams

NewLedgerAccountingPeriodSearchParams creates a new LedgerAccountingPeriodSearchParams object with the default values initialized.

func NewLedgerAccountingPeriodSearchParamsWithContext

func NewLedgerAccountingPeriodSearchParamsWithContext(ctx context.Context) *LedgerAccountingPeriodSearchParams

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

func NewLedgerAccountingPeriodSearchParamsWithHTTPClient

func NewLedgerAccountingPeriodSearchParamsWithHTTPClient(client *http.Client) *LedgerAccountingPeriodSearchParams

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

func NewLedgerAccountingPeriodSearchParamsWithTimeout

func NewLedgerAccountingPeriodSearchParamsWithTimeout(timeout time.Duration) *LedgerAccountingPeriodSearchParams

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

func (*LedgerAccountingPeriodSearchParams) SetContext

SetContext adds the context to the ledger accounting period search params

func (*LedgerAccountingPeriodSearchParams) SetCount

func (o *LedgerAccountingPeriodSearchParams) SetCount(count *int32)

SetCount adds the count to the ledger accounting period search params

func (*LedgerAccountingPeriodSearchParams) SetEndFrom

func (o *LedgerAccountingPeriodSearchParams) SetEndFrom(endFrom *string)

SetEndFrom adds the endFrom to the ledger accounting period search params

func (*LedgerAccountingPeriodSearchParams) SetEndTo

func (o *LedgerAccountingPeriodSearchParams) SetEndTo(endTo *string)

SetEndTo adds the endTo to the ledger accounting period search params

func (*LedgerAccountingPeriodSearchParams) SetFields

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

SetFields adds the fields to the ledger accounting period search params

func (*LedgerAccountingPeriodSearchParams) SetFrom

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

SetFrom adds the from to the ledger accounting period search params

func (*LedgerAccountingPeriodSearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ledger accounting period search params

func (*LedgerAccountingPeriodSearchParams) SetID

SetID adds the id to the ledger accounting period search params

func (*LedgerAccountingPeriodSearchParams) SetNumberFrom

func (o *LedgerAccountingPeriodSearchParams) SetNumberFrom(numberFrom *int32)

SetNumberFrom adds the numberFrom to the ledger accounting period search params

func (*LedgerAccountingPeriodSearchParams) SetNumberTo

func (o *LedgerAccountingPeriodSearchParams) SetNumberTo(numberTo *int32)

SetNumberTo adds the numberTo to the ledger accounting period search params

func (*LedgerAccountingPeriodSearchParams) SetSorting

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

SetSorting adds the sorting to the ledger accounting period search params

func (*LedgerAccountingPeriodSearchParams) SetStartFrom

func (o *LedgerAccountingPeriodSearchParams) SetStartFrom(startFrom *string)

SetStartFrom adds the startFrom to the ledger accounting period search params

func (*LedgerAccountingPeriodSearchParams) SetStartTo

func (o *LedgerAccountingPeriodSearchParams) SetStartTo(startTo *string)

SetStartTo adds the startTo to the ledger accounting period search params

func (*LedgerAccountingPeriodSearchParams) SetTimeout

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

SetTimeout adds the timeout to the ledger accounting period search params

func (*LedgerAccountingPeriodSearchParams) WithContext

WithContext adds the context to the ledger accounting period search params

func (*LedgerAccountingPeriodSearchParams) WithCount

WithCount adds the count to the ledger accounting period search params

func (*LedgerAccountingPeriodSearchParams) WithEndFrom

WithEndFrom adds the endFrom to the ledger accounting period search params

func (*LedgerAccountingPeriodSearchParams) WithEndTo

WithEndTo adds the endTo to the ledger accounting period search params

func (*LedgerAccountingPeriodSearchParams) WithFields

WithFields adds the fields to the ledger accounting period search params

func (*LedgerAccountingPeriodSearchParams) WithFrom

WithFrom adds the from to the ledger accounting period search params

func (*LedgerAccountingPeriodSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the ledger accounting period search params

func (*LedgerAccountingPeriodSearchParams) WithID

WithID adds the id to the ledger accounting period search params

func (*LedgerAccountingPeriodSearchParams) WithNumberFrom

WithNumberFrom adds the numberFrom to the ledger accounting period search params

func (*LedgerAccountingPeriodSearchParams) WithNumberTo

WithNumberTo adds the numberTo to the ledger accounting period search params

func (*LedgerAccountingPeriodSearchParams) WithSorting

WithSorting adds the sorting to the ledger accounting period search params

func (*LedgerAccountingPeriodSearchParams) WithStartFrom

WithStartFrom adds the startFrom to the ledger accounting period search params

func (*LedgerAccountingPeriodSearchParams) WithStartTo

WithStartTo adds the startTo to the ledger accounting period search params

func (*LedgerAccountingPeriodSearchParams) WithTimeout

WithTimeout adds the timeout to the ledger accounting period search params

func (*LedgerAccountingPeriodSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type LedgerAccountingPeriodSearchReader

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

LedgerAccountingPeriodSearchReader is a Reader for the LedgerAccountingPeriodSearch structure.

func (*LedgerAccountingPeriodSearchReader) ReadResponse

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