payment_request

package
v0.0.0-...-c486877 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const GetPaymentRequestEDIBadRequestCode int = 400

GetPaymentRequestEDIBadRequestCode is the HTTP code returned for type GetPaymentRequestEDIBadRequest

View Source
const GetPaymentRequestEDIConflictCode int = 409

GetPaymentRequestEDIConflictCode is the HTTP code returned for type GetPaymentRequestEDIConflict

View Source
const GetPaymentRequestEDIForbiddenCode int = 403

GetPaymentRequestEDIForbiddenCode is the HTTP code returned for type GetPaymentRequestEDIForbidden

View Source
const GetPaymentRequestEDIInternalServerErrorCode int = 500

GetPaymentRequestEDIInternalServerErrorCode is the HTTP code returned for type GetPaymentRequestEDIInternalServerError

View Source
const GetPaymentRequestEDINotFoundCode int = 404

GetPaymentRequestEDINotFoundCode is the HTTP code returned for type GetPaymentRequestEDINotFound

View Source
const GetPaymentRequestEDIOKCode int = 200

GetPaymentRequestEDIOKCode is the HTTP code returned for type GetPaymentRequestEDIOK

View Source
const GetPaymentRequestEDIUnauthorizedCode int = 401

GetPaymentRequestEDIUnauthorizedCode is the HTTP code returned for type GetPaymentRequestEDIUnauthorized

View Source
const GetPaymentRequestEDIUnprocessableEntityCode int = 422

GetPaymentRequestEDIUnprocessableEntityCode is the HTTP code returned for type GetPaymentRequestEDIUnprocessableEntity

View Source
const ListMTOPaymentRequestsBadRequestCode int = 400

ListMTOPaymentRequestsBadRequestCode is the HTTP code returned for type ListMTOPaymentRequestsBadRequest

View Source
const ListMTOPaymentRequestsForbiddenCode int = 403

ListMTOPaymentRequestsForbiddenCode is the HTTP code returned for type ListMTOPaymentRequestsForbidden

View Source
const ListMTOPaymentRequestsInternalServerErrorCode int = 500

ListMTOPaymentRequestsInternalServerErrorCode is the HTTP code returned for type ListMTOPaymentRequestsInternalServerError

View Source
const ListMTOPaymentRequestsNotFoundCode int = 404

ListMTOPaymentRequestsNotFoundCode is the HTTP code returned for type ListMTOPaymentRequestsNotFound

View Source
const ListMTOPaymentRequestsOKCode int = 200

ListMTOPaymentRequestsOKCode is the HTTP code returned for type ListMTOPaymentRequestsOK

View Source
const ListMTOPaymentRequestsUnauthorizedCode int = 401

ListMTOPaymentRequestsUnauthorizedCode is the HTTP code returned for type ListMTOPaymentRequestsUnauthorized

View Source
const ProcessReviewedPaymentRequestsBadRequestCode int = 400

ProcessReviewedPaymentRequestsBadRequestCode is the HTTP code returned for type ProcessReviewedPaymentRequestsBadRequest

View Source
const ProcessReviewedPaymentRequestsForbiddenCode int = 403

ProcessReviewedPaymentRequestsForbiddenCode is the HTTP code returned for type ProcessReviewedPaymentRequestsForbidden

View Source
const ProcessReviewedPaymentRequestsInternalServerErrorCode int = 500

ProcessReviewedPaymentRequestsInternalServerErrorCode is the HTTP code returned for type ProcessReviewedPaymentRequestsInternalServerError

View Source
const ProcessReviewedPaymentRequestsNotFoundCode int = 404

ProcessReviewedPaymentRequestsNotFoundCode is the HTTP code returned for type ProcessReviewedPaymentRequestsNotFound

View Source
const ProcessReviewedPaymentRequestsOKCode int = 200

ProcessReviewedPaymentRequestsOKCode is the HTTP code returned for type ProcessReviewedPaymentRequestsOK

View Source
const ProcessReviewedPaymentRequestsUnauthorizedCode int = 401

ProcessReviewedPaymentRequestsUnauthorizedCode is the HTTP code returned for type ProcessReviewedPaymentRequestsUnauthorized

View Source
const ProcessReviewedPaymentRequestsUnprocessableEntityCode int = 422

ProcessReviewedPaymentRequestsUnprocessableEntityCode is the HTTP code returned for type ProcessReviewedPaymentRequestsUnprocessableEntity

View Source
const RecalculatePaymentRequestBadRequestCode int = 400

RecalculatePaymentRequestBadRequestCode is the HTTP code returned for type RecalculatePaymentRequestBadRequest

View Source
const RecalculatePaymentRequestConflictCode int = 409

RecalculatePaymentRequestConflictCode is the HTTP code returned for type RecalculatePaymentRequestConflict

View Source
const RecalculatePaymentRequestCreatedCode int = 201

RecalculatePaymentRequestCreatedCode is the HTTP code returned for type RecalculatePaymentRequestCreated

View Source
const RecalculatePaymentRequestForbiddenCode int = 403

RecalculatePaymentRequestForbiddenCode is the HTTP code returned for type RecalculatePaymentRequestForbidden

View Source
const RecalculatePaymentRequestInternalServerErrorCode int = 500

RecalculatePaymentRequestInternalServerErrorCode is the HTTP code returned for type RecalculatePaymentRequestInternalServerError

View Source
const RecalculatePaymentRequestNotFoundCode int = 404

RecalculatePaymentRequestNotFoundCode is the HTTP code returned for type RecalculatePaymentRequestNotFound

View Source
const RecalculatePaymentRequestPreconditionFailedCode int = 412

RecalculatePaymentRequestPreconditionFailedCode is the HTTP code returned for type RecalculatePaymentRequestPreconditionFailed

View Source
const RecalculatePaymentRequestUnauthorizedCode int = 401

RecalculatePaymentRequestUnauthorizedCode is the HTTP code returned for type RecalculatePaymentRequestUnauthorized

View Source
const RecalculatePaymentRequestUnprocessableEntityCode int = 422

RecalculatePaymentRequestUnprocessableEntityCode is the HTTP code returned for type RecalculatePaymentRequestUnprocessableEntity

View Source
const UpdatePaymentRequestStatusBadRequestCode int = 400

UpdatePaymentRequestStatusBadRequestCode is the HTTP code returned for type UpdatePaymentRequestStatusBadRequest

View Source
const UpdatePaymentRequestStatusConflictCode int = 409

UpdatePaymentRequestStatusConflictCode is the HTTP code returned for type UpdatePaymentRequestStatusConflict

View Source
const UpdatePaymentRequestStatusForbiddenCode int = 403

UpdatePaymentRequestStatusForbiddenCode is the HTTP code returned for type UpdatePaymentRequestStatusForbidden

View Source
const UpdatePaymentRequestStatusInternalServerErrorCode int = 500

UpdatePaymentRequestStatusInternalServerErrorCode is the HTTP code returned for type UpdatePaymentRequestStatusInternalServerError

View Source
const UpdatePaymentRequestStatusNotFoundCode int = 404

UpdatePaymentRequestStatusNotFoundCode is the HTTP code returned for type UpdatePaymentRequestStatusNotFound

View Source
const UpdatePaymentRequestStatusOKCode int = 200

UpdatePaymentRequestStatusOKCode is the HTTP code returned for type UpdatePaymentRequestStatusOK

View Source
const UpdatePaymentRequestStatusPreconditionFailedCode int = 412

