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>
calculableLineItemCollectionMap
protected LineItemHelper
helper
protected 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.String
getContractTermTypeUN()
Map<String,Object>
getInputByName(String inputName)
List<Map<String,Object>>
getInputs()
String
getLabel()
String
getLineId()
Map<String,Object>
getOutputByName(String outputName)
List<Map<String,Object>>
getOutputs()
LineItemHelper.LineItem
getParent()
String
getRebateTypeUN()
List<LineItemHelper.LineItem>
getSiblings()
String
getSKU()
List<LineItemHelper.LineItem>
getSubLineItems()
boolean
isFolder()
boolean
isRoot()
-
-
-
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()
-
-