Class RATBuilder.RABuilder
Object
ObjectIdentity
AbstractBuilder
- Enclosing class:
RATBuilder
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
Fields inherited from class CalculableLineItemCollectionBuilder
METHOD_ADD_LINE_ITEM, METHOD_ADD_OR_UPDATE_INPUT, METHOD_ADD_OR_UPDATE_OUTPUT, METHOD_UPDATE_FIELD, phase, ROOT_LINE_ID
Fields inherited from class AbstractBuilder
METHOD_BUILD
Fields inherited from class ObjectIdentity
classId, idGenerator, instanceId, invocations, m, NONE, parentObjectIdentity
-
Constructor Summary
-
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
build
Methods inherited from class CalculableLineItemCollectionBuilder
addLineItem, addLineItem, addLineItem, addOrUpdateInput, addOrUpdateInput, addOrUpdateOutput, addOrUpdateOutput, clearRenderInfo, deleteItem, isPostPhase, isPrePhase, moveItem, renameFolder, setRenderInfo, updateField, updateField
Methods 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
-