purchase_order

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 purchase order API

func (*Client) PurchaseOrderDelete

func (a *Client) PurchaseOrderDelete(params *PurchaseOrderDeleteParams, authInfo runtime.ClientAuthInfoWriter) error

PurchaseOrderDelete bs e t a delete purchase order

func (*Client) PurchaseOrderGet

func (a *Client) PurchaseOrderGet(params *PurchaseOrderGetParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderGetOK, error)

PurchaseOrderGet bs e t a find purchase order by ID

func (*Client) PurchaseOrderPost

func (a *Client) PurchaseOrderPost(params *PurchaseOrderPostParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderPostCreated, error)

PurchaseOrderPost bs e t a creates a new purchase order

func (*Client) PurchaseOrderPut

func (a *Client) PurchaseOrderPut(params *PurchaseOrderPutParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderPutOK, error)

PurchaseOrderPut bs e t a update purchase order

func (*Client) PurchaseOrderSearch

func (a *Client) PurchaseOrderSearch(params *PurchaseOrderSearchParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderSearchOK, error)

PurchaseOrderSearch bs e t a find purchase orders with send data

func (*Client) PurchaseOrderSendByEmailSendByEmail

PurchaseOrderSendByEmailSendByEmail bs e t a send purchase order by customisable email

func (*Client) PurchaseOrderSendSend

func (a *Client) PurchaseOrderSendSend(params *PurchaseOrderSendSendParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderSendSendOK, error)

