Class QuoteHelper

Object
LineItemHelper
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:
  • Constructor Details

    • QuoteHelper

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

    • 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