UpdatePaymentRequestStatusPreconditionFailedCode is the HTTP code returned for type UpdatePaymentRequestStatusPreconditionFailed

View Source
const UpdatePaymentRequestStatusUnauthorizedCode int = 401

UpdatePaymentRequestStatusUnauthorizedCode is the HTTP code returned for type UpdatePaymentRequestStatusUnauthorized

View Source
const UpdatePaymentRequestStatusUnprocessableEntityCode int = 422

UpdatePaymentRequestStatusUnprocessableEntityCode is the HTTP code returned for type UpdatePaymentRequestStatusUnprocessableEntity

Variables

This section is empty.

Functions

This section is empty.

Types

type GetPaymentRequestEDI

type GetPaymentRequestEDI struct {
	Context *middleware.Context
	Handler GetPaymentRequestEDIHandler
}
GetPaymentRequestEDI swagger:route GET /payment-requests/{paymentRequestID}/edi paymentRequest getPaymentRequestEDI

getPaymentRequestEDI

Returns the EDI (Electronic Data Interchange) message for the payment request identified by the given payment request ID. Note that the EDI returned in the JSON payload will have where there would normally be line breaks (due to JSON not allowing line breaks in a string).

This is a support endpoint and will not be available in production.

func NewGetPaymentRequestEDI

func NewGetPaymentRequestEDI(ctx *middleware.Context, handler GetPaymentRequestEDIHandler) *GetPaymentRequestEDI

NewGetPaymentRequestEDI creates a new http.Handler for the get payment request e d i operation

func (*GetPaymentRequestEDI) ServeHTTP

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

type GetPaymentRequestEDIBadRequest

type GetPaymentRequestEDIBadRequest struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.ClientError `json:"body,omitempty"`
}

GetPaymentRequestEDIBadRequest The request payload is invalid.

swagger:response getPaymentRequestEDIBadRequest

func NewGetPaymentRequestEDIBadRequest

func NewGetPaymentRequestEDIBadRequest() *GetPaymentRequestEDIBadRequest

NewGetPaymentRequestEDIBadRequest creates GetPaymentRequestEDIBadRequest with default headers values

func (*GetPaymentRequestEDIBadRequest) SetPayload

SetPayload sets the payload to the get payment request e d i bad request response

func (*GetPaymentRequestEDIBadRequest) WithPayload

WithPayload adds the payload to the get payment request e d i bad request response

func (*GetPaymentRequestEDIBadRequest) WriteResponse

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

WriteResponse to the client

type GetPaymentRequestEDIConflict

type GetPaymentRequestEDIConflict struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.ClientError `json:"body,omitempty"`
}

GetPaymentRequestEDIConflict There was a conflict with the request.

swagger:response getPaymentRequestEDIConflict

func NewGetPaymentRequestEDIConflict

func NewGetPaymentRequestEDIConflict() *GetPaymentRequestEDIConflict

NewGetPaymentRequestEDIConflict creates GetPaymentRequestEDIConflict with default headers values

func (*GetPaymentRequestEDIConflict) SetPayload

SetPayload sets the payload to the get payment request e d i conflict response

func (*GetPaymentRequestEDIConflict) WithPayload

WithPayload adds the payload to the get payment request e d i conflict response

func (*GetPaymentRequestEDIConflict) WriteResponse

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

WriteResponse to the client

type GetPaymentRequestEDIForbidden

type GetPaymentRequestEDIForbidden struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.ClientError `json:"body,omitempty"`
}

GetPaymentRequestEDIForbidden The request was denied.

swagger:response getPaymentRequestEDIForbidden

func NewGetPaymentRequestEDIForbidden

func NewGetPaymentRequestEDIForbidden() *GetPaymentRequestEDIForbidden

NewGetPaymentRequestEDIForbidden creates GetPaymentRequestEDIForbidden with default headers values

func (*GetPaymentRequestEDIForbidden) SetPayload

SetPayload sets the payload to the get payment request e d i forbidden response

func (*GetPaymentRequestEDIForbidden) WithPayload

WithPayload adds the payload to the get payment request e d i forbidden response

func (*GetPaymentRequestEDIForbidden) WriteResponse

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

WriteResponse to the client

type GetPaymentRequestEDIHandler

type GetPaymentRequestEDIHandler interface {
	Handle(GetPaymentRequestEDIParams) middleware.Responder
}

GetPaymentRequestEDIHandler interface for that can handle valid get payment request e d i params

type GetPaymentRequestEDIHandlerFunc

type GetPaymentRequestEDIHandlerFunc func(GetPaymentRequestEDIParams) middleware.Responder

GetPaymentRequestEDIHandlerFunc turns a function with the right signature into a get payment request e d i handler

func (GetPaymentRequestEDIHandlerFunc) Handle

Handle executing the request and returning a response

type GetPaymentRequestEDIInternalServerError

type GetPaymentRequestEDIInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.Error `json:"body,omitempty"`
}

GetPaymentRequestEDIInternalServerError A server error occurred.

swagger:response getPaymentRequestEDIInternalServerError

func NewGetPaymentRequestEDIInternalServerError

func NewGetPaymentRequestEDIInternalServerError() *GetPaymentRequestEDIInternalServerError

NewGetPaymentRequestEDIInternalServerError creates GetPaymentRequestEDIInternalServerError with default headers values

func (*GetPaymentRequestEDIInternalServerError) SetPayload

SetPayload sets the payload to the get payment request e d i internal server error response

func (*GetPaymentRequestEDIInternalServerError) WithPayload

WithPayload adds the payload to the get payment request e d i internal server error response

func (*GetPaymentRequestEDIInternalServerError) WriteResponse

WriteResponse to the client

type GetPaymentRequestEDINotFound

type GetPaymentRequestEDINotFound struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.ClientError `json:"body,omitempty"`
}

GetPaymentRequestEDINotFound The requested resource wasn't found.

swagger:response getPaymentRequestEDINotFound

func NewGetPaymentRequestEDINotFound

func NewGetPaymentRequestEDINotFound() *GetPaymentRequestEDINotFound

NewGetPaymentRequestEDINotFound creates GetPaymentRequestEDINotFound with default headers values

func (*GetPaymentRequestEDINotFound) SetPayload

SetPayload sets the payload to the get payment request e d i not found response

func (*GetPaymentRequestEDINotFound) WithPayload

WithPayload adds the payload to the get payment request e d i not found response

func (*GetPaymentRequestEDINotFound) WriteResponse

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

WriteResponse to the client

type GetPaymentRequestEDIOK

type GetPaymentRequestEDIOK struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.PaymentRequestEDI `json:"body,omitempty"`
}

GetPaymentRequestEDIOK Successfully retrieved payment requests associated with a given move task order

swagger:response getPaymentRequestEDIOK

func NewGetPaymentRequestEDIOK

func NewGetPaymentRequestEDIOK() *GetPaymentRequestEDIOK

NewGetPaymentRequestEDIOK creates GetPaymentRequestEDIOK with default headers values

func (*GetPaymentRequestEDIOK) SetPayload

SetPayload sets the payload to the get payment request e d i o k response

func (*GetPaymentRequestEDIOK) WithPayload

WithPayload adds the payload to the get payment request e d i o k response

func (*GetPaymentRequestEDIOK) WriteResponse

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

WriteResponse to the client

type GetPaymentRequestEDIParams

type GetPaymentRequestEDIParams struct {

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

	/*UUID of the payment request for which EDI should be generated.
	  Required: true
	  In: path
	*/
	PaymentRequestID strfmt.UUID
}

