Subversion-Projekte lars-tiefland.php_share

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

<?php
// autogenerated file 22.07.2011 09:27
// $Id: $
// $Log: $
//
//
require_once 'FeedbackRatingDetailCodeType.php';
require_once 'EbatNs_ComplexType.php';

/**
 * 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. 
 *
 * @link http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/AverageRatingDetailsType.html
 *
 */
class AverageRatingDetailsType extends EbatNs_ComplexType
{
        /**
         * @var FeedbackRatingDetailCodeType
         */
        protected $RatingDetail;
        /**
         * @var double
         */
        protected $Rating;
        /**
         * @var int
         */
        protected $RatingCount;

        /**
         * @return FeedbackRatingDetailCodeType
         */
        function getRatingDetail()
        {
                return $this->RatingDetail;
        }
        /**
         * @return void
         * @param FeedbackRatingDetailCodeType $value 
         */
        function setRatingDetail($value)
        {
                $this->RatingDetail = $value;
        }
        /**
         * @return double
         */
        function getRating()
        {
                return $this->Rating;
        }
        /**
         * @return void
         * @param double $value 
         */
        function setRating($value)
        {
                $this->Rating = $value;
        }
        /**
         * @return int
         */
        function getRatingCount()
        {
                return $this->RatingCount;
        }
        /**
         * @return void
         * @param int $value 
         */
        function setRatingCount($value)
        {
                $this->RatingCount = $value;
        }
        /**
         * @return 
         */
        function __construct()
        {
                parent::__construct('AverageRatingDetailsType', 'urn:ebay:apis:eBLBaseComponents');
                if (!isset(self::$_elements[__CLASS__]))
                                self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()],
                                array(
                                        'RatingDetail' =>
                                        array(
                                                'required' => false,
                                                'type' => 'FeedbackRatingDetailCodeType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'Rating' =>
                                        array(
                                                'required' => false,
                                                'type' => 'double',
                                                'nsURI' => 'http://www.w3.org/2001/XMLSchema',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'RatingCount' =>
                                        array(
                                                'required' => false,
                                                'type' => 'int',
                                                'nsURI' => 'http://www.w3.org/2001/XMLSchema',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        )
                                ));
        }
}
?>