Package com.ebay.sdk.call

Examples of com.ebay.sdk.call.GetCategoryFeaturesCall.execute()


    GetCategoryFeaturesRequestType req = new GetCategoryFeaturesRequestType();
    //we only need 'UpdateTime' field
    //req.setOutputSelector(new String[]{"UpdateTime"});
    //workaround, use CategoryVersion instead of UpdateTime here
    req.setOutputSelector(new String[]{"CategoryVersion"});
    api.execute(req);
    GetCategoryFeaturesResponseType resp = (GetCategoryFeaturesResponseType) api.execute(req);
//    Date date = resp.getUpdateTime().getTime();
//    SimpleDateFormat df = new SimpleDateFormat("yyyy_MM_dd_hh_mm_ss");
//    String time = df.format(date);
    return resp.getCategoryVersion();
View Full Code Here


    //we only need 'UpdateTime' field
    //req.setOutputSelector(new String[]{"UpdateTime"});
    //workaround, use CategoryVersion instead of UpdateTime here
    req.setOutputSelector(new String[]{"CategoryVersion"});
    api.execute(req);
    GetCategoryFeaturesResponseType resp = (GetCategoryFeaturesResponseType) api.execute(req);
//    Date date = resp.getUpdateTime().getTime();
//    SimpleDateFormat df = new SimpleDateFormat("yyyy_MM_dd_hh_mm_ss");
//    String time = df.format(date);
    return resp.getCategoryVersion();
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.