Documentation ¶
Index ¶
- Constants
- func NewFinancialReviewFlagSetter() services.MoveFinancialReviewFlagSetter
- func NewMoveExcessWeightUploader(uploadCreator services.UploadCreator) services.MoveExcessWeightUploader
- func NewMoveFetcher() services.MoveFetcher
- func NewMoveListFetcher(builder moveListQueryBuilder) services.MoveListFetcher
- func NewMoveRouter() services.MoveRouter
- func NewMoveSearcher() services.MoveSearcher
- func NewMoveWeights(reweighRequestor services.ShipmentReweighRequester) services.MoveWeights
- func NewPrimeMoveExcessWeightUploader(uploadCreator services.UploadCreator) services.MoveExcessWeightUploader
- type QueryOption
Constants ¶
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
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 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 QueryOption ¶
type QueryOption func(*pop.Query)
QueryOption defines the type for the functional arguments passed to SearchMoves