Class DefaultFlashBuyFacade

java.lang.Object
de.hybris.platform.timedaccesspromotionenginefacades.impl.DefaultFlashBuyFacade
All Implemented Interfaces:
FlashBuyFacade

public class DefaultFlashBuyFacade extends Object implements FlashBuyFacade
Default implementation of FlashBuyFacade
  • Constructor Details

    • DefaultFlashBuyFacade

      public DefaultFlashBuyFacade()
  • Method Details

    • prepareFlashBuyInfo

      public String prepareFlashBuyInfo(ProductData product)
      Description copied from interface: FlashBuyFacade
      Prepares flash buy information, sets product's max order quantity for product, and returns flashbuy coupon code
      Specified by:
      prepareFlashBuyInfo in interface FlashBuyFacade
      Parameters:
      product - ProductData of the product
      Returns:
      String FlashBuyCoupon code
    • updateFlashBuyStatusForCart

      public void updateFlashBuyStatusForCart()
      Description copied from interface: FlashBuyFacade
      Updates flash buy status in cart
      Specified by:
      updateFlashBuyStatusForCart in interface FlashBuyFacade
    • 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)