supplier_invoice

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 supplier invoice API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) SupplierInvoiceGet

func (a *Client) SupplierInvoiceGet(params *SupplierInvoiceGetParams, authInfo runtime.ClientAuthInfoWriter) (*SupplierInvoiceGetOK, error)

SupplierInvoiceGet bs e t a get supplier invoice by ID

func (*Client) SupplierInvoicePdfDownloadPdf

func (a *Client) SupplierInvoicePdfDownloadPdf(params *SupplierInvoicePdfDownloadPdfParams, authInfo runtime.ClientAuthInfoWriter) (*SupplierInvoicePdfDownloadPdfOK, error)

SupplierInvoicePdfDownloadPdf bs e t a get supplier invoice document by invoice ID

func (*Client) SupplierInvoiceSearch

func (a *Client) SupplierInvoiceSearch(params *SupplierInvoiceSearchParams, authInfo runtime.ClientAuthInfoWriter) (*SupplierInvoiceSearchOK, error)

SupplierInvoiceSearch bs e t a find supplier invoices corresponding with sent data

type ClientService

type ClientService interface {
	SupplierInvoiceGet(params *SupplierInvoiceGetParams, authInfo runtime.ClientAuthInfoWriter) (*SupplierInvoiceGetOK, error)

	SupplierInvoicePdfDownloadPdf(params *SupplierInvoicePdfDownloadPdfParams, authInfo runtime.ClientAuthInfoWriter) (*SupplierInvoicePdfDownloadPdfOK, error)

	SupplierInvoiceSearch(params *SupplierInvoiceSearchParams, authInfo runtime.ClientAuthInfoWriter) (*SupplierInvoiceSearchOK, 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 supplier invoice API client.

type SupplierInvoiceGetOK

type SupplierInvoiceGetOK struct {
	Payload *models.ResponseWrapperSupplierInvoice
}

SupplierInvoiceGetOK handles this case with default header values.

successful operation

func NewSupplierInvoiceGetOK

func NewSupplierInvoiceGetOK() *SupplierInvoiceGetOK

NewSupplierInvoiceGetOK creates a SupplierInvoiceGetOK with default headers values

func (*SupplierInvoiceGetOK) Error

func (o *SupplierInvoiceGetOK) Error() string

func (*SupplierInvoiceGetOK) GetPayload

type SupplierInvoiceGetParams

type SupplierInvoiceGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

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

func NewSupplierInvoiceGetParams

func NewSupplierInvoiceGetParams() *SupplierInvoiceGetParams

NewSupplierInvoiceGetParams creates a new SupplierInvoiceGetParams object with the default values initialized.

func NewSupplierInvoiceGetParamsWithContext

func NewSupplierInvoiceGetParamsWithContext(ctx context.Context) *SupplierInvoiceGetParams

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

func NewSupplierInvoiceGetParamsWithHTTPClient

func NewSupplierInvoiceGetParamsWithHTTPClient(client *http.Client) *SupplierInvoiceGetParams

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

func NewSupplierInvoiceGetParamsWithTimeout

func NewSupplierInvoiceGetParamsWithTimeout(timeout time.Duration) *SupplierInvoiceGetParams

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

func (*SupplierInvoiceGetParams) SetContext

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

SetContext adds the context to the supplier invoice get params

func (*SupplierInvoiceGetParams) SetFields

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

SetFields adds the fields to the supplier invoice get params

func (*SupplierInvoiceGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the supplier invoice get params

func (*SupplierInvoiceGetParams) SetID

func (o *SupplierInvoiceGetParams) SetID(id int32)

SetID adds the id to the supplier invoice get params

func (*SupplierInvoiceGetParams) SetTimeout

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

SetTimeout adds the timeout to the supplier invoice get params

func (*SupplierInvoiceGetParams) WithContext

WithContext adds the context to the supplier invoice get params

func (*SupplierInvoiceGetParams) WithFields

WithFields adds the fields to the supplier invoice get params

func (*SupplierInvoiceGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the supplier invoice get params

func (*SupplierInvoiceGetParams) WithID

WithID adds the id to the supplier invoice get params

func (*SupplierInvoiceGetParams) WithTimeout

WithTimeout adds the timeout to the supplier invoice get params

func (*SupplierInvoiceGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SupplierInvoiceGetReader

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

SupplierInvoiceGetReader is a Reader for the SupplierInvoiceGet structure.

func (*SupplierInvoiceGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SupplierInvoicePdfDownloadPdfOK

type SupplierInvoicePdfDownloadPdfOK struct {
	Payload strfmt.Base64
}

SupplierInvoicePdfDownloadPdfOK handles this case with default header values.

successful operation

func NewSupplierInvoicePdfDownloadPdfOK

func NewSupplierInvoicePdfDownloadPdfOK() *SupplierInvoicePdfDownloadPdfOK

NewSupplierInvoicePdfDownloadPdfOK creates a SupplierInvoicePdfDownloadPdfOK with default headers values

func (*SupplierInvoicePdfDownloadPdfOK) Error

func (*SupplierInvoicePdfDownloadPdfOK) GetPayload

type SupplierInvoicePdfDownloadPdfParams

type SupplierInvoicePdfDownloadPdfParams struct {

	/*InvoiceID
	  Invoice ID from which document is downloaded.

	*/
	InvoiceID int32

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

SupplierInvoicePdfDownloadPdfParams contains all the parameters to send to the API endpoint for the supplier invoice pdf download pdf operation typically these are written to a http.Request

func NewSupplierInvoicePdfDownloadPdfParams

func NewSupplierInvoicePdfDownloadPdfParams() *SupplierInvoicePdfDownloadPdfParams

NewSupplierInvoicePdfDownloadPdfParams creates a new SupplierInvoicePdfDownloadPdfParams object with the default values initialized.

func NewSupplierInvoicePdfDownloadPdfParamsWithContext

func NewSupplierInvoicePdfDownloadPdfParamsWithContext(ctx context.Context) *SupplierInvoicePdfDownloadPdfParams

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

func NewSupplierInvoicePdfDownloadPdfParamsWithHTTPClient

func NewSupplierInvoicePdfDownloadPdfParamsWithHTTPClient(client *http.Client) *SupplierInvoicePdfDownloadPdfParams

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

func NewSupplierInvoicePdfDownloadPdfParamsWithTimeout

func NewSupplierInvoicePdfDownloadPdfParamsWithTimeout(timeout time.Duration) *SupplierInvoicePdfDownloadPdfParams

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

func (*SupplierInvoicePdfDownloadPdfParams) SetContext

SetContext adds the context to the supplier invoice pdf download pdf params

func (*SupplierInvoicePdfDownloadPdfParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the supplier invoice pdf download pdf params

func (*SupplierInvoicePdfDownloadPdfParams) SetInvoiceID

func (o *SupplierInvoicePdfDownloadPdfParams) SetInvoiceID(invoiceID int32)

SetInvoiceID adds the invoiceId to the supplier invoice pdf download pdf params

func (*SupplierInvoicePdfDownloadPdfParams) SetTimeout

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

SetTimeout adds the timeout to the supplier invoice pdf download pdf params

func (*SupplierInvoicePdfDownloadPdfParams) WithContext

WithContext adds the context to the supplier invoice pdf download pdf params

func (*SupplierInvoicePdfDownloadPdfParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the supplier invoice pdf download pdf params

func (*SupplierInvoicePdfDownloadPdfParams) WithInvoiceID

WithInvoiceID adds the invoiceID to the supplier invoice pdf download pdf params

func (*SupplierInvoicePdfDownloadPdfParams) WithTimeout

WithTimeout adds the timeout to the supplier invoice pdf download pdf params

func (*SupplierInvoicePdfDownloadPdfParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SupplierInvoicePdfDownloadPdfReader

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

SupplierInvoicePdfDownloadPdfReader is a Reader for the SupplierInvoicePdfDownloadPdf structure.

func (*SupplierInvoicePdfDownloadPdfReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SupplierInvoiceSearchOK

type SupplierInvoiceSearchOK struct {
	Payload *models.ListResponseSupplierInvoice
}

SupplierInvoiceSearchOK handles this case with default header values.

successful operation

func NewSupplierInvoiceSearchOK

func NewSupplierInvoiceSearchOK() *SupplierInvoiceSearchOK

NewSupplierInvoiceSearchOK creates a SupplierInvoiceSearchOK with default headers values

func (*SupplierInvoiceSearchOK) Error

func (o *SupplierInvoiceSearchOK) Error() string

func (*SupplierInvoiceSearchOK) GetPayload

type SupplierInvoiceSearchParams

type SupplierInvoiceSearchParams struct {

	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*ID
	  List of IDs

	*/
	ID *string
	/*InvoiceDateFrom
	  From and including

	*/
	InvoiceDateFrom string
	/*InvoiceDateTo
	  To and excluding

	*/
	InvoiceDateTo string
	/*InvoiceNumber
	  Equals

	*/
	InvoiceNumber *string
	/*Kid
	  Equals

	*/
	Kid *string
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string
	/*SupplierID
	  Equals

	*/
	SupplierID *string
	/*VoucherID
	  Equals

	*/
	VoucherID *string

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

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

func NewSupplierInvoiceSearchParams

func NewSupplierInvoiceSearchParams() *SupplierInvoiceSearchParams

NewSupplierInvoiceSearchParams creates a new SupplierInvoiceSearchParams object with the default values initialized.

func NewSupplierInvoiceSearchParamsWithContext

func NewSupplierInvoiceSearchParamsWithContext(ctx context.Context) *SupplierInvoiceSearchParams

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

func NewSupplierInvoiceSearchParamsWithHTTPClient

func NewSupplierInvoiceSearchParamsWithHTTPClient(client *http.Client) *SupplierInvoiceSearchParams

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

func NewSupplierInvoiceSearchParamsWithTimeout

func NewSupplierInvoiceSearchParamsWithTimeout(timeout time.Duration) *SupplierInvoiceSearchParams

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

func (*SupplierInvoiceSearchParams) SetContext

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

SetContext adds the context to the supplier invoice search params

func (*SupplierInvoiceSearchParams) SetCount

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

SetCount adds the count to the supplier invoice search params

func (*SupplierInvoiceSearchParams) SetFields

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

SetFields adds the fields to the supplier invoice search params

func (*SupplierInvoiceSearchParams) SetFrom

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

SetFrom adds the from to the supplier invoice search params

func (*SupplierInvoiceSearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the supplier invoice search params

func (*SupplierInvoiceSearchParams) SetID

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

SetID adds the id to the supplier invoice search params

func (*SupplierInvoiceSearchParams) SetInvoiceDateFrom

func (o *SupplierInvoiceSearchParams) SetInvoiceDateFrom(invoiceDateFrom string)

SetInvoiceDateFrom adds the invoiceDateFrom to the supplier invoice search params

func (*SupplierInvoiceSearchParams) SetInvoiceDateTo

func (o *SupplierInvoiceSearchParams) SetInvoiceDateTo(invoiceDateTo string)

SetInvoiceDateTo adds the invoiceDateTo to the supplier invoice search params

func (*SupplierInvoiceSearchParams) SetInvoiceNumber

func (o *SupplierInvoiceSearchParams) SetInvoiceNumber(invoiceNumber *string)

SetInvoiceNumber adds the invoiceNumber to the supplier invoice search params

func (*SupplierInvoiceSearchParams) SetKid

func (o *SupplierInvoiceSearchParams) SetKid(kid *string)

SetKid adds the kid to the supplier invoice search params

func (*SupplierInvoiceSearchParams) SetSorting

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

SetSorting adds the sorting to the supplier invoice search params

func (*SupplierInvoiceSearchParams) SetSupplierID

func (o *SupplierInvoiceSearchParams) SetSupplierID(supplierID *string)

SetSupplierID adds the supplierId to the supplier invoice search params

func (*SupplierInvoiceSearchParams) SetTimeout

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

SetTimeout adds the timeout to the supplier invoice search params

func (*SupplierInvoiceSearchParams) SetVoucherID

func (o *SupplierInvoiceSearchParams) SetVoucherID(voucherID *string)

SetVoucherID adds the voucherId to the supplier invoice search params

func (*SupplierInvoiceSearchParams) WithContext

WithContext adds the context to the supplier invoice search params

func (*SupplierInvoiceSearchParams) WithCount

WithCount adds the count to the supplier invoice search params

func (*SupplierInvoiceSearchParams) WithFields

WithFields adds the fields to the supplier invoice search params

func (*SupplierInvoiceSearchParams) WithFrom

WithFrom adds the from to the supplier invoice search params

func (*SupplierInvoiceSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the supplier invoice search params

func (*SupplierInvoiceSearchParams) WithID

WithID adds the id to the supplier invoice search params

func (*SupplierInvoiceSearchParams) WithInvoiceDateFrom

func (o *SupplierInvoiceSearchParams) WithInvoiceDateFrom(invoiceDateFrom string) *SupplierInvoiceSearchParams

WithInvoiceDateFrom adds the invoiceDateFrom to the supplier invoice search params

func (*SupplierInvoiceSearchParams) WithInvoiceDateTo

func (o *SupplierInvoiceSearchParams) WithInvoiceDateTo(invoiceDateTo string) *SupplierInvoiceSearchParams

WithInvoiceDateTo adds the invoiceDateTo to the supplier invoice search params

func (*SupplierInvoiceSearchParams) WithInvoiceNumber

func (o *SupplierInvoiceSearchParams) WithInvoiceNumber(invoiceNumber *string) *SupplierInvoiceSearchParams

WithInvoiceNumber adds the invoiceNumber to the supplier invoice search params

func (*SupplierInvoiceSearchParams) WithKid

WithKid adds the kid to the supplier invoice search params

func (*SupplierInvoiceSearchParams) WithSorting

WithSorting adds the sorting to the supplier invoice search params

func (*SupplierInvoiceSearchParams) WithSupplierID

func (o *SupplierInvoiceSearchParams) WithSupplierID(supplierID *string) *SupplierInvoiceSearchParams

WithSupplierID adds the supplierID to the supplier invoice search params

func (*SupplierInvoiceSearchParams) WithTimeout

WithTimeout adds the timeout to the supplier invoice search params

func (*SupplierInvoiceSearchParams) WithVoucherID

func (o *SupplierInvoiceSearchParams) WithVoucherID(voucherID *string) *SupplierInvoiceSearchParams

WithVoucherID adds the voucherID to the supplier invoice search params

func (*SupplierInvoiceSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SupplierInvoiceSearchReader

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

SupplierInvoiceSearchReader is a Reader for the SupplierInvoiceSearch structure.

func (*SupplierInvoiceSearchReader) ReadResponse

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