Class QuoteHelper
Object
LineItemHelper
QuoteHelper
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class LineItemHelper
LineItemHelper.LineItem
-
Field Summary
Fields inherited from class LineItemHelper
calculableLineItemCollection, idToLineItem, parentIdToLineItems, root
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfindAllWithSKU
(String sku) Retrieves a list of all line items that are for a particular skuMethods inherited from class LineItemHelper
findAllWithLabel, findByLineId, getFlattedInputs, getRoot, lineItemFromMap
-
Constructor Details
-
QuoteHelper
-
-
Method Details
-
findAllWithSKU
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
-