GetPaymentRequestEDIParams contains all the bound params for the get payment request e d i operation typically these are obtained from a http.Request

swagger:parameters getPaymentRequestEDI

func NewGetPaymentRequestEDIParams

func NewGetPaymentRequestEDIParams() GetPaymentRequestEDIParams

NewGetPaymentRequestEDIParams creates a new GetPaymentRequestEDIParams object

There are no default values defined in the spec.

func (*GetPaymentRequestEDIParams) 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 NewGetPaymentRequestEDIParams() beforehand.

type GetPaymentRequestEDIURL

type GetPaymentRequestEDIURL struct {
	PaymentRequestID strfmt.UUID
	// contains filtered or unexported fields
}

GetPaymentRequestEDIURL generates an URL for the get payment request e d i operation

func (*GetPaymentRequestEDIURL) Build

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

Build a url path and query string

func (*GetPaymentRequestEDIURL) BuildFull

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

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

func (*GetPaymentRequestEDIURL) Must

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

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

func (*GetPaymentRequestEDIURL) SetBasePath

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

func (o *GetPaymentRequestEDIURL) String() string

String returns the string representation of the path with query string

func (*GetPaymentRequestEDIURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetPaymentRequestEDIURL) WithBasePath

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 GetPaymentRequestEDIUnauthorized

type GetPaymentRequestEDIUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.ClientError `json:"body,omitempty"`
}

GetPaymentRequestEDIUnauthorized The request was denied.

swagger:response getPaymentRequestEDIUnauthorized

func NewGetPaymentRequestEDIUnauthorized

func NewGetPaymentRequestEDIUnauthorized() *GetPaymentRequestEDIUnauthorized

NewGetPaymentRequestEDIUnauthorized creates GetPaymentRequestEDIUnauthorized with default headers values

func (*GetPaymentRequestEDIUnauthorized) SetPayload

SetPayload sets the payload to the get payment request e d i unauthorized response

func (*GetPaymentRequestEDIUnauthorized) WithPayload

WithPayload adds the payload to the get payment request e d i unauthorized response

func (*GetPaymentRequestEDIUnauthorized) WriteResponse

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

WriteResponse to the client

type GetPaymentRequestEDIUnprocessableEntity

type GetPaymentRequestEDIUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.ValidationError `json:"body,omitempty"`
}

GetPaymentRequestEDIUnprocessableEntity The payload was unprocessable.

swagger:response getPaymentRequestEDIUnprocessableEntity

func NewGetPaymentRequestEDIUnprocessableEntity

func NewGetPaymentRequestEDIUnprocessableEntity() *GetPaymentRequestEDIUnprocessableEntity

NewGetPaymentRequestEDIUnprocessableEntity creates GetPaymentRequestEDIUnprocessableEntity with default headers values

func (*GetPaymentRequestEDIUnprocessableEntity) SetPayload

SetPayload sets the payload to the get payment request e d i unprocessable entity response

func (*GetPaymentRequestEDIUnprocessableEntity) WithPayload

WithPayload adds the payload to the get payment request e d i unprocessable entity response

func (*GetPaymentRequestEDIUnprocessableEntity) WriteResponse

WriteResponse to the client

type ListMTOPaymentRequests

type ListMTOPaymentRequests struct {
	Context *middleware.Context
	Handler ListMTOPaymentRequestsHandler
}
ListMTOPaymentRequests swagger:route GET /move-task-orders/{moveTaskOrderID}/payment-requests paymentRequest listMTOPaymentRequests

listMTOPaymentRequests

### Functionality

This endpoint lists all PaymentRequests associated with a given MoveTaskOrder.

This is a support endpoint and is not available in production.

func NewListMTOPaymentRequests

func NewListMTOPaymentRequests(ctx *middleware.Context, handler ListMTOPaymentRequestsHandler) *ListMTOPaymentRequests

NewListMTOPaymentRequests creates a new http.Handler for the list m t o payment requests operation

func (*ListMTOPaymentRequests) ServeHTTP

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

type ListMTOPaymentRequestsBadRequest

type ListMTOPaymentRequestsBadRequest struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.ClientError `json:"body,omitempty"`
}

ListMTOPaymentRequestsBadRequest The request payload is invalid.

swagger:response listMTOPaymentRequestsBadRequest

func NewListMTOPaymentRequestsBadRequest

func NewListMTOPaymentRequestsBadRequest() *ListMTOPaymentRequestsBadRequest

NewListMTOPaymentRequestsBadRequest creates ListMTOPaymentRequestsBadRequest with default headers values

func (*ListMTOPaymentRequestsBadRequest) SetPayload

SetPayload sets the payload to the list m t o payment requests bad request response

func (*ListMTOPaymentRequestsBadRequest) WithPayload

WithPayload adds the payload to the list m t o payment requests bad request response

func (*ListMTOPaymentRequestsBadRequest) WriteResponse

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

WriteResponse to the client

type ListMTOPaymentRequestsForbidden

type ListMTOPaymentRequestsForbidden struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.ClientError `json:"body,omitempty"`
}

ListMTOPaymentRequestsForbidden The request was denied.

swagger:response listMTOPaymentRequestsForbidden

func NewListMTOPaymentRequestsForbidden

func NewListMTOPaymentRequestsForbidden() *ListMTOPaymentRequestsForbidden

NewListMTOPaymentRequestsForbidden creates ListMTOPaymentRequestsForbidden with default headers values

func (*ListMTOPaymentRequestsForbidden) SetPayload

SetPayload sets the payload to the list m t o payment requests forbidden response

func (*ListMTOPaymentRequestsForbidden) WithPayload

WithPayload adds the payload to the list m t o payment requests forbidden response

func (*ListMTOPaymentRequestsForbidden) WriteResponse

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

WriteResponse to the client

type ListMTOPaymentRequestsHandler

type ListMTOPaymentRequestsHandler interface {
	Handle(ListMTOPaymentRequestsParams) middleware.Responder
}

ListMTOPaymentRequestsHandler interface for that can handle valid list m t o payment requests params

type ListMTOPaymentRequestsHandlerFunc

type ListMTOPaymentRequestsHandlerFunc func(ListMTOPaymentRequestsParams) middleware.Responder

ListMTOPaymentRequestsHandlerFunc turns a function with the right signature into a list m t o payment requests handler

func (ListMTOPaymentRequestsHandlerFunc) Handle

Handle executing the request and returning a response

type ListMTOPaymentRequestsInternalServerError

type ListMTOPaymentRequestsInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.Error `json:"body,omitempty"`
}

ListMTOPaymentRequestsInternalServerError A server error occurred.

swagger:response listMTOPaymentRequestsInternalServerError

func NewListMTOPaymentRequestsInternalServerError

func NewListMTOPaymentRequestsInternalServerError() *ListMTOPaymentRequestsInternalServerError

NewListMTOPaymentRequestsInternalServerError creates ListMTOPaymentRequestsInternalServerError with default headers values

func (*ListMTOPaymentRequestsInternalServerError) SetPayload

SetPayload sets the payload to the list m t o payment requests internal server error response

func (*ListMTOPaymentRequestsInternalServerError) WithPayload

WithPayload adds the payload to the list m t o payment requests internal server error response

func (*ListMTOPaymentRequestsInternalServerError) WriteResponse

WriteResponse to the client

type ListMTOPaymentRequestsNotFound

type ListMTOPaymentRequestsNotFound struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.ClientError `json:"body,omitempty"`
}

