payment_service_item

package
v0.0.0-...-fdfe12d Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const UpdatePaymentServiceItemStatusBadRequestCode int = 400

UpdatePaymentServiceItemStatusBadRequestCode is the HTTP code returned for type UpdatePaymentServiceItemStatusBadRequest

View Source
const UpdatePaymentServiceItemStatusForbiddenCode int = 403

UpdatePaymentServiceItemStatusForbiddenCode is the HTTP code returned for type UpdatePaymentServiceItemStatusForbidden

View Source
const UpdatePaymentServiceItemStatusInternalServerErrorCode int = 500

UpdatePaymentServiceItemStatusInternalServerErrorCode is the HTTP code returned for type UpdatePaymentServiceItemStatusInternalServerError

View Source
const UpdatePaymentServiceItemStatusNotFoundCode int = 404

UpdatePaymentServiceItemStatusNotFoundCode is the HTTP code returned for type UpdatePaymentServiceItemStatusNotFound

View Source
const UpdatePaymentServiceItemStatusOKCode int = 200

UpdatePaymentServiceItemStatusOKCode is the HTTP code returned for type UpdatePaymentServiceItemStatusOK

View Source
const UpdatePaymentServiceItemStatusPreconditionFailedCode int = 412

UpdatePaymentServiceItemStatusPreconditionFailedCode is the HTTP code returned for type UpdatePaymentServiceItemStatusPreconditionFailed

View Source
const UpdatePaymentServiceItemStatusUnauthorizedCode int = 401

UpdatePaymentServiceItemStatusUnauthorizedCode is the HTTP code returned for type UpdatePaymentServiceItemStatusUnauthorized

View Source
const UpdatePaymentServiceItemStatusUnprocessableEntityCode int = 422

UpdatePaymentServiceItemStatusUnprocessableEntityCode is the HTTP code returned for type UpdatePaymentServiceItemStatusUnprocessableEntity

Variables

This section is empty.

Functions

This section is empty.

Types

type UpdatePaymentServiceItemStatus

type UpdatePaymentServiceItemStatus struct {
	Context *middleware.Context
	Handler UpdatePaymentServiceItemStatusHandler
}
UpdatePaymentServiceItemStatus swagger:route PATCH /move-task-orders/{moveTaskOrderID}/payment-service-items/{paymentServiceItemID}/status paymentServiceItem updatePaymentServiceItemStatus

Change the status of a payment service item for a move by ID

Changes the status of a line item for a move by ID

func NewUpdatePaymentServiceItemStatus

func NewUpdatePaymentServiceItemStatus(ctx *middleware.Context, handler UpdatePaymentServiceItemStatusHandler) *UpdatePaymentServiceItemStatus

NewUpdatePaymentServiceItemStatus creates a new http.Handler for the update payment service item status operation

func (*UpdatePaymentServiceItemStatus) ServeHTTP

type UpdatePaymentServiceItemStatusBadRequest

