Class DefaultPROSFullyRefundableShoppingAncillaryBaggageProductsStrategy
java.lang.Object
de.hybris.platform.prosservices.order.strategies.impl.DefaultPROSAbstractRemoveProductStrategy
de.hybris.platform.prosservices.order.strategies.impl.DefaultPROSFullyRefundableShoppingAncillaryBaggageProductsStrategy
- All Implemented Interfaces:
PROSRefundReissueTypeStrategy
public class DefaultPROSFullyRefundableShoppingAncillaryBaggageProductsStrategy
extends DefaultPROSAbstractRemoveProductStrategy
implements PROSRefundReissueTypeStrategy
The Pros implementation of
PROSRefundReissueTypeStrategy interface to create an ancillary change fee.-
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 TypeMethodDescriptionvoidcreateAncillaryChangeFee(AbstractOrderEntryModel abstractOrderEntry, CartModel cartModel) This method represent the default fallback of this strategy.Methods inherited from class de.hybris.platform.prosservices.order.strategies.impl.DefaultPROSAbstractRemoveProductStrategy
getCommerceAncillaryBaggageRefundType, getModelService, setModelService, setOrderEntryToInactive
-
Constructor Details
-
DefaultPROSFullyRefundableShoppingAncillaryBaggageProductsStrategy
public DefaultPROSFullyRefundableShoppingAncillaryBaggageProductsStrategy()
-
-
Method Details
-
createAncillaryChangeFee
public void createAncillaryChangeFee(AbstractOrderEntryModel abstractOrderEntry, CartModel cartModel) This method represent the default fallback of this strategy. When the refundReissue type is different from N, the ancillary will be considered as fully refundable, hence there is no need to add a fee to the cart.- Specified by:
createAncillaryChangeFeein interfacePROSRefundReissueTypeStrategy- Parameters:
abstractOrderEntry- the abstract order EntrycartModel- the cartModel
-