Class DefaultAdminFeeActionStrategy
java.lang.Object
de.hybris.platform.travelrulesengine.action.impl.AbstractTravelRuleActionStrategy
de.hybris.platform.travelrulesengine.action.impl.DefaultAdminFeeActionStrategy
- All Implemented Interfaces:
de.hybris.platform.ruleengineservices.action.RuleActionStrategy,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
Action strategy class for admin fee
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ProductModeladdAdminFee(FeeRAO feeRao) protected CommerceCartModificationaddAdminFeeToCart(OrderEntryRAO addedOrderEntryRao) apply(AbstractRuleActionRAO actionRao) protected ProductModelprotected de.hybris.platform.order.CartServiceprotected de.hybris.platform.commerceservices.order.CommerceCartServiceprotected de.hybris.platform.commerceservices.price.CommercePriceServiceprotected de.hybris.platform.servicelayer.model.ModelServiceprotected de.hybris.platform.product.ProductServicevoidsetCartService(de.hybris.platform.order.CartService cartService) voidsetCommerceCartService(de.hybris.platform.commerceservices.order.CommerceCartService commerceCartService) voidsetCommercePriceService(de.hybris.platform.commerceservices.price.CommercePriceService commercePriceService) voidsetModelService(de.hybris.platform.servicelayer.model.ModelService modelService) voidsetProductService(de.hybris.platform.product.ProductService productService) voidMethods inherited from class de.hybris.platform.travelrulesengine.action.impl.AbstractTravelRuleActionStrategy
getStrategyId, setBeanName
-
Constructor Details
-
DefaultAdminFeeActionStrategy
public DefaultAdminFeeActionStrategy()
-
-
Method Details
-
apply
-
addAdminFee
-
addAdminFeeToCart
-
getAdminFeeProduct
-
undo
-
getProductService
protected de.hybris.platform.product.ProductService getProductService()- Returns:
- the productService
-
setProductService
public void setProductService(de.hybris.platform.product.ProductService productService) - Parameters:
productService- the productService to set
-
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
-
getCommerceCartService
protected de.hybris.platform.commerceservices.order.CommerceCartService getCommerceCartService()- Returns:
- the commerceCartService
-
setCommerceCartService
public void setCommerceCartService(de.hybris.platform.commerceservices.order.CommerceCartService commerceCartService) - Parameters:
commerceCartService- the commerceCartService to set
-
getCommercePriceService
protected de.hybris.platform.commerceservices.price.CommercePriceService getCommercePriceService()- Returns:
- the commercePriceService
-
setCommercePriceService
public void setCommercePriceService(de.hybris.platform.commerceservices.price.CommercePriceService commercePriceService) - Parameters:
commercePriceService- the commercePriceService to set
-
getModelService
protected de.hybris.platform.servicelayer.model.ModelService getModelService() -
setModelService
public void setModelService(de.hybris.platform.servicelayer.model.ModelService modelService)
-