info.magnolia.module.shop.beans
Interface ShoppingCart

All Known Implementing Classes:
DefaultShoppingCartImpl

public interface ShoppingCart

Shoping cart.

Author:
will

Method Summary
 int addToShoppingCart(String productUUID, int quantity)
           
 int addToShoppingCart(String productUUID, int quantity, Map<String,CartItemOption> options)
           
 ArrayList<ShoppingCartItem> getCartItems()
           
 int getCartItemsCount()
           
 String getLanguage()
           
 void removeFromShoppingCart(String productUUID)
           
 void setLanguage(String language)
           
 

Method Detail

addToShoppingCart

int addToShoppingCart(String productUUID,
                      int quantity,
                      Map<String,CartItemOption> options)

addToShoppingCart

int addToShoppingCart(String productUUID,
                      int quantity)

removeFromShoppingCart

void removeFromShoppingCart(String productUUID)

getCartItems

ArrayList<ShoppingCartItem> getCartItems()

getCartItemsCount

int getCartItemsCount()

getLanguage

String getLanguage()

setLanguage

void setLanguage(String language)


Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.