Class DefaultOrderTotalByEntryTypeCalculationStrategy
java.lang.Object
de.hybris.platform.travelservices.accommodation.strategies.impl.TransactionCalculationStrategy
de.hybris.platform.travelservices.accommodation.strategies.impl.DefaultOrderTotalByEntryTypeCalculationStrategy
- All Implemented Interfaces:
OrderTotalByEntryTypeCalculationStrategy
public class DefaultOrderTotalByEntryTypeCalculationStrategy
extends TransactionCalculationStrategy
implements OrderTotalByEntryTypeCalculationStrategy
Default implementation of
OrderTotalByEntryTypeCalculationStrategy-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalculate(OrderModel orderModel, OrderEntryType orderEntryType) Returns the total paid amount for a given orderEntryType for the given orderMethods inherited from class de.hybris.platform.travelservices.accommodation.strategies.impl.TransactionCalculationStrategy
getAvailableFunds, getConfigurationService, getEntriesAmount, getPaymentAuthourizationAmount, getTravelCartService, getValidPaymentTransactions, getValidPaymentTransactionsForType, setConfigurationService, setTravelCartService
-
Constructor Details
-
DefaultOrderTotalByEntryTypeCalculationStrategy
public DefaultOrderTotalByEntryTypeCalculationStrategy()
-
-
Method Details
-
calculate
Description copied from interface:OrderTotalByEntryTypeCalculationStrategyReturns the total paid amount for a given orderEntryType for the given order- Specified by:
calculatein interfaceOrderTotalByEntryTypeCalculationStrategy- Parameters:
orderModel- as the orderModelorderEntryType- as the orderEntryType to be used to calculate the total paid amount- Returns:
- the total paid amount for the given orderEntryType
-