goods_receipt

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for goods receipt API

func (*Client) PurchaseOrderGoodsReceiptConfirmConfirm

PurchaseOrderGoodsReceiptConfirmConfirm bs e t a confirm goods receipt only available for users that have activated the logistics plus beta program in our customer account

func (*Client) PurchaseOrderGoodsReceiptDelete

func (a *Client) PurchaseOrderGoodsReceiptDelete(params *PurchaseOrderGoodsReceiptDeleteParams, authInfo runtime.ClientAuthInfoWriter) error

PurchaseOrderGoodsReceiptDelete bs e t a delete goods receipt by ID only available for users that have activated the logistics plus beta program in our customer account

func (*Client) PurchaseOrderGoodsReceiptGet

func (a *Client) PurchaseOrderGoodsReceiptGet(params *PurchaseOrderGoodsReceiptGetParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderGoodsReceiptGetOK, error)

PurchaseOrderGoodsReceiptGet bs e t a get goods receipt by purchase order ID only available for users that have activated the logistics plus beta program in our customer account

func (*Client) PurchaseOrderGoodsReceiptListDeleteByIds

func (a *Client) PurchaseOrderGoodsReceiptListDeleteByIds(params *PurchaseOrderGoodsReceiptListDeleteByIdsParams, authInfo runtime.ClientAuthInfoWriter) error

PurchaseOrderGoodsReceiptListDeleteByIds bs e t a delete multiple goods receipt by ID only available for users that have activated the logistics plus beta program in our customer account

func (*Client) PurchaseOrderGoodsReceiptListPostList

PurchaseOrderGoodsReceiptListPostList bs e t a register multiple goods receipt without an existing purchase order only available for users that have activated the logistics plus beta program in our customer account

func (*Client) PurchaseOrderGoodsReceiptPost

PurchaseOrderGoodsReceiptPost bs e t a register goods receipt without an existing purchase order when registration of several goods receipt use list for better performance only available for users that have activated the logistics plus beta program in our customer account

func (*Client) PurchaseOrderGoodsReceiptPut

func (a *Client) PurchaseOrderGoodsReceiptPut(params *PurchaseOrderGoodsReceiptPutParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderGoodsReceiptPutOK, error)

PurchaseOrderGoodsReceiptPut bs e t a update goods receipt only available for users that have activated the logistics plus beta program in our customer account

func (*Client) PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirm

PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirm bs e t a receive all ordered products and approve goods receipt only available for users that have activated the logistics logistics plus beta program in our customer account

func (*Client) PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceipt

PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceipt bs e t a register goods receipt quantity received on the products is set to the same as quantity ordered to update the quantity received use p u t purchase order goods receipt line id only available for users that have activated the logistics plus beta program in our customer account

func (*Client) PurchaseOrderGoodsReceiptSearch

func (a *Client) PurchaseOrderGoodsReceiptSearch(params *PurchaseOrderGoodsReceiptSearchParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderGoodsReceiptSearchOK, error)

