primeapiv2

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

Documentation

Index

Constants

This section is empty.

Variables

CreateableServiceItemMap is a map of MTOServiceItemModelTypes and their allowed statuses THIS WILL NEED TO BE UPDATED AS WE CONTINUE TO ADD MORE SERVICE ITEMS. We will eventually remove this when all service items are added.

Functions

func NewPrimeAPI

func NewPrimeAPI(handlerConfig handlers.HandlerConfig) *primev2operations.MymoveAPI

NewPrimeAPI returns the Prime API

Types

type CreateMTOServiceItemHandler

type CreateMTOServiceItemHandler struct {
	handlers.HandlerConfig
	// contains filtered or unexported fields
}

CreateMTOServiceItemHandler is the handler to create MTO service items

func (CreateMTOServiceItemHandler) Handle

Handle handler that creates a mto service item

type CreateMTOShipmentHandler

type CreateMTOShipmentHandler struct {
	handlers.HandlerConfig
	services.ShipmentCreator
	// contains filtered or unexported fields
}

CreateMTOShipmentHandler is the handler to create MTO shipments

func (CreateMTOShipmentHandler) Handle

Handle creates the mto shipment

type GetMoveTaskOrderHandler

type GetMoveTaskOrderHandler struct {
	handlers.HandlerConfig
	// contains filtered or unexported fields
}

GetMoveTaskOrderHandler returns the details for a particular move

func (GetMoveTaskOrderHandler) Handle

Handle fetches a move from the database using its UUID or move code

type UpdateMTOShipmentHandler

type UpdateMTOShipmentHandler struct {
	handlers.HandlerConfig
	services.ShipmentUpdater
}

UpdateMTOShipmentHandler is the handler to update MTO shipments

func (UpdateMTOShipmentHandler) Handle

Handle handler that updates a mto shipment

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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