ListMTOPaymentRequestsNotFound The requested resource wasn't found.

swagger:response listMTOPaymentRequestsNotFound

func NewListMTOPaymentRequestsNotFound

func NewListMTOPaymentRequestsNotFound() *ListMTOPaymentRequestsNotFound

NewListMTOPaymentRequestsNotFound creates ListMTOPaymentRequestsNotFound with default headers values

func (*ListMTOPaymentRequestsNotFound) SetPayload

SetPayload sets the payload to the list m t o payment requests not found response

func (*ListMTOPaymentRequestsNotFound) WithPayload

WithPayload adds the payload to the list m t o payment requests not found response

func (*ListMTOPaymentRequestsNotFound) WriteResponse

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

WriteResponse to the client

type ListMTOPaymentRequestsOK

type ListMTOPaymentRequestsOK struct {

	/*
	  In: Body
	*/
	Payload supportmessages.PaymentRequests `json:"body,omitempty"`
}

ListMTOPaymentRequestsOK Successfully retrieved payment requests associated with a given move task order

swagger:response listMTOPaymentRequestsOK

func NewListMTOPaymentRequestsOK

func NewListMTOPaymentRequestsOK() *ListMTOPaymentRequestsOK

NewListMTOPaymentRequestsOK creates ListMTOPaymentRequestsOK with default headers values

func (*ListMTOPaymentRequestsOK) SetPayload

SetPayload sets the payload to the list m t o payment requests o k response

func (*ListMTOPaymentRequestsOK) WithPayload

WithPayload adds the payload to the list m t o payment requests o k response

func (*ListMTOPaymentRequestsOK) WriteResponse

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

WriteResponse to the client

type ListMTOPaymentRequestsParams

type ListMTOPaymentRequestsParams struct {

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

	/*Only return move task orders updated since this time.
	  Required: true
	  In: path
	*/
	MoveTaskOrderID strfmt.UUID
}

ListMTOPaymentRequestsParams contains all the bound params for the list m t o payment requests operation typically these are obtained from a http.Request

swagger:parameters listMTOPaymentRequests

func NewListMTOPaymentRequestsParams

func NewListMTOPaymentRequestsParams() ListMTOPaymentRequestsParams

NewListMTOPaymentRequestsParams creates a new ListMTOPaymentRequestsParams object

There are no default values defined in the spec.

func (*ListMTOPaymentRequestsParams) 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 NewListMTOPaymentRequestsParams() beforehand.

type ListMTOPaymentRequestsURL

type ListMTOPaymentRequestsURL struct {
	MoveTaskOrderID strfmt.UUID
	// contains filtered or unexported fields
}

ListMTOPaymentRequestsURL generates an URL for the list m t o payment requests operation

func (*ListMTOPaymentRequestsURL) Build

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

Build a url path and query string

func (*ListMTOPaymentRequestsURL) BuildFull

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

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

func (*ListMTOPaymentRequestsURL) Must

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

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

func (*ListMTOPaymentRequestsURL) SetBasePath

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

func (o *ListMTOPaymentRequestsURL) String() string

String returns the string representation of the path with query string

func (*ListMTOPaymentRequestsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListMTOPaymentRequestsURL) WithBasePath

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 ListMTOPaymentRequestsUnauthorized

type ListMTOPaymentRequestsUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.ClientError `json:"body,omitempty"`
}

ListMTOPaymentRequestsUnauthorized The request was denied.

swagger:response listMTOPaymentRequestsUnauthorized

func NewListMTOPaymentRequestsUnauthorized

func NewListMTOPaymentRequestsUnauthorized() *ListMTOPaymentRequestsUnauthorized

NewListMTOPaymentRequestsUnauthorized creates ListMTOPaymentRequestsUnauthorized with default headers values

func (*ListMTOPaymentRequestsUnauthorized) SetPayload

SetPayload sets the payload to the list m t o payment requests unauthorized response

func (*ListMTOPaymentRequestsUnauthorized) WithPayload

WithPayload adds the payload to the list m t o payment requests unauthorized response

func (*ListMTOPaymentRequestsUnauthorized) WriteResponse

WriteResponse to the client

type ProcessReviewedPaymentRequests

type ProcessReviewedPaymentRequests struct {
	Context *middleware.Context
	Handler ProcessReviewedPaymentRequestsHandler
}
ProcessReviewedPaymentRequests swagger:route PATCH /payment-requests/process-reviewed paymentRequest processReviewedPaymentRequests

processReviewedPaymentRequests

Updates the status of reviewed payment requests and sends PRs to Syncada if the SendToSyncada flag is set

This is a support endpoint and will not be available in production.

func NewProcessReviewedPaymentRequests

func NewProcessReviewedPaymentRequests(ctx *middleware.Context, handler ProcessReviewedPaymentRequestsHandler) *ProcessReviewedPaymentRequests

NewProcessReviewedPaymentRequests creates a new http.Handler for the process reviewed payment requests operation

func (*ProcessReviewedPaymentRequests) ServeHTTP

type ProcessReviewedPaymentRequestsBadRequest

type ProcessReviewedPaymentRequestsBadRequest struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.ClientError `json:"body,omitempty"`
}

ProcessReviewedPaymentRequestsBadRequest The request payload is invalid.

swagger:response processReviewedPaymentRequestsBadRequest

func NewProcessReviewedPaymentRequestsBadRequest

func NewProcessReviewedPaymentRequestsBadRequest() *ProcessReviewedPaymentRequestsBadRequest

NewProcessReviewedPaymentRequestsBadRequest creates ProcessReviewedPaymentRequestsBadRequest with default headers values

func (*ProcessReviewedPaymentRequestsBadRequest) SetPayload

SetPayload sets the payload to the process reviewed payment requests bad request response

func (*ProcessReviewedPaymentRequestsBadRequest) WithPayload

WithPayload adds the payload to the process reviewed payment requests bad request response

func (*ProcessReviewedPaymentRequestsBadRequest) WriteResponse

WriteResponse to the client

type ProcessReviewedPaymentRequestsForbidden

type ProcessReviewedPaymentRequestsForbidden struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.ClientError `json:"body,omitempty"`
}

ProcessReviewedPaymentRequestsForbidden The request was denied.

swagger:response processReviewedPaymentRequestsForbidden

func NewProcessReviewedPaymentRequestsForbidden

func NewProcessReviewedPaymentRequestsForbidden() *ProcessReviewedPaymentRequestsForbidden

NewProcessReviewedPaymentRequestsForbidden creates ProcessReviewedPaymentRequestsForbidden with default headers values

func (*ProcessReviewedPaymentRequestsForbidden) SetPayload

SetPayload sets the payload to the process reviewed payment requests forbidden response

func (*ProcessReviewedPaymentRequestsForbidden) WithPayload

WithPayload adds the payload to the process reviewed payment requests forbidden response

func (*ProcessReviewedPaymentRequestsForbidden) WriteResponse

WriteResponse to the client

type ProcessReviewedPaymentRequestsHandler

type ProcessReviewedPaymentRequestsHandler interface {
	Handle(ProcessReviewedPaymentRequestsParams) middleware.Responder
}

ProcessReviewedPaymentRequestsHandler interface for that can handle valid process reviewed payment requests params

type ProcessReviewedPaymentRequestsHandlerFunc

type ProcessReviewedPaymentRequestsHandlerFunc func(ProcessReviewedPaymentRequestsParams) middleware.Responder

