Documentation ¶
Index ¶
- type CancelProductOrderCreateBadRequest
- type CancelProductOrderCreateCreated
- type CancelProductOrderCreateForbidden
- type CancelProductOrderCreateInternalServerError
- type CancelProductOrderCreateMethodNotAllowed
- type CancelProductOrderCreateNotFound
- type CancelProductOrderCreateParams
- func NewCancelProductOrderCreateParams() *CancelProductOrderCreateParams
- func NewCancelProductOrderCreateParamsWithContext(ctx context.Context) *CancelProductOrderCreateParams
- func NewCancelProductOrderCreateParamsWithHTTPClient(client *http.Client) *CancelProductOrderCreateParams
- func NewCancelProductOrderCreateParamsWithTimeout(timeout time.Duration) *CancelProductOrderCreateParams
- func (o *CancelProductOrderCreateParams) SetCancelProductOrder(cancelProductOrder *models.CancelProductOrderCreate)
- func (o *CancelProductOrderCreateParams) SetContext(ctx context.Context)
- func (o *CancelProductOrderCreateParams) SetHTTPClient(client *http.Client)
- func (o *CancelProductOrderCreateParams) SetTimeout(timeout time.Duration)
- func (o *CancelProductOrderCreateParams) WithCancelProductOrder(cancelProductOrder *models.CancelProductOrderCreate) *CancelProductOrderCreateParams
- func (o *CancelProductOrderCreateParams) WithContext(ctx context.Context) *CancelProductOrderCreateParams
- func (o *CancelProductOrderCreateParams) WithHTTPClient(client *http.Client) *CancelProductOrderCreateParams
- func (o *CancelProductOrderCreateParams) WithTimeout(timeout time.Duration) *CancelProductOrderCreateParams
- func (o *CancelProductOrderCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CancelProductOrderCreateReader
- type CancelProductOrderCreateRequestTimeout
- type CancelProductOrderCreateServiceUnavailable
- type CancelProductOrderCreateUnauthorized
- type CancelProductOrderCreateUnprocessableEntity
- type CancelProductOrderFindBadRequest
- type CancelProductOrderFindForbidden
- type CancelProductOrderFindInternalServerError
- type CancelProductOrderFindMethodNotAllowed
- type CancelProductOrderFindNotFound
- type CancelProductOrderFindOK
- type CancelProductOrderFindParams
- func NewCancelProductOrderFindParams() *CancelProductOrderFindParams
- func NewCancelProductOrderFindParamsWithContext(ctx context.Context) *CancelProductOrderFindParams
- func NewCancelProductOrderFindParamsWithHTTPClient(client *http.Client) *CancelProductOrderFindParams
- func NewCancelProductOrderFindParamsWithTimeout(timeout time.Duration) *CancelProductOrderFindParams
- func (o *CancelProductOrderFindParams) SetContext(ctx context.Context)
- func (o *CancelProductOrderFindParams) SetHTTPClient(client *http.Client)
- func (o *CancelProductOrderFindParams) SetProductOrderExternalID(productOrderExternalID *string)
- func (o *CancelProductOrderFindParams) SetProductOrderID(productOrderID *string)
- func (o *CancelProductOrderFindParams) SetTimeout(timeout time.Duration)
- func (o *CancelProductOrderFindParams) WithContext(ctx context.Context) *CancelProductOrderFindParams
- func (o *CancelProductOrderFindParams) WithHTTPClient(client *http.Client) *CancelProductOrderFindParams
- func (o *CancelProductOrderFindParams) WithProductOrderExternalID(productOrderExternalID *string) *CancelProductOrderFindParams
- func (o *CancelProductOrderFindParams) WithProductOrderID(productOrderID *string) *CancelProductOrderFindParams
- func (o *CancelProductOrderFindParams) WithTimeout(timeout time.Duration) *CancelProductOrderFindParams
- func (o *CancelProductOrderFindParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CancelProductOrderFindReader
- type CancelProductOrderFindRequestTimeout
- type CancelProductOrderFindServiceUnavailable
- type CancelProductOrderFindUnauthorized
- type CancelProductOrderFindUnprocessableEntity
- type CancelProductOrderGetBadRequest
- type CancelProductOrderGetForbidden
- type CancelProductOrderGetInternalServerError
- type CancelProductOrderGetMethodNotAllowed
- type CancelProductOrderGetNotFound
- type CancelProductOrderGetOK
- type CancelProductOrderGetParams
- func NewCancelProductOrderGetParams() *CancelProductOrderGetParams
- func NewCancelProductOrderGetParamsWithContext(ctx context.Context) *CancelProductOrderGetParams
- func NewCancelProductOrderGetParamsWithHTTPClient(client *http.Client) *CancelProductOrderGetParams
- func NewCancelProductOrderGetParamsWithTimeout(timeout time.Duration) *CancelProductOrderGetParams
- func (o *CancelProductOrderGetParams) SetCancelProductOrderID(cancelProductOrderID string)
- func (o *CancelProductOrderGetParams) SetContext(ctx context.Context)
- func (o *CancelProductOrderGetParams) SetHTTPClient(client *http.Client)
- func (o *CancelProductOrderGetParams) SetTimeout(timeout time.Duration)
- func (o *CancelProductOrderGetParams) WithCancelProductOrderID(cancelProductOrderID string) *CancelProductOrderGetParams
- func (o *CancelProductOrderGetParams) WithContext(ctx context.Context) *CancelProductOrderGetParams
- func (o *CancelProductOrderGetParams) WithHTTPClient(client *http.Client) *CancelProductOrderGetParams
- func (o *CancelProductOrderGetParams) WithTimeout(timeout time.Duration) *CancelProductOrderGetParams
- func (o *CancelProductOrderGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CancelProductOrderGetReader
- type CancelProductOrderGetRequestTimeout
- type CancelProductOrderGetServiceUnavailable
- type CancelProductOrderGetUnauthorized
- type CancelProductOrderGetUnprocessableEntity
- type Client
- func (a *Client) CancelProductOrderCreate(params *CancelProductOrderCreateParams) (*CancelProductOrderCreateCreated, error)
- func (a *Client) CancelProductOrderFind(params *CancelProductOrderFindParams) (*CancelProductOrderFindOK, error)
- func (a *Client) CancelProductOrderGet(params *CancelProductOrderGetParams) (*CancelProductOrderGetOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
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 (o *CancelProductOrderCreateBadRequest) Error() string
func (*CancelProductOrderCreateBadRequest) GetPayload ¶
func (o *CancelProductOrderCreateBadRequest) GetPayload() *models.ErrorRepresentation
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 (o *CancelProductOrderCreateCreated) Error() string
func (*CancelProductOrderCreateCreated) GetPayload ¶
func (o *CancelProductOrderCreateCreated) GetPayload() *models.CancelProductOrder
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 (o *CancelProductOrderCreateForbidden) Error() string
func (*CancelProductOrderCreateForbidden) GetPayload ¶
func (o *CancelProductOrderCreateForbidden) GetPayload() *models.ErrorRepresentation
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 (o *CancelProductOrderCreateInternalServerError) Error() string
func (*CancelProductOrderCreateInternalServerError) GetPayload ¶
func (o *CancelProductOrderCreateInternalServerError) GetPayload() *models.ErrorRepresentation
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 (o *CancelProductOrderCreateMethodNotAllowed) Error() string
func (*CancelProductOrderCreateMethodNotAllowed) GetPayload ¶
func (o *CancelProductOrderCreateMethodNotAllowed) GetPayload() *models.ErrorRepresentation
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 (o *CancelProductOrderCreateNotFound) Error() string
func (*CancelProductOrderCreateNotFound) GetPayload ¶
func (o *CancelProductOrderCreateNotFound) GetPayload() *models.ErrorRepresentation
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 ¶
func (o *CancelProductOrderCreateParams) WithContext(ctx context.Context) *CancelProductOrderCreateParams
WithContext adds the context to the cancel product order create params
func (*CancelProductOrderCreateParams) WithHTTPClient ¶
func (o *CancelProductOrderCreateParams) WithHTTPClient(client *http.Client) *CancelProductOrderCreateParams
WithHTTPClient adds the HTTPClient to the cancel product order create params
func (*CancelProductOrderCreateParams) WithTimeout ¶
func (o *CancelProductOrderCreateParams) WithTimeout(timeout time.Duration) *CancelProductOrderCreateParams
WithTimeout adds the timeout to the cancel product order create params
func (*CancelProductOrderCreateParams) WriteToRequest ¶
func (o *CancelProductOrderCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *CancelProductOrderCreateRequestTimeout) Error() string
func (*CancelProductOrderCreateRequestTimeout) GetPayload ¶
func (o *CancelProductOrderCreateRequestTimeout) GetPayload() *models.ErrorRepresentation
type CancelProductOrderCreateServiceUnavailable ¶
type CancelProductOrderCreateServiceUnavailable struct {
}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 (o *CancelProductOrderCreateServiceUnavailable) Error() string
func (*CancelProductOrderCreateServiceUnavailable) GetPayload ¶
func (o *CancelProductOrderCreateServiceUnavailable) GetPayload() *models.ErrorRepresentation
type CancelProductOrderCreateUnauthorized ¶
type CancelProductOrderCreateUnauthorized struct {
}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 (o *CancelProductOrderCreateUnauthorized) Error() string
func (*CancelProductOrderCreateUnauthorized) GetPayload ¶
func (o *CancelProductOrderCreateUnauthorized) GetPayload() *models.ErrorRepresentation
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 (o *CancelProductOrderCreateUnprocessableEntity) Error() string
func (*CancelProductOrderCreateUnprocessableEntity) GetPayload ¶
func (o *CancelProductOrderCreateUnprocessableEntity) GetPayload() *models.ErrorRepresentation
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 (o *CancelProductOrderFindBadRequest) Error() string
func (*CancelProductOrderFindBadRequest) GetPayload ¶
func (o *CancelProductOrderFindBadRequest) GetPayload() *models.ErrorRepresentation
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 (o *CancelProductOrderFindForbidden) Error() string
func (*CancelProductOrderFindForbidden) GetPayload ¶
func (o *CancelProductOrderFindForbidden) GetPayload() *models.ErrorRepresentation
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 (o *CancelProductOrderFindInternalServerError) Error() string
func (*CancelProductOrderFindInternalServerError) GetPayload ¶
func (o *CancelProductOrderFindInternalServerError) GetPayload() *models.ErrorRepresentation
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 (o *CancelProductOrderFindMethodNotAllowed) Error() string
func (*CancelProductOrderFindMethodNotAllowed) GetPayload ¶
func (o *CancelProductOrderFindMethodNotAllowed) GetPayload() *models.ErrorRepresentation
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 (o *CancelProductOrderFindNotFound) Error() string
func (*CancelProductOrderFindNotFound) GetPayload ¶
func (o *CancelProductOrderFindNotFound) GetPayload() *models.ErrorRepresentation
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 ¶
func (o *CancelProductOrderFindOK) GetPayload() []*models.CancelProductOrder
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 ¶
func (o *CancelProductOrderFindParams) WithContext(ctx context.Context) *CancelProductOrderFindParams
WithContext adds the context to the cancel product order find params
func (*CancelProductOrderFindParams) WithHTTPClient ¶
func (o *CancelProductOrderFindParams) WithHTTPClient(client *http.Client) *CancelProductOrderFindParams
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 ¶
func (o *CancelProductOrderFindParams) WithTimeout(timeout time.Duration) *CancelProductOrderFindParams
WithTimeout adds the timeout to the cancel product order find params
func (*CancelProductOrderFindParams) WriteToRequest ¶
func (o *CancelProductOrderFindParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *CancelProductOrderFindRequestTimeout) Error() string
func (*CancelProductOrderFindRequestTimeout) GetPayload ¶
func (o *CancelProductOrderFindRequestTimeout) GetPayload() *models.ErrorRepresentation
type CancelProductOrderFindServiceUnavailable ¶
type CancelProductOrderFindServiceUnavailable struct {
}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 (o *CancelProductOrderFindServiceUnavailable) Error() string
func (*CancelProductOrderFindServiceUnavailable) GetPayload ¶
func (o *CancelProductOrderFindServiceUnavailable) GetPayload() *models.ErrorRepresentation
type CancelProductOrderFindUnauthorized ¶
type CancelProductOrderFindUnauthorized struct {
}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 (o *CancelProductOrderFindUnauthorized) Error() string
func (*CancelProductOrderFindUnauthorized) GetPayload ¶
func (o *CancelProductOrderFindUnauthorized) GetPayload() *models.ErrorRepresentation
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 (o *CancelProductOrderFindUnprocessableEntity) Error() string
func (*CancelProductOrderFindUnprocessableEntity) GetPayload ¶
func (o *CancelProductOrderFindUnprocessableEntity) GetPayload() *models.ErrorRepresentation
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 (o *CancelProductOrderGetBadRequest) Error() string
func (*CancelProductOrderGetBadRequest) GetPayload ¶
func (o *CancelProductOrderGetBadRequest) GetPayload() *models.ErrorRepresentation
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 (o *CancelProductOrderGetForbidden) Error() string
func (*CancelProductOrderGetForbidden) GetPayload ¶
func (o *CancelProductOrderGetForbidden) GetPayload() *models.ErrorRepresentation
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 (o *CancelProductOrderGetInternalServerError) Error() string
func (*CancelProductOrderGetInternalServerError) GetPayload ¶
func (o *CancelProductOrderGetInternalServerError) GetPayload() *models.ErrorRepresentation
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 (o *CancelProductOrderGetMethodNotAllowed) Error() string
func (*CancelProductOrderGetMethodNotAllowed) GetPayload ¶
func (o *CancelProductOrderGetMethodNotAllowed) GetPayload() *models.ErrorRepresentation
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 (o *CancelProductOrderGetNotFound) Error() string
func (*CancelProductOrderGetNotFound) GetPayload ¶
func (o *CancelProductOrderGetNotFound) GetPayload() *models.ErrorRepresentation
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 ¶
func (o *CancelProductOrderGetOK) GetPayload() *models.CancelProductOrder
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 ¶
func (o *CancelProductOrderGetParams) WithContext(ctx context.Context) *CancelProductOrderGetParams
WithContext adds the context to the cancel product order get params
func (*CancelProductOrderGetParams) WithHTTPClient ¶
func (o *CancelProductOrderGetParams) WithHTTPClient(client *http.Client) *CancelProductOrderGetParams
WithHTTPClient adds the HTTPClient to the cancel product order get params
func (*CancelProductOrderGetParams) WithTimeout ¶
func (o *CancelProductOrderGetParams) WithTimeout(timeout time.Duration) *CancelProductOrderGetParams
WithTimeout adds the timeout to the cancel product order get params
func (*CancelProductOrderGetParams) WriteToRequest ¶
func (o *CancelProductOrderGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *CancelProductOrderGetRequestTimeout) Error() string
func (*CancelProductOrderGetRequestTimeout) GetPayload ¶
func (o *CancelProductOrderGetRequestTimeout) GetPayload() *models.ErrorRepresentation
type CancelProductOrderGetServiceUnavailable ¶
type CancelProductOrderGetServiceUnavailable struct {
}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 (o *CancelProductOrderGetServiceUnavailable) Error() string
func (*CancelProductOrderGetServiceUnavailable) GetPayload ¶
func (o *CancelProductOrderGetServiceUnavailable) GetPayload() *models.ErrorRepresentation
type CancelProductOrderGetUnauthorized ¶
type CancelProductOrderGetUnauthorized struct {
}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 (o *CancelProductOrderGetUnauthorized) Error() string
func (*CancelProductOrderGetUnauthorized) GetPayload ¶
func (o *CancelProductOrderGetUnauthorized) GetPayload() *models.ErrorRepresentation
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 (o *CancelProductOrderGetUnprocessableEntity) Error() string
func (*CancelProductOrderGetUnprocessableEntity) GetPayload ¶
func (o *CancelProductOrderGetUnprocessableEntity) GetPayload() *models.ErrorRepresentation
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.