Class DefaultPROSRemoveShoppingBaggageStrategy
java.lang.Object
de.hybris.platform.prosservices.order.strategies.impl.DefaultPROSAbstractRemoveProductStrategy
de.hybris.platform.prosservices.order.strategies.impl.DefaultPROSRemoveShoppingBaggageStrategy
- All Implemented Interfaces:
PROSRemoveShoppingBaggageProductStrategy
public class DefaultPROSRemoveShoppingBaggageStrategy
extends DefaultPROSAbstractRemoveProductStrategy
implements PROSRemoveShoppingBaggageProductStrategy
The Pros implementation of
PROSRemoveShoppingBaggageProductStrategy interface to remove a Shopping Baggage Product.-
Field Summary
Fields inherited from class de.hybris.platform.prosservices.order.strategies.impl.DefaultPROSAbstractRemoveProductStrategy
DEFAULT_COMMERCE_ANCILLARY_REFUND_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Map<String,PROSRefundReissueTypeStrategy> Gets pros refund reissue type strategy map.protected PROSTransportOfferingServiceGets transport offering service.voidremoveShoppingBaggageProduct(CartModel cartModel, AbstractOrderEntryModel orderEntryModel) This method retrieves the charge product from the repricer response message and remove the corresponding entry from the cart.voidsetProsRefundReissueTypeStrategyMap(Map<String, PROSRefundReissueTypeStrategy> prosRefundReissueTypeStrategyMap) Sets pros refund reissue type strategy map.voidsetTransportOfferingService(PROSTransportOfferingService transportOfferingService) Sets transport offering service.Methods inherited from class de.hybris.platform.prosservices.order.strategies.impl.DefaultPROSAbstractRemoveProductStrategy
getCommerceAncillaryBaggageRefundType, getModelService, setModelService, setOrderEntryToInactive
-
Constructor Details
-
DefaultPROSRemoveShoppingBaggageStrategy
public DefaultPROSRemoveShoppingBaggageStrategy()
-
-
Method Details
-
removeShoppingBaggageProduct
public void removeShoppingBaggageProduct(CartModel cartModel, AbstractOrderEntryModel orderEntryModel) throws CancelFlightException This method retrieves the charge product from the repricer response message and remove the corresponding entry from the cart. A refund reissue type strategy is performed to evaluate the addition of an ancillaryChangeFee to the cart.- Specified by:
removeShoppingBaggageProductin interfacePROSRemoveShoppingBaggageProductStrategy- Parameters:
cartModel- the cart modelorderEntryModel- the order entry- Throws:
CancelFlightException
-
getTransportOfferingService
Gets transport offering service.- Returns:
- the transport offering service
-
setTransportOfferingService
Sets transport offering service.- Parameters:
transportOfferingService- the transport offering service
-
getProsRefundReissueTypeStrategyMap
Gets pros refund reissue type strategy map.- Returns:
- the pros refund reissue type strategy map
-
setProsRefundReissueTypeStrategyMap
public void setProsRefundReissueTypeStrategyMap(Map<String, PROSRefundReissueTypeStrategy> prosRefundReissueTypeStrategyMap) Sets pros refund reissue type strategy map.- Parameters:
prosRefundReissueTypeStrategyMap- the pros refund reissue type strategy map
-