supportapi

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: 39 Imported by: 0

Documentation

Index

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

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

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

Handle fetches an MTO from the database using its UUID

type GetPaymentRequestEDIHandler

GetPaymentRequestEDIHandler returns the EDI for a given payment request

func (GetPaymentRequestEDIHandler) Handle

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

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

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

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

Handle updates the prime availability of a MoveTaskOrder

type ProcessReviewedPaymentRequestsHandler

ProcessReviewedPaymentRequestsHandler returns the EDI for a given payment request

func (ProcessReviewedPaymentRequestsHandler) Handle

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

Handle getting the EDI for a given payment request

type ReceiveWebhookNotificationHandler

type ReceiveWebhookNotificationHandler struct {
	handlers.HandlerConfig
}

ReceiveWebhookNotificationHandler passes through a message

func (ReceiveWebhookNotificationHandler) Handle

Handle receipt of message

type UpdateMTOServiceItemStatusHandler

type UpdateMTOServiceItemStatusHandler struct {
	handlers.HandlerConfig
	services.MTOServiceItemUpdater
}

UpdateMTOServiceItemStatusHandler patches shipments

func (UpdateMTOServiceItemStatusHandler) Handle

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

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

Handle updates payment requests status

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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