svn commit: r601269 - /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: r601269 - /ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java

apatel-2
Author: apatel
Date: Wed Dec  5 01:31:07 2007
New Revision: 601269

URL: http://svn.apache.org/viewvc?rev=601269&view=rev
Log:
Fix for compile error caused in bad commit earlier because I picked wrong patch. Thanks to Vikas for responding fast on this.

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=601269&r1=601268&r2=601269&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 Wed Dec  5 01:31:07 2007
@@ -4066,6 +4066,7 @@
         public Timestamp shipBeforeDate = null;
         public Timestamp shipAfterDate = null;
         public String shipGroupSeqId = null;
+        public String vendorPartyId = null;
 
         public String getOrderTypeId() { return orderTypeId; }
         public String getContactMechId() { return internalContactMechId; }
@@ -4078,6 +4079,13 @@
         public String getShipmentMethodTypeId() { return shipmentMethodTypeId; }
         public double getShipEstimate() { return shipEstimate; }
         public String getShipGroupSeqId() { return shipGroupSeqId; }
+        public void setShipGroupSeqId(String shipGroupSeqId) {
+            this.shipGroupSeqId = shipGroupSeqId;
+        }
+        public String getVendorPartyId() { return vendorPartyId;}
+        public void setVendorPartyId(String vendorPartyId) {
+            this.vendorPartyId = vendorPartyId;
+        }
 
         public List makeItemShipGroupAndAssoc(GenericDelegator delegator, ShoppingCart cart, long groupIndex) {
             shipGroupSeqId = UtilFormatOut.formatPaddedNumber(groupIndex, 5);
@@ -4103,6 +4111,7 @@
             shipGroup.set("maySplit", maySplit);
             shipGroup.set("isGift", isGift);
             shipGroup.set("shipGroupSeqId", shipGroupSeqId);
+            shipGroup.set("vendorPartyId", vendorPartyId);
             
             // use the cart's default ship before and after dates here
             if ((shipBeforeDate == null) && (cart.getDefaultShipBeforeDate() != null)) {