public class DefaultReplenishmentCheckoutFacade extends java.lang.Object implements ReplenishmentCheckoutFacade
ReplenishmentCheckoutFacade
interface.
Current implementation works with current session cart which is resolved implicitly
through CartService
.
Constructor and Description |
---|
DefaultReplenishmentCheckoutFacade() |
Modifier and Type | Method and Description |
---|---|
void |
add(ReplenishmentInfoData replenishment)
Links replenishment with cart object.
|
void |
removeReplenishment()
Removes replenishment information from cart, if it's available.
|
public void add(ReplenishmentInfoData replenishment)
ReplenishmentCheckoutFacade
add
in interface ReplenishmentCheckoutFacade
replenishment
- an instance of ReplenishmentInfoData
which schedules future replenishmentpublic void removeReplenishment()
ReplenishmentCheckoutFacade
removeReplenishment
in interface ReplenishmentCheckoutFacade