Class DefaultCheckoutCustomerStrategy
java.lang.Object
de.hybris.platform.commerceservices.strategies.impl.DefaultCheckoutCustomerStrategy
- All Implemented Interfaces:
CheckoutCustomerStrategy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CartServiceReturnsCustomerModelfor the current checkout.protected UserServicebooleanChecks if the checkout is a anonymous CheckoutvoidsetCartService(CartService cartService) voidsetUserService(UserService userService)
-
Constructor Details
-
DefaultCheckoutCustomerStrategy
public DefaultCheckoutCustomerStrategy()
-
-
Method Details
-
isAnonymousCheckout
public boolean isAnonymousCheckout()Description copied from interface:CheckoutCustomerStrategyChecks if the checkout is a anonymous Checkout- Specified by:
isAnonymousCheckoutin interfaceCheckoutCustomerStrategy- Returns:
- boolean
-
getCurrentUserForCheckout
Description copied from interface:CheckoutCustomerStrategyReturnsCustomerModelfor the current checkout.- Specified by:
getCurrentUserForCheckoutin interfaceCheckoutCustomerStrategy- Returns:
-
getUserService
-
setUserService
-
getCartService
-
setCartService
-