product_order

package
v0.0.0-...-0ce3674 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const ProductOrderCreateBadRequestCode int = 400

ProductOrderCreateBadRequestCode is the HTTP code returned for type ProductOrderCreateBadRequest

View Source
const ProductOrderCreateCreatedCode int = 201

ProductOrderCreateCreatedCode is the HTTP code returned for type ProductOrderCreateCreated

View Source
const ProductOrderCreateForbiddenCode int = 403

ProductOrderCreateForbiddenCode is the HTTP code returned for type ProductOrderCreateForbidden

View Source
const ProductOrderCreateInternalServerErrorCode int = 500

ProductOrderCreateInternalServerErrorCode is the HTTP code returned for type ProductOrderCreateInternalServerError

View Source
const ProductOrderCreateMethodNotAllowedCode int = 405

ProductOrderCreateMethodNotAllowedCode is the HTTP code returned for type ProductOrderCreateMethodNotAllowed

View Source
const ProductOrderCreateNotFoundCode int = 404

ProductOrderCreateNotFoundCode is the HTTP code returned for type ProductOrderCreateNotFound

View Source
const ProductOrderCreateRequestTimeoutCode int = 408

ProductOrderCreateRequestTimeoutCode is the HTTP code returned for type ProductOrderCreateRequestTimeout

View Source
const ProductOrderCreateServiceUnavailableCode int = 503

ProductOrderCreateServiceUnavailableCode is the HTTP code returned for type ProductOrderCreateServiceUnavailable

View Source
const ProductOrderCreateUnauthorizedCode int = 401

ProductOrderCreateUnauthorizedCode is the HTTP code returned for type ProductOrderCreateUnauthorized

View Source
const ProductOrderCreateUnprocessableEntityCode int = 422

ProductOrderCreateUnprocessableEntityCode is the HTTP code returned for type ProductOrderCreateUnprocessableEntity

View Source
const ProductOrderFindBadRequestCode int = 400

ProductOrderFindBadRequestCode is the HTTP code returned for type ProductOrderFindBadRequest

View Source
const ProductOrderFindForbiddenCode int = 403

ProductOrderFindForbiddenCode is the HTTP code returned for type ProductOrderFindForbidden

View Source
const ProductOrderFindInternalServerErrorCode int = 500

ProductOrderFindInternalServerErrorCode is the HTTP code returned for type ProductOrderFindInternalServerError

View Source
const ProductOrderFindMethodNotAllowedCode int = 405

ProductOrderFindMethodNotAllowedCode is the HTTP code returned for type ProductOrderFindMethodNotAllowed

View Source
const ProductOrderFindNotFoundCode int = 404

ProductOrderFindNotFoundCode is the HTTP code returned for type ProductOrderFindNotFound

View Source
const ProductOrderFindOKCode int = 200

ProductOrderFindOKCode is the HTTP code returned for type ProductOrderFindOK

View Source
const ProductOrderFindRequestTimeoutCode int = 408

ProductOrderFindRequestTimeoutCode is the HTTP code returned for type ProductOrderFindRequestTimeout

View Source
const ProductOrderFindServiceUnavailableCode int = 503

ProductOrderFindServiceUnavailableCode is the HTTP code returned for type ProductOrderFindServiceUnavailable

View Source
const ProductOrderFindUnauthorizedCode int = 401

ProductOrderFindUnauthorizedCode is the HTTP code returned for type ProductOrderFindUnauthorized

View Source
const ProductOrderFindUnprocessableEntityCode int = 422

ProductOrderFindUnprocessableEntityCode is the HTTP code returned for type ProductOrderFindUnprocessableEntity

View Source
const ProductOrderGetBadRequestCode int = 400

ProductOrderGetBadRequestCode is the HTTP code returned for type ProductOrderGetBadRequest

View Source
const ProductOrderGetForbiddenCode int = 403

ProductOrderGetForbiddenCode is the HTTP code returned for type ProductOrderGetForbidden

View Source
const ProductOrderGetInternalServerErrorCode int = 500

ProductOrderGetInternalServerErrorCode is the HTTP code returned for type ProductOrderGetInternalServerError

View Source
const ProductOrderGetMethodNotAllowedCode int = 405

ProductOrderGetMethodNotAllowedCode is the HTTP code returned for type ProductOrderGetMethodNotAllowed

View Source
const ProductOrderGetNotFoundCode int = 404

ProductOrderGetNotFoundCode is the HTTP code returned for type ProductOrderGetNotFound

View Source
const ProductOrderGetOKCode int = 200

ProductOrderGetOKCode is the HTTP code returned for type ProductOrderGetOK

View Source
const ProductOrderGetRequestTimeoutCode int = 408

ProductOrderGetRequestTimeoutCode is the HTTP code returned for type ProductOrderGetRequestTimeout

View Source
const ProductOrderGetServiceUnavailableCode int = 503

ProductOrderGetServiceUnavailableCode is the HTTP code returned for type ProductOrderGetServiceUnavailable

View Source
const ProductOrderGetUnauthorizedCode int = 401

ProductOrderGetUnauthorizedCode is the HTTP code returned for type ProductOrderGetUnauthorized

View Source
const ProductOrderGetUnprocessableEntityCode int = 422

ProductOrderGetUnprocessableEntityCode is the HTTP code returned for type ProductOrderGetUnprocessableEntity

Variables

This section is empty.

Functions

This section is empty.

Types

type ProductOrderCreate

type ProductOrderCreate struct {
	Context *middleware.Context
	Handler ProductOrderCreateHandler
}
ProductOrderCreate swagger:route POST /productOrderManagement/v3/productOrder ProductOrder productOrderCreate

