|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ShoppingCartService
Provide customer-session related business service.
Method Summary | |
---|---|
ShoppingCart |
add(ShoppingCart shoppingCart)
Adds the given shopping cart. |
ShoppingCart |
getCartByCustomerSession(CustomerSession customerSession)
This method retrieves the shopping cart for the given customer session. |
ShoppingCart |
load(long shoppingCartUid)
Load the shopping cart with the given UID. |
void |
update(ShoppingCart shoppingCart)
Updates the given shopping cart. |
Methods inherited from interface com.elasticpath.service.EpPersistenceService |
---|
getObject, getPersistenceEngine, setPersistenceEngine |
Methods inherited from interface com.elasticpath.service.EpService |
---|
getElasticPath, setElasticPath |
Method Detail |
---|
ShoppingCart add(ShoppingCart shoppingCart) throws EpServiceException
shoppingCart
- the shopping cart to add
EpServiceException
- - in case of any errorsShoppingCart getCartByCustomerSession(CustomerSession customerSession) throws EpServiceException
customerSession
- the customer session for which the shopping cart is requested
EpServiceException
- - in case of any errorsShoppingCart load(long shoppingCartUid) throws EpServiceException
shoppingCartUid
- the shopping cart UID
EpServiceException
- - in case of any errorsvoid update(ShoppingCart shoppingCart) throws EpServiceException
shoppingCart
- the shopping cart to update
EpServiceException
- - in case of any errors
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |