org.mobicents.examples.convergeddemo.seam.action
Interface ShoppingCart

All Known Implementing Classes:
ShoppingCartBean

public interface ShoppingCart


Method Summary
 void addProduct(Product product, int quantity)
           
 void destroy()
           
 java.util.List<OrderLine> getCart()
           
 java.util.Map getCartSelection()
           
 boolean getIsEmpty()
           
 java.math.BigDecimal getSubtotal()
           
 java.math.BigDecimal getTax()
           
 java.math.BigDecimal getTotal()
           
 void resetCart()
           
 void updateCart()
           
 

Method Detail

getIsEmpty

boolean getIsEmpty()

addProduct

void addProduct(Product product,
                int quantity)

getCart

java.util.List<OrderLine> getCart()

getCartSelection

java.util.Map getCartSelection()

getSubtotal

java.math.BigDecimal getSubtotal()

getTax

java.math.BigDecimal getTax()

getTotal

java.math.BigDecimal getTotal()

updateCart

void updateCart()

resetCart

void resetCart()

destroy

void destroy()


Copyright © 2010. All Rights Reserved.