Package net.pricefx.common.apibuilder.rebateagreement
package net.pricefx.common.apibuilder.rebateagreement
The header logic builder for Rebate Agreements, the template builder, and their helpers.
Entry points: the raProcessor binding variable of a Rebate Agreement header logic,
and the ratBuilder binding variable of a Rebate Agreement Template logic.
RebateAgreementBuildermanipulates the Rebate Agreement from its header logic. It adds and updates header inputs and outputs, updates header fields, and changes the folder and item structure.getRebateAgreementView()returns the current document.RebateAgreementHelperreads the Rebate Agreement. Obtain it withraProcessor.getHelper(). It addsfindAllWithRebateTypeUN(), which returns every line item that carries one Rebate Type unique name.RebateAgreementStructuredescribes code-generated content for one level of the Rebate Agreement folder tree. TheparentIdof the object defines the level. Pass it toraProcessor.addRebateAgreementStructure().RATBuilderconstructs a Rebate Agreement from a Rebate Agreement Template logic. Start from an existing agreement withfromExisting()or from a parameter map withfromParams(). Chain the requested changes on the returned builder, then finish withbuild().registerPlaceholder()declares a named value that the chain fills in later.BasicRebateAgreementBuilderis the shared superclass ofRebateAgreementBuilderand of the builder thatRATBuilderreturns. It contributesbuild(), which returns the collected changes as a result object.
BasicRebateAgreementBuilder extends
CalculableLineItemCollectionBuilder, which carries
most of the methods and documents the order in which the collected changes run.
RebateAgreementHelper extends
LineItemHelper.
- See Also:
-
ClassDescriptionBuilder for a Rebate Agreement Template (RAT).Builder for a Rebate Agreement created from a Rebate Agreement Template (RAT).Context for manipulating a Rebate Agreement object in a rebate agreement header calculation logic.A helper interface that assists in manipulating the rebate agreement object.This is a helper object that is used to build up code-generated content of a Rebate Agreement.