type UpdatePaymentServiceItemStatusBadRequest struct {

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

UpdatePaymentServiceItemStatusBadRequest The request payload is invalid

swagger:response updatePaymentServiceItemStatusBadRequest

func NewUpdatePaymentServiceItemStatusBadRequest

func NewUpdatePaymentServiceItemStatusBadRequest() *UpdatePaymentServiceItemStatusBadRequest

NewUpdatePaymentServiceItemStatusBadRequest creates UpdatePaymentServiceItemStatusBadRequest with default headers values

func (*UpdatePaymentServiceItemStatusBadRequest) SetPayload

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

func (*UpdatePaymentServiceItemStatusBadRequest) WithPayload

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

func (*UpdatePaymentServiceItemStatusBadRequest) WriteResponse

WriteResponse to the client

type UpdatePaymentServiceItemStatusForbidden

type UpdatePaymentServiceItemStatusForbidden struct {

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

UpdatePaymentServiceItemStatusForbidden The request was denied

swagger:response updatePaymentServiceItemStatusForbidden

func NewUpdatePaymentServiceItemStatusForbidden

func NewUpdatePaymentServiceItemStatusForbidden() *UpdatePaymentServiceItemStatusForbidden

NewUpdatePaymentServiceItemStatusForbidden creates UpdatePaymentServiceItemStatusForbidden with default headers values

func (*UpdatePaymentServiceItemStatusForbidden) SetPayload

SetPayload sets the payload to the update payment service item status forbidden response

func (*UpdatePaymentServiceItemStatusForbidden) WithPayload

WithPayload adds the payload to the update payment service item status forbidden response

func (*UpdatePaymentServiceItemStatusForbidden) WriteResponse

WriteResponse to the client

type UpdatePaymentServiceItemStatusHandler

type UpdatePaymentServiceItemStatusHandler interface {
	Handle(UpdatePaymentServiceItemStatusParams) middleware.Responder
}

UpdatePaymentServiceItemStatusHandler interface for that can handle valid update payment service item status params

type UpdatePaymentServiceItemStatusHandlerFunc

type UpdatePaymentServiceItemStatusHandlerFunc func(UpdatePaymentServiceItemStatusParams) middleware.Responder

UpdatePaymentServiceItemStatusHandlerFunc turns a function with the right signature into a update payment service item status handler

func (UpdatePaymentServiceItemStatusHandlerFunc) Handle

Handle executing the request and returning a response

type UpdatePaymentServiceItemStatusInternalServerError

type UpdatePaymentServiceItemStatusInternalServerError struct {

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

UpdatePaymentServiceItemStatusInternalServerError A server error occurred

swagger:response updatePaymentServiceItemStatusInternalServerError

func NewUpdatePaymentServiceItemStatusInternalServerError

func NewUpdatePaymentServiceItemStatusInternalServerError() *UpdatePaymentServiceItemStatusInternalServerError

NewUpdatePaymentServiceItemStatusInternalServerError creates UpdatePaymentServiceItemStatusInternalServerError with default headers values

func (*UpdatePaymentServiceItemStatusInternalServerError) SetPayload

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

func (*UpdatePaymentServiceItemStatusInternalServerError) WithPayload

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

func (*UpdatePaymentServiceItemStatusInternalServerError) WriteResponse

WriteResponse to the client

type UpdatePaymentServiceItemStatusNotFound

type UpdatePaymentServiceItemStatusNotFound struct {

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

UpdatePaymentServiceItemStatusNotFound The requested resource wasn't found

swagger:response updatePaymentServiceItemStatusNotFound

func NewUpdatePaymentServiceItemStatusNotFound

func NewUpdatePaymentServiceItemStatusNotFound() *UpdatePaymentServiceItemStatusNotFound

NewUpdatePaymentServiceItemStatusNotFound creates UpdatePaymentServiceItemStatusNotFound with default headers values

func (*UpdatePaymentServiceItemStatusNotFound) SetPayload

SetPayload sets the payload to the update payment service item status not found response

func (*UpdatePaymentServiceItemStatusNotFound) WithPayload

WithPayload adds the payload to the update payment service item status not found response

func (*UpdatePaymentServiceItemStatusNotFound) WriteResponse

WriteResponse to the client

type UpdatePaymentServiceItemStatusOK

type UpdatePaymentServiceItemStatusOK struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.PaymentServiceItem `json:"body,omitempty"`
}

UpdatePaymentServiceItemStatusOK Successfully updated status for a line item for a move task order by ID

swagger:response updatePaymentServiceItemStatusOK

func NewUpdatePaymentServiceItemStatusOK

func NewUpdatePaymentServiceItemStatusOK() *UpdatePaymentServiceItemStatusOK

NewUpdatePaymentServiceItemStatusOK creates UpdatePaymentServiceItemStatusOK with default headers values

func (*UpdatePaymentServiceItemStatusOK) SetPayload

SetPayload sets the payload to the update payment service item status o k response

func (*UpdatePaymentServiceItemStatusOK) WithPayload

WithPayload adds the payload to the update payment service item status o k response

func (*UpdatePaymentServiceItemStatusOK) WriteResponse

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

WriteResponse to the client

type UpdatePaymentServiceItemStatusParams

type UpdatePaymentServiceItemStatusParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	IfMatch string
	/*
	  Required: true
	  In: body
	*/
	Body *ghcmessages.PaymentServiceItem
	/*ID of move to use
	  Required: true
	  In: path
	*/
	MoveTaskOrderID string
	/*ID of payment service item to use
	  Required: true
	  In: path
	*/
	PaymentServiceItemID string
}

UpdatePaymentServiceItemStatusParams contains all the bound params for the update payment service item status operation typically these are obtained from a http.Request

swagger:parameters updatePaymentServiceItemStatus

func NewUpdatePaymentServiceItemStatusParams

func NewUpdatePaymentServiceItemStatusParams() UpdatePaymentServiceItemStatusParams

NewUpdatePaymentServiceItemStatusParams creates a new UpdatePaymentServiceItemStatusParams object

There are no default values defined in the spec.

func (*UpdatePaymentServiceItemStatusParams) 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 NewUpdatePaymentServiceItemStatusParams() beforehand.

type UpdatePaymentServiceItemStatusPreconditionFailed

type UpdatePaymentServiceItemStatusPreconditionFailed struct {

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

UpdatePaymentServiceItemStatusPreconditionFailed Precondition failed

swagger:response updatePaymentServiceItemStatusPreconditionFailed

func NewUpdatePaymentServiceItemStatusPreconditionFailed

func NewUpdatePaymentServiceItemStatusPreconditionFailed() *UpdatePaymentServiceItemStatusPreconditionFailed

NewUpdatePaymentServiceItemStatusPreconditionFailed creates UpdatePaymentServiceItemStatusPreconditionFailed with default headers values

func (*UpdatePaymentServiceItemStatusPreconditionFailed) SetPayload

SetPayload sets the payload to the update payment service item status precondition failed response

func (*UpdatePaymentServiceItemStatusPreconditionFailed) WithPayload

WithPayload adds the payload to the update payment service item status precondition failed response

func (*UpdatePaymentServiceItemStatusPreconditionFailed) WriteResponse

WriteResponse to the client

type UpdatePaymentServiceItemStatusURL

type UpdatePaymentServiceItemStatusURL struct {
	MoveTaskOrderID      string
	PaymentServiceItemID string
	// contains filtered or unexported fields
}

UpdatePaymentServiceItemStatusURL generates an URL for the update payment service item status operation

func (*UpdatePaymentServiceItemStatusURL) Build

Build a url path and query string

func (*UpdatePaymentServiceItemStatusURL) BuildFull

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

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

func (*UpdatePaymentServiceItemStatusURL) Must

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

func (*UpdatePaymentServiceItemStatusURL) SetBasePath

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

String returns the string representation of the path with query string

func (*UpdatePaymentServiceItemStatusURL) StringFull

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

StringFull returns the string representation of a complete url

func (*UpdatePaymentServiceItemStatusURL) 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 UpdatePaymentServiceItemStatusUnauthorized

type UpdatePaymentServiceItemStatusUnauthorized struct {

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

UpdatePaymentServiceItemStatusUnauthorized The request was denied

swagger:response updatePaymentServiceItemStatusUnauthorized

func NewUpdatePaymentServiceItemStatusUnauthorized

func NewUpdatePaymentServiceItemStatusUnauthorized() *UpdatePaymentServiceItemStatusUnauthorized

NewUpdatePaymentServiceItemStatusUnauthorized creates UpdatePaymentServiceItemStatusUnauthorized with default headers values

func (*UpdatePaymentServiceItemStatusUnauthorized) SetPayload

SetPayload sets the payload to the update payment service item status unauthorized response

func (*UpdatePaymentServiceItemStatusUnauthorized) WithPayload

WithPayload adds the payload to the update payment service item status unauthorized response

func (*UpdatePaymentServiceItemStatusUnauthorized) WriteResponse

WriteResponse to the client

type UpdatePaymentServiceItemStatusUnprocessableEntity

type UpdatePaymentServiceItemStatusUnprocessableEntity struct {

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

UpdatePaymentServiceItemStatusUnprocessableEntity The payload was unprocessable.

swagger:response updatePaymentServiceItemStatusUnprocessableEntity

func NewUpdatePaymentServiceItemStatusUnprocessableEntity

func NewUpdatePaymentServiceItemStatusUnprocessableEntity() *UpdatePaymentServiceItemStatusUnprocessableEntity

NewUpdatePaymentServiceItemStatusUnprocessableEntity creates UpdatePaymentServiceItemStatusUnprocessableEntity with default headers values

func (*UpdatePaymentServiceItemStatusUnprocessableEntity) SetPayload

SetPayload sets the payload to the update payment service item status unprocessable entity response

func (*UpdatePaymentServiceItemStatusUnprocessableEntity) WithPayload

WithPayload adds the payload to the update payment service item status unprocessable entity response

func (*UpdatePaymentServiceItemStatusUnprocessableEntity) WriteResponse

WriteResponse to the client

Jump to

Keyboard shortcuts

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