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 CartServicegetCartService()CustomerModelgetCurrentUserForCheckout()ReturnsCustomerModelfor the current checkout.protected UserServicegetUserService()booleanisAnonymousCheckout()Checks if the checkout is a anonymous CheckoutvoidsetCartService(CartService cartService)voidsetUserService(UserService userService)
-
-
-
Method Detail
-
isAnonymousCheckout
public boolean isAnonymousCheckout()
Description copied from interface:CheckoutCustomerStrategyChecks if the checkout is a anonymous Checkout- Specified by:
isAnonymousCheckoutin interfaceCheckoutCustomerStrategy- Returns:
- boolean
-
getCurrentUserForCheckout
public CustomerModel getCurrentUserForCheckout()
Description copied from interface:CheckoutCustomerStrategyReturnsCustomerModelfor the current checkout.- Specified by:
getCurrentUserForCheckoutin interfaceCheckoutCustomerStrategy- Returns:
-
getUserService
protected UserService getUserService()
-
setUserService
public void setUserService(UserService userService)
-
getCartService
protected CartService getCartService()
-
setCartService
public void setCartService(CartService cartService)
-
-