<?php
/* Generated on 14.02.18 14:28 by globalsync
 * $Id: $
 * $Log: $
 */

require_once 'EbatNs_ComplexType.php';
require_once 'CategoryType.php';

/**
  *       Defines a suggested category, returned
  *       in response to a search for categories that contain
  *       listings with certain keywords in their titles and descriptions.
  *     
 **/

class SuggestedCategoryType extends EbatNs_ComplexType
{
	/**
	* @var CategoryType
	**/
	protected $Category;

	/**
	* @var int
	**/
	protected $PercentItemFound;


	/**
	 * Class Constructor 
	 **/
	function __construct()
	{
		parent::__construct('SuggestedCategoryType', 'urn:ebay:apis:eBLBaseComponents');
		if (!isset(self::$_elements[__CLASS__]))
		{
			self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class(__CLASS__)],
			array(
				'Category' =>
				array(
					'required' => false,
					'type' => 'CategoryType',
					'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
					'array' => false,
					'cardinality' => '0..1'
				),
				'PercentItemFound' =>
				array(
					'required' => false,
					'type' => 'int',
					'nsURI' => 'http://www.w3.org/2001/XMLSchema',
					'array' => false,
					'cardinality' => '0..1'
				)));
		}
		$this->_attributes = array_merge($this->_attributes,
		array(
));
	}

	/**
	 * @return CategoryType
	 **/
	function getCategory()
	{
		return $this->Category;
	}

	/**
	 * @return void
	 **/
	function setCategory($value)
	{
		$this->Category = $value;
	}

	/**
	 * @return int
	 **/
	function getPercentItemFound()
	{
		return $this->PercentItemFound;
	}

	/**
	 * @return void
	 **/
	function setPercentItemFound($value)
	{
		$this->PercentItemFound = $value;
	}

}
?>
