Figure Pr.20 - Product Price Value and Product Offering Price : Class diagram
Created: 3/28/2022 3:51:09 PM
Modified: 5/17/2022 2:54:42 PM
Project:
Advanced:
To support the action associated to a complex rule, another extension is added to the Policy model.  The value of the discounted price is not a fixed value, but one associated with a specific Product Offering Price.  This can be modelled by first creating a subclass of PolicyValues, called ProdOfferPricePolicyValue, and then creating an association between ProdOfferPricePolicyValue and ProductOfferingPrice, as shown in the figure below.<br/><i>Note: In all the pricing rule examples, if a condition is not TRUE, then nothing happens.</i><br/>