effectiveInterestRate = slab.slabFields().annualInterestRate();
Set<DepositAccountInterestIncentives> depositInterestIncentives = slab.setOfIncentives();
for (DepositAccountInterestIncentives incentives : depositInterestIncentives) {
AttributeIncentiveCalculation attributeIncentiveCalculation = AttributeIncentiveCalculationFactory
.findAttributeIncentiveCalculation(incentives.interestIncentivesFields().entiryType());
IncentiveDTO incentiveDTO = new IncentiveDTO(client, effectiveInterestRate, incentives.interestIncentivesFields());
effectiveInterestRate = attributeIncentiveCalculation.calculateIncentive(incentiveDTO);
}
// effectiveInterestRate is zero or null then reset to default
// interest rate.