ProcessReviewedPaymentRequestsHandlerFunc turns a function with the right signature into a process reviewed payment requests handler

func (ProcessReviewedPaymentRequestsHandlerFunc) Handle

Handle executing the request and returning a response

type ProcessReviewedPaymentRequestsInternalServerError

type ProcessReviewedPaymentRequestsInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.Error `json:"body,omitempty"`
}

ProcessReviewedPaymentRequestsInternalServerError A server error occurred.

swagger:response processReviewedPaymentRequestsInternalServerError

func NewProcessReviewedPaymentRequestsInternalServerError

func NewProcessReviewedPaymentRequestsInternalServerError() *ProcessReviewedPaymentRequestsInternalServerError

NewProcessReviewedPaymentRequestsInternalServerError creates ProcessReviewedPaymentRequestsInternalServerError with default headers values

func (*ProcessReviewedPaymentRequestsInternalServerError) SetPayload

SetPayload sets the payload to the process reviewed payment requests internal server error response

func (*ProcessReviewedPaymentRequestsInternalServerError) WithPayload

WithPayload adds the payload to the process reviewed payment requests internal server error response

func (*ProcessReviewedPaymentRequestsInternalServerError) WriteResponse

WriteResponse to the client

type ProcessReviewedPaymentRequestsNotFound

type ProcessReviewedPaymentRequestsNotFound struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.ClientError `json:"body,omitempty"`
}

ProcessReviewedPaymentRequestsNotFound The requested resource wasn't found.

swagger:response processReviewedPaymentRequestsNotFound

func NewProcessReviewedPaymentRequestsNotFound

func NewProcessReviewedPaymentRequestsNotFound() *ProcessReviewedPaymentRequestsNotFound

NewProcessReviewedPaymentRequestsNotFound creates ProcessReviewedPaymentRequestsNotFound with default headers values

func (*ProcessReviewedPaymentRequestsNotFound) SetPayload

SetPayload sets the payload to the process reviewed payment requests not found response

func (*ProcessReviewedPaymentRequestsNotFound) WithPayload

WithPayload adds the payload to the process reviewed payment requests not found response

func (*ProcessReviewedPaymentRequestsNotFound) WriteResponse

WriteResponse to the client

type ProcessReviewedPaymentRequestsOK

type ProcessReviewedPaymentRequestsOK struct {

	/*
	  In: Body
	*/
	Payload supportmessages.PaymentRequests `json:"body,omitempty"`
}

ProcessReviewedPaymentRequestsOK Successfully updated status of reviewed payment request and sent to Syncada if that flag is set

swagger:response processReviewedPaymentRequestsOK

func NewProcessReviewedPaymentRequestsOK

func NewProcessReviewedPaymentRequestsOK() *ProcessReviewedPaymentRequestsOK

NewProcessReviewedPaymentRequestsOK creates ProcessReviewedPaymentRequestsOK with default headers values

func (*ProcessReviewedPaymentRequestsOK) SetPayload

SetPayload sets the payload to the process reviewed payment requests o k response

func (*ProcessReviewedPaymentRequestsOK) WithPayload

WithPayload adds the payload to the process reviewed payment requests o k response

func (*ProcessReviewedPaymentRequestsOK) WriteResponse

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

WriteResponse to the client

type ProcessReviewedPaymentRequestsParams

type ProcessReviewedPaymentRequestsParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Body *supportmessages.ProcessReviewedPaymentRequests
}

ProcessReviewedPaymentRequestsParams contains all the bound params for the process reviewed payment requests operation typically these are obtained from a http.Request

swagger:parameters processReviewedPaymentRequests

func NewProcessReviewedPaymentRequestsParams

func NewProcessReviewedPaymentRequestsParams() ProcessReviewedPaymentRequestsParams

NewProcessReviewedPaymentRequestsParams creates a new ProcessReviewedPaymentRequestsParams object

There are no default values defined in the spec.

func (*ProcessReviewedPaymentRequestsParams) 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 NewProcessReviewedPaymentRequestsParams() beforehand.

type ProcessReviewedPaymentRequestsURL

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

ProcessReviewedPaymentRequestsURL generates an URL for the process reviewed payment requests operation

func (*ProcessReviewedPaymentRequestsURL) Build

Build a url path and query string

func (*ProcessReviewedPaymentRequestsURL) BuildFull

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

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

func (*ProcessReviewedPaymentRequestsURL) Must

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

func (*ProcessReviewedPaymentRequestsURL) SetBasePath

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

String returns the string representation of the path with query string

func (*ProcessReviewedPaymentRequestsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ProcessReviewedPaymentRequestsURL) WithBasePath

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 ProcessReviewedPaymentRequestsUnauthorized

type ProcessReviewedPaymentRequestsUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.ClientError `json:"body,omitempty"`
}

ProcessReviewedPaymentRequestsUnauthorized The request was denied.

swagger:response processReviewedPaymentRequestsUnauthorized

func NewProcessReviewedPaymentRequestsUnauthorized

func NewProcessReviewedPaymentRequestsUnauthorized() *ProcessReviewedPaymentRequestsUnauthorized

NewProcessReviewedPaymentRequestsUnauthorized creates ProcessReviewedPaymentRequestsUnauthorized with default headers values

func (*ProcessReviewedPaymentRequestsUnauthorized) SetPayload

SetPayload sets the payload to the process reviewed payment requests unauthorized response

func (*ProcessReviewedPaymentRequestsUnauthorized) WithPayload

WithPayload adds the payload to the process reviewed payment requests unauthorized response

func (*ProcessReviewedPaymentRequestsUnauthorized) WriteResponse

WriteResponse to the client

type ProcessReviewedPaymentRequestsUnprocessableEntity

type ProcessReviewedPaymentRequestsUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.ValidationError `json:"body,omitempty"`
}

ProcessReviewedPaymentRequestsUnprocessableEntity The payload was unprocessable.

swagger:response processReviewedPaymentRequestsUnprocessableEntity

func NewProcessReviewedPaymentRequestsUnprocessableEntity

func NewProcessReviewedPaymentRequestsUnprocessableEntity() *ProcessReviewedPaymentRequestsUnprocessableEntity

NewProcessReviewedPaymentRequestsUnprocessableEntity creates ProcessReviewedPaymentRequestsUnprocessableEntity with default headers values

func (*ProcessReviewedPaymentRequestsUnprocessableEntity) SetPayload

SetPayload sets the payload to the process reviewed payment requests unprocessable entity response

func (*ProcessReviewedPaymentRequestsUnprocessableEntity) WithPayload

WithPayload adds the payload to the process reviewed payment requests unprocessable entity response

func (*ProcessReviewedPaymentRequestsUnprocessableEntity) WriteResponse

WriteResponse to the client

type RecalculatePaymentRequest

type RecalculatePaymentRequest struct {
	Context *middleware.Context
	Handler RecalculatePaymentRequestHandler
}
RecalculatePaymentRequest swagger:route POST /payment-requests/{paymentRequestID}/recalculate paymentRequest recalculatePaymentRequest

recalculatePaymentRequest

Recalculates an existing pending payment request by creating a new payment request for the same service items but is priced based on the current inputs (weights, dates, etc.). The previously existing payment request is then deprecated. A link is made between the new and existing payment requests.

This is a support endpoint and will not be available in production.

func NewRecalculatePaymentRequest

func NewRecalculatePaymentRequest(ctx *middleware.Context, handler RecalculatePaymentRequestHandler) *RecalculatePaymentRequest

