Customizing Pricing Filters
Pricing filters can be customized. By customization, CloudPortal Business Manager allows the removal of filters.
There are 2 spring beans which refer to a collection of discounting engines and tax engines:
- discountEngineList
- taxEngineList
<bean name="adhocDiscountEngine" class="${discount.adhoc.engine.implementation:com.vmops.component.discount.policy.NonPromotionalDiscountEngine}" > </bean> <bean name="percentDiscountEngine" class="${discount.percent.engine.implementation:com.vmops.component.discount.policy.PercentDiscountEngine}"> </bean> <bean name="amountDiscountEngine" class="${discount.amount.engine.implementation:com.vmops.component.discount.policy.AmountDiscountEngine}" /> <bean name="taxEngine" class="${tax.engine.implementation}" > <property name="flatTaxPercent" value="${tax.engine.flat.percent:10.0}" /> </bean> <bean id="discountEngineList" class="java.util.ArrayList"> <constructor-arg> <list> <ref bean="adhocDiscountEngine" /> <ref bean="percentDiscountEngine" /> <ref bean="amountDiscountEngine" /> </list> </constructor-arg> </bean> <bean id="taxEngineList" class="java.util.ArrayList"> <constructor-arg> <list> <ref bean="taxEngine" /> </list> </constructor-arg> </bean>
Comments