Documentation ¶
Index ¶
- func NewGhcAPIHandler(handlerConfig handlers.HandlerConfig) *ghcops.MymoveAPI
- func PayloadForOrdersModel(order models.Order) (*ghcmessages.OrderBody, error)
- type AcknowledgeExcessWeightRiskHandler
- type ApproveSITExtensionHandler
- type ApproveShipmentDiversionHandler
- type ApproveShipmentHandler
- type AssociateReportViolationsHandler
- type CounselingUpdateAllowanceHandler
- type CounselingUpdateOrderHandler
- type CreateApprovedSITDurationUpdateHandler
- type CreateCustomerSupportRemarksHandler
- type CreateCustomerWithOktaOptionHandler
- type CreateEvaluationReportHandler
- type CreateMTOShipmentHandler
- type CreateOrderHandler
- type CreateUploadHandler
- type DeleteCustomerSupportRemarkHandler
- type DeleteEvaluationReportHandler
- type DeleteShipmentHandler
- type DenySITExtensionHandler
- type DownloadEvaluationReportHandler
- type FilterOption
- type FinishDocumentReviewHandler
- type GetCounselingEvaluationReportsHandler
- type GetCustomerHandler
- type GetDocumentHandler
- type GetEvaluationReportHandler
- type GetMTOServiceItemHandler
- type GetMTOShipmentHandler
- type GetMoveHandler
- type GetMoveHistoryHandler
- type GetMoveTaskOrderHandler
- type GetMovesQueueHandler
- type GetOrdersHandler
- type GetPPMActualWeightHandler
- type GetPPMCloseoutHandler
- type GetPPMDocumentsHandler
- type GetPWSViolationsHandler
- type GetPaymentRequestForMoveHandler
- type GetPaymentRequestHandler
- type GetPaymentRequestsQueueHandler
- type GetReportViolationsHandler
- type GetServicesCounselingQueueHandler
- type GetShipmentEvaluationReportsHandler
- type GetTransportationOfficesHandler
- type GetTransportationOfficesOpenHandler
- type ListCustomerSupportRemarksHandler
- type ListMTOAgentsHandler
- type ListMTOServiceItemsHandler
- type ListMTOShipmentsHandler
- type ListPrimeMovesHandler
- type RejectShipmentHandler
- type RequestShipmentCancellationHandler
- type RequestShipmentDiversionHandler
- type RequestShipmentReweighHandler
- type ReviewShipmentAddressUpdateHandler
- type SaveEvaluationReportHandler
- type SearchMovesHandler
- type SetFinancialReviewFlagHandler
- type ShipmentsSITBalanceHandler
- type ShowPaymentPacketHandler
- type SubmitEvaluationReportHandler
- type TacValidationHandler
- type UpdateAllowanceHandler
- type UpdateBillableWeightHandler
- type UpdateCustomerHandler
- type UpdateCustomerSupportRemarkHandler
- type UpdateMTOReviewedBillableWeightsAtHandlerFunc
- type UpdateMTOServiceItemStatusHandler
- type UpdateMTOStatusServiceCounselingCompletedHandlerFunc
- type UpdateMaxBillableWeightAsTIOHandler
- type UpdateMoveCloseoutOfficeHandler
- type UpdateMoveTIORemarksHandlerFunc
- type UpdateMoveTaskOrderStatusHandlerFunc
- type UpdateMovingExpenseHandler
- type UpdateOrderHandler
- type UpdatePaymentRequestStatusHandler
- type UpdatePaymentServiceItemStatusHandler
- type UpdateProgearWeightTicketHandler
- type UpdateSITServiceItemCustomerExpenseHandler
- type UpdateServiceItemSitEntryDateHandler
- type UpdateShipmentHandler
- type UpdateWeightTicketHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGhcAPIHandler ¶
func NewGhcAPIHandler(handlerConfig handlers.HandlerConfig) *ghcops.MymoveAPI
NewGhcAPIHandler returns a handler for the GHC API
func PayloadForOrdersModel ¶
func PayloadForOrdersModel(order models.Order) (*ghcmessages.OrderBody, error)
Types ¶
type AcknowledgeExcessWeightRiskHandler ¶
type AcknowledgeExcessWeightRiskHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
AcknowledgeExcessWeightRiskHandler is called when a TOO dismissed the alert to acknowledge the excess weight risk via POST /orders/{orderId}/acknowledge-excess-weight-risk
func (AcknowledgeExcessWeightRiskHandler) Handle ¶
func (h AcknowledgeExcessWeightRiskHandler) Handle( params orderop.AcknowledgeExcessWeightRiskParams, ) middleware.Responder
Handle ... updates the authorized weight
type ApproveSITExtensionHandler ¶
type ApproveSITExtensionHandler struct { handlers.HandlerConfig services.SITExtensionApprover services.ShipmentSITStatus }
ApproveSITExtensionHandler approves a SIT extension
func (ApproveSITExtensionHandler) Handle ¶
func (h ApproveSITExtensionHandler) Handle(params shipmentops.ApproveSITExtensionParams) middleware.Responder
Handle ... approves the SIT extension
type ApproveShipmentDiversionHandler ¶
type ApproveShipmentDiversionHandler struct { handlers.HandlerConfig services.ShipmentDiversionApprover services.ShipmentSITStatus }
ApproveShipmentDiversionHandler approves a shipment diversion
func (ApproveShipmentDiversionHandler) Handle ¶
func (h ApproveShipmentDiversionHandler) Handle(params shipmentops.ApproveShipmentDiversionParams) middleware.Responder
Handle approves a shipment diversion
type ApproveShipmentHandler ¶
type ApproveShipmentHandler struct { handlers.HandlerConfig services.ShipmentApprover services.ShipmentSITStatus }
ApproveShipmentHandler approves a shipment
func (ApproveShipmentHandler) Handle ¶
func (h ApproveShipmentHandler) Handle(params shipmentops.ApproveShipmentParams) middleware.Responder
Handle approves a shipment
type AssociateReportViolationsHandler ¶
type AssociateReportViolationsHandler struct { handlers.HandlerConfig services.ReportViolationsCreator }
AssociateReportViolationsHandler is the struct report violations
func (AssociateReportViolationsHandler) Handle ¶
func (h AssociateReportViolationsHandler) Handle(params reportViolationop.AssociateReportViolationsParams) middleware.Responder
Handle is the handler for associating violations with reports
type CounselingUpdateAllowanceHandler ¶
type CounselingUpdateAllowanceHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
CounselingUpdateAllowanceHandler updates an order and entitlements via PATCH /counseling/orders/{orderId}/allowances
func (CounselingUpdateAllowanceHandler) Handle ¶
func (h CounselingUpdateAllowanceHandler) Handle( params orderop.CounselingUpdateAllowanceParams, ) middleware.Responder
Handle ... updates an order from a request payload
type CounselingUpdateOrderHandler ¶
type CounselingUpdateOrderHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
CounselingUpdateOrderHandler updates an order via PATCH /counseling/orders/{orderId}
func (CounselingUpdateOrderHandler) Handle ¶
func (h CounselingUpdateOrderHandler) Handle( params orderop.CounselingUpdateOrderParams, ) middleware.Responder
Handle ... updates an order as requested by a services counselor
type CreateApprovedSITDurationUpdateHandler ¶
type CreateApprovedSITDurationUpdateHandler struct { handlers.HandlerConfig services.ApprovedSITDurationUpdateCreator services.ShipmentSITStatus }
CreateApprovedSITDurationUpdateHandler creates a SIT Duration Update in the approved state
func (CreateApprovedSITDurationUpdateHandler) Handle ¶
func (h CreateApprovedSITDurationUpdateHandler) Handle(params shipmentops.CreateApprovedSITDurationUpdateParams) middleware.Responder
Handle creates the approved SIT extension
type CreateCustomerSupportRemarksHandler ¶
type CreateCustomerSupportRemarksHandler struct { handlers.HandlerConfig services.CustomerSupportRemarksCreator }
type CreateCustomerWithOktaOptionHandler ¶
type CreateCustomerWithOktaOptionHandler struct {
handlers.HandlerConfig
}
func (CreateCustomerWithOktaOptionHandler) Handle ¶
func (h CreateCustomerWithOktaOptionHandler) Handle(params customercodeop.CreateCustomerWithOktaOptionParams) middleware.Responder
Handle creates a customer/serviceMember from a request payload
type CreateEvaluationReportHandler ¶
type CreateEvaluationReportHandler struct { handlers.HandlerConfig services.EvaluationReportCreator }
CreateEvaluationReport is the struct for creating an evaluation report
func (CreateEvaluationReportHandler) Handle ¶
func (h CreateEvaluationReportHandler) Handle(params evaluationReportop.CreateEvaluationReportParams) middleware.Responder
Handle is the handler for creating an evaluation report
type CreateMTOShipmentHandler ¶
type CreateMTOShipmentHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
CreateMTOShipmentHandler is the handler to create MTO shipments
func (CreateMTOShipmentHandler) Handle ¶
func (h CreateMTOShipmentHandler) Handle(params mtoshipmentops.CreateMTOShipmentParams) middleware.Responder
Handle creates the mto shipment
type CreateOrderHandler ¶
type CreateOrderHandler struct {
handlers.HandlerConfig
}
CounselingUpdateOrderHandler create an order via POST /orders
func (CreateOrderHandler) Handle ¶
func (h CreateOrderHandler) Handle(params orderop.CreateOrderParams) middleware.Responder
Handle ... creates an order as requested by a services counselor
type CreateUploadHandler ¶
type CreateUploadHandler struct {
handlers.HandlerConfig
}
func (CreateUploadHandler) Handle ¶
func (h CreateUploadHandler) Handle(params uploadop.CreateUploadParams) middleware.Responder
type DeleteCustomerSupportRemarkHandler ¶
type DeleteCustomerSupportRemarkHandler struct { handlers.HandlerConfig services.CustomerSupportRemarkDeleter }
func (DeleteCustomerSupportRemarkHandler) Handle ¶
func (h DeleteCustomerSupportRemarkHandler) Handle(params customersupportremarksop.DeleteCustomerSupportRemarkParams) middleware.Responder
type DeleteEvaluationReportHandler ¶
type DeleteEvaluationReportHandler struct { handlers.HandlerConfig services.EvaluationReportDeleter }
DeleteEvaluationReportHandler is the struct for soft deleting evaluation reports
func (DeleteEvaluationReportHandler) Handle ¶
func (h DeleteEvaluationReportHandler) Handle(params evaluationReportop.DeleteEvaluationReportParams) middleware.Responder
Handle is the handler function for soft deleting an evaluation report
type DeleteShipmentHandler ¶
type DeleteShipmentHandler struct { handlers.HandlerConfig services.ShipmentDeleter }
DeleteShipmentHandler soft deletes a shipment
func (DeleteShipmentHandler) Handle ¶
func (h DeleteShipmentHandler) Handle(params shipmentops.DeleteShipmentParams) middleware.Responder
Handle soft deletes a shipment
type DenySITExtensionHandler ¶
type DenySITExtensionHandler struct { handlers.HandlerConfig services.SITExtensionDenier services.ShipmentSITStatus }
DenySITExtensionHandler denies a SIT extension
func (DenySITExtensionHandler) Handle ¶
func (h DenySITExtensionHandler) Handle(params shipmentops.DenySITExtensionParams) middleware.Responder
Handle ... denies the SIT extension
type DownloadEvaluationReportHandler ¶
type DownloadEvaluationReportHandler struct { handlers.HandlerConfig services.EvaluationReportFetcher services.MTOShipmentFetcher services.OrderFetcher services.ReportViolationFetcher }
DownloadEvaluationReportHandler is the struct for fetching an evaluation report by ID
func (DownloadEvaluationReportHandler) Handle ¶
func (h DownloadEvaluationReportHandler) Handle(params evaluationReportop.DownloadEvaluationReportParams) middleware.Responder
Handle is the handler for downloading an evaluation report by ID as a PDF
type FilterOption ¶
type FilterOption func(*pop.Query)
FilterOption defines the type for the functional arguments used for private functions in OrderFetcher
type FinishDocumentReviewHandler ¶
type FinishDocumentReviewHandler struct { handlers.HandlerConfig services.PPMShipmentReviewDocuments }
func (FinishDocumentReviewHandler) Handle ¶
func (h FinishDocumentReviewHandler) Handle(params ppmdocumentops.FinishDocumentReviewParams) middleware.Responder
Handle finishes a review for a PPM shipment's documents
type GetCounselingEvaluationReportsHandler ¶
type GetCounselingEvaluationReportsHandler struct { handlers.HandlerConfig services.EvaluationReportFetcher }
GetCounselingEvaluationReportsHandler gets a list of counseling evaluation reports for a given move
func (GetCounselingEvaluationReportsHandler) Handle ¶
func (h GetCounselingEvaluationReportsHandler) Handle(params moveop.GetMoveCounselingEvaluationReportsListParams) middleware.Responder
Handle handles GetCounselingEvaluationReports by move request
type GetCustomerHandler ¶
type GetCustomerHandler struct { handlers.HandlerConfig services.CustomerFetcher }
GetCustomerHandler fetches the information of a specific customer
func (GetCustomerHandler) Handle ¶
func (h GetCustomerHandler) Handle(params customercodeop.GetCustomerParams) middleware.Responder
Handle getting the information of a specific customer
type GetDocumentHandler ¶
type GetDocumentHandler struct {
handlers.HandlerConfig
}
GetDocumentHandler shows a document via GETT /documents/:document_id
func (GetDocumentHandler) Handle ¶
func (h GetDocumentHandler) Handle(params documentop.GetDocumentParams) middleware.Responder
Handle creates a new Document from a request payload
type GetEvaluationReportHandler ¶
type GetEvaluationReportHandler struct { handlers.HandlerConfig services.EvaluationReportFetcher }
GetEvaluationReportHandler is the struct for fetching an evaluation report by ID
func (GetEvaluationReportHandler) Handle ¶
func (h GetEvaluationReportHandler) Handle(params evaluationReportop.GetEvaluationReportParams) middleware.Responder
Handle is the handler for fetching an evaluation report by ID
type GetMTOServiceItemHandler ¶
type GetMTOServiceItemHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
GetMTOServiceItem returns an MTO Service item stored in the mto_service_items table requires a uuid to find the service item
func (GetMTOServiceItemHandler) Handle ¶
func (h GetMTOServiceItemHandler) Handle(params mtoserviceitemop.GetMTOServiceItemParams) middleware.Responder
type GetMTOShipmentHandler ¶
type GetMTOShipmentHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
GetMTOShipmentHandler is the handler to fetch a single MTO shipment by ID
func (GetMTOShipmentHandler) Handle ¶
func (h GetMTOShipmentHandler) Handle(params mtoshipmentops.GetShipmentParams) middleware.Responder
Handle handles the handling of fetching a single MTO shipment by ID.
type GetMoveHandler ¶
type GetMoveHandler struct { handlers.HandlerConfig services.MoveFetcher }
GetMoveHandler gets a move by locator
func (GetMoveHandler) Handle ¶
func (h GetMoveHandler) Handle(params moveop.GetMoveParams) middleware.Responder
Handle handles the getMove by locator request
type GetMoveHistoryHandler ¶
type GetMoveHistoryHandler struct { handlers.HandlerConfig services.MoveHistoryFetcher }
GetMoveHistoryHandler gets a move history by locator
func (GetMoveHistoryHandler) Handle ¶
func (h GetMoveHistoryHandler) Handle(params moveop.GetMoveHistoryParams) middleware.Responder
Handle handles the paged getMoveHistory by locator request
type GetMoveTaskOrderHandler ¶
type GetMoveTaskOrderHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
GetMoveTaskOrderHandler fetches a Move Task Order
func (GetMoveTaskOrderHandler) Handle ¶
func (h GetMoveTaskOrderHandler) Handle(params movetaskorderops.GetMoveTaskOrderParams) middleware.Responder
Handle fetches a single MoveTaskOrder
type GetMovesQueueHandler ¶
type GetMovesQueueHandler struct { handlers.HandlerConfig services.OrderFetcher }
GetMovesQueueHandler returns the moves for the TOO queue user via GET /queues/moves
func (GetMovesQueueHandler) Handle ¶
func (h GetMovesQueueHandler) Handle(params queues.GetMovesQueueParams) middleware.Responder
Handle returns the paginated list of moves for the TOO user
type GetOrdersHandler ¶
type GetOrdersHandler struct { handlers.HandlerConfig services.OrderFetcher }
GetOrdersHandler fetches the information of a specific order
func (GetOrdersHandler) Handle ¶
func (h GetOrdersHandler) Handle(params orderop.GetOrderParams) middleware.Responder
Handle getting the information of a specific order
type GetPPMActualWeightHandler ¶
type GetPPMActualWeightHandler struct { handlers.HandlerConfig services.PPMCloseoutFetcher // contains filtered or unexported fields }
func (GetPPMActualWeightHandler) Handle ¶
func (h GetPPMActualWeightHandler) Handle(params ppmcloseoutops.GetPPMActualWeightParams) middleware.Responder
Handle retrieves all calcuations for a PPM closeout
type GetPPMCloseoutHandler ¶
type GetPPMCloseoutHandler struct { handlers.HandlerConfig services.PPMCloseoutFetcher }
GetPPMCloseoutHandler is the handler that fetches all of the calculations for a PPM closeout for the office api
func (GetPPMCloseoutHandler) Handle ¶
func (h GetPPMCloseoutHandler) Handle(params ppmcloseoutops.GetPPMCloseoutParams) middleware.Responder
Handle retrieves all calcuations for a PPM closeout
type GetPPMDocumentsHandler ¶
type GetPPMDocumentsHandler struct { handlers.HandlerConfig services.PPMDocumentFetcher }
GetPPMDocumentsHandler is the handler that fetches all of the documents for a PPM shipment for the office api
func (GetPPMDocumentsHandler) Handle ¶
func (h GetPPMDocumentsHandler) Handle(params ppmdocumentops.GetPPMDocumentsParams) middleware.Responder
Handle retrieves all documents for a PPM shipment
type GetPWSViolationsHandler ¶
type GetPWSViolationsHandler struct { handlers.HandlerConfig services.PWSViolationsFetcher }
PWSViolationsHandler is a struct that describes getting PWS violations for evaluation reports
func (GetPWSViolationsHandler) Handle ¶
func (h GetPWSViolationsHandler) Handle(params pwsviolationsop.GetPWSViolationsParams) middleware.Responder
Handle handles the handling of getting PWS violations for evaluation reports
type GetPaymentRequestForMoveHandler ¶
type GetPaymentRequestForMoveHandler struct { handlers.HandlerConfig services.PaymentRequestListFetcher }
GetPaymentRequestForMoveHandler gets payment requests associated with a move
func (GetPaymentRequestForMoveHandler) Handle ¶
func (h GetPaymentRequestForMoveHandler) Handle( params paymentrequestop.GetPaymentRequestsForMoveParams, ) middleware.Responder
Handle handles the HTTP handling for GetPaymentRequestForMoveHandler
type GetPaymentRequestHandler ¶
type GetPaymentRequestHandler struct { handlers.HandlerConfig services.PaymentRequestFetcher }
GetPaymentRequestHandler gets payment requests
func (GetPaymentRequestHandler) Handle ¶
func (h GetPaymentRequestHandler) Handle( params paymentrequestop.GetPaymentRequestParams, ) middleware.Responder
Handle gets payment requests
type GetPaymentRequestsQueueHandler ¶
type GetPaymentRequestsQueueHandler struct { handlers.HandlerConfig services.PaymentRequestListFetcher }
GetPaymentRequestsQueueHandler returns the payment requests for the TIO queue user via GET /queues/payment-requests
func (GetPaymentRequestsQueueHandler) Handle ¶
func (h GetPaymentRequestsQueueHandler) Handle( params queues.GetPaymentRequestsQueueParams, ) middleware.Responder
Handle returns the paginated list of payment requests for the TIO user
type GetReportViolationsHandler ¶
type GetReportViolationsHandler struct { handlers.HandlerConfig services.ReportViolationFetcher }
Get gets a list of PWS violations for a report
func (GetReportViolationsHandler) Handle ¶
func (h GetReportViolationsHandler) Handle(params reportViolationop.GetReportViolationsByReportIDParams) middleware.Responder
Handle gets a list of PWS violations for a report
type GetServicesCounselingQueueHandler ¶
type GetServicesCounselingQueueHandler struct { handlers.HandlerConfig services.OrderFetcher }
GetServicesCounselingQueueHandler returns the moves for the Service Counselor queue user via GET /queues/counselor
func (GetServicesCounselingQueueHandler) Handle ¶
func (h GetServicesCounselingQueueHandler) Handle( params queues.GetServicesCounselingQueueParams, ) middleware.Responder
Handle returns the paginated list of moves for the services counselor
type GetShipmentEvaluationReportsHandler ¶
type GetShipmentEvaluationReportsHandler struct { handlers.HandlerConfig services.EvaluationReportFetcher }
GetShipmentEvaluationReportsHandler gets a list of shipment evaluation reports for a given move
func (GetShipmentEvaluationReportsHandler) Handle ¶
func (h GetShipmentEvaluationReportsHandler) Handle(params moveop.GetMoveShipmentEvaluationReportsListParams) middleware.Responder
Handle handles GetShipmentEvaluationReports by move request
type GetTransportationOfficesHandler ¶
type GetTransportationOfficesHandler struct { handlers.HandlerConfig services.TransportationOfficesFetcher }
func (GetTransportationOfficesHandler) Handle ¶
func (h GetTransportationOfficesHandler) Handle(params transportationofficeop.GetTransportationOfficesParams) middleware.Responder
type GetTransportationOfficesOpenHandler ¶
type GetTransportationOfficesOpenHandler struct { handlers.HandlerConfig services.TransportationOfficesFetcher }
func (GetTransportationOfficesOpenHandler) Handle ¶
func (h GetTransportationOfficesOpenHandler) Handle(params transportationofficeop.GetTransportationOfficesOpenParams) middleware.Responder
type ListCustomerSupportRemarksHandler ¶
type ListCustomerSupportRemarksHandler struct { handlers.HandlerConfig services.CustomerSupportRemarksFetcher }
ListCustomerSupportRemarksHandler is a struct that describes listing customer support remarks for a move
func (ListCustomerSupportRemarksHandler) Handle ¶
func (h ListCustomerSupportRemarksHandler) Handle(params customersupportremarksop.GetCustomerSupportRemarksForMoveParams) middleware.Responder
Handle handles the handling for getting a list of customer support remarks for a move
type ListMTOAgentsHandler ¶
type ListMTOAgentsHandler struct { handlers.HandlerConfig services.ListFetcher }
ListMTOAgentsHandler is a struct for the handler.
func (ListMTOAgentsHandler) Handle ¶
func (h ListMTOAgentsHandler) Handle(params mtoagentop.FetchMTOAgentListParams) middleware.Responder
Handle handles the handling for listing MTO Agents.
type ListMTOServiceItemsHandler ¶
type ListMTOServiceItemsHandler struct { handlers.HandlerConfig services.ListFetcher services.Fetcher }
ListMTOServiceItemsHandler struct that describes listing service items for the move task order
func (ListMTOServiceItemsHandler) Handle ¶
func (h ListMTOServiceItemsHandler) Handle(params mtoserviceitemop.ListMTOServiceItemsParams) middleware.Responder
Handle handler that lists mto service items for the move task order
type ListMTOShipmentsHandler ¶
type ListMTOShipmentsHandler struct { handlers.HandlerConfig services.MTOShipmentFetcher services.ShipmentSITStatus }
ListMTOShipmentsHandler returns a list of MTO Shipments
func (ListMTOShipmentsHandler) Handle ¶
func (h ListMTOShipmentsHandler) Handle(params mtoshipmentops.ListMTOShipmentsParams) middleware.Responder
Handle listing mto shipments for the move task order
type ListPrimeMovesHandler ¶
type ListPrimeMovesHandler struct { handlers.HandlerConfig services.MoveTaskOrderFetcher }
ListMovesHandler lists moves with the option to filter since a particular date. Optimized ver.
func (ListPrimeMovesHandler) Handle ¶
func (h ListPrimeMovesHandler) Handle(params queues.ListPrimeMovesParams) middleware.Responder
Handle fetches all moves with the option to filter since a particular date. Optimized version.
type RejectShipmentHandler ¶
type RejectShipmentHandler struct { handlers.HandlerConfig services.ShipmentRejecter }
RejectShipmentHandler rejects a shipment
func (RejectShipmentHandler) Handle ¶
func (h RejectShipmentHandler) Handle(params shipmentops.RejectShipmentParams) middleware.Responder
Handle rejects a shipment
type RequestShipmentCancellationHandler ¶
type RequestShipmentCancellationHandler struct { handlers.HandlerConfig services.ShipmentCancellationRequester services.ShipmentSITStatus }
RequestShipmentCancellationHandler Requests a shipment diversion
func (RequestShipmentCancellationHandler) Handle ¶
func (h RequestShipmentCancellationHandler) Handle(params shipmentops.RequestShipmentCancellationParams) middleware.Responder
Handle Requests a shipment diversion
type RequestShipmentDiversionHandler ¶
type RequestShipmentDiversionHandler struct { handlers.HandlerConfig services.ShipmentDiversionRequester services.ShipmentSITStatus }
RequestShipmentDiversionHandler Requests a shipment diversion
func (RequestShipmentDiversionHandler) Handle ¶
func (h RequestShipmentDiversionHandler) Handle(params shipmentops.RequestShipmentDiversionParams) middleware.Responder
Handle Requests a shipment diversion
type RequestShipmentReweighHandler ¶
type RequestShipmentReweighHandler struct { handlers.HandlerConfig services.ShipmentReweighRequester services.ShipmentSITStatus services.MTOShipmentUpdater }
RequestShipmentReweighHandler Requests a shipment reweigh
func (RequestShipmentReweighHandler) Handle ¶
func (h RequestShipmentReweighHandler) Handle(params shipmentops.RequestShipmentReweighParams) middleware.Responder
Handle Requests a shipment reweigh
type ReviewShipmentAddressUpdateHandler ¶
type ReviewShipmentAddressUpdateHandler struct { handlers.HandlerConfig services.ShipmentAddressUpdateRequester }
ReviewShipmentAddressUpdateHandler Reviews a shipment address change
func (ReviewShipmentAddressUpdateHandler) Handle ¶
func (h ReviewShipmentAddressUpdateHandler) Handle(params shipmentops.ReviewShipmentAddressUpdateParams) middleware.Responder
Handle ... reviews address update request
type SaveEvaluationReportHandler ¶
type SaveEvaluationReportHandler struct { handlers.HandlerConfig services.EvaluationReportUpdater }
func (SaveEvaluationReportHandler) Handle ¶
func (h SaveEvaluationReportHandler) Handle(params evaluationReportop.SaveEvaluationReportParams) middleware.Responder
type SearchMovesHandler ¶
type SearchMovesHandler struct { handlers.HandlerConfig services.MoveSearcher }
func (SearchMovesHandler) Handle ¶
func (h SearchMovesHandler) Handle(params moveop.SearchMovesParams) middleware.Responder
type SetFinancialReviewFlagHandler ¶
type SetFinancialReviewFlagHandler struct { handlers.HandlerConfig services.MoveFinancialReviewFlagSetter }
func (SetFinancialReviewFlagHandler) Handle ¶
func (h SetFinancialReviewFlagHandler) Handle(params moveop.SetFinancialReviewFlagParams) middleware.Responder
Handle flags a move for financial review
type ShipmentsSITBalanceHandler ¶
type ShipmentsSITBalanceHandler struct { handlers.HandlerConfig services.ShipmentsPaymentSITBalance }
ShipmentsSITBalanceHandler is the handler type for getShipmentsPaymentSITBalance
func (ShipmentsSITBalanceHandler) Handle ¶
func (h ShipmentsSITBalanceHandler) Handle( params paymentrequestop.GetShipmentsPaymentSITBalanceParams, ) middleware.Responder
Handle handles the getShipmentsPaymentSITBalance request
type ShowPaymentPacketHandler ¶
type ShowPaymentPacketHandler struct { handlers.HandlerConfig services.PaymentPacketCreator }
ShowPaymentPacketHandler returns a PPM Payment Packet PDF
func (ShowPaymentPacketHandler) Handle ¶
func (h ShowPaymentPacketHandler) Handle(params ppmdocumentops.ShowPaymentPacketParams) middleware.Responder
Handle returns a generated PDF
type SubmitEvaluationReportHandler ¶
type SubmitEvaluationReportHandler struct { handlers.HandlerConfig services.EvaluationReportUpdater }
func (SubmitEvaluationReportHandler) Handle ¶
func (h SubmitEvaluationReportHandler) Handle(params evaluationReportop.SubmitEvaluationReportParams) middleware.Responder
type TacValidationHandler ¶
type TacValidationHandler struct {
handlers.HandlerConfig
}
TacValidationHandler validates a TAC value
func (TacValidationHandler) Handle ¶
func (h TacValidationHandler) Handle(params tacop.TacValidationParams) middleware.Responder
Handle accepts the TAC value and returns a payload showing if it is valid
type UpdateAllowanceHandler ¶
type UpdateAllowanceHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
UpdateAllowanceHandler updates an order and entitlements via PATCH /orders/{orderId}/allowances
func (UpdateAllowanceHandler) Handle ¶
func (h UpdateAllowanceHandler) Handle(params orderop.UpdateAllowanceParams) middleware.Responder
Handle ... updates an order from a request payload
type UpdateBillableWeightHandler ¶
type UpdateBillableWeightHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
UpdateBillableWeightHandler updates the max billable weight on an order's entitlements via PATCH /orders/{orderId}/update-billable-weight
func (UpdateBillableWeightHandler) Handle ¶
func (h UpdateBillableWeightHandler) Handle( params orderop.UpdateBillableWeightParams, ) middleware.Responder
Handle ... updates the authorized weight
type UpdateCustomerHandler ¶
type UpdateCustomerHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
UpdateCustomerHandler updates a customer via PATCH /customer/{customerId}
func (UpdateCustomerHandler) Handle ¶
func (h UpdateCustomerHandler) Handle(params customercodeop.UpdateCustomerParams) middleware.Responder
Handle updates a customer from a request payload
type UpdateCustomerSupportRemarkHandler ¶
type UpdateCustomerSupportRemarkHandler struct { handlers.HandlerConfig services.CustomerSupportRemarkUpdater }
type UpdateMTOReviewedBillableWeightsAtHandlerFunc ¶
type UpdateMTOReviewedBillableWeightsAtHandlerFunc struct { handlers.HandlerConfig // contains filtered or unexported fields }
UpdateMTOReviewedBillableWeightsAtHandlerFunc provides timestamp for a Move's (MoveTaskOrder's) ReviewedBillableWeightsAt field
func (UpdateMTOReviewedBillableWeightsAtHandlerFunc) Handle ¶
func (h UpdateMTOReviewedBillableWeightsAtHandlerFunc) Handle(params movetaskorderops.UpdateMTOReviewedBillableWeightsAtParams) middleware.Responder
Handle updates the timestamp for a Move's (MoveTaskOrder's) ReviewedBillableWeightsAt field
type UpdateMTOServiceItemStatusHandler ¶
type UpdateMTOServiceItemStatusHandler struct { handlers.HandlerConfig services.MTOServiceItemUpdater services.Fetcher }
UpdateMTOServiceItemStatusHandler struct that describes updating service item status
func (UpdateMTOServiceItemStatusHandler) Handle ¶
func (h UpdateMTOServiceItemStatusHandler) Handle(params mtoserviceitemop.UpdateMTOServiceItemStatusParams) middleware.Responder
Handle handler that handles the handling for updating service item status
type UpdateMTOStatusServiceCounselingCompletedHandlerFunc ¶
type UpdateMTOStatusServiceCounselingCompletedHandlerFunc struct { handlers.HandlerConfig // contains filtered or unexported fields }
UpdateMTOStatusServiceCounselingCompletedHandlerFunc updates the status of a Move (MoveTaskOrder) to MoveStatusServiceCounselingCompleted
func (UpdateMTOStatusServiceCounselingCompletedHandlerFunc) Handle ¶
func (h UpdateMTOStatusServiceCounselingCompletedHandlerFunc) Handle(params movetaskorderops.UpdateMTOStatusServiceCounselingCompletedParams) middleware.Responder
Handle updates the status of a Move (MoveTaskOrder). Slightly different from UpdateMoveTaskOrderStatusHandlerFunc, this handler will update the Move status without making it available to the Prime and without creating basic service items.
type UpdateMaxBillableWeightAsTIOHandler ¶
type UpdateMaxBillableWeightAsTIOHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
UpdateMaxBillableWeightAsTIOHandler updates the max billable weight on an order's entitlements via PATCH /orders/{orderId}/update-billable-weight/tio
func (UpdateMaxBillableWeightAsTIOHandler) Handle ¶
func (h UpdateMaxBillableWeightAsTIOHandler) Handle( params orderop.UpdateMaxBillableWeightAsTIOParams, ) middleware.Responder
Handle ... updates the authorized weight
type UpdateMoveCloseoutOfficeHandler ¶
type UpdateMoveCloseoutOfficeHandler struct { handlers.HandlerConfig services.MoveCloseoutOfficeUpdater }
func (UpdateMoveCloseoutOfficeHandler) Handle ¶
func (h UpdateMoveCloseoutOfficeHandler) Handle(params moveop.UpdateCloseoutOfficeParams) middleware.Responder
type UpdateMoveTIORemarksHandlerFunc ¶
type UpdateMoveTIORemarksHandlerFunc struct { handlers.HandlerConfig // contains filtered or unexported fields }
UpdateMoveTIORemarksHandlerFunc updates a Move's (MoveTaskOrder's) TIORemarks field
func (UpdateMoveTIORemarksHandlerFunc) Handle ¶
func (h UpdateMoveTIORemarksHandlerFunc) Handle(params movetaskorderops.UpdateMoveTIORemarksParams) middleware.Responder
Handle updates a Move's (MoveTaskOrder's) TIORemarks field
type UpdateMoveTaskOrderStatusHandlerFunc ¶
type UpdateMoveTaskOrderStatusHandlerFunc struct { handlers.HandlerConfig // contains filtered or unexported fields }
UpdateMoveTaskOrderStatusHandlerFunc updates the status of a Move Task Order
func (UpdateMoveTaskOrderStatusHandlerFunc) Handle ¶
func (h UpdateMoveTaskOrderStatusHandlerFunc) Handle(params movetaskorderops.UpdateMoveTaskOrderStatusParams) middleware.Responder
Handle updates the status of a MoveTaskOrder
type UpdateMovingExpenseHandler ¶
type UpdateMovingExpenseHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
UpdateMovingExpenseHandler
func (UpdateMovingExpenseHandler) Handle ¶
func (h UpdateMovingExpenseHandler) Handle(params movingexpenseops.UpdateMovingExpenseParams) middleware.Responder
type UpdateOrderHandler ¶
type UpdateOrderHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
UpdateOrderHandler updates an order via PATCH /orders/{orderId}
func (UpdateOrderHandler) Handle ¶
func (h UpdateOrderHandler) Handle(params orderop.UpdateOrderParams) middleware.Responder
Handle ... updates an order from a request payload
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
type UpdatePaymentServiceItemStatusHandler ¶
type UpdatePaymentServiceItemStatusHandler struct { handlers.HandlerConfig services.PaymentServiceItemStatusUpdater }
UpdatePaymentServiceItemStatusHandler updates payment service item status
func (UpdatePaymentServiceItemStatusHandler) Handle ¶
func (h UpdatePaymentServiceItemStatusHandler) Handle( params paymentServiceItemOp.UpdatePaymentServiceItemStatusParams, ) middleware.Responder
Handle handles the handling for UpdatePaymentServiceItemStatusHandler
type UpdateProgearWeightTicketHandler ¶
type UpdateProgearWeightTicketHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
UpdateProgearWeightTicketHandler
func (UpdateProgearWeightTicketHandler) Handle ¶
func (h UpdateProgearWeightTicketHandler) Handle(params progearops.UpdateProGearWeightTicketParams) middleware.Responder
type UpdateSITServiceItemCustomerExpenseHandler ¶
type UpdateSITServiceItemCustomerExpenseHandler struct { handlers.HandlerConfig services.MTOServiceItemUpdater services.MTOShipmentFetcher services.ShipmentSITStatus }
UpdateSITServiceItemCustomerExpenseHandler converts a SIT to customer expense
func (UpdateSITServiceItemCustomerExpenseHandler) Handle ¶
func (h UpdateSITServiceItemCustomerExpenseHandler) Handle(params shipmentops.UpdateSITServiceItemCustomerExpenseParams) middleware.Responder
Handle ... converts the SIT to customer expense
type UpdateServiceItemSitEntryDateHandler ¶
type UpdateServiceItemSitEntryDateHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
func (UpdateServiceItemSitEntryDateHandler) Handle ¶
func (h UpdateServiceItemSitEntryDateHandler) Handle(params mtoserviceitemop.UpdateServiceItemSitEntryDateParams) middleware.Responder
type UpdateShipmentHandler ¶
type UpdateShipmentHandler struct { handlers.HandlerConfig services.ShipmentUpdater services.ShipmentSITStatus }
UpdateShipmentHandler updates shipments
func (UpdateShipmentHandler) Handle ¶
func (h UpdateShipmentHandler) Handle(params mtoshipmentops.UpdateMTOShipmentParams) middleware.Responder
Handle updates shipments
type UpdateWeightTicketHandler ¶
type UpdateWeightTicketHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
UpdateWeightTicketHandler
func (UpdateWeightTicketHandler) Handle ¶
func (h UpdateWeightTicketHandler) Handle(params weightticketops.UpdateWeightTicketParams) middleware.Responder
Source Files ¶
- api.go
- customer.go
- customer_support_remarks.go
- documents.go
- evaluation_report.go
- move.go
- move_history.go
- move_task_order.go
- moving_expense.go
- mto_agent.go
- mto_service_items.go
- mto_shipment.go
- orders.go
- payment_request.go
- payment_service_items.go
- ppm_closeout.go
- ppm_document.go
- progear_weight_ticket.go
- pws_violations.go
- queues.go
- report_violations.go
- tac.go
- tranportation_offices.go
- uploads.go
- weight_ticket.go