Package com.ebay.soap.eBLBaseComponents

Examples of com.ebay.soap.eBLBaseComponents.GetCategoriesResponseType


    GetCategoriesCall api = new GetCategoriesCall(apiContext);
    GetCategoriesRequestType req = new GetCategoriesRequestType();
    //we only need 'UpdateTime' field
    req.setOutputSelector(new String[]{"UpdateTime"});
    api.execute(req);
    GetCategoriesResponseType resp = (GetCategoriesResponseType) api.execute(req);
    Date date = resp.getUpdateTime().getTime();
    SimpleDateFormat df = new SimpleDateFormat("yyyy_MM_dd_hh_mm_ss");
    String time = df.format(date);
    return time;
  }
View Full Code Here


    return apiCall.getResponse();
  }

  public CategoryType[] getAllCategories() throws Exception{
    Object obj = getObject();
    GetCategoriesResponseType crt = (GetCategoriesResponseType)obj;
    return crt.getCategoryArray().getCategory();
  }
View Full Code Here

TOP

Related Classes of com.ebay.soap.eBLBaseComponents.GetCategoriesResponseType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.