cancel_product_order

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CancelProductOrderCreateBadRequest

type CancelProductOrderCreateBadRequest struct {
	Payload *models.ErrorRepresentation
}

CancelProductOrderCreateBadRequest handles this case with default header values.

Bad Request

List of supported error codes: - 20: Invalid URL parameter value - 21: Missing body - 22: Invalid body - 23: Missing body field - 24: Invalid body field - 25: Missing header - 26: Invalid header value - 27: Missing query-string parameter - 28: Invalid query-string parameter value

func NewCancelProductOrderCreateBadRequest

func NewCancelProductOrderCreateBadRequest() *CancelProductOrderCreateBadRequest

NewCancelProductOrderCreateBadRequest creates a CancelProductOrderCreateBadRequest with default headers values

func (*CancelProductOrderCreateBadRequest) Error

func (*CancelProductOrderCreateBadRequest) GetPayload

type CancelProductOrderCreateCreated

type CancelProductOrderCreateCreated struct {
	Payload *models.CancelProductOrder
}

CancelProductOrderCreateCreated handles this case with default header values.

Created

func NewCancelProductOrderCreateCreated

func NewCancelProductOrderCreateCreated() *CancelProductOrderCreateCreated

NewCancelProductOrderCreateCreated creates a CancelProductOrderCreateCreated with default headers values

func (*CancelProductOrderCreateCreated) Error

func (*CancelProductOrderCreateCreated) GetPayload

type CancelProductOrderCreateForbidden

type CancelProductOrderCreateForbidden struct {
	Payload *models.ErrorRepresentation
}

CancelProductOrderCreateForbidden handles this case with default header values.

Forbidden

List of supported error codes: - 50: Access denied - 51: Forbidden requester - 52: Forbidden user - 53: Too many requests

func NewCancelProductOrderCreateForbidden

func NewCancelProductOrderCreateForbidden() *CancelProductOrderCreateForbidden

NewCancelProductOrderCreateForbidden creates a CancelProductOrderCreateForbidden with default headers values

func (*CancelProductOrderCreateForbidden) Error

func (*CancelProductOrderCreateForbidden) GetPayload

type CancelProductOrderCreateInternalServerError

type CancelProductOrderCreateInternalServerError struct {
	Payload *models.ErrorRepresentation
}

CancelProductOrderCreateInternalServerError handles this case with default header values.

Internal Server Error

List of supported error codes: - 1: Internal error

func NewCancelProductOrderCreateInternalServerError

func NewCancelProductOrderCreateInternalServerError() *CancelProductOrderCreateInternalServerError

NewCancelProductOrderCreateInternalServerError creates a CancelProductOrderCreateInternalServerError with default headers values

func (*CancelProductOrderCreateInternalServerError) Error

func (*CancelProductOrderCreateInternalServerError) GetPayload

type CancelProductOrderCreateMethodNotAllowed

type CancelProductOrderCreateMethodNotAllowed struct {
	Payload *models.ErrorRepresentation
}

CancelProductOrderCreateMethodNotAllowed handles this case with default header values.

Method Not Allowed

List of supported error codes: - 61: Method not allowed

func NewCancelProductOrderCreateMethodNotAllowed

func NewCancelProductOrderCreateMethodNotAllowed() *CancelProductOrderCreateMethodNotAllowed

NewCancelProductOrderCreateMethodNotAllowed creates a CancelProductOrderCreateMethodNotAllowed with default headers values

func (*CancelProductOrderCreateMethodNotAllowed) Error

func (*CancelProductOrderCreateMethodNotAllowed) GetPayload

type CancelProductOrderCreateNotFound

type CancelProductOrderCreateNotFound struct {
	Payload *models.ErrorRepresentation
}

CancelProductOrderCreateNotFound handles this case with default header values.

Not Found

List of supported error codes: - 60: Resource not found

func NewCancelProductOrderCreateNotFound

func NewCancelProductOrderCreateNotFound() *CancelProductOrderCreateNotFound

NewCancelProductOrderCreateNotFound creates a CancelProductOrderCreateNotFound with default headers values

func (*CancelProductOrderCreateNotFound) Error

func (*CancelProductOrderCreateNotFound) GetPayload

type CancelProductOrderCreateParams

