|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@Deprecated public interface ShoppingCartLine
This class combines a ProductItem, a Quantity and a Money object. The total price for the line is calculated using the getTotal() method, specifying the required total type.
ShoppingCartLineHome,
ShoppingCart| Method Summary | |
|---|---|
Money |
getBaseSavings()
Deprecated Get the savings from the MSRP to the base unit price, exluding non-catalog discounts, i.e. |
Money |
getBaseTotal()
Deprecated Get the total excluing non-catalog discounts, i.e. |
Money |
getDiscountedPrice()
Deprecated get the Discounted Price for the line |
ArrayList |
getDiscountPresentations()
Deprecated get the Discount Description Array list of the discounts that apply to a particular shopping cart line |
Money |
getLineTotal(int totalType)
Deprecated Gets the line total for the given total type. |
ProductItem |
getProductItem()
Deprecated Get the value of productItem |
double |
getQuantity()
Deprecated Get the quantity of the item |
Money |
getSavings()
Deprecated Get the savings on this line (savings is the quantity times (msrp - unit price)) |
Money |
getShipping()
Deprecated Get the value of shipping |
Money |
getTax()
Deprecated Get the value of tax |
Money |
getUnitPrice()
Deprecated Get the value of unitPrice |
void |
setDiscountedPrice(Money discountedPrice)
Deprecated Set the discount price for this line |
void |
setDiscountPresentations(ArrayList discountPresentations)
Deprecated Set the value of discount descriptions of the discounts that apply to a particular shopping cart line |
void |
setProductItem(ProductItem productItem)
Deprecated Set the value of productItem |
void |
setQuantity(double quantity)
Deprecated Set the value of quantity |
void |
setShipping(Money shipping)
Deprecated Set the value of shipping |
void |
setTax(Money tax)
Deprecated Set the value of tax |
void |
setUnitPrice(Money unitPrice)
Deprecated Set the value of unitPrice |
| 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 getUnitPrice()
void setUnitPrice(Money unitPrice)
unitPrice - unitPrice to be setMoney getTax()
void setTax(Money tax)
tax - tax to be setMoney getShipping()
void setShipping(Money shipping)
shipping - shipping to be setdouble getQuantity()
void setQuantity(double quantity)
quantity - quantity to be addedProductItem getProductItem()
void setProductItem(ProductItem productItem)
productItem - productItem to be added
Money getLineTotal(int totalType)
throws InvalidArgumentException
total - type
InvalidArgumentExceptionMoney getSavings()
Money getBaseSavings()
Money getBaseTotal()
Money getDiscountedPrice()
void setDiscountedPrice(Money discountedPrice)
discountedPrice, - the price as discountedArrayList getDiscountPresentations()
void setDiscountPresentations(ArrayList discountPresentations)
discountPresentations, - an ArrayList of Presentation objects
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||