GetBoxTypes |
This topic describes the ShipExec Server GetBoxTypes Rule
A business rule hook used to set the list of box types displayed on the shipping screen in the shipping client
public List<BoxType> GetBoxTypes(List<BoxType> definedBoxTypes) { BoxType box1 = new BoxType { Name = "H1214", Dimensions = new Dimensions { Height = 8, Width = 12, Length = 14, Units = DimensionUnits.In }, Id = 1, Sequence = 1 }; BoxType box2 = new BoxType { Name = "H1212", Dimensions = new Dimensions { Height = 8, Width = 12, Length = 12, Units = DimensionUnits.In }, Id = 2, Sequence = 2 }; return new List<BoxType> { box1, box2 }; }