public class DefaultCheckoutCustomerStrategy extends java.lang.Object implements CheckoutCustomerStrategy
| Constructor and Description |
|---|
DefaultCheckoutCustomerStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected CartService |
getCartService() |
CustomerModel |
getCurrentUserForCheckout()
Returns
CustomerModel for the current checkout. |
protected UserService |
getUserService() |
boolean |
isAnonymousCheckout()
Checks if the checkout is a anonymous Checkout
|
void |
setCartService(CartService cartService) |
void |
setUserService(UserService userService) |
public boolean isAnonymousCheckout()
CheckoutCustomerStrategyisAnonymousCheckout in interface CheckoutCustomerStrategypublic CustomerModel getCurrentUserForCheckout()
CheckoutCustomerStrategyCustomerModel for the current checkout.getCurrentUserForCheckout in interface CheckoutCustomerStrategyprotected UserService getUserService()
public void setUserService(UserService userService)
protected CartService getCartService()
public void setCartService(CartService cartService)
Copyright © 2018 SAP SE. All Rights Reserved.