Package com.ebay.soap.eBLBaseComponents

Examples of com.ebay.soap.eBLBaseComponents.PricingRecommendationsType


 
  public static String toString(GetRecommendationsResponseContainerType response) {
    StringBuffer sb = new StringBuffer();
   
    ListingAnalyzerRecommendationsType listingAnalyzerRecoms = getListinAnalyzerRecommendations(response);
    PricingRecommendationsType pricingRecoms = getPricingRecommendations(response);
    ProductRecommendationsType productRecoms = getProductRecommendations(response);
    AttributeRecommendationsType attribRecoms = getAttributeRecommendations(response);
   
    if(listingAnalyzerRecoms != null) {
      sb.append("Listing Analyzer Recommendation Engine:\n");
      ListingTipType[] listingTips = listingAnalyzerRecoms.getListingTipArray().getListingTip();
      sb.append("\tListing Tips:\n");
      for(int i = 0; i < listingTips.length; i++) {
        sb.append("\t\tTip ID: ").append(listingTips[i].getListingTipID()).append(" Priority: ").append(listingTips[i].getPriority());
        sb.append(" *** Help URL: ").append(listingTips[i].getMessage().getHelpURLPath()).append("\n\t\t\t");
        sb.append(listingTips[i].getMessage().getLongMessage()).append("\n");
      }
    } if(pricingRecoms != null) {
      sb.append("\nProduct Pricing Engine Recommendations:\n");
      ProductInfoType productInfo = pricingRecoms.getProductInfo();
      sb.append("\tTitle: ").append(productInfo.getTitle());
      sb.append("\n\tProduct ID: ").append(productInfo.getProductInfoID());
      sb.append("\n\tAvg Start Price:").append(productInfo.getAverageStartPrice().getValue());
      sb.append("\n\tAvg Sold Price:").append(productInfo.getAverageSoldPrice().getValue());     
    } if(productRecoms != null) {
View Full Code Here

TOP

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

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.