public class QuoteBuilder extends CalculableLineItemCollectionBuilder<QuoteBuilder>
isPrePhase()
and isPostPhase() methods to detect current phase. def builder = quoteProcessorMETHOD_ADD_LINE_ITEM, METHOD_ADD_OR_UPDATE_INPUT, METHOD_ADD_OR_UPDATE_OUTPUT, METHOD_UPDATE_FIELD, phase, ROOT_LINE_ID| Modifier and Type | Method and Description |
|---|---|
QuoteBuilder |
addQuoteStructure(QuoteStructure structure)
Apply a quote structure.
|
QuoteBuilderResult |
build() |
QuoteHelper |
getHelper()
Gets a helper class that assists in manipulating the quote object
|
Object |
getQuoteView()
Gets the full quote object as a nested map
|
addLineItem, addLineItem, addOrUpdateInput, addOrUpdateInput, addOrUpdateOutput, addOrUpdateOutput, isPostPhase, isPrePhase, updateField, updateFieldpublic Object getQuoteView()
public QuoteHelper getHelper()
public QuoteBuilder addQuoteStructure(QuoteStructure structure)
structure - The structurepublic QuoteBuilderResult build()
build in class AbstractBuilderCopyright © 2016. All rights reserved.