|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface ShoppingCart
The ShoppingCart is used to contain a list of ShoppingCartLines
. Each ShoppingCartLine
contains
a unique item. If the customer adds a ProductItem
that is already in the shopping cart, the quantity of the
existing ShoppingCartLine
is increased.
ShoppingCartHome
,
ShoppingCartLine
Method Summary | |
---|---|
void |
addItemsFromShoppingCart(ShoppingCart items)
Deprecated See BEA Commerce product offering |
ShoppingCartLine |
addProductItem(ProductItem item,
double quantity)
Deprecated See BEA Commerce product offering |
ShoppingCartLine |
addProductItem(ProductItem item,
double quantity,
Money unitMoney)
Deprecated See BEA Commerce product offering |
boolean |
addShoppingCartLine(ShoppingCartLine element)
Deprecated See BEA Commerce product offering |
boolean |
addShoppingCartLineCollection(Collection collection)
Deprecated See BEA Commerce product offering |
void |
clearShoppingCartLineCollection()
Deprecated See BEA Commerce product offering |
boolean |
containsShoppingCartLine(ShoppingCartLine element)
Deprecated See BEA Commerce product offering |
boolean |
containsShoppingCartLineCollection(Collection c)
Deprecated See BEA Commerce product offering |
ShoppingCartLine |
createShoppingCartLine()
Deprecated See BEA Commerce product offering |
boolean |
equalsShoppingCartLineCollection(Object object)
Deprecated See BEA Commerce product offering |
ShoppingCartLine |
findShoppingCartLine(String productIdentifier)
Deprecated See BEA Commerce product offering |
double |
getCategoryQuantity(String categoryId)
Deprecated See BEA Commerce product offering |
double |
getNumberOfUnits()
Deprecated See BEA Commerce product offering |
ArrayList |
getOrderDiscountPresentations()
Deprecated See BEA Commerce product offering |
Money |
getShipping()
Deprecated See BEA Commerce product offering |
ArrayList |
getShippingDiscountPresentations()
Deprecated See BEA Commerce product offering |
Collection |
getShoppingCartLineCollection()
Deprecated See BEA Commerce product offering |
Money |
getSubtotal()
Deprecated See BEA Commerce product offering |
Money |
getTotal()
Deprecated See BEA Commerce product offering |
Money |
getTotal(int totalType)
Deprecated See BEA Commerce product offering |
Money |
getTotalPrice()
Deprecated See BEA Commerce product offering |
boolean |
isEmpty()
Deprecated See BEA Commerce product offering |
boolean |
isShoppingCartLineCollectionEmpty()
Deprecated See BEA Commerce product offering |
void |
removeAllProductItems()
Deprecated See BEA Commerce product offering |
ProductItem |
removeProductItem(String productIdentifier)
Deprecated See BEA Commerce product offering |
boolean |
removeShoppingCartLine(ShoppingCartLine element)
Deprecated See BEA Commerce product offering |
boolean |
removeShoppingCartLineCollection(Collection collection)
Deprecated See BEA Commerce product offering |
boolean |
retainShoppingCartLineCollection(Collection collection)
Deprecated See BEA Commerce product offering |
void |
setOrderDiscountPresentations(ArrayList discountPresentations)
Deprecated See BEA Commerce product offering |
void |
setProductItemQuantity(ProductItem item,
double quantity)
Deprecated See BEA Commerce product offering |
void |
setShipping(Money shipping)
Deprecated See BEA Commerce product offering |
void |
setShippingDiscountPresentations(ArrayList discountPresentations)
Deprecated See BEA Commerce product offering |
void |
setShoppingCartLineCollection(Collection collection)
Deprecated See BEA Commerce product offering |
void |
setSubtotal(Money subtotal)
Deprecated See BEA Commerce product offering |
void |
setTotal(Money total)
Deprecated See BEA Commerce product offering |
int |
shoppingCartLineCollectionHashCode()
Deprecated See BEA Commerce product offering |
Iterator |
shoppingCartLineCollectionIterator()
Deprecated See BEA Commerce product offering |
int |
shoppingCartLineCollectionSize()
Deprecated See BEA Commerce product offering |
Methods inherited from interface com.beasys.commerce.foundation.Belonging |
---|
clone, equals, interfaceName, setByValue, value |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
Money getTotal()
void setTotal(Money total)
subtotal
- total to be setMoney getSubtotal()
void setSubtotal(Money subtotal)
subtotal
- subtotal to be setMoney getShipping()
void setShipping(Money shipping)
shipping
- shipping to be setCollection getShoppingCartLineCollection()
void setShoppingCartLineCollection(Collection collection)
boolean addShoppingCartLine(ShoppingCartLine element)
boolean addShoppingCartLineCollection(Collection collection)
void clearShoppingCartLineCollection()
boolean containsShoppingCartLine(ShoppingCartLine element)
boolean containsShoppingCartLineCollection(Collection c)
boolean equalsShoppingCartLineCollection(Object object)
int shoppingCartLineCollectionHashCode()
boolean isShoppingCartLineCollectionEmpty()
Iterator shoppingCartLineCollectionIterator()
boolean removeShoppingCartLine(ShoppingCartLine element)
boolean removeShoppingCartLineCollection(Collection collection)
boolean retainShoppingCartLineCollection(Collection collection)
int shoppingCartLineCollectionSize()
void addItemsFromShoppingCart(ShoppingCart items) throws InvalidArgumentException
InvalidArgumentException
ShoppingCartLine addProductItem(ProductItem item, double quantity) throws InvalidArgumentException
InvalidArgumentException
void setProductItemQuantity(ProductItem item, double quantity) throws InvalidArgumentException
InvalidArgumentException
ProductItem removeProductItem(String productIdentifier) throws InvalidArgumentException
productIdentifier,
- (See productItem.getKey( ).getIdentifier( ) )
InvalidArgumentException
void removeAllProductItems()
ShoppingCartLine findShoppingCartLine(String productIdentifier) throws ItemNotInShoppingCartException, InvalidArgumentException
productIdentifier,
- (See productItem.getKey( ).getIdentifier( ) )
ItemNotInShoppingCartException
InvalidArgumentException
double getNumberOfUnits()
double getCategoryQuantity(String categoryId) throws RemoteException
RemoteException
ShoppingCartLine createShoppingCartLine()
ShoppingCartLine addProductItem(ProductItem item, double quantity, Money unitMoney) throws InvalidArgumentException
InvalidArgumentException
boolean isEmpty()
Money getTotal(int totalType) throws InvalidArgumentException
total
- type
InvalidArgumentException
Money getTotalPrice()
ArrayList getOrderDiscountPresentations()
void setOrderDiscountPresentations(ArrayList discountPresentations)
ArrayList getShippingDiscountPresentations()
void setShippingDiscountPresentations(ArrayList discountPresentations)
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |