payment_requests

package
v0.0.0-...-c407d37 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const GetPaymentRequestBadRequestCode int = 400

GetPaymentRequestBadRequestCode is the HTTP code returned for type GetPaymentRequestBadRequest

View Source
const GetPaymentRequestForbiddenCode int = 403

GetPaymentRequestForbiddenCode is the HTTP code returned for type GetPaymentRequestForbidden

View Source
const GetPaymentRequestInternalServerErrorCode int = 500

GetPaymentRequestInternalServerErrorCode is the HTTP code returned for type GetPaymentRequestInternalServerError

View Source
const GetPaymentRequestNotFoundCode int = 404

GetPaymentRequestNotFoundCode is the HTTP code returned for type GetPaymentRequestNotFound

View Source
const GetPaymentRequestOKCode int = 200

GetPaymentRequestOKCode is the HTTP code returned for type GetPaymentRequestOK

View Source
const GetPaymentRequestUnauthorizedCode int = 401

GetPaymentRequestUnauthorizedCode is the HTTP code returned for type GetPaymentRequestUnauthorized

View Source
const GetPaymentRequestsForMoveForbiddenCode int = 403

GetPaymentRequestsForMoveForbiddenCode is the HTTP code returned for type GetPaymentRequestsForMoveForbidden

View Source
const GetPaymentRequestsForMoveInternalServerErrorCode int = 500

GetPaymentRequestsForMoveInternalServerErrorCode is the HTTP code returned for type GetPaymentRequestsForMoveInternalServerError

View Source
const GetPaymentRequestsForMoveNotFoundCode int = 404

GetPaymentRequestsForMoveNotFoundCode is the HTTP code returned for type GetPaymentRequestsForMoveNotFound

View Source
const GetPaymentRequestsForMoveOKCode int = 200

GetPaymentRequestsForMoveOKCode is the HTTP code returned for type GetPaymentRequestsForMoveOK

View Source
const GetPaymentRequestsForMoveUnprocessableEntityCode int = 422

GetPaymentRequestsForMoveUnprocessableEntityCode is the HTTP code returned for type GetPaymentRequestsForMoveUnprocessableEntity

View Source
const GetShipmentsPaymentSITBalanceForbiddenCode int = 403

GetShipmentsPaymentSITBalanceForbiddenCode is the HTTP code returned for type GetShipmentsPaymentSITBalanceForbidden

View Source
const GetShipmentsPaymentSITBalanceInternalServerErrorCode int = 500

GetShipmentsPaymentSITBalanceInternalServerErrorCode is the HTTP code returned for type GetShipmentsPaymentSITBalanceInternalServerError

View Source
const GetShipmentsPaymentSITBalanceNotFoundCode int = 404

GetShipmentsPaymentSITBalanceNotFoundCode is the HTTP code returned for type GetShipmentsPaymentSITBalanceNotFound

View Source
const GetShipmentsPaymentSITBalanceOKCode int = 200

GetShipmentsPaymentSITBalanceOKCode is the HTTP code returned for type GetShipmentsPaymentSITBalanceOK

View Source
const GetShipmentsPaymentSITBalanceUnprocessableEntityCode int = 422

GetShipmentsPaymentSITBalanceUnprocessableEntityCode is the HTTP code returned for type GetShipmentsPaymentSITBalanceUnprocessableEntity

View Source
const UpdatePaymentRequestStatusBadRequestCode int = 400

UpdatePaymentRequestStatusBadRequestCode is the HTTP code returned for type UpdatePaymentRequestStatusBadRequest

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 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

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

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

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

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

func (*GetPaymentRequestInternalServerError) WriteResponse

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

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

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

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

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 {

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

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

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

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

WithPayload adds the payload to the get payment requests for move forbidden response

func (*GetPaymentRequestsForMoveForbidden) WriteResponse

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

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

SetPayload sets the payload to the get payment requests for move internal server error response

func (*GetPaymentRequestsForMoveInternalServerError) WithPayload

WithPayload adds the payload to the get payment requests for move internal server error response

func (*GetPaymentRequestsForMoveInternalServerError) WriteResponse

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

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

SetPayload sets the payload to the get payment requests for move o k response

func (*GetPaymentRequestsForMoveOK) WithPayload

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

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

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

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

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

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

SetPayload sets the payload to the get payment requests for move unprocessable entity response

func (*GetPaymentRequestsForMoveUnprocessableEntity) WithPayload

WithPayload adds the payload to the get payment requests for move unprocessable entity response

func (*GetPaymentRequestsForMoveUnprocessableEntity) WriteResponse

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

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

SetPayload sets the payload to the get shipments payment s i t balance forbidden response

func (*GetShipmentsPaymentSITBalanceForbidden) WithPayload

WithPayload adds the payload to the get shipments payment s i t balance forbidden response

func (*GetShipmentsPaymentSITBalanceForbidden) WriteResponse

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

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

SetPayload sets the payload to the get shipments payment s i t balance internal server error response

func (*GetShipmentsPaymentSITBalanceInternalServerError) WithPayload

WithPayload adds the payload to the get shipments payment s i t balance internal server error response

func (*GetShipmentsPaymentSITBalanceInternalServerError) WriteResponse

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

SetPayload sets the payload to the get shipments payment s i t balance not found response

func (*GetShipmentsPaymentSITBalanceNotFound) WithPayload

WithPayload adds the payload to the get shipments payment s i t balance not found response

func (*GetShipmentsPaymentSITBalanceNotFound) WriteResponse

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

SetPayload sets the payload to the get shipments payment s i t balance o k response

func (*GetShipmentsPaymentSITBalanceOK) WithPayload

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

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

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

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

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

SetPayload sets the payload to the get shipments payment s i t balance unprocessable entity response

func (*GetShipmentsPaymentSITBalanceUnprocessableEntity) WithPayload

WithPayload adds the payload to the get shipments payment s i t balance unprocessable entity response

func (*GetShipmentsPaymentSITBalanceUnprocessableEntity) WriteResponse

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

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

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

func (*UpdatePaymentRequestStatusBadRequest) WriteResponse

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

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 *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

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 *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

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 *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

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:"-"`

	/*
	  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

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

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 *ghcmessages.Error `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 *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

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