Create a product order

This operation is used to create an order. Depending on the order activity, one can "INSTALL", "CHANGE", or "DISCONNECT" an associated product.

func NewProductOrderCreate

func NewProductOrderCreate(ctx *middleware.Context, handler ProductOrderCreateHandler) *ProductOrderCreate

NewProductOrderCreate creates a new http.Handler for the product order create operation

func (*ProductOrderCreate) ServeHTTP

func (o *ProductOrderCreate) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ProductOrderCreateBadRequest

type ProductOrderCreateBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

ProductOrderCreateBadRequest 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

swagger:response productOrderCreateBadRequest

func NewProductOrderCreateBadRequest

func NewProductOrderCreateBadRequest() *ProductOrderCreateBadRequest

NewProductOrderCreateBadRequest creates ProductOrderCreateBadRequest with default headers values

func (*ProductOrderCreateBadRequest) SetPayload

SetPayload sets the payload to the product order create bad request response

func (*ProductOrderCreateBadRequest) WithPayload

WithPayload adds the payload to the product order create bad request response

func (*ProductOrderCreateBadRequest) WriteResponse

func (o *ProductOrderCreateBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ProductOrderCreateCreated

type ProductOrderCreateCreated struct {

	/*
	  In: Body
	*/
	Payload *models.ProductOrder `json:"body,omitempty"`
}

ProductOrderCreateCreated Created

swagger:response productOrderCreateCreated

func NewProductOrderCreateCreated

func NewProductOrderCreateCreated() *ProductOrderCreateCreated

NewProductOrderCreateCreated creates ProductOrderCreateCreated with default headers values

func (*ProductOrderCreateCreated) SetPayload

func (o *ProductOrderCreateCreated) SetPayload(payload *models.ProductOrder)

SetPayload sets the payload to the product order create created response

func (*ProductOrderCreateCreated) WithPayload

WithPayload adds the payload to the product order create created response

func (*ProductOrderCreateCreated) WriteResponse

func (o *ProductOrderCreateCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ProductOrderCreateForbidden

type ProductOrderCreateForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

ProductOrderCreateForbidden Forbidden

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

swagger:response productOrderCreateForbidden

func NewProductOrderCreateForbidden

func NewProductOrderCreateForbidden() *ProductOrderCreateForbidden

NewProductOrderCreateForbidden creates ProductOrderCreateForbidden with default headers values

func (*ProductOrderCreateForbidden) SetPayload

func (o *ProductOrderCreateForbidden) SetPayload(payload *models.ErrorRepresentation)

SetPayload sets the payload to the product order create forbidden response

func (*ProductOrderCreateForbidden) WithPayload

WithPayload adds the payload to the product order create forbidden response

func (*ProductOrderCreateForbidden) WriteResponse

func (o *ProductOrderCreateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ProductOrderCreateHandler

type ProductOrderCreateHandler interface {
	Handle(ProductOrderCreateParams, *models.Principal) middleware.Responder
}

ProductOrderCreateHandler interface for that can handle valid product order create params

type ProductOrderCreateHandlerFunc

type ProductOrderCreateHandlerFunc func(ProductOrderCreateParams, *models.Principal) middleware.Responder

ProductOrderCreateHandlerFunc turns a function with the right signature into a product order create handler

func (ProductOrderCreateHandlerFunc) Handle

Handle executing the request and returning a response

type ProductOrderCreateInternalServerError

type ProductOrderCreateInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

ProductOrderCreateInternalServerError Internal Server Error

List of supported error codes: - 1: Internal error

swagger:response productOrderCreateInternalServerError

func NewProductOrderCreateInternalServerError

func NewProductOrderCreateInternalServerError() *ProductOrderCreateInternalServerError

NewProductOrderCreateInternalServerError creates ProductOrderCreateInternalServerError with default headers values

func (*ProductOrderCreateInternalServerError) SetPayload

SetPayload sets the payload to the product order create internal server error response

func (*ProductOrderCreateInternalServerError) WithPayload

WithPayload adds the payload to the product order create internal server error response

func (*ProductOrderCreateInternalServerError) WriteResponse

WriteResponse to the client

type ProductOrderCreateMethodNotAllowed

type ProductOrderCreateMethodNotAllowed struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

ProductOrderCreateMethodNotAllowed Method Not Allowed

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

swagger:response productOrderCreateMethodNotAllowed

func NewProductOrderCreateMethodNotAllowed

func NewProductOrderCreateMethodNotAllowed() *ProductOrderCreateMethodNotAllowed

NewProductOrderCreateMethodNotAllowed creates ProductOrderCreateMethodNotAllowed with default headers values

func (*ProductOrderCreateMethodNotAllowed) SetPayload

SetPayload sets the payload to the product order create method not allowed response

func (*ProductOrderCreateMethodNotAllowed) WithPayload

WithPayload adds the payload to the product order create method not allowed response

func (*ProductOrderCreateMethodNotAllowed) WriteResponse

WriteResponse to the client

type ProductOrderCreateNotFound

type ProductOrderCreateNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

ProductOrderCreateNotFound Not Found

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

swagger:response productOrderCreateNotFound

func NewProductOrderCreateNotFound

func NewProductOrderCreateNotFound() *ProductOrderCreateNotFound

NewProductOrderCreateNotFound creates ProductOrderCreateNotFound with default headers values

func (*ProductOrderCreateNotFound) SetPayload

func (o *ProductOrderCreateNotFound) SetPayload(payload *models.ErrorRepresentation)

SetPayload sets the payload to the product order create not found response

func (*ProductOrderCreateNotFound) WithPayload

WithPayload adds the payload to the product order create not found response

func (*ProductOrderCreateNotFound) WriteResponse

func (o *ProductOrderCreateNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ProductOrderCreateParams

type ProductOrderCreateParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	ProductOrder *models.ProductOrderCreate
}

ProductOrderCreateParams contains all the bound params for the product order create operation typically these are obtained from a http.Request

swagger:parameters productOrderCreate

func NewProductOrderCreateParams

func NewProductOrderCreateParams() ProductOrderCreateParams

NewProductOrderCreateParams creates a new ProductOrderCreateParams object

There are no default values defined in the spec.

func (*ProductOrderCreateParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewProductOrderCreateParams() beforehand.

type ProductOrderCreateRequestTimeout

type ProductOrderCreateRequestTimeout struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

ProductOrderCreateRequestTimeout Request Time-out

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

swagger:response productOrderCreateRequestTimeout

func NewProductOrderCreateRequestTimeout

func NewProductOrderCreateRequestTimeout() *ProductOrderCreateRequestTimeout

NewProductOrderCreateRequestTimeout creates ProductOrderCreateRequestTimeout with default headers values

func (*ProductOrderCreateRequestTimeout) SetPayload

SetPayload sets the payload to the product order create request timeout response

func (*ProductOrderCreateRequestTimeout) WithPayload

WithPayload adds the payload to the product order create request timeout response

func (*ProductOrderCreateRequestTimeout) WriteResponse

func (o *ProductOrderCreateRequestTimeout) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ProductOrderCreateServiceUnavailable

type ProductOrderCreateServiceUnavailable struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

ProductOrderCreateServiceUnavailable Service Unavailable

swagger:response productOrderCreateServiceUnavailable

func NewProductOrderCreateServiceUnavailable

func NewProductOrderCreateServiceUnavailable() *ProductOrderCreateServiceUnavailable

NewProductOrderCreateServiceUnavailable creates ProductOrderCreateServiceUnavailable with default headers values

func (*ProductOrderCreateServiceUnavailable) SetPayload

SetPayload sets the payload to the product order create service unavailable response

func (*ProductOrderCreateServiceUnavailable) WithPayload

WithPayload adds the payload to the product order create service unavailable response

func (*ProductOrderCreateServiceUnavailable) WriteResponse

WriteResponse to the client

type ProductOrderCreateURL

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

ProductOrderCreateURL generates an URL for the product order create operation

func (*ProductOrderCreateURL) Build

func (o *ProductOrderCreateURL) Build() (*url.URL, error)

Build a url path and query string

func (*ProductOrderCreateURL) BuildFull

func (o *ProductOrderCreateURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ProductOrderCreateURL) Must

func (o *ProductOrderCreateURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ProductOrderCreateURL) SetBasePath

func (o *ProductOrderCreateURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ProductOrderCreateURL) String

func (o *ProductOrderCreateURL) String() string

String returns the string representation of the path with query string

func (*ProductOrderCreateURL) StringFull

func (o *ProductOrderCreateURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ProductOrderCreateURL) WithBasePath

func (o *ProductOrderCreateURL) WithBasePath(bp string) *ProductOrderCreateURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ProductOrderCreateUnauthorized

type ProductOrderCreateUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

ProductOrderCreateUnauthorized Unauthorized

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

swagger:response productOrderCreateUnauthorized

func NewProductOrderCreateUnauthorized

func NewProductOrderCreateUnauthorized() *ProductOrderCreateUnauthorized

NewProductOrderCreateUnauthorized creates ProductOrderCreateUnauthorized with default headers values

func (*ProductOrderCreateUnauthorized) SetPayload

SetPayload sets the payload to the product order create unauthorized response

func (*ProductOrderCreateUnauthorized) WithPayload

WithPayload adds the payload to the product order create unauthorized response

func (*ProductOrderCreateUnauthorized) WriteResponse

func (o *ProductOrderCreateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ProductOrderCreateUnprocessableEntity

type ProductOrderCreateUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

ProductOrderCreateUnprocessableEntity Unprocessable entity

Functional error

  • code: 100

message: Missing order item (minimum 1) description: At least one order item must be provided

  • code: 101

message: Missing Buyer at order level description: One and only one related partyRole with a "Buyer" role should be provided at the product order level.

  • code: 114

message: Missing Seller at order level description: One and only one related partyRole with a "Seller" role should be provided at the product order level.

  • code: 102

message: A relatedParty is at the wrong level description: The partyRole provided is not at the correct level - MEF allows to have "Buyer", "Seller", "Billing Contact", "Order Contact", "Implementation Contact", "Technical Contact" roles at product order level and "UNI Site Contact", "UNI Alt Site Contact", "ENNI Site Contact", "ENNI Alt Site Contact" at product order item level.

  • code: 103

message: Missing Buyer Order Contact at order level description: One and only one related partyRole with a "Order Contact" role should be provided at the product order level. Buyer Order Contact name & Telephone number must be provided.

  • code: 104

message: Missing Buyer Implementation Contact at order level description: One and only one related partyRole with a "Implementation Contact" role should be provided at the product order level. Implementation Contact name & Telephone number must be provided.

  • code: 105

message: Missing Buyer Technical contact at order level description: One and only one related partyRole with a "Technical Contact" role should be provided at the product order level. Technical Contact name, Telephone number and email address must be provided.

  • code: 106

message: Address information must match place type description: If place type is 'Formatted Address' : addrLine1, city, stateOrProvince, postCode and country must be there. If place type is 'Fielded Address' : streetName, streetType, city, stateOrProvince, postCode and country must be there.

  • code: 107

message: postCode extension requires postcode value to be filled description: A postCode extension must not be present without a postcode being present

  • code: 108

message: Product id is required for all OrderItem Actions other than INSTALL description: If orderItemAction is not INSTALL, orderItem.product.id is mandatory

  • code: 109

message: Order Activity must match all OrderItem Actions for INSTALL description: If orderActivity is set to INSTALL, all orderItemAction must be INSTALL

  • code: 110

message: Referred quote cannot be used for ordering due to its status description: Quote cannot be used in the order if its status is in CANCELLED, UNABLE TO PROVIDE, REJECTED or EXPIRED state.

  • code: 111

message: Billing Account information must not be both at order level and order item level description: Billing Account must not be present both at order header level and order item level.

  • code: 112

message: PricingMethod, pricing Reference & pricing term attributes must not be both at order level and order item level description: Pricing data must not be present both at order header level and order item level.

  • code: 113

message: Referred Serviceability request is expired description: Serviceability information are expired.

  • code: 114

message: A reccuring price is mentionned without a charge period. description:

  • code: 115

message: Referred Quote is not existing description:

  • code: 116

message: Referred ProductOfferingQualification is not existing description:

  • code: 117

message: Product /item relationship is missing description:

  • code: 118

message: Product Id refered in a relationship is not existing description:

swagger:response productOrderCreateUnprocessableEntity

func NewProductOrderCreateUnprocessableEntity

func NewProductOrderCreateUnprocessableEntity() *ProductOrderCreateUnprocessableEntity

NewProductOrderCreateUnprocessableEntity creates ProductOrderCreateUnprocessableEntity with default headers values

func (*ProductOrderCreateUnprocessableEntity) SetPayload

SetPayload sets the payload to the product order create unprocessable entity response

func (*ProductOrderCreateUnprocessableEntity) WithPayload

WithPayload adds the payload to the product order create unprocessable entity response

func (*ProductOrderCreateUnprocessableEntity) WriteResponse

WriteResponse to the client

type ProductOrderFind

type ProductOrderFind struct {
	Context *middleware.Context
	Handler ProductOrderFindHandler
}
ProductOrderFind swagger:route GET /productOrderManagement/v3/productOrder ProductOrder productOrderFind

Find a list of product order(s)

This operation is used to retrieve one or more product orders based upon filter criteria specified on input.

func NewProductOrderFind

func NewProductOrderFind(ctx *middleware.Context, handler ProductOrderFindHandler) *ProductOrderFind

NewProductOrderFind creates a new http.Handler for the product order find operation

func (*ProductOrderFind) ServeHTTP

func (o *ProductOrderFind) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ProductOrderFindBadRequest

type ProductOrderFindBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

ProductOrderFindBadRequest 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

swagger:response productOrderFindBadRequest

func NewProductOrderFindBadRequest

func NewProductOrderFindBadRequest() *ProductOrderFindBadRequest

NewProductOrderFindBadRequest creates ProductOrderFindBadRequest with default headers values

func (*ProductOrderFindBadRequest) SetPayload

func (o *ProductOrderFindBadRequest) SetPayload(payload *models.ErrorRepresentation)

SetPayload sets the payload to the product order find bad request response

func (*ProductOrderFindBadRequest) WithPayload

WithPayload adds the payload to the product order find bad request response

func (*ProductOrderFindBadRequest) WriteResponse

func (o *ProductOrderFindBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ProductOrderFindForbidden

type ProductOrderFindForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

ProductOrderFindForbidden Forbidden

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

swagger:response productOrderFindForbidden

func NewProductOrderFindForbidden

func NewProductOrderFindForbidden() *ProductOrderFindForbidden

NewProductOrderFindForbidden creates ProductOrderFindForbidden with default headers values

func (*ProductOrderFindForbidden) SetPayload

func (o *ProductOrderFindForbidden) SetPayload(payload *models.ErrorRepresentation)

SetPayload sets the payload to the product order find forbidden response

func (*ProductOrderFindForbidden) WithPayload

WithPayload adds the payload to the product order find forbidden response

func (*ProductOrderFindForbidden) WriteResponse

func (o *ProductOrderFindForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ProductOrderFindHandler

type ProductOrderFindHandler interface {
	Handle(ProductOrderFindParams, *models.Principal) middleware.Responder
}

ProductOrderFindHandler interface for that can handle valid product order find params

type ProductOrderFindHandlerFunc

type ProductOrderFindHandlerFunc func(ProductOrderFindParams, *models.Principal) middleware.Responder

ProductOrderFindHandlerFunc turns a function with the right signature into a product order find handler

func (ProductOrderFindHandlerFunc) Handle

Handle executing the request and returning a response

type ProductOrderFindInternalServerError

type ProductOrderFindInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

ProductOrderFindInternalServerError Internal Server Error

List of supported error codes: - 1: Internal error

swagger:response productOrderFindInternalServerError

func NewProductOrderFindInternalServerError

func NewProductOrderFindInternalServerError() *ProductOrderFindInternalServerError

NewProductOrderFindInternalServerError creates ProductOrderFindInternalServerError with default headers values

func (*ProductOrderFindInternalServerError) SetPayload

SetPayload sets the payload to the product order find internal server error response

func (*ProductOrderFindInternalServerError) WithPayload

WithPayload adds the payload to the product order find internal server error response

func (*ProductOrderFindInternalServerError) WriteResponse

WriteResponse to the client

type ProductOrderFindMethodNotAllowed

type ProductOrderFindMethodNotAllowed struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

ProductOrderFindMethodNotAllowed Method Not Allowed

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

swagger:response productOrderFindMethodNotAllowed

func NewProductOrderFindMethodNotAllowed

func NewProductOrderFindMethodNotAllowed() *ProductOrderFindMethodNotAllowed

NewProductOrderFindMethodNotAllowed creates ProductOrderFindMethodNotAllowed with default headers values

func (*ProductOrderFindMethodNotAllowed) SetPayload

SetPayload sets the payload to the product order find method not allowed response

func (*ProductOrderFindMethodNotAllowed) WithPayload

WithPayload adds the payload to the product order find method not allowed response

func (*ProductOrderFindMethodNotAllowed) WriteResponse

func (o *ProductOrderFindMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ProductOrderFindNotFound

type ProductOrderFindNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

ProductOrderFindNotFound Not Found

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

swagger:response productOrderFindNotFound

func NewProductOrderFindNotFound

func NewProductOrderFindNotFound() *ProductOrderFindNotFound

NewProductOrderFindNotFound creates ProductOrderFindNotFound with default headers values

func (*ProductOrderFindNotFound) SetPayload

func (o *ProductOrderFindNotFound) SetPayload(payload *models.ErrorRepresentation)

SetPayload sets the payload to the product order find not found response

func (*ProductOrderFindNotFound) WithPayload

WithPayload adds the payload to the product order find not found response

func (*ProductOrderFindNotFound) WriteResponse

func (o *ProductOrderFindNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ProductOrderFindOK

type ProductOrderFindOK struct {
	/*The number of resources retrieved in the response

	 */
	XResultCount int32 `json:"X-Result-Count"`
	/*The total number of matching resources

	 */
	XTotalCount int32 `json:"X-Total-Count"`

	/*
	  In: Body
	*/
	Payload []*models.ProductOrderSummary `json:"body,omitempty"`
}

ProductOrderFindOK Ok

swagger:response productOrderFindOK

func NewProductOrderFindOK

func NewProductOrderFindOK() *ProductOrderFindOK

NewProductOrderFindOK creates ProductOrderFindOK with default headers values

func (*ProductOrderFindOK) SetPayload

func (o *ProductOrderFindOK) SetPayload(payload []*models.ProductOrderSummary)

SetPayload sets the payload to the product order find o k response

func (*ProductOrderFindOK) SetXResultCount

func (o *ProductOrderFindOK) SetXResultCount(xResultCount int32)

SetXResultCount sets the xResultCount to the product order find o k response

func (*ProductOrderFindOK) SetXTotalCount

func (o *ProductOrderFindOK) SetXTotalCount(xTotalCount int32)

SetXTotalCount sets the xTotalCount to the product order find o k response

func (*ProductOrderFindOK) WithPayload

WithPayload adds the payload to the product order find o k response

func (*ProductOrderFindOK) WithXResultCount

func (o *ProductOrderFindOK) WithXResultCount(xResultCount int32) *ProductOrderFindOK

WithXResultCount adds the xResultCount to the product order find o k response

func (*ProductOrderFindOK) WithXTotalCount

func (o *ProductOrderFindOK) WithXTotalCount(xTotalCount int32) *ProductOrderFindOK

WithXTotalCount adds the xTotalCount to the product order find o k response

func (*ProductOrderFindOK) WriteResponse

func (o *ProductOrderFindOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ProductOrderFindParams

type ProductOrderFindParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*A Party Role played by an Individual or an Organization that buys products and services from a Seller. Specifically, the ID of the Service Provider (Buyer) organization placing the order.
	  In: query
	*/
	BuyerID *string
	/*Buyer requested date greater than
	  In: query
	*/
	BuyerRequestedDateGt *strfmt.DateTime
	/*Buyer requested date lesser than
	  In: query
	*/
	BuyerRequestedDateLt *strfmt.DateTime
	/*Effective completion date greater than
	  In: query
	*/
	CompletionDateGt *strfmt.DateTime
	/*Effective completion date lesser than
	  In: query
	*/
	CompletionDateLt *strfmt.DateTime
	/*Seller planned completion date greater than
	  In: query
	*/
	ExpectedCompletionDateGt *strfmt.DateTime
	/*Seller planned completion date lesser than
	  In: query
	*/
	ExpectedCompletionDateLt *strfmt.DateTime
	/*A number that uniquely identifies an order within the Buyer's enterprise.
	  In: query
	*/
	ExternalID *string
	/*Requested number of resources to be provided in response requested by client
	  In: query
	*/
	Limit *string
	/*Requested index for start of resources to be provided in response requested by client
	  In: query
	*/
	Offset *string
	/*order cancellation date greater than
	  In: query
	*/
	OrderCancellationDateGt *strfmt.DateTime
	/*order cancellation date lesser than
	  In: query
	*/
	OrderCancellationDateLt *strfmt.DateTime
	/*Date when the order was created greater than
	  In: query
	*/
	OrderDateGt *strfmt.DateTime
	/*Date when the order was created lesser than
	  In: query
	*/
	OrderDateLt *strfmt.DateTime
	/*An identifier that is used to group Orders that represent a unit of functionality that is important to a Buyer.
	  In: query
	*/
	ProjectID *string
	/*Identifies the Buyer's desired due date (requested delivery date) greater than
	  In: query
	*/
	RequestedCompletionDateGt *strfmt.DateTime
	/*Identifies the Buyer's desired due date (requested delivery date) lesser than
	  In: query
	*/
	RequestedCompletionDateLt *strfmt.DateTime
	/*Buyer requested start date greater than
	  In: query
	*/
	RequestedStartDateGt *strfmt.DateTime
	/*Buyer requested start date lesser than
	  In: query
	*/
	RequestedStartDateLt *strfmt.DateTime
	/*A Party Role played by an organization that provides products and services to a Buyer.
	Specifically, the ID of the Partner/Access Provider (Seller) organization receiving the order.
	  In: query
	*/
	SellerID *string
	/*The name of the company that is located at the service location.  This may be different from the name of the Buyer that ordered services at that site.
	  In: query
	*/
	SiteCompanyName *string
	/*The customer name at a site where the service is being delivered
	  In: query
	*/
	SiteCustomerName *string
	/*A name by which the site is known.
	  In: query
	*/
	SiteName *string
	/*The status of the order
	  In: query
	*/
	State *string
}

ProductOrderFindParams contains all the bound params for the product order find operation typically these are obtained from a http.Request

swagger:parameters productOrderFind

func NewProductOrderFindParams

func NewProductOrderFindParams() ProductOrderFindParams

NewProductOrderFindParams creates a new ProductOrderFindParams object

There are no default values defined in the spec.

func (*ProductOrderFindParams) BindRequest

func (o *ProductOrderFindParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewProductOrderFindParams() beforehand.

type ProductOrderFindRequestTimeout

type ProductOrderFindRequestTimeout struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

ProductOrderFindRequestTimeout Request Time-out

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

swagger:response productOrderFindRequestTimeout

func NewProductOrderFindRequestTimeout

func NewProductOrderFindRequestTimeout() *ProductOrderFindRequestTimeout

NewProductOrderFindRequestTimeout creates ProductOrderFindRequestTimeout with default headers values

func (*ProductOrderFindRequestTimeout) SetPayload

SetPayload sets the payload to the product order find request timeout response

func (*ProductOrderFindRequestTimeout) WithPayload

WithPayload adds the payload to the product order find request timeout response

func (*ProductOrderFindRequestTimeout) WriteResponse

func (o *ProductOrderFindRequestTimeout) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ProductOrderFindServiceUnavailable

type ProductOrderFindServiceUnavailable struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

ProductOrderFindServiceUnavailable Service Unavailable

swagger:response productOrderFindServiceUnavailable

func NewProductOrderFindServiceUnavailable

func NewProductOrderFindServiceUnavailable() *ProductOrderFindServiceUnavailable

NewProductOrderFindServiceUnavailable creates ProductOrderFindServiceUnavailable with default headers values

func (*ProductOrderFindServiceUnavailable) SetPayload

SetPayload sets the payload to the product order find service unavailable response

func (*ProductOrderFindServiceUnavailable) WithPayload

WithPayload adds the payload to the product order find service unavailable response

func (*ProductOrderFindServiceUnavailable) WriteResponse

WriteResponse to the client

type ProductOrderFindURL

type ProductOrderFindURL struct {
	BuyerID                   *string
	BuyerRequestedDateGt      *strfmt.DateTime
	BuyerRequestedDateLt      *strfmt.DateTime
	CompletionDateGt          *strfmt.DateTime
	CompletionDateLt          *strfmt.DateTime
	ExpectedCompletionDateGt  *strfmt.DateTime
	ExpectedCompletionDateLt  *strfmt.DateTime
	ExternalID                *string
	Limit                     *string
	Offset                    *string
	OrderCancellationDateGt   *strfmt.DateTime
	OrderCancellationDateLt   *strfmt.DateTime
	OrderDateGt               *strfmt.DateTime
	OrderDateLt               *strfmt.DateTime
	ProjectID                 *string
	RequestedCompletionDateGt *strfmt.DateTime
	RequestedCompletionDateLt *strfmt.DateTime
	RequestedStartDateGt      *strfmt.DateTime
	RequestedStartDateLt      *strfmt.DateTime
	SellerID                  *string
	SiteCompanyName           *string
	SiteCustomerName          *string
	SiteName                  *string
	State                     *string
	// contains filtered or unexported fields
}

ProductOrderFindURL generates an URL for the product order find operation

func (*ProductOrderFindURL) Build

func (o *ProductOrderFindURL) Build() (*url.URL, error)

Build a url path and query string

func (*ProductOrderFindURL) BuildFull

func (o *ProductOrderFindURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ProductOrderFindURL) Must

func (o *ProductOrderFindURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ProductOrderFindURL) SetBasePath

func (o *ProductOrderFindURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ProductOrderFindURL) String

func (o *ProductOrderFindURL) String() string

String returns the string representation of the path with query string

func (*ProductOrderFindURL) StringFull

func (o *ProductOrderFindURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ProductOrderFindURL) WithBasePath

func (o *ProductOrderFindURL) WithBasePath(bp string) *ProductOrderFindURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ProductOrderFindUnauthorized

type ProductOrderFindUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

ProductOrderFindUnauthorized Unauthorized

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

swagger:response productOrderFindUnauthorized

func NewProductOrderFindUnauthorized

func NewProductOrderFindUnauthorized() *ProductOrderFindUnauthorized

NewProductOrderFindUnauthorized creates ProductOrderFindUnauthorized with default headers values

func (*ProductOrderFindUnauthorized) SetPayload

SetPayload sets the payload to the product order find unauthorized response

func (*ProductOrderFindUnauthorized) WithPayload

WithPayload adds the payload to the product order find unauthorized response

func (*ProductOrderFindUnauthorized) WriteResponse

func (o *ProductOrderFindUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ProductOrderFindUnprocessableEntity

type ProductOrderFindUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

ProductOrderFindUnprocessableEntity Unprocessable entity

Functional error

  • code: 100

message: Too many records retrieved - please restrict requested parameter value(s) description:

swagger:response productOrderFindUnprocessableEntity

func NewProductOrderFindUnprocessableEntity

func NewProductOrderFindUnprocessableEntity() *ProductOrderFindUnprocessableEntity

NewProductOrderFindUnprocessableEntity creates ProductOrderFindUnprocessableEntity with default headers values

func (*ProductOrderFindUnprocessableEntity) SetPayload

SetPayload sets the payload to the product order find unprocessable entity response

func (*ProductOrderFindUnprocessableEntity) WithPayload

WithPayload adds the payload to the product order find unprocessable entity response

func (*ProductOrderFindUnprocessableEntity) WriteResponse

WriteResponse to the client

type ProductOrderGet

type ProductOrderGet struct {
	Context *middleware.Context
	Handler ProductOrderGetHandler
}
ProductOrderGet swagger:route GET /productOrderManagement/v3/productOrder/{ProductOrderId} ProductOrder productOrderGet

Get a product order (by id)

This operation is used to retrieve a single product order based upon a specified product order id.

func NewProductOrderGet

func NewProductOrderGet(ctx *middleware.Context, handler ProductOrderGetHandler) *ProductOrderGet

NewProductOrderGet creates a new http.Handler for the product order get operation

func (*ProductOrderGet) ServeHTTP

func (o *ProductOrderGet) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ProductOrderGetBadRequest

type ProductOrderGetBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

ProductOrderGetBadRequest 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

swagger:response productOrderGetBadRequest

func NewProductOrderGetBadRequest

func NewProductOrderGetBadRequest() *ProductOrderGetBadRequest

NewProductOrderGetBadRequest creates ProductOrderGetBadRequest with default headers values

func (*ProductOrderGetBadRequest) SetPayload

func (o *ProductOrderGetBadRequest) SetPayload(payload *models.ErrorRepresentation)

SetPayload sets the payload to the product order get bad request response

func (*ProductOrderGetBadRequest) WithPayload

WithPayload adds the payload to the product order get bad request response

func (*ProductOrderGetBadRequest) WriteResponse

func (o *ProductOrderGetBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ProductOrderGetForbidden

type ProductOrderGetForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

ProductOrderGetForbidden Forbidden

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

swagger:response productOrderGetForbidden

func NewProductOrderGetForbidden

func NewProductOrderGetForbidden() *ProductOrderGetForbidden

NewProductOrderGetForbidden creates ProductOrderGetForbidden with default headers values

func (*ProductOrderGetForbidden) SetPayload

func (o *ProductOrderGetForbidden) SetPayload(payload *models.ErrorRepresentation)

SetPayload sets the payload to the product order get forbidden response

func (*ProductOrderGetForbidden) WithPayload

WithPayload adds the payload to the product order get forbidden response

func (*ProductOrderGetForbidden) WriteResponse

func (o *ProductOrderGetForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ProductOrderGetHandler

type ProductOrderGetHandler interface {
	Handle(ProductOrderGetParams, *models.Principal) middleware.Responder
}

ProductOrderGetHandler interface for that can handle valid product order get params

type ProductOrderGetHandlerFunc

type ProductOrderGetHandlerFunc func(ProductOrderGetParams, *models.Principal) middleware.Responder

ProductOrderGetHandlerFunc turns a function with the right signature into a product order get handler

func (ProductOrderGetHandlerFunc) Handle

Handle executing the request and returning a response

type ProductOrderGetInternalServerError

type ProductOrderGetInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

ProductOrderGetInternalServerError Internal Server Error

List of supported error codes: - 1: Internal error

swagger:response productOrderGetInternalServerError

func NewProductOrderGetInternalServerError

func NewProductOrderGetInternalServerError() *ProductOrderGetInternalServerError

NewProductOrderGetInternalServerError creates ProductOrderGetInternalServerError with default headers values

func (*ProductOrderGetInternalServerError) SetPayload

SetPayload sets the payload to the product order get internal server error response

func (*ProductOrderGetInternalServerError) WithPayload

WithPayload adds the payload to the product order get internal server error response

func (*ProductOrderGetInternalServerError) WriteResponse

WriteResponse to the client

type ProductOrderGetMethodNotAllowed

type ProductOrderGetMethodNotAllowed struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

ProductOrderGetMethodNotAllowed Method Not Allowed

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

swagger:response productOrderGetMethodNotAllowed

func NewProductOrderGetMethodNotAllowed

func NewProductOrderGetMethodNotAllowed() *ProductOrderGetMethodNotAllowed

NewProductOrderGetMethodNotAllowed creates ProductOrderGetMethodNotAllowed with default headers values

func (*ProductOrderGetMethodNotAllowed) SetPayload

SetPayload sets the payload to the product order get method not allowed response

func (*ProductOrderGetMethodNotAllowed) WithPayload

WithPayload adds the payload to the product order get method not allowed response

func (*ProductOrderGetMethodNotAllowed) WriteResponse

func (o *ProductOrderGetMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ProductOrderGetNotFound

type ProductOrderGetNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

ProductOrderGetNotFound Not Found

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

swagger:response productOrderGetNotFound

func NewProductOrderGetNotFound

func NewProductOrderGetNotFound() *ProductOrderGetNotFound

NewProductOrderGetNotFound creates ProductOrderGetNotFound with default headers values

func (*ProductOrderGetNotFound) SetPayload

func (o *ProductOrderGetNotFound) SetPayload(payload *models.ErrorRepresentation)

SetPayload sets the payload to the product order get not found response

func (*ProductOrderGetNotFound) WithPayload

WithPayload adds the payload to the product order get not found response

func (*ProductOrderGetNotFound) WriteResponse

func (o *ProductOrderGetNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ProductOrderGetOK

type ProductOrderGetOK struct {

	/*
	  In: Body
	*/
	Payload *models.ProductOrder `json:"body,omitempty"`
}

ProductOrderGetOK Ok

swagger:response productOrderGetOK

func NewProductOrderGetOK

func NewProductOrderGetOK() *ProductOrderGetOK

NewProductOrderGetOK creates ProductOrderGetOK with default headers values

func (*ProductOrderGetOK) SetPayload

func (o *ProductOrderGetOK) SetPayload(payload *models.ProductOrder)

SetPayload sets the payload to the product order get o k response

func (*ProductOrderGetOK) WithPayload

func (o *ProductOrderGetOK) WithPayload(payload *models.ProductOrder) *ProductOrderGetOK

WithPayload adds the payload to the product order get o k response

func (*ProductOrderGetOK) WriteResponse

func (o *ProductOrderGetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ProductOrderGetParams

type ProductOrderGetParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ProductOrderID string
}

ProductOrderGetParams contains all the bound params for the product order get operation typically these are obtained from a http.Request

swagger:parameters productOrderGet

func NewProductOrderGetParams

func NewProductOrderGetParams() ProductOrderGetParams

NewProductOrderGetParams creates a new ProductOrderGetParams object

There are no default values defined in the spec.

func (*ProductOrderGetParams) BindRequest

func (o *ProductOrderGetParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewProductOrderGetParams() beforehand.

type ProductOrderGetRequestTimeout

type ProductOrderGetRequestTimeout struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

ProductOrderGetRequestTimeout Request Time-out

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

swagger:response productOrderGetRequestTimeout

func NewProductOrderGetRequestTimeout

func NewProductOrderGetRequestTimeout() *ProductOrderGetRequestTimeout

NewProductOrderGetRequestTimeout creates ProductOrderGetRequestTimeout with default headers values

func (*ProductOrderGetRequestTimeout) SetPayload

SetPayload sets the payload to the product order get request timeout response

func (*ProductOrderGetRequestTimeout) WithPayload

WithPayload adds the payload to the product order get request timeout response

func (*ProductOrderGetRequestTimeout) WriteResponse

func (o *ProductOrderGetRequestTimeout) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ProductOrderGetServiceUnavailable

type ProductOrderGetServiceUnavailable struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

ProductOrderGetServiceUnavailable Service Unavailable

swagger:response productOrderGetServiceUnavailable

func NewProductOrderGetServiceUnavailable

func NewProductOrderGetServiceUnavailable() *ProductOrderGetServiceUnavailable

NewProductOrderGetServiceUnavailable creates ProductOrderGetServiceUnavailable with default headers values

func (*ProductOrderGetServiceUnavailable) SetPayload

SetPayload sets the payload to the product order get service unavailable response

func (*ProductOrderGetServiceUnavailable) WithPayload

WithPayload adds the payload to the product order get service unavailable response

func (*ProductOrderGetServiceUnavailable) WriteResponse

func (o *ProductOrderGetServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ProductOrderGetURL

type ProductOrderGetURL struct {
	ProductOrderID string
	// contains filtered or unexported fields
}

ProductOrderGetURL generates an URL for the product order get operation

func (*ProductOrderGetURL) Build

func (o *ProductOrderGetURL) Build() (*url.URL, error)

Build a url path and query string

func (*ProductOrderGetURL) BuildFull

func (o *ProductOrderGetURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ProductOrderGetURL) Must

func (o *ProductOrderGetURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ProductOrderGetURL) SetBasePath

func (o *ProductOrderGetURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ProductOrderGetURL) String

func (o *ProductOrderGetURL) String() string

String returns the string representation of the path with query string

func (*ProductOrderGetURL) StringFull

func (o *ProductOrderGetURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ProductOrderGetURL) WithBasePath

func (o *ProductOrderGetURL) WithBasePath(bp string) *ProductOrderGetURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ProductOrderGetUnauthorized

type ProductOrderGetUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

ProductOrderGetUnauthorized Unauthorized

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

swagger:response productOrderGetUnauthorized

func NewProductOrderGetUnauthorized

func NewProductOrderGetUnauthorized() *ProductOrderGetUnauthorized

NewProductOrderGetUnauthorized creates ProductOrderGetUnauthorized with default headers values

func (*ProductOrderGetUnauthorized) SetPayload

func (o *ProductOrderGetUnauthorized) SetPayload(payload *models.ErrorRepresentation)

SetPayload sets the payload to the product order get unauthorized response

func (*ProductOrderGetUnauthorized) WithPayload

WithPayload adds the payload to the product order get unauthorized response

func (*ProductOrderGetUnauthorized) WriteResponse

func (o *ProductOrderGetUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ProductOrderGetUnprocessableEntity

type ProductOrderGetUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

ProductOrderGetUnprocessableEntity Unprocessable entity

Functional error

swagger:response productOrderGetUnprocessableEntity

func NewProductOrderGetUnprocessableEntity

func NewProductOrderGetUnprocessableEntity() *ProductOrderGetUnprocessableEntity

NewProductOrderGetUnprocessableEntity creates ProductOrderGetUnprocessableEntity with default headers values

func (*ProductOrderGetUnprocessableEntity) SetPayload

SetPayload sets the payload to the product order get unprocessable entity response

func (*ProductOrderGetUnprocessableEntity) WithPayload

WithPayload adds the payload to the product order get unprocessable entity response

func (*ProductOrderGetUnprocessableEntity) WriteResponse

WriteResponse to the client

Jump to

Keyboard shortcuts

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