Author: ashish
Date: Mon Sep 21 11:46:40 2009
New Revision: 817213
URL:
http://svn.apache.org/viewvc?rev=817213&view=revLog:
Removed unused code.
Modified:
ofbiz/trunk/specialpurpose/ebay/src/org/ofbiz/ebay/ImportOrdersFromEbay.java
Modified: ofbiz/trunk/specialpurpose/ebay/src/org/ofbiz/ebay/ImportOrdersFromEbay.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebay/src/org/ofbiz/ebay/ImportOrdersFromEbay.java?rev=817213&r1=817212&r2=817213&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/ebay/src/org/ofbiz/ebay/ImportOrdersFromEbay.java (original)
+++ ofbiz/trunk/specialpurpose/ebay/src/org/ofbiz/ebay/ImportOrdersFromEbay.java Mon Sep 21 11:46:40 2009
@@ -251,24 +251,6 @@
return ServiceUtil.returnSuccess();
}
- private static Map buildGetEbayDetailsRequest(Map context, StringBuffer dataItemsXml, String token) {
- Locale locale = (Locale)context.get("locale");
- try {
- Document transDoc = UtilXml.makeEmptyXmlDocument("GeteBayDetailsRequest");
- Element transElem = transDoc.getDocumentElement();
- transElem.setAttribute("xmlns", "urn:ebay:apis:eBLBaseComponents");
-
- EbayHelper.appendRequesterCredentials(transElem, transDoc, token);
- UtilXml.addChildElementValue(transElem, "DetailName", "ShippingServiceDetails", transDoc);
- UtilXml.addChildElementValue(transElem, "DetailName", "TaxJurisdiction", transDoc);
- dataItemsXml.append(UtilXml.writeXmlDocument(transDoc));
- } catch (Exception e) {
- Debug.logError("Exception during building get eBay details request", module);
- return ServiceUtil.returnFailure(UtilProperties.getMessage(resource, "ordersImportFromEbay.exceptionDuringBuildingGetEbayDetailsRequest", locale));
- }
- return ServiceUtil.returnSuccess();
- }
-
public static Map buildCompleteSaleRequest(GenericDelegator delegator, Locale locale, String itemId, String transactionId, Map context, StringBuffer dataItemsXml, String token) {
String paid = (String)context.get("paid");
String shipped = (String)context.get("shipped");