Class LineItemHelper.LineItem
- Object
-
- LineItem
-
- Enclosing class:
- LineItemHelper
public static class LineItemHelper.LineItem extends Object
This class represents either a line item or a folder of a document (e.g. quote/contract/rebate)
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,Object>calculableLineItemCollectionMapprotected LineItemHelperhelperprotected Map<String,Object>lineItemMap
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>asMap()List<LineItemHelper.LineItem>getChildren()Provides list of all children of this folder.StringgetContractTermTypeUN()Map<String,Object>getInputByName(String inputName)List<Map<String,Object>>getInputs()StringgetLabel()StringgetLineId()Map<String,Object>getOutputByName(String outputName)List<Map<String,Object>>getOutputs()LineItemHelper.LineItemgetParent()StringgetRebateTypeUN()List<LineItemHelper.LineItem>getSiblings()StringgetSKU()List<LineItemHelper.LineItem>getSubLineItems()booleanisFolder()booleanisRoot()
-
-
-
Method Detail
-
isRoot
public boolean isRoot()
-
isFolder
public boolean isFolder()
-
getLabel
public String getLabel()
-
getLineId
public String getLineId()
-
getSKU
public String getSKU()
-
getRebateTypeUN
public String getRebateTypeUN()
-
getContractTermTypeUN
public String getContractTermTypeUN()
-
getChildren
public List<LineItemHelper.LineItem> getChildren()
Provides list of all children of this folder.- Returns:
- List of LineItem objects, or empty list, if no children.
-
getSiblings
public List<LineItemHelper.LineItem> getSiblings()
-
getParent
public LineItemHelper.LineItem getParent()
-
getSubLineItems
public List<LineItemHelper.LineItem> getSubLineItems()
-
-