<?php
// autogenerated file 26.07.2010 14:55
// $Id: $
// $Log: $
//
//
require_once 'PictureManagerSubscriptionLevelCodeType.php';
require_once 'EbatNs_ComplexType.php';
require_once 'PictureManagerFolderType.php';

/**
 *  
 *
 * @link http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/PictureManagerDetailsType.html
 *
 */
class PictureManagerDetailsType extends EbatNs_ComplexType
{
	/**
	 * @var PictureManagerSubscriptionLevelCodeType
	 */
	protected $SubscriptionLevel;
	/**
	 * @var int
	 */
	protected $StorageUsed;
	/**
	 * @var int
	 */
	protected $TotalStorageAvailable;
	/**
	 * @var boolean
	 */
	protected $KeepOriginal;
	/**
	 * @var boolean
	 */
	protected $WatermarkEPS;
	/**
	 * @var boolean
	 */
	protected $WatermarkUserID;
	/**
	 * @var PictureManagerFolderType
	 */
	protected $Folder;

	/**
	 * @return PictureManagerSubscriptionLevelCodeType
	 */
	function getSubscriptionLevel()
	{
		return $this->SubscriptionLevel;
	}
	/**
	 * @return void
	 * @param PictureManagerSubscriptionLevelCodeType $value 
	 */
	function setSubscriptionLevel($value)
	{
		$this->SubscriptionLevel = $value;
	}
	/**
	 * @return int
	 */
	function getStorageUsed()
	{
		return $this->StorageUsed;
	}
	/**
	 * @return void
	 * @param int $value 
	 */
	function setStorageUsed($value)
	{
		$this->StorageUsed = $value;
	}
	/**
	 * @return int
	 */
	function getTotalStorageAvailable()
	{
		return $this->TotalStorageAvailable;
	}
	/**
	 * @return void
	 * @param int $value 
	 */
	function setTotalStorageAvailable($value)
	{
		$this->TotalStorageAvailable = $value;
	}
	/**
	 * @return boolean
	 */
	function getKeepOriginal()
	{
		return $this->KeepOriginal;
	}
	/**
	 * @return void
	 * @param boolean $value 
	 */
	function setKeepOriginal($value)
	{
		$this->KeepOriginal = $value;
	}
	/**
	 * @return boolean
	 */
	function getWatermarkEPS()
	{
		return $this->WatermarkEPS;
	}
	/**
	 * @return void
	 * @param boolean $value 
	 */
	function setWatermarkEPS($value)
	{
		$this->WatermarkEPS = $value;
	}
	/**
	 * @return boolean
	 */
	function getWatermarkUserID()
	{
		return $this->WatermarkUserID;
	}
	/**
	 * @return void
	 * @param boolean $value 
	 */
	function setWatermarkUserID($value)
	{
		$this->WatermarkUserID = $value;
	}
	/**
	 * @return PictureManagerFolderType
	 * @param integer $index 
	 */
	function getFolder($index = null)
	{
		if ($index !== null) {
			return $this->Folder[$index];
		} else {
			return $this->Folder;
		}
	}
	/**
	 * @return void
	 * @param PictureManagerFolderType $value 
	 * @param  $index 
	 */
	function setFolder($value, $index = null)
	{
		if ($index !== null) {
			$this->Folder[$index] = $value;
		} else {
			$this->Folder = $value;
		}
	}
	/**
	 * @return void
	 * @param PictureManagerFolderType $value 
	 */
	function addFolder($value)
	{
		$this->Folder[] = $value;
	}
	/**
	 * @return 
	 */
	function __construct()
	{
		parent::__construct('PictureManagerDetailsType', 'urn:ebay:apis:eBLBaseComponents');
		if (!isset(self::$_elements[__CLASS__]))
				self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()],
				array(
					'SubscriptionLevel' =>
					array(
						'required' => false,
						'type' => 'PictureManagerSubscriptionLevelCodeType',
						'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
						'array' => false,
						'cardinality' => '0..1'
					),
					'StorageUsed' =>
					array(
						'required' => false,
						'type' => 'int',
						'nsURI' => 'http://www.w3.org/2001/XMLSchema',
						'array' => false,
						'cardinality' => '0..1'
					),
					'TotalStorageAvailable' =>
					array(
						'required' => false,
						'type' => 'int',
						'nsURI' => 'http://www.w3.org/2001/XMLSchema',
						'array' => false,
						'cardinality' => '0..1'
					),
					'KeepOriginal' =>
					array(
						'required' => false,
						'type' => 'boolean',
						'nsURI' => 'http://www.w3.org/2001/XMLSchema',
						'array' => false,
						'cardinality' => '0..1'
					),
					'WatermarkEPS' =>
					array(
						'required' => false,
						'type' => 'boolean',
						'nsURI' => 'http://www.w3.org/2001/XMLSchema',
						'array' => false,
						'cardinality' => '0..1'
					),
					'WatermarkUserID' =>
					array(
						'required' => false,
						'type' => 'boolean',
						'nsURI' => 'http://www.w3.org/2001/XMLSchema',
						'array' => false,
						'cardinality' => '0..1'
					),
					'Folder' =>
					array(
						'required' => false,
						'type' => 'PictureManagerFolderType',
						'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
						'array' => true,
						'cardinality' => '0..*'
					)
				));
	}
}
?>