type CancelProductOrderCreateParams struct {

	/*CancelProductOrder*/
	CancelProductOrder *models.CancelProductOrderCreate

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

CancelProductOrderCreateParams contains all the parameters to send to the API endpoint for the cancel product order create operation typically these are written to a http.Request

func NewCancelProductOrderCreateParams

func NewCancelProductOrderCreateParams() *CancelProductOrderCreateParams

NewCancelProductOrderCreateParams creates a new CancelProductOrderCreateParams object with the default values initialized.

func NewCancelProductOrderCreateParamsWithContext

func NewCancelProductOrderCreateParamsWithContext(ctx context.Context) *CancelProductOrderCreateParams

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

func NewCancelProductOrderCreateParamsWithHTTPClient

func NewCancelProductOrderCreateParamsWithHTTPClient(client *http.Client) *CancelProductOrderCreateParams

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

func NewCancelProductOrderCreateParamsWithTimeout

func NewCancelProductOrderCreateParamsWithTimeout(timeout time.Duration) *CancelProductOrderCreateParams

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

func (*CancelProductOrderCreateParams) SetCancelProductOrder

func (o *CancelProductOrderCreateParams) SetCancelProductOrder(cancelProductOrder *models.CancelProductOrderCreate)

SetCancelProductOrder adds the cancelProductOrder to the cancel product order create params

func (*CancelProductOrderCreateParams) SetContext

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

SetContext adds the context to the cancel product order create params

func (*CancelProductOrderCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cancel product order create params

func (*CancelProductOrderCreateParams) SetTimeout

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

SetTimeout adds the timeout to the cancel product order create params

func (*CancelProductOrderCreateParams) WithCancelProductOrder

func (o *CancelProductOrderCreateParams) WithCancelProductOrder(cancelProductOrder *models.CancelProductOrderCreate) *CancelProductOrderCreateParams

WithCancelProductOrder adds the cancelProductOrder to the cancel product order create params

func (*CancelProductOrderCreateParams) WithContext

WithContext adds the context to the cancel product order create params

func (*CancelProductOrderCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the cancel product order create params

func (*CancelProductOrderCreateParams) WithTimeout

WithTimeout adds the timeout to the cancel product order create params

func (*CancelProductOrderCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CancelProductOrderCreateReader

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

CancelProductOrderCreateReader is a Reader for the CancelProductOrderCreate structure.

func (*CancelProductOrderCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CancelProductOrderCreateRequestTimeout

type CancelProductOrderCreateRequestTimeout struct {
	Payload *models.ErrorRepresentation
}

CancelProductOrderCreateRequestTimeout handles this case with default header values.

Request Time-out

List of supported error codes: - 63: Request time-out

func NewCancelProductOrderCreateRequestTimeout

func NewCancelProductOrderCreateRequestTimeout() *CancelProductOrderCreateRequestTimeout

NewCancelProductOrderCreateRequestTimeout creates a CancelProductOrderCreateRequestTimeout with default headers values

func (*CancelProductOrderCreateRequestTimeout) Error

func (*CancelProductOrderCreateRequestTimeout) GetPayload

type CancelProductOrderCreateServiceUnavailable

type CancelProductOrderCreateServiceUnavailable struct {
	Payload *models.ErrorRepresentation
}

CancelProductOrderCreateServiceUnavailable handles this case with default header values.

Service Unavailable

func NewCancelProductOrderCreateServiceUnavailable

func NewCancelProductOrderCreateServiceUnavailable() *CancelProductOrderCreateServiceUnavailable

NewCancelProductOrderCreateServiceUnavailable creates a CancelProductOrderCreateServiceUnavailable with default headers values

func (*CancelProductOrderCreateServiceUnavailable) Error

func (*CancelProductOrderCreateServiceUnavailable) GetPayload

type CancelProductOrderCreateUnauthorized

type CancelProductOrderCreateUnauthorized struct {
	Payload *models.ErrorRepresentation
}

CancelProductOrderCreateUnauthorized handles this case with default header values.

Unauthorized

List of supported error codes: - 40: Missing credentials - 41: Invalid credentials - 42: Expired credentials

func NewCancelProductOrderCreateUnauthorized

func NewCancelProductOrderCreateUnauthorized() *CancelProductOrderCreateUnauthorized

NewCancelProductOrderCreateUnauthorized creates a CancelProductOrderCreateUnauthorized with default headers values

func (*CancelProductOrderCreateUnauthorized) Error

func (*CancelProductOrderCreateUnauthorized) GetPayload

type CancelProductOrderCreateUnprocessableEntity

type CancelProductOrderCreateUnprocessableEntity struct {
	Payload *models.ErrorRepresentation
}

CancelProductOrderCreateUnprocessableEntity handles this case with default header values.

Unprocessable entity

Functional error

  • code: 100

message: externalId must be provided description:

  • code: 101

message: externalId does not match productOrderId description:

  • code: 102

message: Product order state is not compliant with this request description:

func NewCancelProductOrderCreateUnprocessableEntity

func NewCancelProductOrderCreateUnprocessableEntity() *CancelProductOrderCreateUnprocessableEntity

NewCancelProductOrderCreateUnprocessableEntity creates a CancelProductOrderCreateUnprocessableEntity with default headers values

func (*CancelProductOrderCreateUnprocessableEntity) Error

func (*CancelProductOrderCreateUnprocessableEntity) GetPayload

type CancelProductOrderFindBadRequest

type CancelProductOrderFindBadRequest struct {
	Payload *models.ErrorRepresentation
}

CancelProductOrderFindBadRequest handles this case with default header values.

Bad Request

List of supported error codes: - 20: Invalid URL parameter value - 21: Missing body - 22: Invalid body - 23: Missing body field - 24: Invalid body field - 25: Missing header - 26: Invalid header value - 27: Missing query-string parameter - 28: Invalid query-string parameter value

func NewCancelProductOrderFindBadRequest

func NewCancelProductOrderFindBadRequest() *CancelProductOrderFindBadRequest

NewCancelProductOrderFindBadRequest creates a CancelProductOrderFindBadRequest with default headers values

func (*CancelProductOrderFindBadRequest) Error

func (*CancelProductOrderFindBadRequest) GetPayload

type CancelProductOrderFindForbidden

type CancelProductOrderFindForbidden struct {
	Payload *models.ErrorRepresentation
}

CancelProductOrderFindForbidden handles this case with default header values.

Forbidden

List of supported error codes: - 50: Access denied - 51: Forbidden requester - 52: Forbidden user - 53: Too many requests

func NewCancelProductOrderFindForbidden

func NewCancelProductOrderFindForbidden() *CancelProductOrderFindForbidden

NewCancelProductOrderFindForbidden creates a CancelProductOrderFindForbidden with default headers values

func (*CancelProductOrderFindForbidden) Error

func (*CancelProductOrderFindForbidden) GetPayload

type CancelProductOrderFindInternalServerError

type CancelProductOrderFindInternalServerError struct {
	Payload *models.ErrorRepresentation
}

CancelProductOrderFindInternalServerError handles this case with default header values.

Internal Server Error

List of supported error codes: - 1: Internal error

func NewCancelProductOrderFindInternalServerError

func NewCancelProductOrderFindInternalServerError() *CancelProductOrderFindInternalServerError

NewCancelProductOrderFindInternalServerError creates a CancelProductOrderFindInternalServerError with default headers values

func (*CancelProductOrderFindInternalServerError) Error

func (*CancelProductOrderFindInternalServerError) GetPayload

type CancelProductOrderFindMethodNotAllowed

type CancelProductOrderFindMethodNotAllowed struct {
	Payload *models.ErrorRepresentation
}

CancelProductOrderFindMethodNotAllowed handles this case with default header values.

Method Not Allowed

List of supported error codes: - 61: Method not allowed

func NewCancelProductOrderFindMethodNotAllowed

func NewCancelProductOrderFindMethodNotAllowed() *CancelProductOrderFindMethodNotAllowed

NewCancelProductOrderFindMethodNotAllowed creates a CancelProductOrderFindMethodNotAllowed with default headers values

func (*CancelProductOrderFindMethodNotAllowed) Error

func (*CancelProductOrderFindMethodNotAllowed) GetPayload

type CancelProductOrderFindNotFound

type CancelProductOrderFindNotFound struct {
	Payload *models.ErrorRepresentation
}

CancelProductOrderFindNotFound handles this case with default header values.

Not Found

List of supported error codes: - 60: Resource not found

func NewCancelProductOrderFindNotFound

func NewCancelProductOrderFindNotFound() *CancelProductOrderFindNotFound

NewCancelProductOrderFindNotFound creates a CancelProductOrderFindNotFound with default headers values

func (*CancelProductOrderFindNotFound) Error

func (*CancelProductOrderFindNotFound) GetPayload

type CancelProductOrderFindOK

type CancelProductOrderFindOK struct {
	Payload []*models.CancelProductOrder
}

CancelProductOrderFindOK handles this case with default header values.

Ok

func NewCancelProductOrderFindOK

func NewCancelProductOrderFindOK() *CancelProductOrderFindOK

NewCancelProductOrderFindOK creates a CancelProductOrderFindOK with default headers values

func (*CancelProductOrderFindOK) Error

func (o *CancelProductOrderFindOK) Error() string

func (*CancelProductOrderFindOK) GetPayload

type CancelProductOrderFindParams

type CancelProductOrderFindParams struct {

	/*ProductOrderExternalID*/
	ProductOrderExternalID *string
	/*ProductOrderID*/
	ProductOrderID *string

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

CancelProductOrderFindParams contains all the parameters to send to the API endpoint for the cancel product order find operation typically these are written to a http.Request

func NewCancelProductOrderFindParams

func NewCancelProductOrderFindParams() *CancelProductOrderFindParams

NewCancelProductOrderFindParams creates a new CancelProductOrderFindParams object with the default values initialized.

func NewCancelProductOrderFindParamsWithContext

func NewCancelProductOrderFindParamsWithContext(ctx context.Context) *CancelProductOrderFindParams

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

func NewCancelProductOrderFindParamsWithHTTPClient

func NewCancelProductOrderFindParamsWithHTTPClient(client *http.Client) *CancelProductOrderFindParams

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

func NewCancelProductOrderFindParamsWithTimeout

func NewCancelProductOrderFindParamsWithTimeout(timeout time.Duration) *CancelProductOrderFindParams

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

func (*CancelProductOrderFindParams) SetContext

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

SetContext adds the context to the cancel product order find params

func (*CancelProductOrderFindParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cancel product order find params

func (*CancelProductOrderFindParams) SetProductOrderExternalID

func (o *CancelProductOrderFindParams) SetProductOrderExternalID(productOrderExternalID *string)

SetProductOrderExternalID adds the productOrderExternalId to the cancel product order find params

func (*CancelProductOrderFindParams) SetProductOrderID

func (o *CancelProductOrderFindParams) SetProductOrderID(productOrderID *string)

SetProductOrderID adds the productOrderId to the cancel product order find params

func (*CancelProductOrderFindParams) SetTimeout

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

SetTimeout adds the timeout to the cancel product order find params

func (*CancelProductOrderFindParams) WithContext

WithContext adds the context to the cancel product order find params

func (*CancelProductOrderFindParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the cancel product order find params

func (*CancelProductOrderFindParams) WithProductOrderExternalID

func (o *CancelProductOrderFindParams) WithProductOrderExternalID(productOrderExternalID *string) *CancelProductOrderFindParams

WithProductOrderExternalID adds the productOrderExternalID to the cancel product order find params

func (*CancelProductOrderFindParams) WithProductOrderID

func (o *CancelProductOrderFindParams) WithProductOrderID(productOrderID *string) *CancelProductOrderFindParams

WithProductOrderID adds the productOrderID to the cancel product order find params

func (*CancelProductOrderFindParams) WithTimeout

WithTimeout adds the timeout to the cancel product order find params

func (*CancelProductOrderFindParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CancelProductOrderFindReader

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

CancelProductOrderFindReader is a Reader for the CancelProductOrderFind structure.

func (*CancelProductOrderFindReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CancelProductOrderFindRequestTimeout

type CancelProductOrderFindRequestTimeout struct {
	Payload *models.ErrorRepresentation
}

CancelProductOrderFindRequestTimeout handles this case with default header values.

Request Time-out

List of supported error codes: - 63: Request time-out

func NewCancelProductOrderFindRequestTimeout

func NewCancelProductOrderFindRequestTimeout() *CancelProductOrderFindRequestTimeout

NewCancelProductOrderFindRequestTimeout creates a CancelProductOrderFindRequestTimeout with default headers values

func (*CancelProductOrderFindRequestTimeout) Error

func (*CancelProductOrderFindRequestTimeout) GetPayload

type CancelProductOrderFindServiceUnavailable

type CancelProductOrderFindServiceUnavailable struct {
	Payload *models.ErrorRepresentation
}

CancelProductOrderFindServiceUnavailable handles this case with default header values.

Service Unavailable

func NewCancelProductOrderFindServiceUnavailable

func NewCancelProductOrderFindServiceUnavailable() *CancelProductOrderFindServiceUnavailable

NewCancelProductOrderFindServiceUnavailable creates a CancelProductOrderFindServiceUnavailable with default headers values

func (*CancelProductOrderFindServiceUnavailable) Error

func (*CancelProductOrderFindServiceUnavailable) GetPayload

type CancelProductOrderFindUnauthorized

type CancelProductOrderFindUnauthorized struct {
	Payload *models.ErrorRepresentation
}

CancelProductOrderFindUnauthorized handles this case with default header values.

Unauthorized

List of supported error codes: - 40: Missing credentials - 41: Invalid credentials - 42: Expired credentials

func NewCancelProductOrderFindUnauthorized

func NewCancelProductOrderFindUnauthorized() *CancelProductOrderFindUnauthorized

NewCancelProductOrderFindUnauthorized creates a CancelProductOrderFindUnauthorized with default headers values

func (*CancelProductOrderFindUnauthorized) Error

func (*CancelProductOrderFindUnauthorized) GetPayload

type CancelProductOrderFindUnprocessableEntity

type CancelProductOrderFindUnprocessableEntity struct {
	Payload *models.ErrorRepresentation
}

CancelProductOrderFindUnprocessableEntity handles this case with default header values.

Unprocessable entity

Functional error

func NewCancelProductOrderFindUnprocessableEntity

func NewCancelProductOrderFindUnprocessableEntity() *CancelProductOrderFindUnprocessableEntity

NewCancelProductOrderFindUnprocessableEntity creates a CancelProductOrderFindUnprocessableEntity with default headers values

func (*CancelProductOrderFindUnprocessableEntity) Error

func (*CancelProductOrderFindUnprocessableEntity) GetPayload

type CancelProductOrderGetBadRequest

type CancelProductOrderGetBadRequest struct {
	Payload *models.ErrorRepresentation
}

CancelProductOrderGetBadRequest handles this case with default header values.

Bad Request

List of supported error codes: - 20: Invalid URL parameter value - 21: Missing body - 22: Invalid body - 23: Missing body field - 24: Invalid body field - 25: Missing header - 26: Invalid header value - 27: Missing query-string parameter - 28: Invalid query-string parameter value

func NewCancelProductOrderGetBadRequest

func NewCancelProductOrderGetBadRequest() *CancelProductOrderGetBadRequest

NewCancelProductOrderGetBadRequest creates a CancelProductOrderGetBadRequest with default headers values

func (*CancelProductOrderGetBadRequest) Error

func (*CancelProductOrderGetBadRequest) GetPayload

type CancelProductOrderGetForbidden

type CancelProductOrderGetForbidden struct {
	Payload *models.ErrorRepresentation
}

CancelProductOrderGetForbidden handles this case with default header values.

Forbidden

List of supported error codes: - 50: Access denied - 51: Forbidden requester - 52: Forbidden user - 53: Too many requests

func NewCancelProductOrderGetForbidden

func NewCancelProductOrderGetForbidden() *CancelProductOrderGetForbidden

NewCancelProductOrderGetForbidden creates a CancelProductOrderGetForbidden with default headers values

func (*CancelProductOrderGetForbidden) Error

func (*CancelProductOrderGetForbidden) GetPayload

type CancelProductOrderGetInternalServerError

type CancelProductOrderGetInternalServerError struct {
	Payload *models.ErrorRepresentation
}

CancelProductOrderGetInternalServerError handles this case with default header values.

Internal Server Error

List of supported error codes: - 1: Internal error

func NewCancelProductOrderGetInternalServerError

func NewCancelProductOrderGetInternalServerError() *CancelProductOrderGetInternalServerError

NewCancelProductOrderGetInternalServerError creates a CancelProductOrderGetInternalServerError with default headers values

func (*CancelProductOrderGetInternalServerError) Error

func (*CancelProductOrderGetInternalServerError) GetPayload

type CancelProductOrderGetMethodNotAllowed

type CancelProductOrderGetMethodNotAllowed struct {
	Payload *models.ErrorRepresentation
}

CancelProductOrderGetMethodNotAllowed handles this case with default header values.

Method Not Allowed

List of supported error codes: - 61: Method not allowed

func NewCancelProductOrderGetMethodNotAllowed

func NewCancelProductOrderGetMethodNotAllowed() *CancelProductOrderGetMethodNotAllowed

NewCancelProductOrderGetMethodNotAllowed creates a CancelProductOrderGetMethodNotAllowed with default headers values

func (*CancelProductOrderGetMethodNotAllowed) Error

func (*CancelProductOrderGetMethodNotAllowed) GetPayload

type CancelProductOrderGetNotFound

type CancelProductOrderGetNotFound struct {
	Payload *models.ErrorRepresentation
}

CancelProductOrderGetNotFound handles this case with default header values.

Not Found

List of supported error codes: - 60: Resource not found

func NewCancelProductOrderGetNotFound

func NewCancelProductOrderGetNotFound() *CancelProductOrderGetNotFound

NewCancelProductOrderGetNotFound creates a CancelProductOrderGetNotFound with default headers values

func (*CancelProductOrderGetNotFound) Error

func (*CancelProductOrderGetNotFound) GetPayload

type CancelProductOrderGetOK

type CancelProductOrderGetOK struct {
	Payload *models.CancelProductOrder
}

CancelProductOrderGetOK handles this case with default header values.

Ok

func NewCancelProductOrderGetOK

func NewCancelProductOrderGetOK() *CancelProductOrderGetOK

NewCancelProductOrderGetOK creates a CancelProductOrderGetOK with default headers values

func (*CancelProductOrderGetOK) Error

func (o *CancelProductOrderGetOK) Error() string

func (*CancelProductOrderGetOK) GetPayload

type CancelProductOrderGetParams

type CancelProductOrderGetParams struct {

	/*CancelProductOrderID*/
	CancelProductOrderID string

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

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

func NewCancelProductOrderGetParams

func NewCancelProductOrderGetParams() *CancelProductOrderGetParams

NewCancelProductOrderGetParams creates a new CancelProductOrderGetParams object with the default values initialized.

func NewCancelProductOrderGetParamsWithContext

func NewCancelProductOrderGetParamsWithContext(ctx context.Context) *CancelProductOrderGetParams

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

func NewCancelProductOrderGetParamsWithHTTPClient

func NewCancelProductOrderGetParamsWithHTTPClient(client *http.Client) *CancelProductOrderGetParams

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

func NewCancelProductOrderGetParamsWithTimeout

func NewCancelProductOrderGetParamsWithTimeout(timeout time.Duration) *CancelProductOrderGetParams

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

func (*CancelProductOrderGetParams) SetCancelProductOrderID

func (o *CancelProductOrderGetParams) SetCancelProductOrderID(cancelProductOrderID string)

SetCancelProductOrderID adds the cancelProductOrderId to the cancel product order get params

func (*CancelProductOrderGetParams) SetContext

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

SetContext adds the context to the cancel product order get params

func (*CancelProductOrderGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cancel product order get params

func (*CancelProductOrderGetParams) SetTimeout

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

SetTimeout adds the timeout to the cancel product order get params

func (*CancelProductOrderGetParams) WithCancelProductOrderID

func (o *CancelProductOrderGetParams) WithCancelProductOrderID(cancelProductOrderID string) *CancelProductOrderGetParams

WithCancelProductOrderID adds the cancelProductOrderID to the cancel product order get params

func (*CancelProductOrderGetParams) WithContext

WithContext adds the context to the cancel product order get params

func (*CancelProductOrderGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the cancel product order get params

func (*CancelProductOrderGetParams) WithTimeout

WithTimeout adds the timeout to the cancel product order get params

func (*CancelProductOrderGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CancelProductOrderGetReader

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

CancelProductOrderGetReader is a Reader for the CancelProductOrderGet structure.

func (*CancelProductOrderGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CancelProductOrderGetRequestTimeout

type CancelProductOrderGetRequestTimeout struct {
	Payload *models.ErrorRepresentation
}

CancelProductOrderGetRequestTimeout handles this case with default header values.

Request Time-out

List of supported error codes: - 63: Request time-out

func NewCancelProductOrderGetRequestTimeout

func NewCancelProductOrderGetRequestTimeout() *CancelProductOrderGetRequestTimeout

NewCancelProductOrderGetRequestTimeout creates a CancelProductOrderGetRequestTimeout with default headers values

func (*CancelProductOrderGetRequestTimeout) Error

func (*CancelProductOrderGetRequestTimeout) GetPayload

type CancelProductOrderGetServiceUnavailable

type CancelProductOrderGetServiceUnavailable struct {
	Payload *models.ErrorRepresentation
}

CancelProductOrderGetServiceUnavailable handles this case with default header values.

Service Unavailable

func NewCancelProductOrderGetServiceUnavailable

func NewCancelProductOrderGetServiceUnavailable() *CancelProductOrderGetServiceUnavailable

NewCancelProductOrderGetServiceUnavailable creates a CancelProductOrderGetServiceUnavailable with default headers values

func (*CancelProductOrderGetServiceUnavailable) Error

func (*CancelProductOrderGetServiceUnavailable) GetPayload

type CancelProductOrderGetUnauthorized

type CancelProductOrderGetUnauthorized struct {
	Payload *models.ErrorRepresentation
}

CancelProductOrderGetUnauthorized handles this case with default header values.

Unauthorized

List of supported error codes: - 40: Missing credentials - 41: Invalid credentials - 42: Expired credentials

func NewCancelProductOrderGetUnauthorized

func NewCancelProductOrderGetUnauthorized() *CancelProductOrderGetUnauthorized

NewCancelProductOrderGetUnauthorized creates a CancelProductOrderGetUnauthorized with default headers values

func (*CancelProductOrderGetUnauthorized) Error

func (*CancelProductOrderGetUnauthorized) GetPayload

type CancelProductOrderGetUnprocessableEntity

type CancelProductOrderGetUnprocessableEntity struct {
	Payload *models.ErrorRepresentation
}

CancelProductOrderGetUnprocessableEntity handles this case with default header values.

Unprocessable entity

Functional error

func NewCancelProductOrderGetUnprocessableEntity

func NewCancelProductOrderGetUnprocessableEntity() *CancelProductOrderGetUnprocessableEntity

NewCancelProductOrderGetUnprocessableEntity creates a CancelProductOrderGetUnprocessableEntity with default headers values

func (*CancelProductOrderGetUnprocessableEntity) Error

func (*CancelProductOrderGetUnprocessableEntity) GetPayload

type Client

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

Client for cancel product order API

func (*Client) CancelProductOrderCreate

func (a *Client) CancelProductOrderCreate(params *CancelProductOrderCreateParams) (*CancelProductOrderCreateCreated, error)

CancelProductOrderCreate creates product order cancellation request

This operation allows buyer to request a product order cancellation request

func (*Client) CancelProductOrderFind

func (a *Client) CancelProductOrderFind(params *CancelProductOrderFindParams) (*CancelProductOrderFindOK, error)

CancelProductOrderFind finds a lost of product order cancellation request s

This operation allows buyer to retrieve a list of product order cancellation request

func (*Client) CancelProductOrderGet

func (a *Client) CancelProductOrderGet(params *CancelProductOrderGetParams) (*CancelProductOrderGetOK, error)

CancelProductOrderGet gets a product order cancellation request by id

This operation allows buyer to retrieve one product order cancellation request

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	CancelProductOrderCreate(params *CancelProductOrderCreateParams) (*CancelProductOrderCreateCreated, error)

	CancelProductOrderFind(params *CancelProductOrderFindParams) (*CancelProductOrderFindOK, error)

	CancelProductOrderGet(params *CancelProductOrderGetParams) (*CancelProductOrderGetOK, 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 cancel product order API client.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL