public class DefaultFlashBuyFacade extends java.lang.Object implements FlashBuyFacade
FlashBuyFacade| Constructor and Description |
|---|
DefaultFlashBuyFacade() |
| Modifier and Type | Method and Description |
|---|---|
protected CartService |
getCartService() |
protected FlashBuyService |
getFlashBuyService() |
protected ModelService |
getModelService() |
java.lang.String |
prepareFlashBuyInfo(ProductData product)
Prepares flash buy information, sets product's max order quantity for product, and returns flashbuy coupon code
|
void |
setCartService(CartService cartService) |
void |
setFlashBuyService(FlashBuyService flashBuyService) |
void |
setModelService(ModelService modelService) |
void |
updateFlashBuyStatusForCart()
Updates flash buy status in cart
|
public java.lang.String prepareFlashBuyInfo(ProductData product)
FlashBuyFacadeprepareFlashBuyInfo in interface FlashBuyFacadeproduct - ProductData of the productpublic void updateFlashBuyStatusForCart()
FlashBuyFacadeupdateFlashBuyStatusForCart in interface FlashBuyFacadeprotected FlashBuyService getFlashBuyService()
public void setFlashBuyService(FlashBuyService flashBuyService)
protected ModelService getModelService()
public void setModelService(ModelService modelService)
protected CartService getCartService()
public void setCartService(CartService cartService)
Copyright © 2018 SAP SE. All Rights Reserved.