Class ChangeDatesPayableAction
java.lang.Object
de.hybris.platform.travelservices.strategies.payment.changedates.impl.ChangeDatesPayableAction
- All Implemented Interfaces:
ChangeDatesPaymentActionStrategy
Implementation for {@link= ChangeDatesPaymentActionStrategy} in case the payment type is PAYABLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.order.CartServicede.hybris.platform.servicelayer.model.ModelServicevoidsetCartService(de.hybris.platform.order.CartService cartService) voidsetModelService(de.hybris.platform.servicelayer.model.ModelService modelService) booleantakeAction(AccommodationOrderEntryGroupModel accommodationOrderEntryGroup, List<Integer> entryNumbers) Link accommodationOrderEntryGroup to new Entries of the amended Order based on the paymentType and the paymentMethod used during original method
-
Constructor Details
-
ChangeDatesPayableAction
public ChangeDatesPayableAction()
-
-
Method Details
-
takeAction
public boolean takeAction(AccommodationOrderEntryGroupModel accommodationOrderEntryGroup, List<Integer> entryNumbers) Description copied from interface:ChangeDatesPaymentActionStrategyLink accommodationOrderEntryGroup to new Entries of the amended Order based on the paymentType and the paymentMethod used during original method- Specified by:
takeActionin interfaceChangeDatesPaymentActionStrategy- Parameters:
accommodationOrderEntryGroup- the accommodation order entry groupentryNumbers- the entry numbers- Returns:
- true/false
-
getCartService
protected de.hybris.platform.order.CartService getCartService()- Returns:
- the cartService
-
setCartService
public void setCartService(de.hybris.platform.order.CartService cartService) - Parameters:
cartService- the cartService to set
-
getModelService
public de.hybris.platform.servicelayer.model.ModelService getModelService()- Returns:
- the modelService
-
setModelService
public void setModelService(de.hybris.platform.servicelayer.model.ModelService modelService) - Parameters:
modelService- the modelService to set
-