Design

We are going to divide our rules in 5 steps and do a rule-flow which mean a process :

  1. init step : we shall determine the age of each person and the person has his birthday based on the quoting date.
  2. standard price : as we have the table with all prices, we shall make a decision table of it.
  3. Promotion : if there are more that 4 persons and the youngest is between 3 and 18 years old
  4. Reduction : birthday and If people are living in Zurich
  5. Calculate the total

The data model we are going to use is as follows :

results matching ""

    No results matching ""