Class DefaultFlashBuyFacade
- java.lang.Object
-
- de.hybris.platform.timedaccesspromotionenginefacades.impl.DefaultFlashBuyFacade
-
- All Implemented Interfaces:
FlashBuyFacade
public class DefaultFlashBuyFacade extends java.lang.Object implements FlashBuyFacade
Default implementation ofFlashBuyFacade
-
-
Constructor Summary
Constructors Constructor Description DefaultFlashBuyFacade()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CartServicegetCartService()protected FlashBuyServicegetFlashBuyService()protected ModelServicegetModelService()java.lang.StringprepareFlashBuyInfo(ProductData product)Prepares flash buy information, sets product's max order quantity for product, and returns flashbuy coupon codevoidsetCartService(CartService cartService)voidsetFlashBuyService(FlashBuyService flashBuyService)voidsetModelService(ModelService modelService)voidupdateFlashBuyStatusForCart()Updates flash buy status in cart
-
-
-
Method Detail
-
prepareFlashBuyInfo
public java.lang.String prepareFlashBuyInfo(ProductData product)
Description copied from interface:FlashBuyFacadePrepares flash buy information, sets product's max order quantity for product, and returns flashbuy coupon code- Specified by:
prepareFlashBuyInfoin interfaceFlashBuyFacade- Parameters:
product- ProductData of the product- Returns:
- String FlashBuyCoupon code
-
updateFlashBuyStatusForCart
public void updateFlashBuyStatusForCart()
Description copied from interface:FlashBuyFacadeUpdates flash buy status in cart- Specified by:
updateFlashBuyStatusForCartin interfaceFlashBuyFacade
-
getFlashBuyService
protected FlashBuyService getFlashBuyService()
-
setFlashBuyService
public void setFlashBuyService(FlashBuyService flashBuyService)
-
getModelService
protected ModelService getModelService()
-
setModelService
public void setModelService(ModelService modelService)
-
getCartService
protected CartService getCartService()
-
setCartService
public void setCartService(CartService cartService)
-
-