Class DefaultCheckoutCustomerStrategy
- java.lang.Object
-
- de.hybris.platform.commerceservices.strategies.impl.DefaultCheckoutCustomerStrategy
-
- All Implemented Interfaces:
CheckoutCustomerStrategy
public class DefaultCheckoutCustomerStrategy extends java.lang.Object implements CheckoutCustomerStrategy
-
-
Constructor Summary
Constructors Constructor Description DefaultCheckoutCustomerStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CartService
getCartService()
CustomerModel
getCurrentUserForCheckout()
ReturnsCustomerModel
for the current checkout.protected UserService
getUserService()
boolean
isAnonymousCheckout()
Checks if the checkout is a anonymous Checkoutvoid
setCartService(CartService cartService)
void
setUserService(UserService userService)
-
-
-
Method Detail
-
isAnonymousCheckout
public boolean isAnonymousCheckout()
Description copied from interface:CheckoutCustomerStrategy
Checks if the checkout is a anonymous Checkout- Specified by:
isAnonymousCheckout
in interfaceCheckoutCustomerStrategy
- Returns:
- boolean
-
getCurrentUserForCheckout
public CustomerModel getCurrentUserForCheckout()
Description copied from interface:CheckoutCustomerStrategy
ReturnsCustomerModel
for the current checkout.- Specified by:
getCurrentUserForCheckout
in interfaceCheckoutCustomerStrategy
- Returns:
-
getUserService
protected UserService getUserService()
-
setUserService
public void setUserService(UserService userService)
-
getCartService
protected CartService getCartService()
-
setCartService
public void setCartService(CartService cartService)
-
-