Class RATBuilder.RABuilder
Object
ObjectIdentity
AbstractBuilder
- Enclosing class:
RATBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class CalculableLineItemCollectionBuilder
METHOD_ADD_LINE_ITEM, METHOD_ADD_OR_UPDATE_INPUT, METHOD_ADD_OR_UPDATE_OUTPUT, METHOD_UPDATE_FIELD, phase, ROOT_LINE_IDFields inherited from class AbstractBuilder
METHOD_BUILDFields inherited from class ObjectIdentity
classId, idGenerator, instanceId, invocations, m, NONE, parentObjectIdentity -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddLineItemWithId(String lineId, String rebateType) Adds a new line item to the Rebate Agreement, specified by the Rebate Type unique name.addLineItemWithId(String parentId, String lineId, String rebateType) Adds a new line item to the specified parent folder of the Rebate Agreement.
Example:applyPlaceholder(String placeholder, Object value) toString()Methods inherited from class BasicRebateAgreementBuilder
buildMethods inherited from class CalculableLineItemCollectionBuilder
addLineItem, addLineItem, addLineItem, addOrUpdateInput, addOrUpdateInput, addOrUpdateOutput, addOrUpdateOutput, clearRenderInfo, deleteItem, isPostPhase, isPrePhase, moveItem, renameFolder, setRenderInfo, updateField, updateFieldMethods inherited from class ObjectIdentity
addInvocation, addInvocation
-
Field Details
-
NAME
- See Also:
-
METHOD_ADD_LINE_ITEM_WITH_ID
- See Also:
-
METHOD_APPLY_PLACEHOLDER
- See Also:
-
METHOD_SUBMIT_AFTER_BUILD
- See Also:
-
-
Constructor Details
-
RABuilder
-
-
Method Details
-
getIstanceId
-
addLineItemWithId
Adds a new line item to the Rebate Agreement, specified by the Rebate Type unique name.- Parameters:
lineId- usually a generated idrebateType- uniqueName of the Rebate Agreement Type- Returns:
- itself
-
addLineItemWithId
Adds a new line item to the specified parent folder of the Rebate Agreement.
Example:.addLineItemWithId("ROOT", lineCustomerId, "Rebate Program")- Parameters:
parentId- the name of the folder you want to add a line item tolineId- usually a randomly generated idrebateType- uniqueName of the Rebate Agreement Type- Returns:
- itself
-
applyPlaceholder
-
submitAfterBuild
-
toString
-