public interface CartFactory
CartModel. Default implementation for instance (
DefaultCartFactory ), creates an instance of CartModel that is supposed to be the session cart. So it
populates the user and currency fields according to the current session status and persists the created model.| Modifier and Type | Method and Description |
|---|---|
CartModel |
createCart()
Creates a new, implementation dependent
CartModel instance. |
CartModel createCart()
CartModel instance.CartModel - may be persisted or not, it depends on the used implementation. I.e
DefaultCartFactory saves the model.Copyright © 2018 SAP SE. All Rights Reserved.