Refactor upsRateInquire two services upsRateInquire and upsRateInquireByZipCode
-------------------------------------------------------------------------------

                 Key: OFBIZ-548
                 URL: http://issues.apache.org/jira/browse/OFBIZ-548
             Project: OFBiz (The Open for Business Project)
          Issue Type: Improvement
          Components: product
            Reporter: Anil K Patel


The upsRateInquire service takes shippingContactMechId parameter. This 
parameter is used to get PostalCode on the postal Address. Which in turn is 
used for RateInquire.

If we break this service into two, 
1) upsRateInquireByZipCode, this service will switch shippingContactMechId for 
PostalCode. It service will have almost  the code that current upsRateInquire 
has.
2) upsRateInquire. All this service will have is code to read PostalAddress 
from shippingContactMechId. Read PostalCode from PostalAddress and then call 
upsRateInquireByZipCode,

If we did this, We will be able Provide Shipping Estimate as first step of 
CheckOut process for Anonymous user.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to