NewRecalculatePaymentRequest creates a new http.Handler for the recalculate payment request operation

func (*RecalculatePaymentRequest) ServeHTTP

type RecalculatePaymentRequestBadRequest

type RecalculatePaymentRequestBadRequest struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.ClientError `json:"body,omitempty"`
}

RecalculatePaymentRequestBadRequest The request payload is invalid.

swagger:response recalculatePaymentRequestBadRequest

func NewRecalculatePaymentRequestBadRequest

func NewRecalculatePaymentRequestBadRequest() *RecalculatePaymentRequestBadRequest

NewRecalculatePaymentRequestBadRequest creates RecalculatePaymentRequestBadRequest with default headers values

func (*RecalculatePaymentRequestBadRequest) SetPayload

SetPayload sets the payload to the recalculate payment request bad request response

func (*RecalculatePaymentRequestBadRequest) WithPayload

WithPayload adds the payload to the recalculate payment request bad request response

func (*RecalculatePaymentRequestBadRequest) WriteResponse

WriteResponse to the client

type RecalculatePaymentRequestConflict

type RecalculatePaymentRequestConflict struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.ClientError `json:"body,omitempty"`
}

RecalculatePaymentRequestConflict There was a conflict with the request.

swagger:response recalculatePaymentRequestConflict

func NewRecalculatePaymentRequestConflict

func NewRecalculatePaymentRequestConflict() *RecalculatePaymentRequestConflict

NewRecalculatePaymentRequestConflict creates RecalculatePaymentRequestConflict with default headers values

func (*RecalculatePaymentRequestConflict) SetPayload

SetPayload sets the payload to the recalculate payment request conflict response

func (*RecalculatePaymentRequestConflict) WithPayload

WithPayload adds the payload to the recalculate payment request conflict response

func (*RecalculatePaymentRequestConflict) WriteResponse

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

WriteResponse to the client

type RecalculatePaymentRequestCreated

type RecalculatePaymentRequestCreated struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.PaymentRequest `json:"body,omitempty"`
}

RecalculatePaymentRequestCreated The new payment request with recalculated pricing.

swagger:response recalculatePaymentRequestCreated

func NewRecalculatePaymentRequestCreated

func NewRecalculatePaymentRequestCreated() *RecalculatePaymentRequestCreated

NewRecalculatePaymentRequestCreated creates RecalculatePaymentRequestCreated with default headers values

func (*RecalculatePaymentRequestCreated) SetPayload

SetPayload sets the payload to the recalculate payment request created response

func (*RecalculatePaymentRequestCreated) WithPayload

WithPayload adds the payload to the recalculate payment request created response

func (*RecalculatePaymentRequestCreated) WriteResponse

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

WriteResponse to the client

type RecalculatePaymentRequestForbidden

type RecalculatePaymentRequestForbidden struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.ClientError `json:"body,omitempty"`
}

RecalculatePaymentRequestForbidden The request was denied.

swagger:response recalculatePaymentRequestForbidden

func NewRecalculatePaymentRequestForbidden

func NewRecalculatePaymentRequestForbidden() *RecalculatePaymentRequestForbidden

NewRecalculatePaymentRequestForbidden creates RecalculatePaymentRequestForbidden with default headers values

func (*RecalculatePaymentRequestForbidden) SetPayload

SetPayload sets the payload to the recalculate payment request forbidden response

func (*RecalculatePaymentRequestForbidden) WithPayload

WithPayload adds the payload to the recalculate payment request forbidden response

func (*RecalculatePaymentRequestForbidden) WriteResponse

WriteResponse to the client

type RecalculatePaymentRequestHandler

type RecalculatePaymentRequestHandler interface {
	Handle(RecalculatePaymentRequestParams) middleware.Responder
}

RecalculatePaymentRequestHandler interface for that can handle valid recalculate payment request params

type RecalculatePaymentRequestHandlerFunc

type RecalculatePaymentRequestHandlerFunc func(RecalculatePaymentRequestParams) middleware.Responder

RecalculatePaymentRequestHandlerFunc turns a function with the right signature into a recalculate payment request handler

func (RecalculatePaymentRequestHandlerFunc) Handle

Handle executing the request and returning a response

type RecalculatePaymentRequestInternalServerError

type RecalculatePaymentRequestInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.Error `json:"body,omitempty"`
}

RecalculatePaymentRequestInternalServerError A server error occurred.

swagger:response recalculatePaymentRequestInternalServerError

func NewRecalculatePaymentRequestInternalServerError

func NewRecalculatePaymentRequestInternalServerError() *RecalculatePaymentRequestInternalServerError

NewRecalculatePaymentRequestInternalServerError creates RecalculatePaymentRequestInternalServerError with default headers values

func (*RecalculatePaymentRequestInternalServerError) SetPayload

SetPayload sets the payload to the recalculate payment request internal server error response

func (*RecalculatePaymentRequestInternalServerError) WithPayload

WithPayload adds the payload to the recalculate payment request internal server error response

func (*RecalculatePaymentRequestInternalServerError) WriteResponse

WriteResponse to the client

type RecalculatePaymentRequestNotFound

type RecalculatePaymentRequestNotFound struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.ClientError `json:"body,omitempty"`
}

RecalculatePaymentRequestNotFound The requested resource wasn't found.

swagger:response recalculatePaymentRequestNotFound

func NewRecalculatePaymentRequestNotFound

func NewRecalculatePaymentRequestNotFound() *RecalculatePaymentRequestNotFound

NewRecalculatePaymentRequestNotFound creates RecalculatePaymentRequestNotFound with default headers values

func (*RecalculatePaymentRequestNotFound) SetPayload

SetPayload sets the payload to the recalculate payment request not found response

func (*RecalculatePaymentRequestNotFound) WithPayload

WithPayload adds the payload to the recalculate payment request not found response

func (*RecalculatePaymentRequestNotFound) WriteResponse

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

WriteResponse to the client

type RecalculatePaymentRequestParams

type RecalculatePaymentRequestParams struct {

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

	/*UUID of the payment request to recalculate.
	  Required: true
	  In: path
	*/
	PaymentRequestID strfmt.UUID
}

RecalculatePaymentRequestParams contains all the bound params for the recalculate payment request operation typically these are obtained from a http.Request

swagger:parameters recalculatePaymentRequest

func NewRecalculatePaymentRequestParams

func NewRecalculatePaymentRequestParams() RecalculatePaymentRequestParams

NewRecalculatePaymentRequestParams creates a new RecalculatePaymentRequestParams object

There are no default values defined in the spec.

func (*RecalculatePaymentRequestParams) 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 NewRecalculatePaymentRequestParams() beforehand.

type RecalculatePaymentRequestPreconditionFailed

type RecalculatePaymentRequestPreconditionFailed struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.ClientError `json:"body,omitempty"`
}

RecalculatePaymentRequestPreconditionFailed Precondition failed, likely due to a stale eTag (If-Match). Fetch the request again to get the updated eTag value.

swagger:response recalculatePaymentRequestPreconditionFailed

func NewRecalculatePaymentRequestPreconditionFailed

func NewRecalculatePaymentRequestPreconditionFailed() *RecalculatePaymentRequestPreconditionFailed

NewRecalculatePaymentRequestPreconditionFailed creates RecalculatePaymentRequestPreconditionFailed with default headers values

func (*RecalculatePaymentRequestPreconditionFailed) SetPayload

SetPayload sets the payload to the recalculate payment request precondition failed response

func (*RecalculatePaymentRequestPreconditionFailed) WithPayload

