Class NoBinSelectionStrategy

  • All Implemented Interfaces:
    BinSelectionStrategy

    public class NoBinSelectionStrategy
    extends java.lang.Object
    implements BinSelectionStrategy
    Strategy to apply when no bin should be assigned to stock level. Returned map has just one entry - one StockLevel without bin will be created.
    • Constructor Detail

      • NoBinSelectionStrategy

        public NoBinSelectionStrategy()
    • Method Detail

      • getBinsForAsnEntry

        public java.util.Map<java.lang.String,​java.lang.Integer> getBinsForAsnEntry​(AdvancedShippingNoticeEntryModel asnEntry)
        Description copied from interface: BinSelectionStrategy
        Gets a map of bin and product quantity needed for stock levels creation.
        Created is stock level per each entry with given quantity and bin.
        Specified by:
        getBinsForAsnEntry in interface BinSelectionStrategy
        Returns:
        map with products quantity assigned to bins