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

require_once 'EbatNs_ComplexType.php';
require_once 'NotificationEventTypeCodeType.php';
require_once 'SummaryWindowPeriodCodeType.php';
require_once 'SummaryFrequencyCodeType.php';

/**
  * Details about a summary event schedule.
  * 
 **/

class SummaryEventScheduleType extends EbatNs_ComplexType
{
	/**
	* @var NotificationEventTypeCodeType
	**/
	protected $EventType;

	/**
	* @var SummaryWindowPeriodCodeType
	**/
	protected $SummaryPeriod;

	/**
	* @var SummaryFrequencyCodeType
	**/
	protected $Frequency;


	/**
	 * Class Constructor 
	 **/
	function __construct()
	{
		parent::__construct('SummaryEventScheduleType', 'urn:ebay:apis:eBLBaseComponents');
		if (!isset(self::$_elements[__CLASS__]))
		{
			self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class(__CLASS__)],
			array(
				'EventType' =>
				array(
					'required' => false,
					'type' => 'NotificationEventTypeCodeType',
					'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
					'array' => false,
					'cardinality' => '0..1'
				),
				'SummaryPeriod' =>
				array(
					'required' => false,
					'type' => 'SummaryWindowPeriodCodeType',
					'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
					'array' => false,
					'cardinality' => '0..1'
				),
				'Frequency' =>
				array(
					'required' => false,
					'type' => 'SummaryFrequencyCodeType',
					'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
					'array' => false,
					'cardinality' => '0..1'
				)));
		}
		$this->_attributes = array_merge($this->_attributes,
		array(
));
	}

	/**
	 * @return NotificationEventTypeCodeType
	 **/
	function getEventType()
	{
		return $this->EventType;
	}

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

	/**
	 * @return SummaryWindowPeriodCodeType
	 **/
	function getSummaryPeriod()
	{
		return $this->SummaryPeriod;
	}

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

	/**
	 * @return SummaryFrequencyCodeType
	 **/
	function getFrequency()
	{
		return $this->Frequency;
	}

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

}
?>