WithPayload adds the payload to the recalculate payment request precondition failed response

func (*RecalculatePaymentRequestPreconditionFailed) WriteResponse

WriteResponse to the client

type RecalculatePaymentRequestURL

type RecalculatePaymentRequestURL struct {
	PaymentRequestID strfmt.UUID
	// contains filtered or unexported fields
}

RecalculatePaymentRequestURL generates an URL for the recalculate payment request operation

func (*RecalculatePaymentRequestURL) Build

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

Build a url path and query string

func (*RecalculatePaymentRequestURL) BuildFull

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

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

func (*RecalculatePaymentRequestURL) Must

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

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

func (*RecalculatePaymentRequestURL) SetBasePath

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

String returns the string representation of the path with query string

func (*RecalculatePaymentRequestURL) StringFull

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

StringFull returns the string representation of a complete url

func (*RecalculatePaymentRequestURL) WithBasePath

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 RecalculatePaymentRequestUnauthorized

type RecalculatePaymentRequestUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.ClientError `json:"body,omitempty"`
}

RecalculatePaymentRequestUnauthorized The request was denied.

swagger:response recalculatePaymentRequestUnauthorized

func NewRecalculatePaymentRequestUnauthorized

func NewRecalculatePaymentRequestUnauthorized() *RecalculatePaymentRequestUnauthorized

NewRecalculatePaymentRequestUnauthorized creates RecalculatePaymentRequestUnauthorized with default headers values

func (*RecalculatePaymentRequestUnauthorized) SetPayload

SetPayload sets the payload to the recalculate payment request unauthorized response

func (*RecalculatePaymentRequestUnauthorized) WithPayload

WithPayload adds the payload to the recalculate payment request unauthorized response

func (*RecalculatePaymentRequestUnauthorized) WriteResponse

WriteResponse to the client

type RecalculatePaymentRequestUnprocessableEntity

type RecalculatePaymentRequestUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.ValidationError `json:"body,omitempty"`
}

RecalculatePaymentRequestUnprocessableEntity The payload was unprocessable.

swagger:response recalculatePaymentRequestUnprocessableEntity

func NewRecalculatePaymentRequestUnprocessableEntity

func NewRecalculatePaymentRequestUnprocessableEntity() *RecalculatePaymentRequestUnprocessableEntity

NewRecalculatePaymentRequestUnprocessableEntity creates RecalculatePaymentRequestUnprocessableEntity with default headers values

func (*RecalculatePaymentRequestUnprocessableEntity) SetPayload

SetPayload sets the payload to the recalculate payment request unprocessable entity response

func (*RecalculatePaymentRequestUnprocessableEntity) WithPayload

WithPayload adds the payload to the recalculate payment request unprocessable entity response

func (*RecalculatePaymentRequestUnprocessableEntity) WriteResponse

WriteResponse to the client

type UpdatePaymentRequestStatus

type UpdatePaymentRequestStatus struct {
	Context *middleware.Context
	Handler UpdatePaymentRequestStatusHandler
}
UpdatePaymentRequestStatus swagger:route PATCH /payment-requests/{paymentRequestID}/status paymentRequest updatePaymentRequestStatus

updatePaymentRequestStatus

Updates status of a payment request to REVIEWED, SENT_TO_GEX, TPPS_RECEIVED, REVIEWED_AND_ALL_SERVICE_ITEMS_REJECTED, PAID, EDI_ERROR, or DEPRECATED.

A status of REVIEWED can optionally have a `rejectionReason`.

This is a support endpoint and is not available in production.

func NewUpdatePaymentRequestStatus

func NewUpdatePaymentRequestStatus(ctx *middleware.Context, handler UpdatePaymentRequestStatusHandler) *UpdatePaymentRequestStatus

NewUpdatePaymentRequestStatus creates a new http.Handler for the update payment request status operation

func (*UpdatePaymentRequestStatus) ServeHTTP

type UpdatePaymentRequestStatusBadRequest

type UpdatePaymentRequestStatusBadRequest struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.ClientError `json:"body,omitempty"`
}

UpdatePaymentRequestStatusBadRequest The request payload is invalid.

swagger:response updatePaymentRequestStatusBadRequest

func NewUpdatePaymentRequestStatusBadRequest

func NewUpdatePaymentRequestStatusBadRequest() *UpdatePaymentRequestStatusBadRequest

NewUpdatePaymentRequestStatusBadRequest creates UpdatePaymentRequestStatusBadRequest with default headers values

func (*UpdatePaymentRequestStatusBadRequest) SetPayload

SetPayload sets the payload to the update payment request status bad request response

func (*UpdatePaymentRequestStatusBadRequest) WithPayload

WithPayload adds the payload to the update payment request status bad request response

func (*UpdatePaymentRequestStatusBadRequest) WriteResponse

WriteResponse to the client

type UpdatePaymentRequestStatusConflict

type UpdatePaymentRequestStatusConflict struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.ClientError `json:"body,omitempty"`
}

UpdatePaymentRequestStatusConflict There was a conflict with the request.

swagger:response updatePaymentRequestStatusConflict

func NewUpdatePaymentRequestStatusConflict

func NewUpdatePaymentRequestStatusConflict() *UpdatePaymentRequestStatusConflict

NewUpdatePaymentRequestStatusConflict creates UpdatePaymentRequestStatusConflict with default headers values

func (*UpdatePaymentRequestStatusConflict) SetPayload

SetPayload sets the payload to the update payment request status conflict response

func (*UpdatePaymentRequestStatusConflict) WithPayload

WithPayload adds the payload to the update payment request status conflict response

func (*UpdatePaymentRequestStatusConflict) WriteResponse

WriteResponse to the client

type UpdatePaymentRequestStatusForbidden

type UpdatePaymentRequestStatusForbidden struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.ClientError `json:"body,omitempty"`
}

UpdatePaymentRequestStatusForbidden The request was denied.

swagger:response updatePaymentRequestStatusForbidden

func NewUpdatePaymentRequestStatusForbidden

func NewUpdatePaymentRequestStatusForbidden() *UpdatePaymentRequestStatusForbidden

NewUpdatePaymentRequestStatusForbidden creates UpdatePaymentRequestStatusForbidden with default headers values

func (*UpdatePaymentRequestStatusForbidden) SetPayload

SetPayload sets the payload to the update payment request status forbidden response

func (*UpdatePaymentRequestStatusForbidden) WithPayload

WithPayload adds the payload to the update payment request status forbidden response

func (*UpdatePaymentRequestStatusForbidden) WriteResponse

WriteResponse to the client

type UpdatePaymentRequestStatusHandler

type UpdatePaymentRequestStatusHandler interface {
	Handle(UpdatePaymentRequestStatusParams) middleware.Responder
}

UpdatePaymentRequestStatusHandler interface for that can handle valid update payment request status params

type UpdatePaymentRequestStatusHandlerFunc

type UpdatePaymentRequestStatusHandlerFunc func(UpdatePaymentRequestStatusParams) middleware.Responder

UpdatePaymentRequestStatusHandlerFunc turns a function with the right signature into a update payment request status handler

func (UpdatePaymentRequestStatusHandlerFunc) Handle

Handle executing the request and returning a response

type UpdatePaymentRequestStatusInternalServerError

type UpdatePaymentRequestStatusInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.Error `json:"body,omitempty"`
}

UpdatePaymentRequestStatusInternalServerError A server error occurred.

swagger:response updatePaymentRequestStatusInternalServerError

