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

require_once 'AbstractResponseType.php';

/**
  * This type defines the response of the <b>AddToWatchList</b> call. Along with data indicating the success or failure of adding one or more items to a user's Watch List, this response also includes the number of items currently in the user's Watch List and the maximum number of items allowed in the Watch List.
  * 
 **/

class AddToWatchListResponseType extends AbstractResponseType
{
	/**
	* @var int
	**/
	protected $WatchListCount;

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


	/**
	 * Class Constructor 
	 **/
	function __construct()
	{
		parent::__construct('AddToWatchListResponseType', 'urn:ebay:apis:eBLBaseComponents');
		if (!isset(self::$_elements[__CLASS__]))
		{
			self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class(__CLASS__)],
			array(
				'WatchListCount' =>
				array(
					'required' => false,
					'type' => 'int',
					'nsURI' => 'http://www.w3.org/2001/XMLSchema',
					'array' => false,
					'cardinality' => '0..1'
				),
				'WatchListMaximum' =>
				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 int
	 **/
	function getWatchListCount()
	{
		return $this->WatchListCount;
	}

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

	/**
	 * @return int
	 **/
	function getWatchListMaximum()
	{
		return $this->WatchListMaximum;
	}

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

}
?>