PurchaseOrderSendSend bs e t a send purchase order by id and send type

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	PurchaseOrderSendByEmailSendByEmail(params *PurchaseOrderSendByEmailSendByEmailParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderSendByEmailSendByEmailOK, error)

	PurchaseOrderSendSend(params *PurchaseOrderSendSendParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderSendSendOK, error)

	PurchaseOrderDelete(params *PurchaseOrderDeleteParams, authInfo runtime.ClientAuthInfoWriter) error

	PurchaseOrderGet(params *PurchaseOrderGetParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderGetOK, error)

	PurchaseOrderPost(params *PurchaseOrderPostParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderPostCreated, error)

	PurchaseOrderPut(params *PurchaseOrderPutParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderPutOK, error)

	PurchaseOrderSearch(params *PurchaseOrderSearchParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderSearchOK, 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 purchase order API client.

type PurchaseOrderDeleteDefault

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

PurchaseOrderDeleteDefault handles this case with default header values.

successful operation

func NewPurchaseOrderDeleteDefault

func NewPurchaseOrderDeleteDefault(code int) *PurchaseOrderDeleteDefault

NewPurchaseOrderDeleteDefault creates a PurchaseOrderDeleteDefault with default headers values

func (*PurchaseOrderDeleteDefault) Code

func (o *PurchaseOrderDeleteDefault) Code() int

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

func (*PurchaseOrderDeleteDefault) Error

type PurchaseOrderDeleteParams

type PurchaseOrderDeleteParams struct {

	/*ID
	  Element ID

	*/
	ID int32

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

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

func NewPurchaseOrderDeleteParams

func NewPurchaseOrderDeleteParams() *PurchaseOrderDeleteParams

NewPurchaseOrderDeleteParams creates a new PurchaseOrderDeleteParams object with the default values initialized.

func NewPurchaseOrderDeleteParamsWithContext

func NewPurchaseOrderDeleteParamsWithContext(ctx context.Context) *PurchaseOrderDeleteParams

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

func NewPurchaseOrderDeleteParamsWithHTTPClient

func NewPurchaseOrderDeleteParamsWithHTTPClient(client *http.Client) *PurchaseOrderDeleteParams

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

func NewPurchaseOrderDeleteParamsWithTimeout

func NewPurchaseOrderDeleteParamsWithTimeout(timeout time.Duration) *PurchaseOrderDeleteParams

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

func (*PurchaseOrderDeleteParams) SetContext

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

SetContext adds the context to the purchase order delete params

func (*PurchaseOrderDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the purchase order delete params

func (*PurchaseOrderDeleteParams) SetID

func (o *PurchaseOrderDeleteParams) SetID(id int32)

SetID adds the id to the purchase order delete params

func (*PurchaseOrderDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the purchase order delete params

func (*PurchaseOrderDeleteParams) WithContext

WithContext adds the context to the purchase order delete params

func (*PurchaseOrderDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the purchase order delete params

func (*PurchaseOrderDeleteParams) WithID

WithID adds the id to the purchase order delete params

func (*PurchaseOrderDeleteParams) WithTimeout

WithTimeout adds the timeout to the purchase order delete params

func (*PurchaseOrderDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PurchaseOrderDeleteReader

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

PurchaseOrderDeleteReader is a Reader for the PurchaseOrderDelete structure.

func (*PurchaseOrderDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PurchaseOrderGetOK

type PurchaseOrderGetOK struct {
	Payload *models.ResponseWrapperPurchaseOrder
}

PurchaseOrderGetOK handles this case with default header values.

successful operation

func NewPurchaseOrderGetOK

func NewPurchaseOrderGetOK() *PurchaseOrderGetOK

NewPurchaseOrderGetOK creates a PurchaseOrderGetOK with default headers values

func (*PurchaseOrderGetOK) Error

func (o *PurchaseOrderGetOK) Error() string

func (*PurchaseOrderGetOK) GetPayload

type PurchaseOrderGetParams

type PurchaseOrderGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

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

func NewPurchaseOrderGetParams

func NewPurchaseOrderGetParams() *PurchaseOrderGetParams

NewPurchaseOrderGetParams creates a new PurchaseOrderGetParams object with the default values initialized.

func NewPurchaseOrderGetParamsWithContext

func NewPurchaseOrderGetParamsWithContext(ctx context.Context) *PurchaseOrderGetParams

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

func NewPurchaseOrderGetParamsWithHTTPClient

func NewPurchaseOrderGetParamsWithHTTPClient(client *http.Client) *PurchaseOrderGetParams

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

func NewPurchaseOrderGetParamsWithTimeout

func NewPurchaseOrderGetParamsWithTimeout(timeout time.Duration) *PurchaseOrderGetParams

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

func (*PurchaseOrderGetParams) SetContext

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

SetContext adds the context to the purchase order get params

func (*PurchaseOrderGetParams) SetFields

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

SetFields adds the fields to the purchase order get params

func (*PurchaseOrderGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the purchase order get params

func (*PurchaseOrderGetParams) SetID

func (o *PurchaseOrderGetParams) SetID(id int32)

SetID adds the id to the purchase order get params

func (*PurchaseOrderGetParams) SetTimeout

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

SetTimeout adds the timeout to the purchase order get params

func (*PurchaseOrderGetParams) WithContext

WithContext adds the context to the purchase order get params

func (*PurchaseOrderGetParams) WithFields

func (o *PurchaseOrderGetParams) WithFields(fields *string) *PurchaseOrderGetParams

WithFields adds the fields to the purchase order get params

func (*PurchaseOrderGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the purchase order get params

func (*PurchaseOrderGetParams) WithID

WithID adds the id to the purchase order get params

func (*PurchaseOrderGetParams) WithTimeout

WithTimeout adds the timeout to the purchase order get params

func (*PurchaseOrderGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PurchaseOrderGetReader

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

PurchaseOrderGetReader is a Reader for the PurchaseOrderGet structure.

func (*PurchaseOrderGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PurchaseOrderPostCreated

type PurchaseOrderPostCreated struct {
	Payload *models.ResponseWrapperPurchaseOrder
}

PurchaseOrderPostCreated handles this case with default header values.

successfully created

func NewPurchaseOrderPostCreated

func NewPurchaseOrderPostCreated() *PurchaseOrderPostCreated

NewPurchaseOrderPostCreated creates a PurchaseOrderPostCreated with default headers values

func (*PurchaseOrderPostCreated) Error

func (o *PurchaseOrderPostCreated) Error() string

func (*PurchaseOrderPostCreated) GetPayload

type PurchaseOrderPostParams

type PurchaseOrderPostParams struct {

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

	*/
	Body *models.PurchaseOrder

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

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

func NewPurchaseOrderPostParams

func NewPurchaseOrderPostParams() *PurchaseOrderPostParams

NewPurchaseOrderPostParams creates a new PurchaseOrderPostParams object with the default values initialized.

func NewPurchaseOrderPostParamsWithContext

func NewPurchaseOrderPostParamsWithContext(ctx context.Context) *PurchaseOrderPostParams

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

func NewPurchaseOrderPostParamsWithHTTPClient

func NewPurchaseOrderPostParamsWithHTTPClient(client *http.Client) *PurchaseOrderPostParams

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

func NewPurchaseOrderPostParamsWithTimeout

func NewPurchaseOrderPostParamsWithTimeout(timeout time.Duration) *PurchaseOrderPostParams

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

func (*PurchaseOrderPostParams) SetBody

func (o *PurchaseOrderPostParams) SetBody(body *models.PurchaseOrder)

SetBody adds the body to the purchase order post params

func (*PurchaseOrderPostParams) SetContext

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

SetContext adds the context to the purchase order post params

func (*PurchaseOrderPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the purchase order post params

func (*PurchaseOrderPostParams) SetTimeout

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

SetTimeout adds the timeout to the purchase order post params

func (*PurchaseOrderPostParams) WithBody

WithBody adds the body to the purchase order post params

func (*PurchaseOrderPostParams) WithContext

WithContext adds the context to the purchase order post params

func (*PurchaseOrderPostParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the purchase order post params

func (*PurchaseOrderPostParams) WithTimeout

WithTimeout adds the timeout to the purchase order post params

func (*PurchaseOrderPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PurchaseOrderPostReader

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

PurchaseOrderPostReader is a Reader for the PurchaseOrderPost structure.

func (*PurchaseOrderPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PurchaseOrderPutOK

type PurchaseOrderPutOK struct {
	Payload *models.ResponseWrapperPurchaseOrder
}

PurchaseOrderPutOK handles this case with default header values.

successful operation

func NewPurchaseOrderPutOK

func NewPurchaseOrderPutOK() *PurchaseOrderPutOK

NewPurchaseOrderPutOK creates a PurchaseOrderPutOK with default headers values

func (*PurchaseOrderPutOK) Error

func (o *PurchaseOrderPutOK) Error() string

func (*PurchaseOrderPutOK) GetPayload

type PurchaseOrderPutParams

type PurchaseOrderPutParams struct {

	/*Body
	  Partial object describing what should be updated

	*/
	Body *models.PurchaseOrder
	/*ID
	  Element ID

	*/
	ID int32

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

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

func NewPurchaseOrderPutParams

func NewPurchaseOrderPutParams() *PurchaseOrderPutParams

NewPurchaseOrderPutParams creates a new PurchaseOrderPutParams object with the default values initialized.

func NewPurchaseOrderPutParamsWithContext

func NewPurchaseOrderPutParamsWithContext(ctx context.Context) *PurchaseOrderPutParams

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

func NewPurchaseOrderPutParamsWithHTTPClient

func NewPurchaseOrderPutParamsWithHTTPClient(client *http.Client) *PurchaseOrderPutParams

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

func NewPurchaseOrderPutParamsWithTimeout

func NewPurchaseOrderPutParamsWithTimeout(timeout time.Duration) *PurchaseOrderPutParams

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

func (*PurchaseOrderPutParams) SetBody

func (o *PurchaseOrderPutParams) SetBody(body *models.PurchaseOrder)

SetBody adds the body to the purchase order put params

func (*PurchaseOrderPutParams) SetContext

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

SetContext adds the context to the purchase order put params

func (*PurchaseOrderPutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the purchase order put params

func (*PurchaseOrderPutParams) SetID

func (o *PurchaseOrderPutParams) SetID(id int32)

SetID adds the id to the purchase order put params

func (*PurchaseOrderPutParams) SetTimeout

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

SetTimeout adds the timeout to the purchase order put params

func (*PurchaseOrderPutParams) WithBody

WithBody adds the body to the purchase order put params

func (*PurchaseOrderPutParams) WithContext

WithContext adds the context to the purchase order put params

func (*PurchaseOrderPutParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the purchase order put params

func (*PurchaseOrderPutParams) WithID

WithID adds the id to the purchase order put params

func (*PurchaseOrderPutParams) WithTimeout

WithTimeout adds the timeout to the purchase order put params

func (*PurchaseOrderPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PurchaseOrderPutReader

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

PurchaseOrderPutReader is a Reader for the PurchaseOrderPut structure.

func (*PurchaseOrderPutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PurchaseOrderSearchOK

type PurchaseOrderSearchOK struct {
	Payload *models.ListResponsePurchaseOrder
}

PurchaseOrderSearchOK handles this case with default header values.

successful operation

func NewPurchaseOrderSearchOK

func NewPurchaseOrderSearchOK() *PurchaseOrderSearchOK

NewPurchaseOrderSearchOK creates a PurchaseOrderSearchOK with default headers values

func (*PurchaseOrderSearchOK) Error

func (o *PurchaseOrderSearchOK) Error() string

func (*PurchaseOrderSearchOK) GetPayload

type PurchaseOrderSearchParams

type PurchaseOrderSearchParams struct {

	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*CreationDateFrom
	  Format is yyyy-MM-dd (from and incl.).

	*/
	CreationDateFrom *string
	/*CreationDateTo
	  Format is yyyy-MM-dd (to and incl.).

	*/
	CreationDateTo *string
	/*DeliveryDateFrom
	  Format is yyyy-MM-dd (from and incl.).

	*/
	DeliveryDateFrom *string
	/*DeliveryDateTo
	  Format is yyyy-MM-dd (to and incl.).

	*/
	DeliveryDateTo *string
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*ID
	  List of IDs

	*/
	ID *string
	/*IsClosed
	  Equals

	*/
	IsClosed *bool
	/*Number
	  Equals

	*/
	Number *string
	/*ProjectID
	  List of IDs

	*/
	ProjectID *string
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string
	/*SupplierID
	  List of IDs

	*/
	SupplierID *string
	/*WithDeviationOnly
	  Equals

	*/
	WithDeviationOnly *bool

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

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

func NewPurchaseOrderSearchParams

func NewPurchaseOrderSearchParams() *PurchaseOrderSearchParams

NewPurchaseOrderSearchParams creates a new PurchaseOrderSearchParams object with the default values initialized.

func NewPurchaseOrderSearchParamsWithContext

func NewPurchaseOrderSearchParamsWithContext(ctx context.Context) *PurchaseOrderSearchParams

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

func NewPurchaseOrderSearchParamsWithHTTPClient

func NewPurchaseOrderSearchParamsWithHTTPClient(client *http.Client) *PurchaseOrderSearchParams

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

func NewPurchaseOrderSearchParamsWithTimeout

func NewPurchaseOrderSearchParamsWithTimeout(timeout time.Duration) *PurchaseOrderSearchParams

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

func (*PurchaseOrderSearchParams) SetContext

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

SetContext adds the context to the purchase order search params

func (*PurchaseOrderSearchParams) SetCount

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

SetCount adds the count to the purchase order search params

func (*PurchaseOrderSearchParams) SetCreationDateFrom

func (o *PurchaseOrderSearchParams) SetCreationDateFrom(creationDateFrom *string)

SetCreationDateFrom adds the creationDateFrom to the purchase order search params

func (*PurchaseOrderSearchParams) SetCreationDateTo

func (o *PurchaseOrderSearchParams) SetCreationDateTo(creationDateTo *string)

SetCreationDateTo adds the creationDateTo to the purchase order search params

func (*PurchaseOrderSearchParams) SetDeliveryDateFrom

func (o *PurchaseOrderSearchParams) SetDeliveryDateFrom(deliveryDateFrom *string)

SetDeliveryDateFrom adds the deliveryDateFrom to the purchase order search params

func (*PurchaseOrderSearchParams) SetDeliveryDateTo

func (o *PurchaseOrderSearchParams) SetDeliveryDateTo(deliveryDateTo *string)

SetDeliveryDateTo adds the deliveryDateTo to the purchase order search params

func (*PurchaseOrderSearchParams) SetFields

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

SetFields adds the fields to the purchase order search params

func (*PurchaseOrderSearchParams) SetFrom

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

SetFrom adds the from to the purchase order search params

func (*PurchaseOrderSearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the purchase order search params

func (*PurchaseOrderSearchParams) SetID

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

SetID adds the id to the purchase order search params

func (*PurchaseOrderSearchParams) SetIsClosed

func (o *PurchaseOrderSearchParams) SetIsClosed(isClosed *bool)

SetIsClosed adds the isClosed to the purchase order search params

func (*PurchaseOrderSearchParams) SetNumber

func (o *PurchaseOrderSearchParams) SetNumber(number *string)

SetNumber adds the number to the purchase order search params

func (*PurchaseOrderSearchParams) SetProjectID

func (o *PurchaseOrderSearchParams) SetProjectID(projectID *string)

SetProjectID adds the projectId to the purchase order search params

func (*PurchaseOrderSearchParams) SetSorting

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

SetSorting adds the sorting to the purchase order search params

func (*PurchaseOrderSearchParams) SetSupplierID

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

SetSupplierID adds the supplierId to the purchase order search params

func (*PurchaseOrderSearchParams) SetTimeout

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

SetTimeout adds the timeout to the purchase order search params

func (*PurchaseOrderSearchParams) SetWithDeviationOnly

func (o *PurchaseOrderSearchParams) SetWithDeviationOnly(withDeviationOnly *bool)

SetWithDeviationOnly adds the withDeviationOnly to the purchase order search params

func (*PurchaseOrderSearchParams) WithContext

WithContext adds the context to the purchase order search params

func (*PurchaseOrderSearchParams) WithCount

WithCount adds the count to the purchase order search params

func (*PurchaseOrderSearchParams) WithCreationDateFrom

func (o *PurchaseOrderSearchParams) WithCreationDateFrom(creationDateFrom *string) *PurchaseOrderSearchParams

WithCreationDateFrom adds the creationDateFrom to the purchase order search params

func (*PurchaseOrderSearchParams) WithCreationDateTo

func (o *PurchaseOrderSearchParams) WithCreationDateTo(creationDateTo *string) *PurchaseOrderSearchParams

WithCreationDateTo adds the creationDateTo to the purchase order search params

func (*PurchaseOrderSearchParams) WithDeliveryDateFrom

func (o *PurchaseOrderSearchParams) WithDeliveryDateFrom(deliveryDateFrom *string) *PurchaseOrderSearchParams

WithDeliveryDateFrom adds the deliveryDateFrom to the purchase order search params

func (*PurchaseOrderSearchParams) WithDeliveryDateTo

func (o *PurchaseOrderSearchParams) WithDeliveryDateTo(deliveryDateTo *string) *PurchaseOrderSearchParams

WithDeliveryDateTo adds the deliveryDateTo to the purchase order search params

func (*PurchaseOrderSearchParams) WithFields

WithFields adds the fields to the purchase order search params

func (*PurchaseOrderSearchParams) WithFrom

WithFrom adds the from to the purchase order search params

func (*PurchaseOrderSearchParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the purchase order search params

func (*PurchaseOrderSearchParams) WithID

WithID adds the id to the purchase order search params

func (*PurchaseOrderSearchParams) WithIsClosed

func (o *PurchaseOrderSearchParams) WithIsClosed(isClosed *bool) *PurchaseOrderSearchParams

WithIsClosed adds the isClosed to the purchase order search params

func (*PurchaseOrderSearchParams) WithNumber

WithNumber adds the number to the purchase order search params

func (*PurchaseOrderSearchParams) WithProjectID

func (o *PurchaseOrderSearchParams) WithProjectID(projectID *string) *PurchaseOrderSearchParams

WithProjectID adds the projectID to the purchase order search params

func (*PurchaseOrderSearchParams) WithSorting

WithSorting adds the sorting to the purchase order search params

func (*PurchaseOrderSearchParams) WithSupplierID

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

WithSupplierID adds the supplierID to the purchase order search params

func (*PurchaseOrderSearchParams) WithTimeout

WithTimeout adds the timeout to the purchase order search params

func (*PurchaseOrderSearchParams) WithWithDeviationOnly

func (o *PurchaseOrderSearchParams) WithWithDeviationOnly(withDeviationOnly *bool) *PurchaseOrderSearchParams

WithWithDeviationOnly adds the withDeviationOnly to the purchase order search params

func (*PurchaseOrderSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PurchaseOrderSearchReader

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

PurchaseOrderSearchReader is a Reader for the PurchaseOrderSearch structure.

func (*PurchaseOrderSearchReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PurchaseOrderSendByEmailSendByEmailOK

type PurchaseOrderSendByEmailSendByEmailOK struct {
	Payload *models.ResponseWrapperPurchaseOrder
}

PurchaseOrderSendByEmailSendByEmailOK handles this case with default header values.

successful operation

func NewPurchaseOrderSendByEmailSendByEmailOK

func NewPurchaseOrderSendByEmailSendByEmailOK() *PurchaseOrderSendByEmailSendByEmailOK

NewPurchaseOrderSendByEmailSendByEmailOK creates a PurchaseOrderSendByEmailSendByEmailOK with default headers values

func (*PurchaseOrderSendByEmailSendByEmailOK) Error

func (*PurchaseOrderSendByEmailSendByEmailOK) GetPayload

type PurchaseOrderSendByEmailSendByEmailParams

type PurchaseOrderSendByEmailSendByEmailParams struct {

	/*EmailAddress
	  Email address

	*/
	EmailAddress string
	/*ID
	  Element ID

	*/
	ID int32
	/*Message
	  Message

	*/
	Message *string
	/*Subject
	  Subject

	*/
	Subject string

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

PurchaseOrderSendByEmailSendByEmailParams contains all the parameters to send to the API endpoint for the purchase order send by email send by email operation typically these are written to a http.Request

func NewPurchaseOrderSendByEmailSendByEmailParams

func NewPurchaseOrderSendByEmailSendByEmailParams() *PurchaseOrderSendByEmailSendByEmailParams

NewPurchaseOrderSendByEmailSendByEmailParams creates a new PurchaseOrderSendByEmailSendByEmailParams object with the default values initialized.

func NewPurchaseOrderSendByEmailSendByEmailParamsWithContext

func NewPurchaseOrderSendByEmailSendByEmailParamsWithContext(ctx context.Context) *PurchaseOrderSendByEmailSendByEmailParams

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

func NewPurchaseOrderSendByEmailSendByEmailParamsWithHTTPClient

func NewPurchaseOrderSendByEmailSendByEmailParamsWithHTTPClient(client *http.Client) *PurchaseOrderSendByEmailSendByEmailParams

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

func NewPurchaseOrderSendByEmailSendByEmailParamsWithTimeout

func NewPurchaseOrderSendByEmailSendByEmailParamsWithTimeout(timeout time.Duration) *PurchaseOrderSendByEmailSendByEmailParams

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

func (*PurchaseOrderSendByEmailSendByEmailParams) SetContext

SetContext adds the context to the purchase order send by email send by email params

func (*PurchaseOrderSendByEmailSendByEmailParams) SetEmailAddress

func (o *PurchaseOrderSendByEmailSendByEmailParams) SetEmailAddress(emailAddress string)

SetEmailAddress adds the emailAddress to the purchase order send by email send by email params

func (*PurchaseOrderSendByEmailSendByEmailParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the purchase order send by email send by email params

func (*PurchaseOrderSendByEmailSendByEmailParams) SetID

SetID adds the id to the purchase order send by email send by email params

func (*PurchaseOrderSendByEmailSendByEmailParams) SetMessage

func (o *PurchaseOrderSendByEmailSendByEmailParams) SetMessage(message *string)

SetMessage adds the message to the purchase order send by email send by email params

func (*PurchaseOrderSendByEmailSendByEmailParams) SetSubject

func (o *PurchaseOrderSendByEmailSendByEmailParams) SetSubject(subject string)

SetSubject adds the subject to the purchase order send by email send by email params

func (*PurchaseOrderSendByEmailSendByEmailParams) SetTimeout

SetTimeout adds the timeout to the purchase order send by email send by email params

func (*PurchaseOrderSendByEmailSendByEmailParams) WithContext

WithContext adds the context to the purchase order send by email send by email params

func (*PurchaseOrderSendByEmailSendByEmailParams) WithEmailAddress

WithEmailAddress adds the emailAddress to the purchase order send by email send by email params

func (*PurchaseOrderSendByEmailSendByEmailParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the purchase order send by email send by email params

func (*PurchaseOrderSendByEmailSendByEmailParams) WithID

WithID adds the id to the purchase order send by email send by email params

func (*PurchaseOrderSendByEmailSendByEmailParams) WithMessage

WithMessage adds the message to the purchase order send by email send by email params

func (*PurchaseOrderSendByEmailSendByEmailParams) WithSubject

WithSubject adds the subject to the purchase order send by email send by email params

func (*PurchaseOrderSendByEmailSendByEmailParams) WithTimeout

WithTimeout adds the timeout to the purchase order send by email send by email params

func (*PurchaseOrderSendByEmailSendByEmailParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PurchaseOrderSendByEmailSendByEmailReader

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

PurchaseOrderSendByEmailSendByEmailReader is a Reader for the PurchaseOrderSendByEmailSendByEmail structure.

func (*PurchaseOrderSendByEmailSendByEmailReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PurchaseOrderSendSendOK

type PurchaseOrderSendSendOK struct {
	Payload *models.ResponseWrapperPurchaseOrder
}

PurchaseOrderSendSendOK handles this case with default header values.

successful operation

func NewPurchaseOrderSendSendOK

func NewPurchaseOrderSendSendOK() *PurchaseOrderSendSendOK

NewPurchaseOrderSendSendOK creates a PurchaseOrderSendSendOK with default headers values

func (*PurchaseOrderSendSendOK) Error

func (o *PurchaseOrderSendSendOK) Error() string

func (*PurchaseOrderSendSendOK) GetPayload

type PurchaseOrderSendSendParams

type PurchaseOrderSendSendParams struct {

	/*ID
	  Element ID

	*/
	ID int32
	/*SendType
	  Send type.DEFAULT will determine the send parameter based on the supplier type.

	*/
	SendType *string

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

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

func NewPurchaseOrderSendSendParams

func NewPurchaseOrderSendSendParams() *PurchaseOrderSendSendParams

NewPurchaseOrderSendSendParams creates a new PurchaseOrderSendSendParams object with the default values initialized.

func NewPurchaseOrderSendSendParamsWithContext

func NewPurchaseOrderSendSendParamsWithContext(ctx context.Context) *PurchaseOrderSendSendParams

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

func NewPurchaseOrderSendSendParamsWithHTTPClient

func NewPurchaseOrderSendSendParamsWithHTTPClient(client *http.Client) *PurchaseOrderSendSendParams

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

func NewPurchaseOrderSendSendParamsWithTimeout

func NewPurchaseOrderSendSendParamsWithTimeout(timeout time.Duration) *PurchaseOrderSendSendParams

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

func (*PurchaseOrderSendSendParams) SetContext

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

SetContext adds the context to the purchase order send send params

func (*PurchaseOrderSendSendParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the purchase order send send params

func (*PurchaseOrderSendSendParams) SetID

func (o *PurchaseOrderSendSendParams) SetID(id int32)

SetID adds the id to the purchase order send send params

func (*PurchaseOrderSendSendParams) SetSendType

func (o *PurchaseOrderSendSendParams) SetSendType(sendType *string)

SetSendType adds the sendType to the purchase order send send params

func (*PurchaseOrderSendSendParams) SetTimeout

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

SetTimeout adds the timeout to the purchase order send send params

func (*PurchaseOrderSendSendParams) WithContext

WithContext adds the context to the purchase order send send params

func (*PurchaseOrderSendSendParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the purchase order send send params

func (*PurchaseOrderSendSendParams) WithID

WithID adds the id to the purchase order send send params

func (*PurchaseOrderSendSendParams) WithSendType

WithSendType adds the sendType to the purchase order send send params

func (*PurchaseOrderSendSendParams) WithTimeout

WithTimeout adds the timeout to the purchase order send send params

func (*PurchaseOrderSendSendParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PurchaseOrderSendSendReader

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

PurchaseOrderSendSendReader is a Reader for the PurchaseOrderSendSend structure.

func (*PurchaseOrderSendSendReader) ReadResponse

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