func NewUpdatePaymentRequestStatusInternalServerError

func NewUpdatePaymentRequestStatusInternalServerError() *UpdatePaymentRequestStatusInternalServerError

NewUpdatePaymentRequestStatusInternalServerError creates UpdatePaymentRequestStatusInternalServerError with default headers values

func (*UpdatePaymentRequestStatusInternalServerError) SetPayload

SetPayload sets the payload to the update payment request status internal server error response

func (*UpdatePaymentRequestStatusInternalServerError) WithPayload

WithPayload adds the payload to the update payment request status internal server error response

func (*UpdatePaymentRequestStatusInternalServerError) WriteResponse

WriteResponse to the client

type UpdatePaymentRequestStatusNotFound

type UpdatePaymentRequestStatusNotFound struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.ClientError `json:"body,omitempty"`
}

UpdatePaymentRequestStatusNotFound The requested resource wasn't found.

swagger:response updatePaymentRequestStatusNotFound

func NewUpdatePaymentRequestStatusNotFound

func NewUpdatePaymentRequestStatusNotFound() *UpdatePaymentRequestStatusNotFound

NewUpdatePaymentRequestStatusNotFound creates UpdatePaymentRequestStatusNotFound with default headers values

func (*UpdatePaymentRequestStatusNotFound) SetPayload

SetPayload sets the payload to the update payment request status not found response

func (*UpdatePaymentRequestStatusNotFound) WithPayload

WithPayload adds the payload to the update payment request status not found response

func (*UpdatePaymentRequestStatusNotFound) WriteResponse

WriteResponse to the client

type UpdatePaymentRequestStatusOK

type UpdatePaymentRequestStatusOK struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.PaymentRequest `json:"body,omitempty"`
}

UpdatePaymentRequestStatusOK Successfully updated payment request status.

swagger:response updatePaymentRequestStatusOK

func NewUpdatePaymentRequestStatusOK

func NewUpdatePaymentRequestStatusOK() *UpdatePaymentRequestStatusOK

NewUpdatePaymentRequestStatusOK creates UpdatePaymentRequestStatusOK with default headers values

func (*UpdatePaymentRequestStatusOK) SetPayload

SetPayload sets the payload to the update payment request status o k response

func (*UpdatePaymentRequestStatusOK) WithPayload

WithPayload adds the payload to the update payment request status o k response

func (*UpdatePaymentRequestStatusOK) WriteResponse

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

WriteResponse to the client

type UpdatePaymentRequestStatusParams

type UpdatePaymentRequestStatusParams struct {

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

	/*Optimistic locking is implemented via the `If-Match` header. If the ETag header does not match the value of the resource on the server, the server rejects the change with a `412 Precondition Failed` error.

	  Required: true
	  In: header
	*/
	IfMatch string
	/*
	  Required: true
	  In: body
	*/
	Body *supportmessages.UpdatePaymentRequestStatus
	/*UUID of payment request.
	  Required: true
	  In: path
	*/
	PaymentRequestID strfmt.UUID
}

UpdatePaymentRequestStatusParams contains all the bound params for the update payment request status operation typically these are obtained from a http.Request

swagger:parameters updatePaymentRequestStatus

func NewUpdatePaymentRequestStatusParams

func NewUpdatePaymentRequestStatusParams() UpdatePaymentRequestStatusParams

NewUpdatePaymentRequestStatusParams creates a new UpdatePaymentRequestStatusParams object

There are no default values defined in the spec.

func (*UpdatePaymentRequestStatusParams) 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 NewUpdatePaymentRequestStatusParams() beforehand.

type UpdatePaymentRequestStatusPreconditionFailed

type UpdatePaymentRequestStatusPreconditionFailed struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.ClientError `json:"body,omitempty"`
}

UpdatePaymentRequestStatusPreconditionFailed Precondition failed, likely due to a stale eTag (If-Match). Fetch the request again to get the updated eTag value.

swagger:response updatePaymentRequestStatusPreconditionFailed

func NewUpdatePaymentRequestStatusPreconditionFailed

func NewUpdatePaymentRequestStatusPreconditionFailed() *UpdatePaymentRequestStatusPreconditionFailed

NewUpdatePaymentRequestStatusPreconditionFailed creates UpdatePaymentRequestStatusPreconditionFailed with default headers values

func (*UpdatePaymentRequestStatusPreconditionFailed) SetPayload

SetPayload sets the payload to the update payment request status precondition failed response

func (*UpdatePaymentRequestStatusPreconditionFailed) WithPayload

WithPayload adds the payload to the update payment request status precondition failed response

func (*UpdatePaymentRequestStatusPreconditionFailed) WriteResponse

WriteResponse to the client

type UpdatePaymentRequestStatusURL

type UpdatePaymentRequestStatusURL struct {
	PaymentRequestID strfmt.UUID
	// contains filtered or unexported fields
}

UpdatePaymentRequestStatusURL generates an URL for the update payment request status operation

func (*UpdatePaymentRequestStatusURL) Build

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

Build a url path and query string

func (*UpdatePaymentRequestStatusURL) BuildFull

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

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

func (*UpdatePaymentRequestStatusURL) Must

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

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

func (*UpdatePaymentRequestStatusURL) SetBasePath

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

String returns the string representation of the path with query string

func (*UpdatePaymentRequestStatusURL) StringFull

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

StringFull returns the string representation of a complete url

func (*UpdatePaymentRequestStatusURL) WithBasePath

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 UpdatePaymentRequestStatusUnauthorized

type UpdatePaymentRequestStatusUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.ClientError `json:"body,omitempty"`
}

UpdatePaymentRequestStatusUnauthorized The request was denied.

swagger:response updatePaymentRequestStatusUnauthorized

func NewUpdatePaymentRequestStatusUnauthorized

func NewUpdatePaymentRequestStatusUnauthorized() *UpdatePaymentRequestStatusUnauthorized

NewUpdatePaymentRequestStatusUnauthorized creates UpdatePaymentRequestStatusUnauthorized with default headers values

func (*UpdatePaymentRequestStatusUnauthorized) SetPayload

SetPayload sets the payload to the update payment request status unauthorized response

func (*UpdatePaymentRequestStatusUnauthorized) WithPayload

WithPayload adds the payload to the update payment request status unauthorized response

func (*UpdatePaymentRequestStatusUnauthorized) WriteResponse

WriteResponse to the client

type UpdatePaymentRequestStatusUnprocessableEntity

type UpdatePaymentRequestStatusUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *supportmessages.ValidationError `json:"body,omitempty"`
}

UpdatePaymentRequestStatusUnprocessableEntity The payload was unprocessable.

swagger:response updatePaymentRequestStatusUnprocessableEntity

func NewUpdatePaymentRequestStatusUnprocessableEntity

func NewUpdatePaymentRequestStatusUnprocessableEntity() *UpdatePaymentRequestStatusUnprocessableEntity

NewUpdatePaymentRequestStatusUnprocessableEntity creates UpdatePaymentRequestStatusUnprocessableEntity with default headers values

func (*UpdatePaymentRequestStatusUnprocessableEntity) SetPayload

SetPayload sets the payload to the update payment request status unprocessable entity response

func (*UpdatePaymentRequestStatusUnprocessableEntity) WithPayload

WithPayload adds the payload to the update payment request status unprocessable entity response

func (*UpdatePaymentRequestStatusUnprocessableEntity) WriteResponse

WriteResponse to the client

Jump to

Keyboard shortcuts

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