Class RetainAdminFeeOnRefundStrategy
java.lang.Object
de.hybris.platform.travelservices.strategies.impl.RetainAdminFeeOnRefundStrategy
- All Implemented Interfaces:
RefundActionStrategy
Implementation for
RefundActionStrategy. This strategy retains the admin fee from the total refund amount.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleapplyStrategy(OrderModel order) Deprecated.Deprecated since version 3.0.doubleapplyStrategy(OrderModel order, OrderEntryType orderEntryType) Method to apply business logic on the total amount.protected BookingServicevoidsetBookingService(BookingService bookingService)
-
Constructor Details
-
RetainAdminFeeOnRefundStrategy
public RetainAdminFeeOnRefundStrategy()
-
-
Method Details
-
applyStrategy
Deprecated.Deprecated since version 3.0.Description copied from interface:RefundActionStrategyMethod to apply business logic on the total amount.- Specified by:
applyStrategyin interfaceRefundActionStrategy- Parameters:
order- the order- Returns:
-
applyStrategy
Description copied from interface:RefundActionStrategyMethod to apply business logic on the total amount.- Specified by:
applyStrategyin interfaceRefundActionStrategy- Parameters:
order- the order- Returns:
- total refund amount
-
getBookingService
- Returns:
- the bookingService
-
setBookingService
- Parameters:
bookingService- the bookingService to set
-