I am trying to implement a solution where based on my electric consumption(input to the Blaze solution), I need to provide the Usage Charges.
The Usage Charges is calculated in the Step Rate method as follows:
For first <Step1 quantity> charge at <Step1 rate per KW> : For first 100 KW charge at $.15 per KW
For next <Step2 quantity> charge at <Step2 rate per KW> : For next 50 KW charge at $.25 per KW
For next <Step3 quantity> charge at <Step3 rate per KW> : For next 50 KW charge at $.35 per KW........
Need to know the best data structure which can be used to implement this. Mine favorite for this is in a Ruleset. Please advice.
Also need to have this in RMA, hence the template creation should be generic.
Any help is solicited.