svn commit: r594788 - /ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r594788 - /ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java

jaz-3
Author: jaz
Date: Tue Nov 13 23:00:39 2007
New Revision: 594788

URL: http://svn.apache.org/viewvc?rev=594788&view=rev
Log:
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;
             }