Documentation ¶
Index ¶
- func NewSupportAPIHandler(handlerConfig handlers.HandlerConfig) http.Handler
- type CreateMoveTaskOrderHandler
- type CreateWebhookNotificationHandler
- type GetMoveTaskOrderHandlerFunc
- type GetPaymentRequestEDIHandler
- type HideNonFakeMoveTaskOrdersHandlerFunc
- type ListMTOPaymentRequestsHandler
- type ListMTOsHandler
- type MakeMoveTaskOrderAvailableHandlerFunc
- type ProcessReviewedPaymentRequestsHandler
- type RecalculatePaymentRequestHandler
- type ReceiveWebhookNotificationHandler
- type UpdateMTOServiceItemStatusHandler
- type UpdateMTOShipmentStatusHandlerFunc
- type UpdatePaymentRequestStatusHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSupportAPIHandler ¶
func NewSupportAPIHandler(handlerConfig handlers.HandlerConfig) http.Handler
NewSupportAPIHandler returns a handler for the Prime API
Types ¶
type CreateMoveTaskOrderHandler ¶
type CreateMoveTaskOrderHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
CreateMoveTaskOrderHandler creates a move task order
func (CreateMoveTaskOrderHandler) Handle ¶
func (h CreateMoveTaskOrderHandler) Handle(params movetaskorderops.CreateMoveTaskOrderParams) middleware.Responder
Handle updates to move task order post-counseling
type CreateWebhookNotificationHandler ¶
type CreateWebhookNotificationHandler struct {
handlers.HandlerConfig
}
CreateWebhookNotificationHandler is the interface to handle the createWebhookNotification
func (CreateWebhookNotificationHandler) Handle ¶
func (h CreateWebhookNotificationHandler) Handle(params webhookops.CreateWebhookNotificationParams) middleware.Responder
Handle handles the endpoint request to the createWebhookNotification handler
type GetMoveTaskOrderHandlerFunc ¶
type GetMoveTaskOrderHandlerFunc struct { handlers.HandlerConfig // contains filtered or unexported fields }
GetMoveTaskOrderHandlerFunc returns the details for a particular Move Task Order
func (GetMoveTaskOrderHandlerFunc) Handle ¶
func (h GetMoveTaskOrderHandlerFunc) Handle(params movetaskorderops.GetMoveTaskOrderParams) middleware.Responder
Handle fetches an MTO from the database using its UUID
type GetPaymentRequestEDIHandler ¶
type GetPaymentRequestEDIHandler struct { handlers.HandlerConfig services.PaymentRequestFetcher services.GHCPaymentRequestInvoiceGenerator }
GetPaymentRequestEDIHandler returns the EDI for a given payment request
func (GetPaymentRequestEDIHandler) Handle ¶
func (h GetPaymentRequestEDIHandler) Handle(params paymentrequestop.GetPaymentRequestEDIParams) middleware.Responder
Handle getting the EDI for a given payment request
type HideNonFakeMoveTaskOrdersHandlerFunc ¶
type HideNonFakeMoveTaskOrdersHandlerFunc struct { handlers.HandlerConfig services.MoveTaskOrderHider }
HideNonFakeMoveTaskOrdersHandlerFunc calls service to hide MTOs that are not using fake data
func (HideNonFakeMoveTaskOrdersHandlerFunc) Handle ¶
func (h HideNonFakeMoveTaskOrdersHandlerFunc) Handle(params movetaskorderops.HideNonFakeMoveTaskOrdersParams) middleware.Responder
Handle hides any mto that doesnt have valid fake data
type ListMTOPaymentRequestsHandler ¶
type ListMTOPaymentRequestsHandler struct {
handlers.HandlerConfig
}
ListMTOPaymentRequestsHandler gets all payment requests for a given MTO
func (ListMTOPaymentRequestsHandler) Handle ¶
func (h ListMTOPaymentRequestsHandler) Handle(params paymentrequestop.ListMTOPaymentRequestsParams) middleware.Responder
Handle getting payment requests for a given MTO
type ListMTOsHandler ¶
type ListMTOsHandler struct { handlers.HandlerConfig services.MoveTaskOrderFetcher }
ListMTOsHandler lists move task orders with the option to filter since a particular date
func (ListMTOsHandler) Handle ¶
func (h ListMTOsHandler) Handle(params movetaskorderops.ListMTOsParams) middleware.Responder
Handle fetches all move task orders with the option to filter since a particular date
type MakeMoveTaskOrderAvailableHandlerFunc ¶
type MakeMoveTaskOrderAvailableHandlerFunc struct { handlers.HandlerConfig // contains filtered or unexported fields }
MakeMoveTaskOrderAvailableHandlerFunc updates the status of a Move Task Order
func (MakeMoveTaskOrderAvailableHandlerFunc) Handle ¶
func (h MakeMoveTaskOrderAvailableHandlerFunc) Handle(params movetaskorderops.MakeMoveTaskOrderAvailableParams) middleware.Responder
Handle updates the prime availability of a MoveTaskOrder
type ProcessReviewedPaymentRequestsHandler ¶
type ProcessReviewedPaymentRequestsHandler struct { handlers.HandlerConfig services.PaymentRequestFetcher services.PaymentRequestReviewedFetcher services.PaymentRequestStatusUpdater }
ProcessReviewedPaymentRequestsHandler returns the EDI for a given payment request
func (ProcessReviewedPaymentRequestsHandler) Handle ¶
func (h ProcessReviewedPaymentRequestsHandler) Handle(params paymentrequestop.ProcessReviewedPaymentRequestsParams) middleware.Responder
Handle getting the EDI for a given payment request
type RecalculatePaymentRequestHandler ¶
type RecalculatePaymentRequestHandler struct { handlers.HandlerConfig services.PaymentRequestRecalculator }
RecalculatePaymentRequestHandler recalculates a payment request
func (RecalculatePaymentRequestHandler) Handle ¶
func (h RecalculatePaymentRequestHandler) Handle(params paymentrequestop.RecalculatePaymentRequestParams) middleware.Responder
Handle getting the EDI for a given payment request
type ReceiveWebhookNotificationHandler ¶
type ReceiveWebhookNotificationHandler struct {
handlers.HandlerConfig
}
ReceiveWebhookNotificationHandler passes through a message
func (ReceiveWebhookNotificationHandler) Handle ¶
func (h ReceiveWebhookNotificationHandler) Handle(params webhookops.ReceiveWebhookNotificationParams) middleware.Responder
Handle receipt of message
type UpdateMTOServiceItemStatusHandler ¶
type UpdateMTOServiceItemStatusHandler struct { handlers.HandlerConfig services.MTOServiceItemUpdater }
UpdateMTOServiceItemStatusHandler patches shipments
func (UpdateMTOServiceItemStatusHandler) Handle ¶
func (h UpdateMTOServiceItemStatusHandler) Handle(params mtoserviceitemops.UpdateMTOServiceItemStatusParams) middleware.Responder
Handle updates mto server item statuses
type UpdateMTOShipmentStatusHandlerFunc ¶
type UpdateMTOShipmentStatusHandlerFunc struct { handlers.HandlerConfig services.Fetcher services.MTOShipmentStatusUpdater }
UpdateMTOShipmentStatusHandlerFunc updates the status of a MTO Shipment
func (UpdateMTOShipmentStatusHandlerFunc) Handle ¶
func (h UpdateMTOShipmentStatusHandlerFunc) Handle(params mtoshipmentops.UpdateMTOShipmentStatusParams) middleware.Responder
Handle updates the status of a MTO Shipment
type UpdatePaymentRequestStatusHandler ¶
type UpdatePaymentRequestStatusHandler struct { handlers.HandlerConfig services.PaymentRequestStatusUpdater services.PaymentRequestFetcher }
UpdatePaymentRequestStatusHandler updates payment requests status
func (UpdatePaymentRequestStatusHandler) Handle ¶
func (h UpdatePaymentRequestStatusHandler) Handle(params paymentrequestop.UpdatePaymentRequestStatusParams) middleware.Responder
Handle updates payment requests status