Documentation ¶
Index ¶
- Constants
- type BulkDownload
- type BulkDownloadBadRequest
- type BulkDownloadHandler
- type BulkDownloadHandlerFunc
- type BulkDownloadInternalServerError
- func (o *BulkDownloadInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *BulkDownloadInternalServerError) WithPayload(payload *ghcmessages.Error) *BulkDownloadInternalServerError
- func (o *BulkDownloadInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type BulkDownloadOK
- func (o *BulkDownloadOK) SetContentDisposition(contentDisposition string)
- func (o *BulkDownloadOK) SetPayload(payload io.ReadCloser)
- func (o *BulkDownloadOK) WithContentDisposition(contentDisposition string) *BulkDownloadOK
- func (o *BulkDownloadOK) WithPayload(payload io.ReadCloser) *BulkDownloadOK
- func (o *BulkDownloadOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type BulkDownloadParams
- type BulkDownloadURL
- func (o *BulkDownloadURL) Build() (*url.URL, error)
- func (o *BulkDownloadURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *BulkDownloadURL) Must(u *url.URL, err error) *url.URL
- func (o *BulkDownloadURL) SetBasePath(bp string)
- func (o *BulkDownloadURL) String() string
- func (o *BulkDownloadURL) StringFull(scheme, host string) string
- func (o *BulkDownloadURL) WithBasePath(bp string) *BulkDownloadURL
- type GetPaymentRequest
- type GetPaymentRequestBadRequest
- type GetPaymentRequestForbidden
- type GetPaymentRequestHandler
- type GetPaymentRequestHandlerFunc
- type GetPaymentRequestInternalServerError
- func (o *GetPaymentRequestInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *GetPaymentRequestInternalServerError) WithPayload(payload *ghcmessages.Error) *GetPaymentRequestInternalServerError
- func (o *GetPaymentRequestInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPaymentRequestNotFound
- type GetPaymentRequestOK
- type GetPaymentRequestParams
- type GetPaymentRequestURL
- func (o *GetPaymentRequestURL) Build() (*url.URL, error)
- func (o *GetPaymentRequestURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetPaymentRequestURL) Must(u *url.URL, err error) *url.URL
- func (o *GetPaymentRequestURL) SetBasePath(bp string)
- func (o *GetPaymentRequestURL) String() string
- func (o *GetPaymentRequestURL) StringFull(scheme, host string) string
- func (o *GetPaymentRequestURL) WithBasePath(bp string) *GetPaymentRequestURL
- type GetPaymentRequestUnauthorized
- type GetPaymentRequestsForMove
- type GetPaymentRequestsForMoveForbidden
- func (o *GetPaymentRequestsForMoveForbidden) SetPayload(payload *ghcmessages.Error)
- func (o *GetPaymentRequestsForMoveForbidden) WithPayload(payload *ghcmessages.Error) *GetPaymentRequestsForMoveForbidden
- func (o *GetPaymentRequestsForMoveForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPaymentRequestsForMoveHandler
- type GetPaymentRequestsForMoveHandlerFunc
- type GetPaymentRequestsForMoveInternalServerError
- func (o *GetPaymentRequestsForMoveInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *GetPaymentRequestsForMoveInternalServerError) WithPayload(payload *ghcmessages.Error) *GetPaymentRequestsForMoveInternalServerError
- func (o *GetPaymentRequestsForMoveInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPaymentRequestsForMoveNotFound
- func (o *GetPaymentRequestsForMoveNotFound) SetPayload(payload *ghcmessages.Error)
- func (o *GetPaymentRequestsForMoveNotFound) WithPayload(payload *ghcmessages.Error) *GetPaymentRequestsForMoveNotFound
- func (o *GetPaymentRequestsForMoveNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPaymentRequestsForMoveOK
- func (o *GetPaymentRequestsForMoveOK) SetPayload(payload ghcmessages.PaymentRequests)
- func (o *GetPaymentRequestsForMoveOK) WithPayload(payload ghcmessages.PaymentRequests) *GetPaymentRequestsForMoveOK
- func (o *GetPaymentRequestsForMoveOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPaymentRequestsForMoveParams
- type GetPaymentRequestsForMoveURL
- func (o *GetPaymentRequestsForMoveURL) Build() (*url.URL, error)
- func (o *GetPaymentRequestsForMoveURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetPaymentRequestsForMoveURL) Must(u *url.URL, err error) *url.URL
- func (o *GetPaymentRequestsForMoveURL) SetBasePath(bp string)
- func (o *GetPaymentRequestsForMoveURL) String() string
- func (o *GetPaymentRequestsForMoveURL) StringFull(scheme, host string) string
- func (o *GetPaymentRequestsForMoveURL) WithBasePath(bp string) *GetPaymentRequestsForMoveURL
- type GetPaymentRequestsForMoveUnprocessableEntity
- func (o *GetPaymentRequestsForMoveUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *GetPaymentRequestsForMoveUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *GetPaymentRequestsForMoveUnprocessableEntity
- func (o *GetPaymentRequestsForMoveUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetShipmentsPaymentSITBalance
- type GetShipmentsPaymentSITBalanceForbidden
- func (o *GetShipmentsPaymentSITBalanceForbidden) SetPayload(payload *ghcmessages.Error)
- func (o *GetShipmentsPaymentSITBalanceForbidden) WithPayload(payload *ghcmessages.Error) *GetShipmentsPaymentSITBalanceForbidden
- func (o *GetShipmentsPaymentSITBalanceForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetShipmentsPaymentSITBalanceHandler
- type GetShipmentsPaymentSITBalanceHandlerFunc
- type GetShipmentsPaymentSITBalanceInternalServerError
- func (o *GetShipmentsPaymentSITBalanceInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *GetShipmentsPaymentSITBalanceInternalServerError) WithPayload(payload *ghcmessages.Error) *GetShipmentsPaymentSITBalanceInternalServerError
- func (o *GetShipmentsPaymentSITBalanceInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetShipmentsPaymentSITBalanceNotFound
- func (o *GetShipmentsPaymentSITBalanceNotFound) SetPayload(payload *ghcmessages.Error)
- func (o *GetShipmentsPaymentSITBalanceNotFound) WithPayload(payload *ghcmessages.Error) *GetShipmentsPaymentSITBalanceNotFound
- func (o *GetShipmentsPaymentSITBalanceNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetShipmentsPaymentSITBalanceOK
- func (o *GetShipmentsPaymentSITBalanceOK) SetPayload(payload ghcmessages.ShipmentsPaymentSITBalance)
- func (o *GetShipmentsPaymentSITBalanceOK) WithPayload(payload ghcmessages.ShipmentsPaymentSITBalance) *GetShipmentsPaymentSITBalanceOK
- func (o *GetShipmentsPaymentSITBalanceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetShipmentsPaymentSITBalanceParams
- type GetShipmentsPaymentSITBalanceURL
- func (o *GetShipmentsPaymentSITBalanceURL) Build() (*url.URL, error)
- func (o *GetShipmentsPaymentSITBalanceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetShipmentsPaymentSITBalanceURL) Must(u *url.URL, err error) *url.URL
- func (o *GetShipmentsPaymentSITBalanceURL) SetBasePath(bp string)
- func (o *GetShipmentsPaymentSITBalanceURL) String() string
- func (o *GetShipmentsPaymentSITBalanceURL) StringFull(scheme, host string) string
- func (o *GetShipmentsPaymentSITBalanceURL) WithBasePath(bp string) *GetShipmentsPaymentSITBalanceURL
- type GetShipmentsPaymentSITBalanceUnprocessableEntity
- func (o *GetShipmentsPaymentSITBalanceUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *GetShipmentsPaymentSITBalanceUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *GetShipmentsPaymentSITBalanceUnprocessableEntity
- func (o *GetShipmentsPaymentSITBalanceUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdatePaymentRequestStatus
- type UpdatePaymentRequestStatusBadRequest
- func (o *UpdatePaymentRequestStatusBadRequest) SetPayload(payload *ghcmessages.Error)
- func (o *UpdatePaymentRequestStatusBadRequest) WithPayload(payload *ghcmessages.Error) *UpdatePaymentRequestStatusBadRequest
- func (o *UpdatePaymentRequestStatusBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdatePaymentRequestStatusForbidden
- func (o *UpdatePaymentRequestStatusForbidden) SetPayload(payload *ghcmessages.Error)
- func (o *UpdatePaymentRequestStatusForbidden) WithPayload(payload *ghcmessages.Error) *UpdatePaymentRequestStatusForbidden
- func (o *UpdatePaymentRequestStatusForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdatePaymentRequestStatusHandler
- type UpdatePaymentRequestStatusHandlerFunc
- type UpdatePaymentRequestStatusInternalServerError
- func (o *UpdatePaymentRequestStatusInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *UpdatePaymentRequestStatusInternalServerError) WithPayload(payload *ghcmessages.Error) *UpdatePaymentRequestStatusInternalServerError
- func (o *UpdatePaymentRequestStatusInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdatePaymentRequestStatusNotFound
- func (o *UpdatePaymentRequestStatusNotFound) SetPayload(payload *ghcmessages.Error)
- func (o *UpdatePaymentRequestStatusNotFound) WithPayload(payload *ghcmessages.Error) *UpdatePaymentRequestStatusNotFound
- func (o *UpdatePaymentRequestStatusNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdatePaymentRequestStatusOK
- func (o *UpdatePaymentRequestStatusOK) SetPayload(payload *ghcmessages.PaymentRequest)
- func (o *UpdatePaymentRequestStatusOK) WithPayload(payload *ghcmessages.PaymentRequest) *UpdatePaymentRequestStatusOK
- func (o *UpdatePaymentRequestStatusOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdatePaymentRequestStatusParams
- type UpdatePaymentRequestStatusPreconditionFailed
- func (o *UpdatePaymentRequestStatusPreconditionFailed) SetPayload(payload *ghcmessages.Error)
- func (o *UpdatePaymentRequestStatusPreconditionFailed) WithPayload(payload *ghcmessages.Error) *UpdatePaymentRequestStatusPreconditionFailed
- func (o *UpdatePaymentRequestStatusPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdatePaymentRequestStatusURL
- func (o *UpdatePaymentRequestStatusURL) Build() (*url.URL, error)
- func (o *UpdatePaymentRequestStatusURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdatePaymentRequestStatusURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdatePaymentRequestStatusURL) SetBasePath(bp string)
- func (o *UpdatePaymentRequestStatusURL) String() string
- func (o *UpdatePaymentRequestStatusURL) StringFull(scheme, host string) string
- func (o *UpdatePaymentRequestStatusURL) WithBasePath(bp string) *UpdatePaymentRequestStatusURL
- type UpdatePaymentRequestStatusUnauthorized
- func (o *UpdatePaymentRequestStatusUnauthorized) SetPayload(payload *ghcmessages.Error)
- func (o *UpdatePaymentRequestStatusUnauthorized) WithPayload(payload *ghcmessages.Error) *UpdatePaymentRequestStatusUnauthorized
- func (o *UpdatePaymentRequestStatusUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdatePaymentRequestStatusUnprocessableEntity
- func (o *UpdatePaymentRequestStatusUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *UpdatePaymentRequestStatusUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *UpdatePaymentRequestStatusUnprocessableEntity
- func (o *UpdatePaymentRequestStatusUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const BulkDownloadBadRequestCode int = 400
BulkDownloadBadRequestCode is the HTTP code returned for type BulkDownloadBadRequest
const BulkDownloadInternalServerErrorCode int = 500
BulkDownloadInternalServerErrorCode is the HTTP code returned for type BulkDownloadInternalServerError
const BulkDownloadOKCode int = 200
BulkDownloadOKCode is the HTTP code returned for type BulkDownloadOK
const GetPaymentRequestBadRequestCode int = 400
GetPaymentRequestBadRequestCode is the HTTP code returned for type GetPaymentRequestBadRequest
const GetPaymentRequestForbiddenCode int = 403
GetPaymentRequestForbiddenCode is the HTTP code returned for type GetPaymentRequestForbidden
const GetPaymentRequestInternalServerErrorCode int = 500
GetPaymentRequestInternalServerErrorCode is the HTTP code returned for type GetPaymentRequestInternalServerError
const GetPaymentRequestNotFoundCode int = 404
GetPaymentRequestNotFoundCode is the HTTP code returned for type GetPaymentRequestNotFound
const GetPaymentRequestOKCode int = 200
GetPaymentRequestOKCode is the HTTP code returned for type GetPaymentRequestOK
GetPaymentRequestUnauthorizedCode is the HTTP code returned for type GetPaymentRequestUnauthorized
const GetPaymentRequestsForMoveForbiddenCode int = 403
GetPaymentRequestsForMoveForbiddenCode is the HTTP code returned for type GetPaymentRequestsForMoveForbidden
const GetPaymentRequestsForMoveInternalServerErrorCode int = 500
GetPaymentRequestsForMoveInternalServerErrorCode is the HTTP code returned for type GetPaymentRequestsForMoveInternalServerError
const GetPaymentRequestsForMoveNotFoundCode int = 404
GetPaymentRequestsForMoveNotFoundCode is the HTTP code returned for type GetPaymentRequestsForMoveNotFound
const GetPaymentRequestsForMoveOKCode int = 200
GetPaymentRequestsForMoveOKCode is the HTTP code returned for type GetPaymentRequestsForMoveOK
const GetPaymentRequestsForMoveUnprocessableEntityCode int = 422
GetPaymentRequestsForMoveUnprocessableEntityCode is the HTTP code returned for type GetPaymentRequestsForMoveUnprocessableEntity
const GetShipmentsPaymentSITBalanceForbiddenCode int = 403
GetShipmentsPaymentSITBalanceForbiddenCode is the HTTP code returned for type GetShipmentsPaymentSITBalanceForbidden
const GetShipmentsPaymentSITBalanceInternalServerErrorCode int = 500
GetShipmentsPaymentSITBalanceInternalServerErrorCode is the HTTP code returned for type GetShipmentsPaymentSITBalanceInternalServerError
const GetShipmentsPaymentSITBalanceNotFoundCode int = 404
GetShipmentsPaymentSITBalanceNotFoundCode is the HTTP code returned for type GetShipmentsPaymentSITBalanceNotFound
const GetShipmentsPaymentSITBalanceOKCode int = 200
GetShipmentsPaymentSITBalanceOKCode is the HTTP code returned for type GetShipmentsPaymentSITBalanceOK
const GetShipmentsPaymentSITBalanceUnprocessableEntityCode int = 422
GetShipmentsPaymentSITBalanceUnprocessableEntityCode is the HTTP code returned for type GetShipmentsPaymentSITBalanceUnprocessableEntity
const UpdatePaymentRequestStatusBadRequestCode int = 400
UpdatePaymentRequestStatusBadRequestCode is the HTTP code returned for type UpdatePaymentRequestStatusBadRequest
const UpdatePaymentRequestStatusForbiddenCode int = 403
UpdatePaymentRequestStatusForbiddenCode is the HTTP code returned for type UpdatePaymentRequestStatusForbidden
const UpdatePaymentRequestStatusInternalServerErrorCode int = 500
UpdatePaymentRequestStatusInternalServerErrorCode is the HTTP code returned for type UpdatePaymentRequestStatusInternalServerError
const UpdatePaymentRequestStatusNotFoundCode int = 404
UpdatePaymentRequestStatusNotFoundCode is the HTTP code returned for type UpdatePaymentRequestStatusNotFound
const UpdatePaymentRequestStatusOKCode int = 200
UpdatePaymentRequestStatusOKCode is the HTTP code returned for type UpdatePaymentRequestStatusOK
const UpdatePaymentRequestStatusPreconditionFailedCode int = 412
UpdatePaymentRequestStatusPreconditionFailedCode is the HTTP code returned for type UpdatePaymentRequestStatusPreconditionFailed
UpdatePaymentRequestStatusUnauthorizedCode is the HTTP code returned for type UpdatePaymentRequestStatusUnauthorized
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 BulkDownload ¶
type BulkDownload struct { Context *middleware.Context Handler BulkDownloadHandler }
BulkDownload swagger:route GET /payment-requests/{paymentRequestID}/bulkDownload paymentRequests bulkDownload
Downloads all Payment Request documents as a PDF ¶
This endpoint downloads all uploaded payment request documentation combined into a single PDF.
func NewBulkDownload ¶
func NewBulkDownload(ctx *middleware.Context, handler BulkDownloadHandler) *BulkDownload
NewBulkDownload creates a new http.Handler for the bulk download operation
func (*BulkDownload) ServeHTTP ¶
func (o *BulkDownload) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type BulkDownloadBadRequest ¶
type BulkDownloadBadRequest struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
BulkDownloadBadRequest The request payload is invalid
swagger:response bulkDownloadBadRequest
func NewBulkDownloadBadRequest ¶
func NewBulkDownloadBadRequest() *BulkDownloadBadRequest
NewBulkDownloadBadRequest creates BulkDownloadBadRequest with default headers values
func (*BulkDownloadBadRequest) SetPayload ¶
func (o *BulkDownloadBadRequest) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the bulk download bad request response
func (*BulkDownloadBadRequest) WithPayload ¶
func (o *BulkDownloadBadRequest) WithPayload(payload *ghcmessages.Error) *BulkDownloadBadRequest
WithPayload adds the payload to the bulk download bad request response
func (*BulkDownloadBadRequest) WriteResponse ¶
func (o *BulkDownloadBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BulkDownloadHandler ¶
type BulkDownloadHandler interface {
Handle(BulkDownloadParams) middleware.Responder
}
BulkDownloadHandler interface for that can handle valid bulk download params
type BulkDownloadHandlerFunc ¶
type BulkDownloadHandlerFunc func(BulkDownloadParams) middleware.Responder
BulkDownloadHandlerFunc turns a function with the right signature into a bulk download handler
func (BulkDownloadHandlerFunc) Handle ¶
func (fn BulkDownloadHandlerFunc) Handle(params BulkDownloadParams) middleware.Responder
Handle executing the request and returning a response
type BulkDownloadInternalServerError ¶
type BulkDownloadInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
BulkDownloadInternalServerError A server error occurred
swagger:response bulkDownloadInternalServerError
func NewBulkDownloadInternalServerError ¶
func NewBulkDownloadInternalServerError() *BulkDownloadInternalServerError
NewBulkDownloadInternalServerError creates BulkDownloadInternalServerError with default headers values
func (*BulkDownloadInternalServerError) SetPayload ¶
func (o *BulkDownloadInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the bulk download internal server error response
func (*BulkDownloadInternalServerError) WithPayload ¶
func (o *BulkDownloadInternalServerError) WithPayload(payload *ghcmessages.Error) *BulkDownloadInternalServerError
WithPayload adds the payload to the bulk download internal server error response
func (*BulkDownloadInternalServerError) WriteResponse ¶
func (o *BulkDownloadInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BulkDownloadOK ¶
type BulkDownloadOK struct { /*File name to download */ ContentDisposition string `json:"Content-Disposition"` /* In: Body */ Payload io.ReadCloser `json:"body,omitempty"` }
BulkDownloadOK Payment Request Files PDF
swagger:response bulkDownloadOK
func NewBulkDownloadOK ¶
func NewBulkDownloadOK() *BulkDownloadOK
NewBulkDownloadOK creates BulkDownloadOK with default headers values
func (*BulkDownloadOK) SetContentDisposition ¶
func (o *BulkDownloadOK) SetContentDisposition(contentDisposition string)
SetContentDisposition sets the contentDisposition to the bulk download o k response
func (*BulkDownloadOK) SetPayload ¶
func (o *BulkDownloadOK) SetPayload(payload io.ReadCloser)
SetPayload sets the payload to the bulk download o k response
func (*BulkDownloadOK) WithContentDisposition ¶
func (o *BulkDownloadOK) WithContentDisposition(contentDisposition string) *BulkDownloadOK
WithContentDisposition adds the contentDisposition to the bulk download o k response
func (*BulkDownloadOK) WithPayload ¶
func (o *BulkDownloadOK) WithPayload(payload io.ReadCloser) *BulkDownloadOK
WithPayload adds the payload to the bulk download o k response
func (*BulkDownloadOK) WriteResponse ¶
func (o *BulkDownloadOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BulkDownloadParams ¶
type BulkDownloadParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*the id for the payment-request with files to be downloaded Required: true In: path */ PaymentRequestID string }
BulkDownloadParams contains all the bound params for the bulk download operation typically these are obtained from a http.Request
swagger:parameters bulkDownload
func NewBulkDownloadParams ¶
func NewBulkDownloadParams() BulkDownloadParams
NewBulkDownloadParams creates a new BulkDownloadParams object
There are no default values defined in the spec.
func (*BulkDownloadParams) BindRequest ¶
func (o *BulkDownloadParams) 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 NewBulkDownloadParams() beforehand.
type BulkDownloadURL ¶
type BulkDownloadURL struct { PaymentRequestID string // contains filtered or unexported fields }
BulkDownloadURL generates an URL for the bulk download operation
func (*BulkDownloadURL) Build ¶
func (o *BulkDownloadURL) Build() (*url.URL, error)
Build a url path and query string
func (*BulkDownloadURL) BuildFull ¶
func (o *BulkDownloadURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*BulkDownloadURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*BulkDownloadURL) SetBasePath ¶
func (o *BulkDownloadURL) 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 (*BulkDownloadURL) String ¶
func (o *BulkDownloadURL) String() string
String returns the string representation of the path with query string
func (*BulkDownloadURL) StringFull ¶
func (o *BulkDownloadURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*BulkDownloadURL) WithBasePath ¶
func (o *BulkDownloadURL) WithBasePath(bp string) *BulkDownloadURL
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 GetPaymentRequest ¶
type GetPaymentRequest struct { Context *middleware.Context Handler GetPaymentRequestHandler }
GetPaymentRequest swagger:route GET /payment-requests/{paymentRequestID} paymentRequests getPaymentRequest
Fetches a payment request by id ¶
Fetches an instance of a payment request by id
func NewGetPaymentRequest ¶
func NewGetPaymentRequest(ctx *middleware.Context, handler GetPaymentRequestHandler) *GetPaymentRequest
NewGetPaymentRequest creates a new http.Handler for the get payment request operation
func (*GetPaymentRequest) ServeHTTP ¶
func (o *GetPaymentRequest) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetPaymentRequestBadRequest ¶
type GetPaymentRequestBadRequest struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetPaymentRequestBadRequest The request payload is invalid
swagger:response getPaymentRequestBadRequest
func NewGetPaymentRequestBadRequest ¶
func NewGetPaymentRequestBadRequest() *GetPaymentRequestBadRequest
NewGetPaymentRequestBadRequest creates GetPaymentRequestBadRequest with default headers values
func (*GetPaymentRequestBadRequest) SetPayload ¶
func (o *GetPaymentRequestBadRequest) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get payment request bad request response
func (*GetPaymentRequestBadRequest) WithPayload ¶
func (o *GetPaymentRequestBadRequest) WithPayload(payload *ghcmessages.Error) *GetPaymentRequestBadRequest
WithPayload adds the payload to the get payment request bad request response
func (*GetPaymentRequestBadRequest) WriteResponse ¶
func (o *GetPaymentRequestBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPaymentRequestForbidden ¶
type GetPaymentRequestForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetPaymentRequestForbidden The request was denied
swagger:response getPaymentRequestForbidden
func NewGetPaymentRequestForbidden ¶
func NewGetPaymentRequestForbidden() *GetPaymentRequestForbidden
NewGetPaymentRequestForbidden creates GetPaymentRequestForbidden with default headers values
func (*GetPaymentRequestForbidden) SetPayload ¶
func (o *GetPaymentRequestForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get payment request forbidden response
func (*GetPaymentRequestForbidden) WithPayload ¶
func (o *GetPaymentRequestForbidden) WithPayload(payload *ghcmessages.Error) *GetPaymentRequestForbidden
WithPayload adds the payload to the get payment request forbidden response
func (*GetPaymentRequestForbidden) WriteResponse ¶
func (o *GetPaymentRequestForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPaymentRequestHandler ¶
type GetPaymentRequestHandler interface {
Handle(GetPaymentRequestParams) middleware.Responder
}
GetPaymentRequestHandler interface for that can handle valid get payment request params
type GetPaymentRequestHandlerFunc ¶
type GetPaymentRequestHandlerFunc func(GetPaymentRequestParams) middleware.Responder
GetPaymentRequestHandlerFunc turns a function with the right signature into a get payment request handler
func (GetPaymentRequestHandlerFunc) Handle ¶
func (fn GetPaymentRequestHandlerFunc) Handle(params GetPaymentRequestParams) middleware.Responder
Handle executing the request and returning a response
type GetPaymentRequestInternalServerError ¶
type GetPaymentRequestInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetPaymentRequestInternalServerError A server error occurred
swagger:response getPaymentRequestInternalServerError
func NewGetPaymentRequestInternalServerError ¶
func NewGetPaymentRequestInternalServerError() *GetPaymentRequestInternalServerError
NewGetPaymentRequestInternalServerError creates GetPaymentRequestInternalServerError with default headers values
func (*GetPaymentRequestInternalServerError) SetPayload ¶
func (o *GetPaymentRequestInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get payment request internal server error response
func (*GetPaymentRequestInternalServerError) WithPayload ¶
func (o *GetPaymentRequestInternalServerError) WithPayload(payload *ghcmessages.Error) *GetPaymentRequestInternalServerError
WithPayload adds the payload to the get payment request internal server error response
func (*GetPaymentRequestInternalServerError) WriteResponse ¶
func (o *GetPaymentRequestInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPaymentRequestNotFound ¶
type GetPaymentRequestNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetPaymentRequestNotFound The requested resource wasn't found
swagger:response getPaymentRequestNotFound
func NewGetPaymentRequestNotFound ¶
func NewGetPaymentRequestNotFound() *GetPaymentRequestNotFound
NewGetPaymentRequestNotFound creates GetPaymentRequestNotFound with default headers values
func (*GetPaymentRequestNotFound) SetPayload ¶
func (o *GetPaymentRequestNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get payment request not found response
func (*GetPaymentRequestNotFound) WithPayload ¶
func (o *GetPaymentRequestNotFound) WithPayload(payload *ghcmessages.Error) *GetPaymentRequestNotFound
WithPayload adds the payload to the get payment request not found response
func (*GetPaymentRequestNotFound) WriteResponse ¶
func (o *GetPaymentRequestNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPaymentRequestOK ¶
type GetPaymentRequestOK struct { /* In: Body */ Payload *ghcmessages.PaymentRequest `json:"body,omitempty"` }
GetPaymentRequestOK fetched instance of payment request
swagger:response getPaymentRequestOK
func NewGetPaymentRequestOK ¶
func NewGetPaymentRequestOK() *GetPaymentRequestOK
NewGetPaymentRequestOK creates GetPaymentRequestOK with default headers values
func (*GetPaymentRequestOK) SetPayload ¶
func (o *GetPaymentRequestOK) SetPayload(payload *ghcmessages.PaymentRequest)
SetPayload sets the payload to the get payment request o k response
func (*GetPaymentRequestOK) WithPayload ¶
func (o *GetPaymentRequestOK) WithPayload(payload *ghcmessages.PaymentRequest) *GetPaymentRequestOK
WithPayload adds the payload to the get payment request o k response
func (*GetPaymentRequestOK) WriteResponse ¶
func (o *GetPaymentRequestOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPaymentRequestParams ¶
type GetPaymentRequestParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*UUID of payment request Required: true In: path */ PaymentRequestID strfmt.UUID }
GetPaymentRequestParams contains all the bound params for the get payment request operation typically these are obtained from a http.Request
swagger:parameters getPaymentRequest
func NewGetPaymentRequestParams ¶
func NewGetPaymentRequestParams() GetPaymentRequestParams
NewGetPaymentRequestParams creates a new GetPaymentRequestParams object
There are no default values defined in the spec.
func (*GetPaymentRequestParams) BindRequest ¶
func (o *GetPaymentRequestParams) 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 NewGetPaymentRequestParams() beforehand.
type GetPaymentRequestURL ¶
type GetPaymentRequestURL struct { PaymentRequestID strfmt.UUID // contains filtered or unexported fields }
GetPaymentRequestURL generates an URL for the get payment request operation
func (*GetPaymentRequestURL) Build ¶
func (o *GetPaymentRequestURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetPaymentRequestURL) BuildFull ¶
func (o *GetPaymentRequestURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetPaymentRequestURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetPaymentRequestURL) SetBasePath ¶
func (o *GetPaymentRequestURL) 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 (*GetPaymentRequestURL) String ¶
func (o *GetPaymentRequestURL) String() string
String returns the string representation of the path with query string
func (*GetPaymentRequestURL) StringFull ¶
func (o *GetPaymentRequestURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetPaymentRequestURL) WithBasePath ¶
func (o *GetPaymentRequestURL) WithBasePath(bp string) *GetPaymentRequestURL
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 GetPaymentRequestUnauthorized ¶
type GetPaymentRequestUnauthorized struct { ghcmessages.Error `json:"body,omitempty"` }Payload *
GetPaymentRequestUnauthorized The request was denied
swagger:response getPaymentRequestUnauthorized
func NewGetPaymentRequestUnauthorized ¶
func NewGetPaymentRequestUnauthorized() *GetPaymentRequestUnauthorized
NewGetPaymentRequestUnauthorized creates GetPaymentRequestUnauthorized with default headers values
func (*GetPaymentRequestUnauthorized) SetPayload ¶
func (o *GetPaymentRequestUnauthorized) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get payment request unauthorized response
func (*GetPaymentRequestUnauthorized) WithPayload ¶
func (o *GetPaymentRequestUnauthorized) WithPayload(payload *ghcmessages.Error) *GetPaymentRequestUnauthorized
WithPayload adds the payload to the get payment request unauthorized response
func (*GetPaymentRequestUnauthorized) WriteResponse ¶
func (o *GetPaymentRequestUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPaymentRequestsForMove ¶
type GetPaymentRequestsForMove struct { Context *middleware.Context Handler GetPaymentRequestsForMoveHandler }
GetPaymentRequestsForMove swagger:route GET /moves/{locator}/payment-requests paymentRequests getPaymentRequestsForMove
Fetches payment requests using the move code (locator).
Fetches payment requests for a move
func NewGetPaymentRequestsForMove ¶
func NewGetPaymentRequestsForMove(ctx *middleware.Context, handler GetPaymentRequestsForMoveHandler) *GetPaymentRequestsForMove
NewGetPaymentRequestsForMove creates a new http.Handler for the get payment requests for move operation
func (*GetPaymentRequestsForMove) ServeHTTP ¶
func (o *GetPaymentRequestsForMove) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetPaymentRequestsForMoveForbidden ¶
type GetPaymentRequestsForMoveForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetPaymentRequestsForMoveForbidden The request was denied
swagger:response getPaymentRequestsForMoveForbidden
func NewGetPaymentRequestsForMoveForbidden ¶
func NewGetPaymentRequestsForMoveForbidden() *GetPaymentRequestsForMoveForbidden
NewGetPaymentRequestsForMoveForbidden creates GetPaymentRequestsForMoveForbidden with default headers values
func (*GetPaymentRequestsForMoveForbidden) SetPayload ¶
func (o *GetPaymentRequestsForMoveForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get payment requests for move forbidden response
func (*GetPaymentRequestsForMoveForbidden) WithPayload ¶
func (o *GetPaymentRequestsForMoveForbidden) WithPayload(payload *ghcmessages.Error) *GetPaymentRequestsForMoveForbidden
WithPayload adds the payload to the get payment requests for move forbidden response
func (*GetPaymentRequestsForMoveForbidden) WriteResponse ¶
func (o *GetPaymentRequestsForMoveForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPaymentRequestsForMoveHandler ¶
type GetPaymentRequestsForMoveHandler interface {
Handle(GetPaymentRequestsForMoveParams) middleware.Responder
}
GetPaymentRequestsForMoveHandler interface for that can handle valid get payment requests for move params
type GetPaymentRequestsForMoveHandlerFunc ¶
type GetPaymentRequestsForMoveHandlerFunc func(GetPaymentRequestsForMoveParams) middleware.Responder
GetPaymentRequestsForMoveHandlerFunc turns a function with the right signature into a get payment requests for move handler
func (GetPaymentRequestsForMoveHandlerFunc) Handle ¶
func (fn GetPaymentRequestsForMoveHandlerFunc) Handle(params GetPaymentRequestsForMoveParams) middleware.Responder
Handle executing the request and returning a response
type GetPaymentRequestsForMoveInternalServerError ¶
type GetPaymentRequestsForMoveInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetPaymentRequestsForMoveInternalServerError A server error occurred
swagger:response getPaymentRequestsForMoveInternalServerError
func NewGetPaymentRequestsForMoveInternalServerError ¶
func NewGetPaymentRequestsForMoveInternalServerError() *GetPaymentRequestsForMoveInternalServerError
NewGetPaymentRequestsForMoveInternalServerError creates GetPaymentRequestsForMoveInternalServerError with default headers values
func (*GetPaymentRequestsForMoveInternalServerError) SetPayload ¶
func (o *GetPaymentRequestsForMoveInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get payment requests for move internal server error response
func (*GetPaymentRequestsForMoveInternalServerError) WithPayload ¶
func (o *GetPaymentRequestsForMoveInternalServerError) WithPayload(payload *ghcmessages.Error) *GetPaymentRequestsForMoveInternalServerError
WithPayload adds the payload to the get payment requests for move internal server error response
func (*GetPaymentRequestsForMoveInternalServerError) WriteResponse ¶
func (o *GetPaymentRequestsForMoveInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPaymentRequestsForMoveNotFound ¶
type GetPaymentRequestsForMoveNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetPaymentRequestsForMoveNotFound The requested resource wasn't found
swagger:response getPaymentRequestsForMoveNotFound
func NewGetPaymentRequestsForMoveNotFound ¶
func NewGetPaymentRequestsForMoveNotFound() *GetPaymentRequestsForMoveNotFound
NewGetPaymentRequestsForMoveNotFound creates GetPaymentRequestsForMoveNotFound with default headers values
func (*GetPaymentRequestsForMoveNotFound) SetPayload ¶
func (o *GetPaymentRequestsForMoveNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get payment requests for move not found response
func (*GetPaymentRequestsForMoveNotFound) WithPayload ¶
func (o *GetPaymentRequestsForMoveNotFound) WithPayload(payload *ghcmessages.Error) *GetPaymentRequestsForMoveNotFound
WithPayload adds the payload to the get payment requests for move not found response
func (*GetPaymentRequestsForMoveNotFound) WriteResponse ¶
func (o *GetPaymentRequestsForMoveNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPaymentRequestsForMoveOK ¶
type GetPaymentRequestsForMoveOK struct { /* In: Body */ Payload ghcmessages.PaymentRequests `json:"body,omitempty"` }
GetPaymentRequestsForMoveOK Successfully retrieved all line items for a move task order
swagger:response getPaymentRequestsForMoveOK
func NewGetPaymentRequestsForMoveOK ¶
func NewGetPaymentRequestsForMoveOK() *GetPaymentRequestsForMoveOK
NewGetPaymentRequestsForMoveOK creates GetPaymentRequestsForMoveOK with default headers values
func (*GetPaymentRequestsForMoveOK) SetPayload ¶
func (o *GetPaymentRequestsForMoveOK) SetPayload(payload ghcmessages.PaymentRequests)
SetPayload sets the payload to the get payment requests for move o k response
func (*GetPaymentRequestsForMoveOK) WithPayload ¶
func (o *GetPaymentRequestsForMoveOK) WithPayload(payload ghcmessages.PaymentRequests) *GetPaymentRequestsForMoveOK
WithPayload adds the payload to the get payment requests for move o k response
func (*GetPaymentRequestsForMoveOK) WriteResponse ¶
func (o *GetPaymentRequestsForMoveOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPaymentRequestsForMoveParams ¶
type GetPaymentRequestsForMoveParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*move code to identify a move for payment requests Required: true In: path */ Locator string }
GetPaymentRequestsForMoveParams contains all the bound params for the get payment requests for move operation typically these are obtained from a http.Request
swagger:parameters getPaymentRequestsForMove
func NewGetPaymentRequestsForMoveParams ¶
func NewGetPaymentRequestsForMoveParams() GetPaymentRequestsForMoveParams
NewGetPaymentRequestsForMoveParams creates a new GetPaymentRequestsForMoveParams object
There are no default values defined in the spec.
func (*GetPaymentRequestsForMoveParams) BindRequest ¶
func (o *GetPaymentRequestsForMoveParams) 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 NewGetPaymentRequestsForMoveParams() beforehand.
type GetPaymentRequestsForMoveURL ¶
type GetPaymentRequestsForMoveURL struct { Locator string // contains filtered or unexported fields }
GetPaymentRequestsForMoveURL generates an URL for the get payment requests for move operation
func (*GetPaymentRequestsForMoveURL) Build ¶
func (o *GetPaymentRequestsForMoveURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetPaymentRequestsForMoveURL) BuildFull ¶
func (o *GetPaymentRequestsForMoveURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetPaymentRequestsForMoveURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetPaymentRequestsForMoveURL) SetBasePath ¶
func (o *GetPaymentRequestsForMoveURL) 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 (*GetPaymentRequestsForMoveURL) String ¶
func (o *GetPaymentRequestsForMoveURL) String() string
String returns the string representation of the path with query string
func (*GetPaymentRequestsForMoveURL) StringFull ¶
func (o *GetPaymentRequestsForMoveURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetPaymentRequestsForMoveURL) WithBasePath ¶
func (o *GetPaymentRequestsForMoveURL) WithBasePath(bp string) *GetPaymentRequestsForMoveURL
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 GetPaymentRequestsForMoveUnprocessableEntity ¶
type GetPaymentRequestsForMoveUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
GetPaymentRequestsForMoveUnprocessableEntity The payload was unprocessable.
swagger:response getPaymentRequestsForMoveUnprocessableEntity
func NewGetPaymentRequestsForMoveUnprocessableEntity ¶
func NewGetPaymentRequestsForMoveUnprocessableEntity() *GetPaymentRequestsForMoveUnprocessableEntity
NewGetPaymentRequestsForMoveUnprocessableEntity creates GetPaymentRequestsForMoveUnprocessableEntity with default headers values
func (*GetPaymentRequestsForMoveUnprocessableEntity) SetPayload ¶
func (o *GetPaymentRequestsForMoveUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the get payment requests for move unprocessable entity response
func (*GetPaymentRequestsForMoveUnprocessableEntity) WithPayload ¶
func (o *GetPaymentRequestsForMoveUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *GetPaymentRequestsForMoveUnprocessableEntity
WithPayload adds the payload to the get payment requests for move unprocessable entity response
func (*GetPaymentRequestsForMoveUnprocessableEntity) WriteResponse ¶
func (o *GetPaymentRequestsForMoveUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetShipmentsPaymentSITBalance ¶
type GetShipmentsPaymentSITBalance struct { Context *middleware.Context Handler GetShipmentsPaymentSITBalanceHandler }
GetShipmentsPaymentSITBalance swagger:route GET /payment-requests/{paymentRequestID}/shipments-payment-sit-balance paymentRequests getShipmentsPaymentSITBalance
Returns all shipment payment request SIT usage to support partial SIT invoicing ¶
Returns all shipment payment request SIT usage to support partial SIT invoicing
func NewGetShipmentsPaymentSITBalance ¶
func NewGetShipmentsPaymentSITBalance(ctx *middleware.Context, handler GetShipmentsPaymentSITBalanceHandler) *GetShipmentsPaymentSITBalance
NewGetShipmentsPaymentSITBalance creates a new http.Handler for the get shipments payment s i t balance operation
func (*GetShipmentsPaymentSITBalance) ServeHTTP ¶
func (o *GetShipmentsPaymentSITBalance) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetShipmentsPaymentSITBalanceForbidden ¶
type GetShipmentsPaymentSITBalanceForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetShipmentsPaymentSITBalanceForbidden The request was denied
swagger:response getShipmentsPaymentSITBalanceForbidden
func NewGetShipmentsPaymentSITBalanceForbidden ¶
func NewGetShipmentsPaymentSITBalanceForbidden() *GetShipmentsPaymentSITBalanceForbidden
NewGetShipmentsPaymentSITBalanceForbidden creates GetShipmentsPaymentSITBalanceForbidden with default headers values
func (*GetShipmentsPaymentSITBalanceForbidden) SetPayload ¶
func (o *GetShipmentsPaymentSITBalanceForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get shipments payment s i t balance forbidden response
func (*GetShipmentsPaymentSITBalanceForbidden) WithPayload ¶
func (o *GetShipmentsPaymentSITBalanceForbidden) WithPayload(payload *ghcmessages.Error) *GetShipmentsPaymentSITBalanceForbidden
WithPayload adds the payload to the get shipments payment s i t balance forbidden response
func (*GetShipmentsPaymentSITBalanceForbidden) WriteResponse ¶
func (o *GetShipmentsPaymentSITBalanceForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetShipmentsPaymentSITBalanceHandler ¶
type GetShipmentsPaymentSITBalanceHandler interface {
Handle(GetShipmentsPaymentSITBalanceParams) middleware.Responder
}
GetShipmentsPaymentSITBalanceHandler interface for that can handle valid get shipments payment s i t balance params
type GetShipmentsPaymentSITBalanceHandlerFunc ¶
type GetShipmentsPaymentSITBalanceHandlerFunc func(GetShipmentsPaymentSITBalanceParams) middleware.Responder
GetShipmentsPaymentSITBalanceHandlerFunc turns a function with the right signature into a get shipments payment s i t balance handler
func (GetShipmentsPaymentSITBalanceHandlerFunc) Handle ¶
func (fn GetShipmentsPaymentSITBalanceHandlerFunc) Handle(params GetShipmentsPaymentSITBalanceParams) middleware.Responder
Handle executing the request and returning a response
type GetShipmentsPaymentSITBalanceInternalServerError ¶
type GetShipmentsPaymentSITBalanceInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetShipmentsPaymentSITBalanceInternalServerError A server error occurred
swagger:response getShipmentsPaymentSITBalanceInternalServerError
func NewGetShipmentsPaymentSITBalanceInternalServerError ¶
func NewGetShipmentsPaymentSITBalanceInternalServerError() *GetShipmentsPaymentSITBalanceInternalServerError
NewGetShipmentsPaymentSITBalanceInternalServerError creates GetShipmentsPaymentSITBalanceInternalServerError with default headers values
func (*GetShipmentsPaymentSITBalanceInternalServerError) SetPayload ¶
func (o *GetShipmentsPaymentSITBalanceInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get shipments payment s i t balance internal server error response
func (*GetShipmentsPaymentSITBalanceInternalServerError) WithPayload ¶
func (o *GetShipmentsPaymentSITBalanceInternalServerError) WithPayload(payload *ghcmessages.Error) *GetShipmentsPaymentSITBalanceInternalServerError
WithPayload adds the payload to the get shipments payment s i t balance internal server error response
func (*GetShipmentsPaymentSITBalanceInternalServerError) WriteResponse ¶
func (o *GetShipmentsPaymentSITBalanceInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetShipmentsPaymentSITBalanceNotFound ¶
type GetShipmentsPaymentSITBalanceNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetShipmentsPaymentSITBalanceNotFound The requested resource wasn't found
swagger:response getShipmentsPaymentSITBalanceNotFound
func NewGetShipmentsPaymentSITBalanceNotFound ¶
func NewGetShipmentsPaymentSITBalanceNotFound() *GetShipmentsPaymentSITBalanceNotFound
NewGetShipmentsPaymentSITBalanceNotFound creates GetShipmentsPaymentSITBalanceNotFound with default headers values
func (*GetShipmentsPaymentSITBalanceNotFound) SetPayload ¶
func (o *GetShipmentsPaymentSITBalanceNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get shipments payment s i t balance not found response
func (*GetShipmentsPaymentSITBalanceNotFound) WithPayload ¶
func (o *GetShipmentsPaymentSITBalanceNotFound) WithPayload(payload *ghcmessages.Error) *GetShipmentsPaymentSITBalanceNotFound
WithPayload adds the payload to the get shipments payment s i t balance not found response
func (*GetShipmentsPaymentSITBalanceNotFound) WriteResponse ¶
func (o *GetShipmentsPaymentSITBalanceNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetShipmentsPaymentSITBalanceOK ¶
type GetShipmentsPaymentSITBalanceOK struct { /* In: Body */ Payload ghcmessages.ShipmentsPaymentSITBalance `json:"body,omitempty"` }
GetShipmentsPaymentSITBalanceOK Successfully retrieved shipments and their SIT days balance from all payment requests on the move
swagger:response getShipmentsPaymentSITBalanceOK
func NewGetShipmentsPaymentSITBalanceOK ¶
func NewGetShipmentsPaymentSITBalanceOK() *GetShipmentsPaymentSITBalanceOK
NewGetShipmentsPaymentSITBalanceOK creates GetShipmentsPaymentSITBalanceOK with default headers values
func (*GetShipmentsPaymentSITBalanceOK) SetPayload ¶
func (o *GetShipmentsPaymentSITBalanceOK) SetPayload(payload ghcmessages.ShipmentsPaymentSITBalance)
SetPayload sets the payload to the get shipments payment s i t balance o k response
func (*GetShipmentsPaymentSITBalanceOK) WithPayload ¶
func (o *GetShipmentsPaymentSITBalanceOK) WithPayload(payload ghcmessages.ShipmentsPaymentSITBalance) *GetShipmentsPaymentSITBalanceOK
WithPayload adds the payload to the get shipments payment s i t balance o k response
func (*GetShipmentsPaymentSITBalanceOK) WriteResponse ¶
func (o *GetShipmentsPaymentSITBalanceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetShipmentsPaymentSITBalanceParams ¶
type GetShipmentsPaymentSITBalanceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*payment request ID of the payment request with SIT service items being reviewed Required: true In: path */ PaymentRequestID strfmt.UUID }
GetShipmentsPaymentSITBalanceParams contains all the bound params for the get shipments payment s i t balance operation typically these are obtained from a http.Request
swagger:parameters getShipmentsPaymentSITBalance
func NewGetShipmentsPaymentSITBalanceParams ¶
func NewGetShipmentsPaymentSITBalanceParams() GetShipmentsPaymentSITBalanceParams
NewGetShipmentsPaymentSITBalanceParams creates a new GetShipmentsPaymentSITBalanceParams object
There are no default values defined in the spec.
func (*GetShipmentsPaymentSITBalanceParams) BindRequest ¶
func (o *GetShipmentsPaymentSITBalanceParams) 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 NewGetShipmentsPaymentSITBalanceParams() beforehand.
type GetShipmentsPaymentSITBalanceURL ¶
type GetShipmentsPaymentSITBalanceURL struct { PaymentRequestID strfmt.UUID // contains filtered or unexported fields }
GetShipmentsPaymentSITBalanceURL generates an URL for the get shipments payment s i t balance operation
func (*GetShipmentsPaymentSITBalanceURL) Build ¶
func (o *GetShipmentsPaymentSITBalanceURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetShipmentsPaymentSITBalanceURL) BuildFull ¶
func (o *GetShipmentsPaymentSITBalanceURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetShipmentsPaymentSITBalanceURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetShipmentsPaymentSITBalanceURL) SetBasePath ¶
func (o *GetShipmentsPaymentSITBalanceURL) 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 (*GetShipmentsPaymentSITBalanceURL) String ¶
func (o *GetShipmentsPaymentSITBalanceURL) String() string
String returns the string representation of the path with query string
func (*GetShipmentsPaymentSITBalanceURL) StringFull ¶
func (o *GetShipmentsPaymentSITBalanceURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetShipmentsPaymentSITBalanceURL) WithBasePath ¶
func (o *GetShipmentsPaymentSITBalanceURL) WithBasePath(bp string) *GetShipmentsPaymentSITBalanceURL
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 GetShipmentsPaymentSITBalanceUnprocessableEntity ¶
type GetShipmentsPaymentSITBalanceUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
GetShipmentsPaymentSITBalanceUnprocessableEntity The payload was unprocessable.
swagger:response getShipmentsPaymentSITBalanceUnprocessableEntity
func NewGetShipmentsPaymentSITBalanceUnprocessableEntity ¶
func NewGetShipmentsPaymentSITBalanceUnprocessableEntity() *GetShipmentsPaymentSITBalanceUnprocessableEntity
NewGetShipmentsPaymentSITBalanceUnprocessableEntity creates GetShipmentsPaymentSITBalanceUnprocessableEntity with default headers values
func (*GetShipmentsPaymentSITBalanceUnprocessableEntity) SetPayload ¶
func (o *GetShipmentsPaymentSITBalanceUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the get shipments payment s i t balance unprocessable entity response
func (*GetShipmentsPaymentSITBalanceUnprocessableEntity) WithPayload ¶
func (o *GetShipmentsPaymentSITBalanceUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *GetShipmentsPaymentSITBalanceUnprocessableEntity
WithPayload adds the payload to the get shipments payment s i t balance unprocessable entity response
func (*GetShipmentsPaymentSITBalanceUnprocessableEntity) WriteResponse ¶
func (o *GetShipmentsPaymentSITBalanceUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdatePaymentRequestStatus ¶
type UpdatePaymentRequestStatus struct { Context *middleware.Context Handler UpdatePaymentRequestStatusHandler }
UpdatePaymentRequestStatus swagger:route PATCH /payment-requests/{paymentRequestID}/status paymentRequests updatePaymentRequestStatus
Updates status of a payment request by id ¶
Updates status of a payment request by id
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 ¶
func (o *UpdatePaymentRequestStatus) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdatePaymentRequestStatusBadRequest ¶
type UpdatePaymentRequestStatusBadRequest struct { /* In: Body */ Payload *ghcmessages.Error `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 ¶
func (o *UpdatePaymentRequestStatusBadRequest) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update payment request status bad request response
func (*UpdatePaymentRequestStatusBadRequest) WithPayload ¶
func (o *UpdatePaymentRequestStatusBadRequest) WithPayload(payload *ghcmessages.Error) *UpdatePaymentRequestStatusBadRequest
WithPayload adds the payload to the update payment request status bad request response
func (*UpdatePaymentRequestStatusBadRequest) WriteResponse ¶
func (o *UpdatePaymentRequestStatusBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdatePaymentRequestStatusForbidden ¶
type UpdatePaymentRequestStatusForbidden struct { /* In: Body */ Payload *ghcmessages.Error `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 ¶
func (o *UpdatePaymentRequestStatusForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update payment request status forbidden response
func (*UpdatePaymentRequestStatusForbidden) WithPayload ¶
func (o *UpdatePaymentRequestStatusForbidden) WithPayload(payload *ghcmessages.Error) *UpdatePaymentRequestStatusForbidden
WithPayload adds the payload to the update payment request status forbidden response
func (*UpdatePaymentRequestStatusForbidden) WriteResponse ¶
func (o *UpdatePaymentRequestStatusForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (fn UpdatePaymentRequestStatusHandlerFunc) Handle(params UpdatePaymentRequestStatusParams) middleware.Responder
Handle executing the request and returning a response
type UpdatePaymentRequestStatusInternalServerError ¶
type UpdatePaymentRequestStatusInternalServerError struct { /* In: Body */ Payload *ghcmessages.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 ¶
func (o *UpdatePaymentRequestStatusInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update payment request status internal server error response
func (*UpdatePaymentRequestStatusInternalServerError) WithPayload ¶
func (o *UpdatePaymentRequestStatusInternalServerError) WithPayload(payload *ghcmessages.Error) *UpdatePaymentRequestStatusInternalServerError
WithPayload adds the payload to the update payment request status internal server error response
func (*UpdatePaymentRequestStatusInternalServerError) WriteResponse ¶
func (o *UpdatePaymentRequestStatusInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdatePaymentRequestStatusNotFound ¶
type UpdatePaymentRequestStatusNotFound struct { /* In: Body */ Payload *ghcmessages.Error `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 ¶
func (o *UpdatePaymentRequestStatusNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update payment request status not found response
func (*UpdatePaymentRequestStatusNotFound) WithPayload ¶
func (o *UpdatePaymentRequestStatusNotFound) WithPayload(payload *ghcmessages.Error) *UpdatePaymentRequestStatusNotFound
WithPayload adds the payload to the update payment request status not found response
func (*UpdatePaymentRequestStatusNotFound) WriteResponse ¶
func (o *UpdatePaymentRequestStatusNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdatePaymentRequestStatusOK ¶
type UpdatePaymentRequestStatusOK struct { /* In: Body */ Payload *ghcmessages.PaymentRequest `json:"body,omitempty"` }
UpdatePaymentRequestStatusOK updated payment request
swagger:response updatePaymentRequestStatusOK
func NewUpdatePaymentRequestStatusOK ¶
func NewUpdatePaymentRequestStatusOK() *UpdatePaymentRequestStatusOK
NewUpdatePaymentRequestStatusOK creates UpdatePaymentRequestStatusOK with default headers values
func (*UpdatePaymentRequestStatusOK) SetPayload ¶
func (o *UpdatePaymentRequestStatusOK) SetPayload(payload *ghcmessages.PaymentRequest)
SetPayload sets the payload to the update payment request status o k response
func (*UpdatePaymentRequestStatusOK) WithPayload ¶
func (o *UpdatePaymentRequestStatusOK) WithPayload(payload *ghcmessages.PaymentRequest) *UpdatePaymentRequestStatusOK
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:"-"` /* Required: true In: header */ IfMatch string /* Required: true In: body */ Body *ghcmessages.UpdatePaymentRequestStatusPayload /*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 ¶
func (o *UpdatePaymentRequestStatusParams) 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 NewUpdatePaymentRequestStatusParams() beforehand.
type UpdatePaymentRequestStatusPreconditionFailed ¶
type UpdatePaymentRequestStatusPreconditionFailed struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdatePaymentRequestStatusPreconditionFailed Precondition failed
swagger:response updatePaymentRequestStatusPreconditionFailed
func NewUpdatePaymentRequestStatusPreconditionFailed ¶
func NewUpdatePaymentRequestStatusPreconditionFailed() *UpdatePaymentRequestStatusPreconditionFailed
NewUpdatePaymentRequestStatusPreconditionFailed creates UpdatePaymentRequestStatusPreconditionFailed with default headers values
func (*UpdatePaymentRequestStatusPreconditionFailed) SetPayload ¶
func (o *UpdatePaymentRequestStatusPreconditionFailed) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update payment request status precondition failed response
func (*UpdatePaymentRequestStatusPreconditionFailed) WithPayload ¶
func (o *UpdatePaymentRequestStatusPreconditionFailed) WithPayload(payload *ghcmessages.Error) *UpdatePaymentRequestStatusPreconditionFailed
WithPayload adds the payload to the update payment request status precondition failed response
func (*UpdatePaymentRequestStatusPreconditionFailed) WriteResponse ¶
func (o *UpdatePaymentRequestStatusPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
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 ¶
func (o *UpdatePaymentRequestStatusURL) String() 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 ¶
func (o *UpdatePaymentRequestStatusURL) WithBasePath(bp string) *UpdatePaymentRequestStatusURL
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 { ghcmessages.Error `json:"body,omitempty"` }Payload *
UpdatePaymentRequestStatusUnauthorized The request was denied
swagger:response updatePaymentRequestStatusUnauthorized
func NewUpdatePaymentRequestStatusUnauthorized ¶
func NewUpdatePaymentRequestStatusUnauthorized() *UpdatePaymentRequestStatusUnauthorized
NewUpdatePaymentRequestStatusUnauthorized creates UpdatePaymentRequestStatusUnauthorized with default headers values
func (*UpdatePaymentRequestStatusUnauthorized) SetPayload ¶
func (o *UpdatePaymentRequestStatusUnauthorized) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update payment request status unauthorized response
func (*UpdatePaymentRequestStatusUnauthorized) WithPayload ¶
func (o *UpdatePaymentRequestStatusUnauthorized) WithPayload(payload *ghcmessages.Error) *UpdatePaymentRequestStatusUnauthorized
WithPayload adds the payload to the update payment request status unauthorized response
func (*UpdatePaymentRequestStatusUnauthorized) WriteResponse ¶
func (o *UpdatePaymentRequestStatusUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdatePaymentRequestStatusUnprocessableEntity ¶
type UpdatePaymentRequestStatusUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.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 ¶
func (o *UpdatePaymentRequestStatusUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the update payment request status unprocessable entity response
func (*UpdatePaymentRequestStatusUnprocessableEntity) WithPayload ¶
func (o *UpdatePaymentRequestStatusUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *UpdatePaymentRequestStatusUnprocessableEntity
WithPayload adds the payload to the update payment request status unprocessable entity response
func (*UpdatePaymentRequestStatusUnprocessableEntity) WriteResponse ¶
func (o *UpdatePaymentRequestStatusUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- bulk_download.go
- bulk_download_parameters.go
- bulk_download_responses.go
- bulk_download_urlbuilder.go
- get_payment_request.go
- get_payment_request_parameters.go
- get_payment_request_responses.go
- get_payment_request_urlbuilder.go
- get_payment_requests_for_move.go
- get_payment_requests_for_move_parameters.go
- get_payment_requests_for_move_responses.go
- get_payment_requests_for_move_urlbuilder.go
- get_shipments_payment_s_i_t_balance.go
- get_shipments_payment_s_i_t_balance_parameters.go
- get_shipments_payment_s_i_t_balance_responses.go
- get_shipments_payment_s_i_t_balance_urlbuilder.go
- update_payment_request_status.go
- update_payment_request_status_parameters.go
- update_payment_request_status_responses.go
- update_payment_request_status_urlbuilder.go