Class QuoteHelper


  • public class QuoteHelper
    extends LineItemHelper
    A helper class that assists in manipulating the quote object. Instance of this class can be obtained via call quoteProcessor.getHelper() from quote header logic.

    Example:

      def isOpportunity = quoteProcessor.getHelper().getRoot().getInputByName("IsOpportunity")?.value
     
    See Also:
    LineItemHelper
    • Constructor Detail

      • QuoteHelper

        public QuoteHelper​(Map<String,​Object> calculableLineItemCollection)
    • Method Detail

      • findAllWithSKU

        public List<LineItemHelper.LineItem> findAllWithSKU​(String sku)
        Retrieves a list of all line items that are for a particular sku
        Parameters:
        sku - The sku to search for
        Returns:
        The list of line items