Class DefaultTaxCompensationStrategy

java.lang.Object
de.hybris.platform.travelservices.strategies.payment.impl.DefaultTaxCompensationStrategy
All Implemented Interfaces:
TaxCompensationStrategy

public class DefaultTaxCompensationStrategy extends Object implements TaxCompensationStrategy
Default implementation of TaxCompensationStrategy. It returns a fraction of the tax difference proportional with the fraction of global discounts passed as an argument when the Net flag against AbstractOrderModel is true. It performs static calculation, not relying on the passed list of AbstractOrderEntryModel.