Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MoveState ¶
type MoveState int
MoveState represents the possible states a move can be in based on its data
type ShipmentCalculator ¶
type ShipmentCalculator struct {
// contains filtered or unexported fields
}
func NewShipmentCalculator ¶
func NewShipmentCalculator(p ShipmentCalculatorParams) *ShipmentCalculator
func (*ShipmentCalculator) CalculateCommodityTotals ¶
func (sc *ShipmentCalculator) CalculateCommodityTotals(shp *shipment.Shipment)
func (*ShipmentCalculator) CalculateStatus ¶
func (*ShipmentCalculator) CalculateTotals ¶
func (sc *ShipmentCalculator) CalculateTotals(shp *shipment.Shipment)
type ShipmentCalculatorParams ¶
type ShipmentCalculatorParams struct { fx.In Logger *logger.Logger StateMachineManager *statemachine.StateMachineManager }
type ShipmentState ¶
type ShipmentState int
ShipmentState represents the possible states a shipment can be in based on its data
const ( ShipmentStateNew ShipmentState = iota ShipmentStatePartiallyAssigned ShipmentStateAssigned ShipmentStateInTransit ShipmentStateDelayed ShipmentStatePartiallyCompleted ShipmentStateCompleted ShipmentStateBilled ShipmentStateCanceled )
Click to show internal directories.
Click to hide internal directories.