PurchaseOrderGoodsReceiptSearch bs e t a get goods receipt only available for users that have activated the logistics plus beta program in our customer account

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	PurchaseOrderGoodsReceiptConfirmConfirm(params *PurchaseOrderGoodsReceiptConfirmConfirmParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderGoodsReceiptConfirmConfirmOK, error)

	PurchaseOrderGoodsReceiptListDeleteByIds(params *PurchaseOrderGoodsReceiptListDeleteByIdsParams, authInfo runtime.ClientAuthInfoWriter) error

	PurchaseOrderGoodsReceiptListPostList(params *PurchaseOrderGoodsReceiptListPostListParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderGoodsReceiptListPostListCreated, error)

	PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirm(params *PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmOK, error)

	PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceipt(params *PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptOK, error)

	PurchaseOrderGoodsReceiptDelete(params *PurchaseOrderGoodsReceiptDeleteParams, authInfo runtime.ClientAuthInfoWriter) error

	PurchaseOrderGoodsReceiptGet(params *PurchaseOrderGoodsReceiptGetParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderGoodsReceiptGetOK, error)

	PurchaseOrderGoodsReceiptPost(params *PurchaseOrderGoodsReceiptPostParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderGoodsReceiptPostCreated, error)

	PurchaseOrderGoodsReceiptPut(params *PurchaseOrderGoodsReceiptPutParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderGoodsReceiptPutOK, error)

	PurchaseOrderGoodsReceiptSearch(params *PurchaseOrderGoodsReceiptSearchParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderGoodsReceiptSearchOK, 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 goods receipt API client.

type PurchaseOrderGoodsReceiptConfirmConfirmOK

type PurchaseOrderGoodsReceiptConfirmConfirmOK struct {
	Payload *models.ResponseWrapperPurchaseOrder
}

PurchaseOrderGoodsReceiptConfirmConfirmOK handles this case with default header values.

successful operation

func NewPurchaseOrderGoodsReceiptConfirmConfirmOK

func NewPurchaseOrderGoodsReceiptConfirmConfirmOK() *PurchaseOrderGoodsReceiptConfirmConfirmOK

NewPurchaseOrderGoodsReceiptConfirmConfirmOK creates a PurchaseOrderGoodsReceiptConfirmConfirmOK with default headers values

func (*PurchaseOrderGoodsReceiptConfirmConfirmOK) Error

func (*PurchaseOrderGoodsReceiptConfirmConfirmOK) GetPayload

type PurchaseOrderGoodsReceiptConfirmConfirmParams

type PurchaseOrderGoodsReceiptConfirmConfirmParams struct {

	/*CreateRestOrder
	  Create restorder if quantity received is less than ordered

	*/
	CreateRestOrder *bool
	/*ID
	  Purchase Order ID.

	*/
	ID int32

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

PurchaseOrderGoodsReceiptConfirmConfirmParams contains all the parameters to send to the API endpoint for the purchase order goods receipt confirm confirm operation typically these are written to a http.Request

func NewPurchaseOrderGoodsReceiptConfirmConfirmParams

func NewPurchaseOrderGoodsReceiptConfirmConfirmParams() *PurchaseOrderGoodsReceiptConfirmConfirmParams

NewPurchaseOrderGoodsReceiptConfirmConfirmParams creates a new PurchaseOrderGoodsReceiptConfirmConfirmParams object with the default values initialized.

func NewPurchaseOrderGoodsReceiptConfirmConfirmParamsWithContext

func NewPurchaseOrderGoodsReceiptConfirmConfirmParamsWithContext(ctx context.Context) *PurchaseOrderGoodsReceiptConfirmConfirmParams

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

func NewPurchaseOrderGoodsReceiptConfirmConfirmParamsWithHTTPClient

func NewPurchaseOrderGoodsReceiptConfirmConfirmParamsWithHTTPClient(client *http.Client) *PurchaseOrderGoodsReceiptConfirmConfirmParams

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

func NewPurchaseOrderGoodsReceiptConfirmConfirmParamsWithTimeout

func NewPurchaseOrderGoodsReceiptConfirmConfirmParamsWithTimeout(timeout time.Duration) *PurchaseOrderGoodsReceiptConfirmConfirmParams

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

func (*PurchaseOrderGoodsReceiptConfirmConfirmParams) SetContext

SetContext adds the context to the purchase order goods receipt confirm confirm params

func (*PurchaseOrderGoodsReceiptConfirmConfirmParams) SetCreateRestOrder

func (o *PurchaseOrderGoodsReceiptConfirmConfirmParams) SetCreateRestOrder(createRestOrder *bool)

SetCreateRestOrder adds the createRestOrder to the purchase order goods receipt confirm confirm params

func (*PurchaseOrderGoodsReceiptConfirmConfirmParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the purchase order goods receipt confirm confirm params

func (*PurchaseOrderGoodsReceiptConfirmConfirmParams) SetID

SetID adds the id to the purchase order goods receipt confirm confirm params

func (*PurchaseOrderGoodsReceiptConfirmConfirmParams) SetTimeout

SetTimeout adds the timeout to the purchase order goods receipt confirm confirm params

func (*PurchaseOrderGoodsReceiptConfirmConfirmParams) WithContext

WithContext adds the context to the purchase order goods receipt confirm confirm params

func (*PurchaseOrderGoodsReceiptConfirmConfirmParams) WithCreateRestOrder

WithCreateRestOrder adds the createRestOrder to the purchase order goods receipt confirm confirm params

func (*PurchaseOrderGoodsReceiptConfirmConfirmParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the purchase order goods receipt confirm confirm params

func (*PurchaseOrderGoodsReceiptConfirmConfirmParams) WithID

WithID adds the id to the purchase order goods receipt confirm confirm params

func (*PurchaseOrderGoodsReceiptConfirmConfirmParams) WithTimeout

WithTimeout adds the timeout to the purchase order goods receipt confirm confirm params

func (*PurchaseOrderGoodsReceiptConfirmConfirmParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PurchaseOrderGoodsReceiptConfirmConfirmReader

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

PurchaseOrderGoodsReceiptConfirmConfirmReader is a Reader for the PurchaseOrderGoodsReceiptConfirmConfirm structure.

func (*PurchaseOrderGoodsReceiptConfirmConfirmReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PurchaseOrderGoodsReceiptDeleteDefault

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

PurchaseOrderGoodsReceiptDeleteDefault handles this case with default header values.

successful operation

func NewPurchaseOrderGoodsReceiptDeleteDefault

func NewPurchaseOrderGoodsReceiptDeleteDefault(code int) *PurchaseOrderGoodsReceiptDeleteDefault

NewPurchaseOrderGoodsReceiptDeleteDefault creates a PurchaseOrderGoodsReceiptDeleteDefault with default headers values

func (*PurchaseOrderGoodsReceiptDeleteDefault) Code

Code gets the status code for the purchase order goods receipt delete default response

func (*PurchaseOrderGoodsReceiptDeleteDefault) Error

type PurchaseOrderGoodsReceiptDeleteParams

type PurchaseOrderGoodsReceiptDeleteParams struct {

	/*ID
	  Element ID

	*/
	ID int32

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

PurchaseOrderGoodsReceiptDeleteParams contains all the parameters to send to the API endpoint for the purchase order goods receipt delete operation typically these are written to a http.Request

func NewPurchaseOrderGoodsReceiptDeleteParams

func NewPurchaseOrderGoodsReceiptDeleteParams() *PurchaseOrderGoodsReceiptDeleteParams

NewPurchaseOrderGoodsReceiptDeleteParams creates a new PurchaseOrderGoodsReceiptDeleteParams object with the default values initialized.

func NewPurchaseOrderGoodsReceiptDeleteParamsWithContext

func NewPurchaseOrderGoodsReceiptDeleteParamsWithContext(ctx context.Context) *PurchaseOrderGoodsReceiptDeleteParams

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

func NewPurchaseOrderGoodsReceiptDeleteParamsWithHTTPClient

func NewPurchaseOrderGoodsReceiptDeleteParamsWithHTTPClient(client *http.Client) *PurchaseOrderGoodsReceiptDeleteParams

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

func NewPurchaseOrderGoodsReceiptDeleteParamsWithTimeout

func NewPurchaseOrderGoodsReceiptDeleteParamsWithTimeout(timeout time.Duration) *PurchaseOrderGoodsReceiptDeleteParams

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

func (*PurchaseOrderGoodsReceiptDeleteParams) SetContext

SetContext adds the context to the purchase order goods receipt delete params

func (*PurchaseOrderGoodsReceiptDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the purchase order goods receipt delete params

func (*PurchaseOrderGoodsReceiptDeleteParams) SetID

SetID adds the id to the purchase order goods receipt delete params

func (*PurchaseOrderGoodsReceiptDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the purchase order goods receipt delete params

func (*PurchaseOrderGoodsReceiptDeleteParams) WithContext

WithContext adds the context to the purchase order goods receipt delete params

func (*PurchaseOrderGoodsReceiptDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the purchase order goods receipt delete params

func (*PurchaseOrderGoodsReceiptDeleteParams) WithID

WithID adds the id to the purchase order goods receipt delete params

func (*PurchaseOrderGoodsReceiptDeleteParams) WithTimeout

WithTimeout adds the timeout to the purchase order goods receipt delete params

func (*PurchaseOrderGoodsReceiptDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PurchaseOrderGoodsReceiptDeleteReader

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

PurchaseOrderGoodsReceiptDeleteReader is a Reader for the PurchaseOrderGoodsReceiptDelete structure.

func (*PurchaseOrderGoodsReceiptDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PurchaseOrderGoodsReceiptGetOK

type PurchaseOrderGoodsReceiptGetOK struct {
	Payload *models.ResponseWrapperGoodsReceipt
}

PurchaseOrderGoodsReceiptGetOK handles this case with default header values.

successful operation

func NewPurchaseOrderGoodsReceiptGetOK

func NewPurchaseOrderGoodsReceiptGetOK() *PurchaseOrderGoodsReceiptGetOK

NewPurchaseOrderGoodsReceiptGetOK creates a PurchaseOrderGoodsReceiptGetOK with default headers values

func (*PurchaseOrderGoodsReceiptGetOK) Error

func (*PurchaseOrderGoodsReceiptGetOK) GetPayload

type PurchaseOrderGoodsReceiptGetParams

type PurchaseOrderGoodsReceiptGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

PurchaseOrderGoodsReceiptGetParams contains all the parameters to send to the API endpoint for the purchase order goods receipt get operation typically these are written to a http.Request

func NewPurchaseOrderGoodsReceiptGetParams

func NewPurchaseOrderGoodsReceiptGetParams() *PurchaseOrderGoodsReceiptGetParams

NewPurchaseOrderGoodsReceiptGetParams creates a new PurchaseOrderGoodsReceiptGetParams object with the default values initialized.

func NewPurchaseOrderGoodsReceiptGetParamsWithContext

func NewPurchaseOrderGoodsReceiptGetParamsWithContext(ctx context.Context) *PurchaseOrderGoodsReceiptGetParams

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

func NewPurchaseOrderGoodsReceiptGetParamsWithHTTPClient

func NewPurchaseOrderGoodsReceiptGetParamsWithHTTPClient(client *http.Client) *PurchaseOrderGoodsReceiptGetParams

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

func NewPurchaseOrderGoodsReceiptGetParamsWithTimeout

func NewPurchaseOrderGoodsReceiptGetParamsWithTimeout(timeout time.Duration) *PurchaseOrderGoodsReceiptGetParams

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

func (*PurchaseOrderGoodsReceiptGetParams) SetContext

SetContext adds the context to the purchase order goods receipt get params

func (*PurchaseOrderGoodsReceiptGetParams) SetFields

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

SetFields adds the fields to the purchase order goods receipt get params

func (*PurchaseOrderGoodsReceiptGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the purchase order goods receipt get params

func (*PurchaseOrderGoodsReceiptGetParams) SetID

SetID adds the id to the purchase order goods receipt get params

func (*PurchaseOrderGoodsReceiptGetParams) SetTimeout

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

SetTimeout adds the timeout to the purchase order goods receipt get params

func (*PurchaseOrderGoodsReceiptGetParams) WithContext

WithContext adds the context to the purchase order goods receipt get params

func (*PurchaseOrderGoodsReceiptGetParams) WithFields

WithFields adds the fields to the purchase order goods receipt get params

func (*PurchaseOrderGoodsReceiptGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the purchase order goods receipt get params

func (*PurchaseOrderGoodsReceiptGetParams) WithID

WithID adds the id to the purchase order goods receipt get params

func (*PurchaseOrderGoodsReceiptGetParams) WithTimeout

WithTimeout adds the timeout to the purchase order goods receipt get params

func (*PurchaseOrderGoodsReceiptGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PurchaseOrderGoodsReceiptGetReader

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

PurchaseOrderGoodsReceiptGetReader is a Reader for the PurchaseOrderGoodsReceiptGet structure.

func (*PurchaseOrderGoodsReceiptGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PurchaseOrderGoodsReceiptListDeleteByIdsDefault

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

PurchaseOrderGoodsReceiptListDeleteByIdsDefault handles this case with default header values.

successful operation

func NewPurchaseOrderGoodsReceiptListDeleteByIdsDefault

func NewPurchaseOrderGoodsReceiptListDeleteByIdsDefault(code int) *PurchaseOrderGoodsReceiptListDeleteByIdsDefault

NewPurchaseOrderGoodsReceiptListDeleteByIdsDefault creates a PurchaseOrderGoodsReceiptListDeleteByIdsDefault with default headers values

func (*PurchaseOrderGoodsReceiptListDeleteByIdsDefault) Code

Code gets the status code for the purchase order goods receipt list delete by ids default response

func (*PurchaseOrderGoodsReceiptListDeleteByIdsDefault) Error

type PurchaseOrderGoodsReceiptListDeleteByIdsParams

type PurchaseOrderGoodsReceiptListDeleteByIdsParams struct {

	/*Ids
	  ID of the elements

	*/
	Ids string

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

PurchaseOrderGoodsReceiptListDeleteByIdsParams contains all the parameters to send to the API endpoint for the purchase order goods receipt list delete by ids operation typically these are written to a http.Request

func NewPurchaseOrderGoodsReceiptListDeleteByIdsParams

func NewPurchaseOrderGoodsReceiptListDeleteByIdsParams() *PurchaseOrderGoodsReceiptListDeleteByIdsParams

NewPurchaseOrderGoodsReceiptListDeleteByIdsParams creates a new PurchaseOrderGoodsReceiptListDeleteByIdsParams object with the default values initialized.

func NewPurchaseOrderGoodsReceiptListDeleteByIdsParamsWithContext

func NewPurchaseOrderGoodsReceiptListDeleteByIdsParamsWithContext(ctx context.Context) *PurchaseOrderGoodsReceiptListDeleteByIdsParams

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

func NewPurchaseOrderGoodsReceiptListDeleteByIdsParamsWithHTTPClient

func NewPurchaseOrderGoodsReceiptListDeleteByIdsParamsWithHTTPClient(client *http.Client) *PurchaseOrderGoodsReceiptListDeleteByIdsParams

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

func NewPurchaseOrderGoodsReceiptListDeleteByIdsParamsWithTimeout

func NewPurchaseOrderGoodsReceiptListDeleteByIdsParamsWithTimeout(timeout time.Duration) *PurchaseOrderGoodsReceiptListDeleteByIdsParams

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

func (*PurchaseOrderGoodsReceiptListDeleteByIdsParams) SetContext

SetContext adds the context to the purchase order goods receipt list delete by ids params

func (*PurchaseOrderGoodsReceiptListDeleteByIdsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the purchase order goods receipt list delete by ids params

func (*PurchaseOrderGoodsReceiptListDeleteByIdsParams) SetIds

SetIds adds the ids to the purchase order goods receipt list delete by ids params

func (*PurchaseOrderGoodsReceiptListDeleteByIdsParams) SetTimeout

SetTimeout adds the timeout to the purchase order goods receipt list delete by ids params

func (*PurchaseOrderGoodsReceiptListDeleteByIdsParams) WithContext

WithContext adds the context to the purchase order goods receipt list delete by ids params

func (*PurchaseOrderGoodsReceiptListDeleteByIdsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the purchase order goods receipt list delete by ids params

func (*PurchaseOrderGoodsReceiptListDeleteByIdsParams) WithIds

WithIds adds the ids to the purchase order goods receipt list delete by ids params

func (*PurchaseOrderGoodsReceiptListDeleteByIdsParams) WithTimeout

WithTimeout adds the timeout to the purchase order goods receipt list delete by ids params

func (*PurchaseOrderGoodsReceiptListDeleteByIdsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PurchaseOrderGoodsReceiptListDeleteByIdsReader

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

PurchaseOrderGoodsReceiptListDeleteByIdsReader is a Reader for the PurchaseOrderGoodsReceiptListDeleteByIds structure.

func (*PurchaseOrderGoodsReceiptListDeleteByIdsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PurchaseOrderGoodsReceiptListPostListCreated

type PurchaseOrderGoodsReceiptListPostListCreated struct {
	Payload *models.ListResponseGoodsReceipt
}

PurchaseOrderGoodsReceiptListPostListCreated handles this case with default header values.

successfully created

func NewPurchaseOrderGoodsReceiptListPostListCreated

func NewPurchaseOrderGoodsReceiptListPostListCreated() *PurchaseOrderGoodsReceiptListPostListCreated

NewPurchaseOrderGoodsReceiptListPostListCreated creates a PurchaseOrderGoodsReceiptListPostListCreated with default headers values

func (*PurchaseOrderGoodsReceiptListPostListCreated) Error

func (*PurchaseOrderGoodsReceiptListPostListCreated) GetPayload

type PurchaseOrderGoodsReceiptListPostListParams

type PurchaseOrderGoodsReceiptListPostListParams struct {

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

	*/
	Body []*models.GoodsReceipt

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

PurchaseOrderGoodsReceiptListPostListParams contains all the parameters to send to the API endpoint for the purchase order goods receipt list post list operation typically these are written to a http.Request

func NewPurchaseOrderGoodsReceiptListPostListParams

func NewPurchaseOrderGoodsReceiptListPostListParams() *PurchaseOrderGoodsReceiptListPostListParams

NewPurchaseOrderGoodsReceiptListPostListParams creates a new PurchaseOrderGoodsReceiptListPostListParams object with the default values initialized.

func NewPurchaseOrderGoodsReceiptListPostListParamsWithContext

func NewPurchaseOrderGoodsReceiptListPostListParamsWithContext(ctx context.Context) *PurchaseOrderGoodsReceiptListPostListParams

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

func NewPurchaseOrderGoodsReceiptListPostListParamsWithHTTPClient

func NewPurchaseOrderGoodsReceiptListPostListParamsWithHTTPClient(client *http.Client) *PurchaseOrderGoodsReceiptListPostListParams

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

func NewPurchaseOrderGoodsReceiptListPostListParamsWithTimeout

func NewPurchaseOrderGoodsReceiptListPostListParamsWithTimeout(timeout time.Duration) *PurchaseOrderGoodsReceiptListPostListParams

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

func (*PurchaseOrderGoodsReceiptListPostListParams) SetBody

SetBody adds the body to the purchase order goods receipt list post list params

func (*PurchaseOrderGoodsReceiptListPostListParams) SetContext

SetContext adds the context to the purchase order goods receipt list post list params

func (*PurchaseOrderGoodsReceiptListPostListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the purchase order goods receipt list post list params

func (*PurchaseOrderGoodsReceiptListPostListParams) SetTimeout

SetTimeout adds the timeout to the purchase order goods receipt list post list params

func (*PurchaseOrderGoodsReceiptListPostListParams) WithBody

WithBody adds the body to the purchase order goods receipt list post list params

func (*PurchaseOrderGoodsReceiptListPostListParams) WithContext

WithContext adds the context to the purchase order goods receipt list post list params

func (*PurchaseOrderGoodsReceiptListPostListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the purchase order goods receipt list post list params

func (*PurchaseOrderGoodsReceiptListPostListParams) WithTimeout

WithTimeout adds the timeout to the purchase order goods receipt list post list params

func (*PurchaseOrderGoodsReceiptListPostListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PurchaseOrderGoodsReceiptListPostListReader

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

PurchaseOrderGoodsReceiptListPostListReader is a Reader for the PurchaseOrderGoodsReceiptListPostList structure.

func (*PurchaseOrderGoodsReceiptListPostListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PurchaseOrderGoodsReceiptPostCreated

type PurchaseOrderGoodsReceiptPostCreated struct {
	Payload *models.ResponseWrapperGoodsReceipt
}

PurchaseOrderGoodsReceiptPostCreated handles this case with default header values.

successfully created

func NewPurchaseOrderGoodsReceiptPostCreated

func NewPurchaseOrderGoodsReceiptPostCreated() *PurchaseOrderGoodsReceiptPostCreated

NewPurchaseOrderGoodsReceiptPostCreated creates a PurchaseOrderGoodsReceiptPostCreated with default headers values

func (*PurchaseOrderGoodsReceiptPostCreated) Error

func (*PurchaseOrderGoodsReceiptPostCreated) GetPayload

type PurchaseOrderGoodsReceiptPostParams

type PurchaseOrderGoodsReceiptPostParams struct {

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

	*/
	Body *models.GoodsReceipt

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

PurchaseOrderGoodsReceiptPostParams contains all the parameters to send to the API endpoint for the purchase order goods receipt post operation typically these are written to a http.Request

func NewPurchaseOrderGoodsReceiptPostParams

func NewPurchaseOrderGoodsReceiptPostParams() *PurchaseOrderGoodsReceiptPostParams

NewPurchaseOrderGoodsReceiptPostParams creates a new PurchaseOrderGoodsReceiptPostParams object with the default values initialized.

func NewPurchaseOrderGoodsReceiptPostParamsWithContext

func NewPurchaseOrderGoodsReceiptPostParamsWithContext(ctx context.Context) *PurchaseOrderGoodsReceiptPostParams

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

func NewPurchaseOrderGoodsReceiptPostParamsWithHTTPClient

func NewPurchaseOrderGoodsReceiptPostParamsWithHTTPClient(client *http.Client) *PurchaseOrderGoodsReceiptPostParams

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

func NewPurchaseOrderGoodsReceiptPostParamsWithTimeout

func NewPurchaseOrderGoodsReceiptPostParamsWithTimeout(timeout time.Duration) *PurchaseOrderGoodsReceiptPostParams

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

func (*PurchaseOrderGoodsReceiptPostParams) SetBody

SetBody adds the body to the purchase order goods receipt post params

func (*PurchaseOrderGoodsReceiptPostParams) SetContext

SetContext adds the context to the purchase order goods receipt post params

func (*PurchaseOrderGoodsReceiptPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the purchase order goods receipt post params

func (*PurchaseOrderGoodsReceiptPostParams) SetTimeout

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

SetTimeout adds the timeout to the purchase order goods receipt post params

func (*PurchaseOrderGoodsReceiptPostParams) WithBody

WithBody adds the body to the purchase order goods receipt post params

func (*PurchaseOrderGoodsReceiptPostParams) WithContext

WithContext adds the context to the purchase order goods receipt post params

func (*PurchaseOrderGoodsReceiptPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the purchase order goods receipt post params

func (*PurchaseOrderGoodsReceiptPostParams) WithTimeout

WithTimeout adds the timeout to the purchase order goods receipt post params

func (*PurchaseOrderGoodsReceiptPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PurchaseOrderGoodsReceiptPostReader

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

PurchaseOrderGoodsReceiptPostReader is a Reader for the PurchaseOrderGoodsReceiptPost structure.

func (*PurchaseOrderGoodsReceiptPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PurchaseOrderGoodsReceiptPutOK

type PurchaseOrderGoodsReceiptPutOK struct {
	Payload *models.ResponseWrapperGoodsReceipt
}

PurchaseOrderGoodsReceiptPutOK handles this case with default header values.

successful operation

func NewPurchaseOrderGoodsReceiptPutOK

func NewPurchaseOrderGoodsReceiptPutOK() *PurchaseOrderGoodsReceiptPutOK

NewPurchaseOrderGoodsReceiptPutOK creates a PurchaseOrderGoodsReceiptPutOK with default headers values

func (*PurchaseOrderGoodsReceiptPutOK) Error

func (*PurchaseOrderGoodsReceiptPutOK) GetPayload

type PurchaseOrderGoodsReceiptPutParams

type PurchaseOrderGoodsReceiptPutParams struct {

	/*Body
	  Partial object describing what should be updated

	*/
	Body *models.GoodsReceipt
	/*ID
	  Goods Receipt ID.

	*/
	ID int32

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

PurchaseOrderGoodsReceiptPutParams contains all the parameters to send to the API endpoint for the purchase order goods receipt put operation typically these are written to a http.Request

func NewPurchaseOrderGoodsReceiptPutParams

func NewPurchaseOrderGoodsReceiptPutParams() *PurchaseOrderGoodsReceiptPutParams

NewPurchaseOrderGoodsReceiptPutParams creates a new PurchaseOrderGoodsReceiptPutParams object with the default values initialized.

func NewPurchaseOrderGoodsReceiptPutParamsWithContext

func NewPurchaseOrderGoodsReceiptPutParamsWithContext(ctx context.Context) *PurchaseOrderGoodsReceiptPutParams

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

func NewPurchaseOrderGoodsReceiptPutParamsWithHTTPClient

func NewPurchaseOrderGoodsReceiptPutParamsWithHTTPClient(client *http.Client) *PurchaseOrderGoodsReceiptPutParams

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

func NewPurchaseOrderGoodsReceiptPutParamsWithTimeout

func NewPurchaseOrderGoodsReceiptPutParamsWithTimeout(timeout time.Duration) *PurchaseOrderGoodsReceiptPutParams

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

func (*PurchaseOrderGoodsReceiptPutParams) SetBody

SetBody adds the body to the purchase order goods receipt put params

func (*PurchaseOrderGoodsReceiptPutParams) SetContext

SetContext adds the context to the purchase order goods receipt put params

func (*PurchaseOrderGoodsReceiptPutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the purchase order goods receipt put params

func (*PurchaseOrderGoodsReceiptPutParams) SetID

SetID adds the id to the purchase order goods receipt put params

func (*PurchaseOrderGoodsReceiptPutParams) SetTimeout

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

SetTimeout adds the timeout to the purchase order goods receipt put params

func (*PurchaseOrderGoodsReceiptPutParams) WithBody

WithBody adds the body to the purchase order goods receipt put params

func (*PurchaseOrderGoodsReceiptPutParams) WithContext

WithContext adds the context to the purchase order goods receipt put params

func (*PurchaseOrderGoodsReceiptPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the purchase order goods receipt put params

func (*PurchaseOrderGoodsReceiptPutParams) WithID

WithID adds the id to the purchase order goods receipt put params

func (*PurchaseOrderGoodsReceiptPutParams) WithTimeout

WithTimeout adds the timeout to the purchase order goods receipt put params

func (*PurchaseOrderGoodsReceiptPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PurchaseOrderGoodsReceiptPutReader

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

PurchaseOrderGoodsReceiptPutReader is a Reader for the PurchaseOrderGoodsReceiptPut structure.

func (*PurchaseOrderGoodsReceiptPutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmOK

type PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmOK struct {
	Payload *models.ResponseWrapperPurchaseOrder
}

PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmOK handles this case with default header values.

successful operation

func NewPurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmOK

func NewPurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmOK() *PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmOK

NewPurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmOK creates a PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmOK with default headers values

func (*PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmOK) Error

func (*PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmOK) GetPayload

type PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParams

type PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParams struct {

	/*ID
	  Purchase Order ID.

	*/
	ID int32
	/*InventoryID
	  ID of inventory. Main inventory is set as default

	*/
	InventoryID *int32
	/*ReceivedDate
	  The approval date for the subscription.

	*/
	ReceivedDate string

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

PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParams contains all the parameters to send to the API endpoint for the purchase order goods receipt receive and confirm receive and confirm operation typically these are written to a http.Request

func NewPurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParams

func NewPurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParams() *PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParams

NewPurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParams creates a new PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParams object with the default values initialized.

func NewPurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParamsWithContext

func NewPurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParamsWithContext(ctx context.Context) *PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParams

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

func NewPurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParamsWithHTTPClient

func NewPurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParamsWithHTTPClient(client *http.Client) *PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParams

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

func NewPurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParamsWithTimeout

func NewPurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParamsWithTimeout(timeout time.Duration) *PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParams

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

func (*PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParams) SetContext

SetContext adds the context to the purchase order goods receipt receive and confirm receive and confirm params

func (*PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the purchase order goods receipt receive and confirm receive and confirm params

func (*PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParams) SetID

SetID adds the id to the purchase order goods receipt receive and confirm receive and confirm params

func (*PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParams) SetInventoryID

SetInventoryID adds the inventoryId to the purchase order goods receipt receive and confirm receive and confirm params

func (*PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParams) SetReceivedDate

SetReceivedDate adds the receivedDate to the purchase order goods receipt receive and confirm receive and confirm params

func (*PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParams) SetTimeout

SetTimeout adds the timeout to the purchase order goods receipt receive and confirm receive and confirm params

func (*PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParams) WithContext

WithContext adds the context to the purchase order goods receipt receive and confirm receive and confirm params

func (*PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the purchase order goods receipt receive and confirm receive and confirm params

func (*PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParams) WithID

WithID adds the id to the purchase order goods receipt receive and confirm receive and confirm params

func (*PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParams) WithInventoryID

WithInventoryID adds the inventoryID to the purchase order goods receipt receive and confirm receive and confirm params

func (*PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParams) WithReceivedDate

WithReceivedDate adds the receivedDate to the purchase order goods receipt receive and confirm receive and confirm params

func (*PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParams) WithTimeout

WithTimeout adds the timeout to the purchase order goods receipt receive and confirm receive and confirm params

func (*PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmReader

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

PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmReader is a Reader for the PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirm structure.

func (*PurchaseOrderGoodsReceiptReceiveAndConfirmReceiveAndConfirmReader) ReadResponse

ReadResponse reads a server response into the received o.

type PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptOK

type PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptOK struct {
	Payload *models.ResponseWrapperGoodsReceipt
}

PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptOK handles this case with default header values.

successful operation

func NewPurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptOK

func NewPurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptOK() *PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptOK

NewPurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptOK creates a PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptOK with default headers values

func (*PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptOK) Error

func (*PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptOK) GetPayload

type PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParams

type PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParams struct {

	/*ID
	  Purchase Order ID.

	*/
	ID int32
	/*InventoryID
	  ID of inventory. Main inventory is set as default

	*/
	InventoryID *int32
	/*RegistrationDate
	  yyyy-MM-dd. Defaults to today.

	*/
	RegistrationDate string

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

PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParams contains all the parameters to send to the API endpoint for the purchase order goods receipt register goods receipt register goods receipt operation typically these are written to a http.Request

func NewPurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParams

func NewPurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParams() *PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParams

NewPurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParams creates a new PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParams object with the default values initialized.

func NewPurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParamsWithContext

func NewPurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParamsWithContext(ctx context.Context) *PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParams

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

func NewPurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParamsWithHTTPClient

func NewPurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParamsWithHTTPClient(client *http.Client) *PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParams

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

func NewPurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParamsWithTimeout

func NewPurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParamsWithTimeout(timeout time.Duration) *PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParams

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

func (*PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParams) SetContext

SetContext adds the context to the purchase order goods receipt register goods receipt register goods receipt params

func (*PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the purchase order goods receipt register goods receipt register goods receipt params

func (*PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParams) SetID

SetID adds the id to the purchase order goods receipt register goods receipt register goods receipt params

func (*PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParams) SetInventoryID

SetInventoryID adds the inventoryId to the purchase order goods receipt register goods receipt register goods receipt params

func (*PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParams) SetRegistrationDate

SetRegistrationDate adds the registrationDate to the purchase order goods receipt register goods receipt register goods receipt params

func (*PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParams) SetTimeout

SetTimeout adds the timeout to the purchase order goods receipt register goods receipt register goods receipt params

func (*PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParams) WithContext

WithContext adds the context to the purchase order goods receipt register goods receipt register goods receipt params

func (*PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the purchase order goods receipt register goods receipt register goods receipt params

func (*PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParams) WithID

WithID adds the id to the purchase order goods receipt register goods receipt register goods receipt params

func (*PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParams) WithInventoryID

WithInventoryID adds the inventoryID to the purchase order goods receipt register goods receipt register goods receipt params

func (*PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParams) WithRegistrationDate

WithRegistrationDate adds the registrationDate to the purchase order goods receipt register goods receipt register goods receipt params

func (*PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParams) WithTimeout

WithTimeout adds the timeout to the purchase order goods receipt register goods receipt register goods receipt params

func (*PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptReader

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

PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptReader is a Reader for the PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceipt structure.

func (*PurchaseOrderGoodsReceiptRegisterGoodsReceiptRegisterGoodsReceiptReader) ReadResponse

ReadResponse reads a server response into the received o.

type PurchaseOrderGoodsReceiptSearchOK

type PurchaseOrderGoodsReceiptSearchOK struct {
	Payload *models.ListResponseGoodsReceipt
}

PurchaseOrderGoodsReceiptSearchOK handles this case with default header values.

successful operation

func NewPurchaseOrderGoodsReceiptSearchOK

func NewPurchaseOrderGoodsReceiptSearchOK() *PurchaseOrderGoodsReceiptSearchOK

NewPurchaseOrderGoodsReceiptSearchOK creates a PurchaseOrderGoodsReceiptSearchOK with default headers values

func (*PurchaseOrderGoodsReceiptSearchOK) Error

func (*PurchaseOrderGoodsReceiptSearchOK) GetPayload

type PurchaseOrderGoodsReceiptSearchParams

type PurchaseOrderGoodsReceiptSearchParams struct {

	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*ReceivedDateFrom
	  Format is yyyy-MM-dd (from and incl.).

	*/
	ReceivedDateFrom *string
	/*ReceivedDateTo
	  Format is yyyy-MM-dd (to and incl.).

	*/
	ReceivedDateTo *string
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string
	/*Status
	  Equals

	*/
	Status *string
	/*WithoutPurchase
	  Equals

	*/
	WithoutPurchase *bool

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

PurchaseOrderGoodsReceiptSearchParams contains all the parameters to send to the API endpoint for the purchase order goods receipt search operation typically these are written to a http.Request

func NewPurchaseOrderGoodsReceiptSearchParams

func NewPurchaseOrderGoodsReceiptSearchParams() *PurchaseOrderGoodsReceiptSearchParams

NewPurchaseOrderGoodsReceiptSearchParams creates a new PurchaseOrderGoodsReceiptSearchParams object with the default values initialized.

func NewPurchaseOrderGoodsReceiptSearchParamsWithContext

func NewPurchaseOrderGoodsReceiptSearchParamsWithContext(ctx context.Context) *PurchaseOrderGoodsReceiptSearchParams

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

func NewPurchaseOrderGoodsReceiptSearchParamsWithHTTPClient

func NewPurchaseOrderGoodsReceiptSearchParamsWithHTTPClient(client *http.Client) *PurchaseOrderGoodsReceiptSearchParams

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

func NewPurchaseOrderGoodsReceiptSearchParamsWithTimeout

func NewPurchaseOrderGoodsReceiptSearchParamsWithTimeout(timeout time.Duration) *PurchaseOrderGoodsReceiptSearchParams

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

func (*PurchaseOrderGoodsReceiptSearchParams) SetContext

SetContext adds the context to the purchase order goods receipt search params

func (*PurchaseOrderGoodsReceiptSearchParams) SetCount

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

SetCount adds the count to the purchase order goods receipt search params

func (*PurchaseOrderGoodsReceiptSearchParams) SetFields

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

SetFields adds the fields to the purchase order goods receipt search params

func (*PurchaseOrderGoodsReceiptSearchParams) SetFrom

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

SetFrom adds the from to the purchase order goods receipt search params

func (*PurchaseOrderGoodsReceiptSearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the purchase order goods receipt search params

func (*PurchaseOrderGoodsReceiptSearchParams) SetReceivedDateFrom

func (o *PurchaseOrderGoodsReceiptSearchParams) SetReceivedDateFrom(receivedDateFrom *string)

SetReceivedDateFrom adds the receivedDateFrom to the purchase order goods receipt search params

func (*PurchaseOrderGoodsReceiptSearchParams) SetReceivedDateTo

func (o *PurchaseOrderGoodsReceiptSearchParams) SetReceivedDateTo(receivedDateTo *string)

SetReceivedDateTo adds the receivedDateTo to the purchase order goods receipt search params

func (*PurchaseOrderGoodsReceiptSearchParams) SetSorting

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

SetSorting adds the sorting to the purchase order goods receipt search params

func (*PurchaseOrderGoodsReceiptSearchParams) SetStatus

func (o *PurchaseOrderGoodsReceiptSearchParams) SetStatus(status *string)

SetStatus adds the status to the purchase order goods receipt search params

func (*PurchaseOrderGoodsReceiptSearchParams) SetTimeout

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

SetTimeout adds the timeout to the purchase order goods receipt search params

func (*PurchaseOrderGoodsReceiptSearchParams) SetWithoutPurchase

func (o *PurchaseOrderGoodsReceiptSearchParams) SetWithoutPurchase(withoutPurchase *bool)

SetWithoutPurchase adds the withoutPurchase to the purchase order goods receipt search params

func (*PurchaseOrderGoodsReceiptSearchParams) WithContext

WithContext adds the context to the purchase order goods receipt search params

func (*PurchaseOrderGoodsReceiptSearchParams) WithCount

WithCount adds the count to the purchase order goods receipt search params

func (*PurchaseOrderGoodsReceiptSearchParams) WithFields

WithFields adds the fields to the purchase order goods receipt search params

func (*PurchaseOrderGoodsReceiptSearchParams) WithFrom

WithFrom adds the from to the purchase order goods receipt search params

func (*PurchaseOrderGoodsReceiptSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the purchase order goods receipt search params

func (*PurchaseOrderGoodsReceiptSearchParams) WithReceivedDateFrom

func (o *PurchaseOrderGoodsReceiptSearchParams) WithReceivedDateFrom(receivedDateFrom *string) *PurchaseOrderGoodsReceiptSearchParams

WithReceivedDateFrom adds the receivedDateFrom to the purchase order goods receipt search params

func (*PurchaseOrderGoodsReceiptSearchParams) WithReceivedDateTo

WithReceivedDateTo adds the receivedDateTo to the purchase order goods receipt search params

func (*PurchaseOrderGoodsReceiptSearchParams) WithSorting

WithSorting adds the sorting to the purchase order goods receipt search params

func (*PurchaseOrderGoodsReceiptSearchParams) WithStatus

WithStatus adds the status to the purchase order goods receipt search params

func (*PurchaseOrderGoodsReceiptSearchParams) WithTimeout

WithTimeout adds the timeout to the purchase order goods receipt search params

func (*PurchaseOrderGoodsReceiptSearchParams) WithWithoutPurchase

func (o *PurchaseOrderGoodsReceiptSearchParams) WithWithoutPurchase(withoutPurchase *bool) *PurchaseOrderGoodsReceiptSearchParams

WithWithoutPurchase adds the withoutPurchase to the purchase order goods receipt search params

func (*PurchaseOrderGoodsReceiptSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PurchaseOrderGoodsReceiptSearchReader

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

PurchaseOrderGoodsReceiptSearchReader is a Reader for the PurchaseOrderGoodsReceiptSearch structure.

func (*PurchaseOrderGoodsReceiptSearchReader) ReadResponse

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