Interface LineItemFilter

    • Method Detail

      • shouldBeHandled

        static boolean shouldBeHandled​(OrderLine orderLine,
                                       Collection<LineItemFilter> filters)
        Returns whether the given OrderLine should be handled considering the given LineItemFilters. This means as soon as one of the filters returns false, it's not handled by the listener anymore and considered valid.
        Parameters:
        orderLine - must not be null.
        filters - must not be null.
        Returns: