Author: jaz
Date: Tue Nov 13 23:00:39 2007
New Revision: 594788
URL:
http://svn.apache.org/viewvc?rev=594788&view=revLog:
added method to return the ShoppingCartItem from a CartShipItemInfo object
Modified:
ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java
Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java?rev=594788&r1=594787&r2=594788&view=diff==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java (original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java Tue Nov 13 23:00:39 2007
@@ -4292,6 +4292,10 @@
return itemTax.setScale(taxCalcScale, taxRounding).doubleValue();
}
+ public ShoppingCartItem getItem() {
+ return this.item;
+ }
+
public double getItemQuantity() {
return this.quantity;
}