move

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

Documentation

Index

Constants

View Source
const AutoReweighRequestThreshold = .9

AutoReweighRequestThreshold is the percentage of the weight allowance that the sum of the move's shipment weight (the lower of the actual or reweigh) that would trigger all shipments to be reweighed

View Source
const RiskOfExcessThreshold = .9

RiskOfExcessThreshold is the percentage of the weight allowance that the sum of a move's shipment estimated weights would qualify for excess weight risk

Variables

This section is empty.

Functions

func NewCloseoutOfficeUpdater

func NewCloseoutOfficeUpdater(moveFetcher services.MoveFetcher, transportationOfficeFetcher services.TransportationOfficesFetcher) services.MoveCloseoutOfficeUpdater

func NewFinancialReviewFlagSetter

func NewFinancialReviewFlagSetter() services.MoveFinancialReviewFlagSetter

func NewMoveExcessWeightUploader

func NewMoveExcessWeightUploader(uploadCreator services.UploadCreator) services.MoveExcessWeightUploader

NewMoveExcessWeightUploader returns a new excessWeightUploader

func NewMoveFetcher

func NewMoveFetcher() services.MoveFetcher

NewMoveFetcher creates a new moveFetcher service

func NewMoveListFetcher

func NewMoveListFetcher(builder moveListQueryBuilder) services.MoveListFetcher

NewMoveListFetcher returns an implementation of OfficeUserListFetcher

func NewMoveRouter

func NewMoveRouter() services.MoveRouter

NewMoveRouter creates a new moveRouter service

func NewMoveSearcher

func NewMoveSearcher() services.MoveSearcher

func NewMoveWeights

func NewMoveWeights(reweighRequestor services.ShipmentReweighRequester) services.MoveWeights

NewMoveWeights creates a new moveWeights service

func NewPrimeMoveExcessWeightUploader

func NewPrimeMoveExcessWeightUploader(uploadCreator services.UploadCreator) services.MoveExcessWeightUploader

NewPrimeMoveExcessWeightUploader returns a new excessWeightUploader

Types

type CloseoutOfficeUpdater

type CloseoutOfficeUpdater struct {
	services.MoveFetcher
	services.TransportationOfficesFetcher
}

func (CloseoutOfficeUpdater) UpdateCloseoutOffice

func (s CloseoutOfficeUpdater) UpdateCloseoutOffice(appCtx appcontext.AppContext, moveLocator string, closeoutOfficeID uuid.UUID, eTag string) (*models.Move, error)

type QueryOption

type QueryOption func(*pop.Query)

QueryOption defines the type for the functional arguments passed to SearchMoves

Jump to

Keyboard shortcuts

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