All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ebay.apis.shopping.eblbasecomponents.AverageRatingDetailsType Maven / Gradle / Ivy

Go to download

This Java client enables you to use Java to make API calls in the eBay Shopping API, which is an XML API. This maven build is simply the Apache CXF generated client code for the Shopping API WSDL.

The newest version!

package ebay.apis.shopping.eblbasecomponents;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;


/**
 *  
 * 					Applicable to sites that support the Detailed Seller Ratings feature.
 * 					The AverageRatingDetailsType contains the average detailed seller ratings in an area. When buyers leave an overall Feedback rating (positive, neutral, or negative) for a seller, they also can leave ratings in four areas: item as described, communication, shipping time, and charges for shipping and handling. Users retrieve detailed ratings as averages of the ratings left by buyers. 
 * 			
 * 
 * 

Java class for AverageRatingDetailsType complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="AverageRatingDetailsType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="RatingDetail" type="{urn:ebay:apis:eBLBaseComponents}FeedbackRatingDetailCodeType" minOccurs="0"/>
 *         <element name="Rating" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
 *         <element name="RatingCount" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         <any processContents='lax' maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "AverageRatingDetailsType", propOrder = { "ratingDetail", "rating", "ratingCount", "any" }) public class AverageRatingDetailsType { @XmlElement(name = "RatingDetail") @XmlSchemaType(name = "token") protected FeedbackRatingDetailCodeType ratingDetail; @XmlElement(name = "Rating") protected Double rating; @XmlElement(name = "RatingCount") protected Long ratingCount; @XmlAnyElement(lax = true) protected List any; /** * Gets the value of the ratingDetail property. * * @return * possible object is * {@link FeedbackRatingDetailCodeType } * */ public FeedbackRatingDetailCodeType getRatingDetail() { return ratingDetail; } /** * Sets the value of the ratingDetail property. * * @param value * allowed object is * {@link FeedbackRatingDetailCodeType } * */ public void setRatingDetail(FeedbackRatingDetailCodeType value) { this.ratingDetail = value; } /** * Gets the value of the rating property. * * @return * possible object is * {@link Double } * */ public Double getRating() { return rating; } /** * Sets the value of the rating property. * * @param value * allowed object is * {@link Double } * */ public void setRating(Double value) { this.rating = value; } /** * Gets the value of the ratingCount property. * * @return * possible object is * {@link Long } * */ public Long getRatingCount() { return ratingCount; } /** * Sets the value of the ratingCount property. * * @param value * allowed object is * {@link Long } * */ public void setRatingCount(Long value) { this.ratingCount = value; } /** * Gets the value of the any property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the any property. * *

* For example, to add a new item, do as follows: *

     *    getAny().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Object } * {@link Element } * * */ public List getAny() { if (any == null) { any = new ArrayList(); } return this.any; } }